Runs
The Runs operations of the Hub REST API (5 operations).
Generated from Synap-core/backend main at 24fabe7, which can be newer than the stable release self-hosters install.
bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
Run feed
application/json- response
runs*array<unknown>curl -X GET 'https://pod.example.com/api/hub/runs'{ "runs": [ null ]}bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
id*stringflowType*string"automation""playbook""capture""capability""session""chat"Run detail
response?unknownapplication/jsoncurl -X GET 'https://pod.example.com/api/hub/runs/string?flowType=automation'nullbearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
application/json- body
agentId?stringid?stringtype?string"proposal""session""capability""agent""entity""run""workspace""usage"workspaceId?string|nullstuckThresholdHours?numberflowType?string"automation""playbook""capture""capability""session""chat"flowId?stringrunId?stringlimit?numbersince?stringgroupBy?array<string>apiKeyId?stringclient?stringDiagnose result
response?unknownapplication/jsoncurl -X POST 'https://pod.example.com/api/hub/diagnose' \ -H 'Content-Type: application/json' \ -d '{}'nullbearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
since?stringWindow start: ISO time or a span back from now (30m, 24h, 7d; default 24h).
until?stringWindow end: ISO time or a span (default now).
groupBy?stringComma-separated dimensions: hour, day, apiKeyId, limiterKey, client, conversationId, rlClass, outcome (default client,rlClass,outcome).
apiKeyId?stringNarrow to one API key.
client?stringNarrow to one client (X-Synap-Client, e.g. synap-bridge/0.6.0).
limit?stringMax groups, largest first (default 200, max 1000).
Usage groups
response?unknownapplication/jsoncurl -X GET 'https://pod.example.com/api/hub/usage'nullbearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
errorId*stringServer fault
response?unknownapplication/jsoncurl -X GET 'https://pod.example.com/api/hub/errors/string'null