Organizations
Create an organization
Create a new organization within the account.
Payload Requirements
- name is required and must be unique within the account.
- description is optional and defaults to an empty string if omitted.
- System-managed fields (id, created_at) are generated automatically and rejected if provided.
Valid example
{
"name": "Agent Engineering Team",
"description": "Organization for the Agent Engineering team"
}
Invalid example (duplicate name)
{
"name": "Agent Engineering Team"
}
Fails with 409 Conflict if an organization with that name already exists in the account.
<Note>This endpoint is in beta, read more here.</Note>
post/v2/organizations
Request body
Response
An organization object
Example response
{
"id": "RW50aXR5OjEyMzQ1"
}