Skip to main content
POST
/
api
/
v1
/
projects
/
{project_id}
/
agents
Add Agent To Project
curl --request POST \
  --url https://control-plane.kubiya.ai/api/v1/projects/{project_id}/agents \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "<string>",
  "role": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

project_id
string
required

Body

application/json
agent_id
string
required

Agent UUID to add to project

role
string | null

Agent role in project

Response

Successful Response