Skip to content

Agent Teams

List Teams

List all agent teams in the organization. Requires membership.

Omit limit to get every team; total is the full count either way.

Parameters

NameInTypeRequiredDescription
limitqueryintegernoMax rows to return (1-100). Omit to return every row.
offsetqueryintegernoRows to skip — pass the previous response’s next_offset.
org_idpathstring (uuid)yes

Responses

StatusDescriptionBody
200Successful ResponsePage_TeamResponse_
422Validation ErrorHTTPValidationError

Create Team

Create a new agent team. Requires ADMIN or OWNER role.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes

Request body (required)

FieldTypeRequiredDescription
avatar_seedstringno
descriptionstringno
namestringyes
shared_allowed_toolsstring[]no
shared_instructionstringno
shared_mounted_skillsstring[]no

Responses

StatusDescriptionBody
201Successful ResponseTeamResponse
422Validation ErrorHTTPValidationError

GET /api/orgs/{org_id}/agent-teams/{team_id}

Section titled “GET /api/orgs/{org_id}/agent-teams/{team_id}”

Get Team

Get an agent team by UUID or slug. Requires membership.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes
team_idpathstringyes

Responses

StatusDescriptionBody
200Successful ResponseTeamResponse
422Validation ErrorHTTPValidationError

PATCH /api/orgs/{org_id}/agent-teams/{team_id}

Section titled “PATCH /api/orgs/{org_id}/agent-teams/{team_id}”

Update Team

Update an agent team. Requires ADMIN or OWNER role.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes
team_idpathstringyes

Request body (required)

FieldTypeRequiredDescription
avatar_seedstringno
descriptionstringno
namestringno
shared_allowed_toolsstring[]no
shared_instructionstringno
shared_mounted_skillsstring[]no

Responses

StatusDescriptionBody
200Successful ResponseTeamResponse
422Validation ErrorHTTPValidationError

DELETE /api/orgs/{org_id}/agent-teams/{team_id}

Section titled “DELETE /api/orgs/{org_id}/agent-teams/{team_id}”

Delete Team

Delete an agent team. Agents become ungrouped. Requires ADMIN or OWNER role.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes
team_idpathstringyes

Responses

StatusDescriptionBody
204Successful Response
422Validation ErrorHTTPValidationError

GET /api/orgs/{org_id}/agent-teams/{team_id}/memories

Section titled “GET /api/orgs/{org_id}/agent-teams/{team_id}/memories”

List Team Memories

List memories owned by this team. Requires org membership.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes
team_idpathstringyes

Responses

StatusDescriptionBody
200Successful ResponseTeamMemoryListResponse
422Validation ErrorHTTPValidationError

POST /api/orgs/{org_id}/agent-teams/{team_id}/memories

Section titled “POST /api/orgs/{org_id}/agent-teams/{team_id}/memories”

Create Team Memory

Create a memory owned by this team. Requires ADMIN or OWNER role.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes
team_idpathstringyes

Request body (required)

FieldTypeRequiredDescription
contentstringyes

Responses

StatusDescriptionBody
201Successful ResponseAgentMemoryResponse
422Validation ErrorHTTPValidationError

DELETE /api/orgs/{org_id}/agent-teams/{team_id}/memories/{memory_id}

Section titled “DELETE /api/orgs/{org_id}/agent-teams/{team_id}/memories/{memory_id}”

Delete Team Memory

Delete a team memory. Requires ADMIN or OWNER role.

Parameters

NameInTypeRequiredDescription
memory_idpathstring (uuid)yes
org_idpathstring (uuid)yes
team_idpathstringyes

Responses

StatusDescriptionBody
204Successful Response
422Validation ErrorHTTPValidationError

PUT /api/orgs/{org_id}/agent-teams/reorder

Section titled “PUT /api/orgs/{org_id}/agent-teams/reorder”

Reorder Teams

Reorder teams by setting display_order. Requires membership.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes

Request body (required)

FieldTypeRequiredDescription
team_idsstring (uuid)[]yes

Responses

StatusDescriptionBody
204Successful Response
422Validation ErrorHTTPValidationError