Skip to main content
POST
Link workflow/session/agent/resource/spec context to a project

Body

application/json
assetType
string
required

workflow|session|agent|resource|spec

project
string
required

Project id or slug

target
string
required

Asset id, session, agent, or locator

label
string

Human label for resource links

meta
string

Free JSON metadata for this link

resourceType
string

Required for resource links

role
string

Optional role for this link

Response

Success — no @Returns schema declared; payload shape is loose.

The response is of type object.