Skip to main content
PUT
Pin a connected agent to projects

Path Parameters

grant_id
string
required

Body

application/json
projects
object[]
required
Maximum array length: 100

Response

Pins replaced; effective on the agent's next request.

agent_id
string
required
tenant_id
string | null
required
projects
object[]
required

The selected projects in the workspace where this agent acts. If projects_pinned is true and all selected projects have been deleted, the agent can access zero projects.

projects_pinned
boolean
required

When true, access is limited to the selected projects. When false, the agent can see the same projects as its person, subject to workspace policy.

ok
enum<boolean>
Available options:
true