SnozeDevelopers
API referenceDatabase publish

Read the publish-to-web settings of a standalone view

Returns the standalone view's public configuration, or `enabled: false` when it has never been published. Requires a signed-in workspace session with view read access plus `records:read` on the source database, and a personal view can only be inspected by its owner; only standalone views can be published, so an embedded view or an unknown view is rejected as not publishable.

GET
/v1/workspaces/{workspaceId}/views/{viewId}/publish

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string
viewId*string

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/views/string/publish'
Example Response
{  "data": {    "enabled": true,    "slug": "string",    "seoIndexed": true,    "publishedAt": "string",    "updateMode": "snapshot"  }}