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
AuthorizationBearer <token>

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

In: header

Path Parameters

workspaceId*string

Query Parameters

limit?string|null
connectionId?string|null

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/integrations/sync-runs"
{  "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"    }  ]}