Layer Library
APIs to publish layers
The ID of the map where the layer is located
The ID of the layer to publish
The Felt Server to publish into. Defaults to the workspace's default Felt Server.
8f9a2b1c-3d4e-5f60-7a8b-9c0d1e2f3a4bThe name to publish the layer under
My LayerPublish layer response
luCHyMruTQ6ozGk3gPJfEBISO 8601 timestamp of when the layer's data was last updated. This includes scheduled refreshes, manual refreshes, and direct feature edits.
Controls how the layer is displayed in the legend.
Controls whether or not the layer is displayed in the legend. Defaults to "show".
ISO 8601 timestamp of when the next scheduled refresh will occur. Null if refresh is disabled or paused.
A sort order key used for ordering layers and layer groups in the legend
Why the layer's refresh is paused. Null when not paused.
Whether scheduled refresh is active, paused (due to failures), or disabled
The Felt Style Language style for the layer
Deprecated: use caption instead.
The tile URL for this layer
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
POST /api/v2/maps/{map_id}/layers/{layer_id}/publish HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"feltServerId": "8f9a2b1c-3d4e-5f60-7a8b-9c0d1e2f3a4b",
"name": "My Layer"
}{
"attributes": [
{
"name": "text",
"type": "INTEGER"
}
],
"caption": "text",
"geometry_type": "Line",
"hide_from_legend": true,
"id": "luCHyMruTQ6ozGk3gPJfEB",
"is_spreadsheet": true,
"last_refreshed_at": "2026-01-01T00:00:00.000Z",
"legend_display": "default",
"legend_visibility": "hide",
"links": {
"components": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layers/k441enUxQUOnZqc1ZvNsDA/components",
"self": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layers/k441enUxQUOnZqc1ZvNsDA"
},
"metadata": {
"attribution_text": "text",
"attribution_url": "text",
"description": "text",
"license": "text",
"source_abbreviation": "text",
"source_name": "text",
"source_url": "text",
"updated_at": "2025-03-24"
},
"name": "text",
"next_refresh_at": "2026-01-01T00:00:00.000Z",
"ordering_key": 1,
"paused_reason": "consecutive_failures",
"progress": 1,
"refresh_period": "15 min",
"refresh_status": "active",
"status": "uploading",
"style": {},
"tile_url": "text",
"type": "layer"
}The ID of the map where the layer group is located
The ID of the layer group to publish
The Felt Server to publish into. Defaults to the workspace's default Felt Server.
8f9a2b1c-3d4e-5f60-7a8b-9c0d1e2f3a4bThe name to publish the layer group under
My LayerPublish layer group response
luCHyMruTQ6ozGk3gPJfEBControls how the layer group is displayed in the legend. Defaults to "show".
A sort order key used for ordering layers and layer groups in the legend
Deprecated: use caption instead.
Controls how the layer group is displayed in the legend. Defaults to "default".
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
POST /api/v2/maps/{map_id}/layer_groups/{layer_group_id}/publish HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"feltServerId": "8f9a2b1c-3d4e-5f60-7a8b-9c0d1e2f3a4b",
"name": "My Layer"
}{
"caption": "text",
"id": "luCHyMruTQ6ozGk3gPJfEB",
"layers": [
{
"attributes": [
{
"name": "text",
"type": "INTEGER"
}
],
"caption": "text",
"geometry_type": "Line",
"hide_from_legend": true,
"id": "luCHyMruTQ6ozGk3gPJfEB",
"is_spreadsheet": true,
"last_refreshed_at": "2026-01-01T00:00:00.000Z",
"legend_display": "default",
"legend_visibility": "hide",
"links": {
"components": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layers/k441enUxQUOnZqc1ZvNsDA/components",
"self": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layers/k441enUxQUOnZqc1ZvNsDA"
},
"metadata": {
"attribution_text": "text",
"attribution_url": "text",
"description": "text",
"license": "text",
"source_abbreviation": "text",
"source_name": "text",
"source_url": "text",
"updated_at": "2025-03-24"
},
"name": "text",
"next_refresh_at": "2026-01-01T00:00:00.000Z",
"ordering_key": 1,
"paused_reason": "consecutive_failures",
"progress": 1,
"refresh_period": "15 min",
"refresh_status": "active",
"status": "uploading",
"style": {},
"tile_url": "text",
"type": "layer"
}
],
"legend_visibility": "hide",
"links": {
"self": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layer_groups/v13k4Ae9BRjCHHdPP5Fcm6D"
},
"name": "text",
"ordering_key": 1,
"type": "layer_group",
"visibility_interaction": "default"
}Defaults to listing library layers for your "workspace". Use "felt" to list layers from the Felt data library. Use "all" to list layers from both sources.
workspacePossible values: LayerLibrary
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
GET /api/v2/library HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"layer_groups": [
{
"caption": "text",
"id": "luCHyMruTQ6ozGk3gPJfEB",
"layers": [
{
"attributes": [
{
"name": "text",
"type": "INTEGER"
}
],
"caption": "text",
"geometry_type": "Line",
"hide_from_legend": true,
"id": "luCHyMruTQ6ozGk3gPJfEB",
"is_spreadsheet": true,
"last_refreshed_at": "2026-01-01T00:00:00.000Z",
"legend_display": "default",
"legend_visibility": "hide",
"links": {
"components": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layers/k441enUxQUOnZqc1ZvNsDA/components",
"self": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layers/k441enUxQUOnZqc1ZvNsDA"
},
"metadata": {
"attribution_text": "text",
"attribution_url": "text",
"description": "text",
"license": "text",
"source_abbreviation": "text",
"source_name": "text",
"source_url": "text",
"updated_at": "2025-03-24"
},
"name": "text",
"next_refresh_at": "2026-01-01T00:00:00.000Z",
"ordering_key": 1,
"paused_reason": "consecutive_failures",
"progress": 1,
"refresh_period": "15 min",
"refresh_status": "active",
"status": "uploading",
"style": {},
"tile_url": "text",
"type": "layer"
}
],
"legend_visibility": "hide",
"links": {
"self": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layer_groups/v13k4Ae9BRjCHHdPP5Fcm6D"
},
"name": "text",
"ordering_key": 1,
"type": "layer_group",
"visibility_interaction": "default"
}
],
"layers": [
{
"attributes": [
{
"name": "text",
"type": "INTEGER"
}
],
"caption": "text",
"geometry_type": "Line",
"hide_from_legend": true,
"id": "luCHyMruTQ6ozGk3gPJfEB",
"is_spreadsheet": true,
"last_refreshed_at": "2026-01-01T00:00:00.000Z",
"legend_display": "default",
"legend_visibility": "hide",
"links": {
"components": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layers/k441enUxQUOnZqc1ZvNsDA/components",
"self": "https://felt.com/api/v2/maps/V0dnOMOuTd9B9BOsL9C0UjmqC/layers/k441enUxQUOnZqc1ZvNsDA"
},
"metadata": {
"attribution_text": "text",
"attribution_url": "text",
"description": "text",
"license": "text",
"source_abbreviation": "text",
"source_name": "text",
"source_url": "text",
"updated_at": "2025-03-24"
},
"name": "text",
"next_refresh_at": "2026-01-01T00:00:00.000Z",
"ordering_key": 1,
"paused_reason": "consecutive_failures",
"progress": 1,
"refresh_period": "15 min",
"refresh_status": "active",
"status": "uploading",
"style": {},
"tile_url": "text",
"type": "layer"
}
],
"type": "layer_library"
}Last updated
Was this helpful?