Artifacts
The Artifacts operations of the Hub REST API (3 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.
workspaceId?stringstate?string"working""kept""swept""all"placement?string"desk""home""sidebar""library""all"sessionId?stringuuidlimit?integer1 <= value <= 100Artifacts
application/json- response
[index: integer]?curl -X GET 'https://pod.example.com/api/hub/artifacts'[ { "id": "string", "workspaceId": "string", "userId": "string", "kind": "string", "refId": "string", "cellKey": "string", "props": null, "title": "string", "originKind": "string", "actorId": "string", "sessionId": "string", "state": "string", "placement": "string", "keptAt": "string", "sweptAt": "string", "createdAt": "string", "updatedAt": "string" }]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.
application/json- body
workspaceId*string1 <= lengthuserId*string1 <= lengthkind*string"view""cell""document""entity""url""automation""playbook"refId?stringcellKey?stringprops?unknowntitle*string1 <= length <= 500originKind?string"agent""user""agent""deeplink""system"actorId?stringsessionId?stringuuidplacement?string"desk""home""sidebar""library"agentUserId?stringuuidreasoning?stringCreated artifact or proposal
application/json- response
[key: string]?unknowncurl -X POST 'https://pod.example.com/api/hub/artifacts' \ -H 'Content-Type: application/json' \ -d '{ "workspaceId": "string", "userId": "string", "kind": "view", "title": "string"}'{ "property1": null, "property2": 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*stringuuidapplication/json- body
state?string"working""kept""swept"placement?string"desk""home""sidebar""library"agentUserId?stringuuidreasoning?stringUpdated artifact or proposal
application/json- response
[key: string]?unknowncurl -X PATCH 'https://pod.example.com/api/hub/artifacts/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "property1": null, "property2": null}