Links
The Links operations of the Hub REST API (2 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.
type*string"playbook""tool""skill""command""session""source""entity""channel""participant""automation""project""secret""capability""agent""workspace""document""track""profile"id*string1 <= lengthThe edges touching this node
application/json- response
links*array<>curl -X GET 'https://pod.example.com/api/hub/links?type=playbook&id=string'{ "links": [ { "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.
application/json- body
userId?stringworkspaceId?stringuuidfromType*string"playbook""tool""skill""command""session""source""entity""channel""participant""automation""project""secret""capability""agent""workspace""document""track""profile"fromId*string1 <= lengthtoType*string"playbook""tool""skill""command""session""source""entity""channel""participant""automation""project""secret""capability""agent""workspace""document""track""profile"toId*string1 <= lengthlinkType*string"grants""requires""instantiated_from""used""targets""produced""member_of""feeds""promoted_to""provided_by""about""documents""concerns""activates""spawned_from""blocked_by""replaces""uses""dispatched_via""assigned_to""serves"metadata?agentUserId?stringuuidreasoning?stringCreated link, or a proposal when governance defers. For blocked_by, link is always null (there is no row to hand back through the dedicated producer) and blockedBy.inserted distinguishes a new edge (1) from an already-existing one (0).
application/json- response
status*string[key: string]?unknowncurl -X POST 'https://pod.example.com/api/hub/links' \ -H 'Content-Type: application/json' \ -d '{ "fromType": "playbook", "fromId": "string", "toType": "playbook", "toId": "string", "linkType": "grants"}'{ "status": "string", "property1": null, "property2": null}