SnozeDevelopers
API referenceIntegrations

List recent sync runs in a workspace

Returns the workspace's most recent integration sync runs with their status and statistics. Requires the `integrations:read` workspace permission. Pass `connectionId` to restrict the list to one connection and `limit` to cap how many runs come back.

GET
/v1/workspaces/{workspaceId}/integrations/sync-runs

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

Query Parameters

limit?string|null
connectionId?string|null

Response Body

Success

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/integrations/sync-runs'
Example Response
{  "data": [    {      "id": "string",      "workspaceId": "string",      "connectionId": "string",      "dataSourceId": "string",      "provider": "string",      "status": "running",      "trigger": "string",      "cursorBefore": "string",      "cursorAfter": "string",      "stats": {},      "error": "string",      "startedAt": "string",      "completedAt": "string"    }  ]}