Hub REST API
Runs
The Runs operations of the Hub REST API (3 operations).
For BuildersOpen-source podSynap CloudGenerated from Synap-core/backend@c31e261ab (main)
GET
bearerAuthheader
AuthorizationBearer <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'Example Response
{ "runs": [ null ]}GET
bearerAuthheader
AuthorizationBearer <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*stringValue in
"automation""playbook""capture""capability""session""chat"Run detail
response?unknownapplication/jsoncurl -X GET 'https://pod.example.com/api/hub/runs/string?flowType=automation'Example Response
nullPOST
bearerAuthheader
AuthorizationBearer <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?stringValue in
"proposal""session""capability""agent""entity""run""workspace"workspaceId?string|nullstuckThresholdHours?numberflowType?stringValue in
"automation""playbook""capture""capability""session""chat"flowId?stringrunId?stringlimit?numberDiagnose result
response?unknownapplication/jsoncurl -X POST 'https://pod.example.com/api/hub/diagnose' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
null