For the complete documentation index, see llms.txt. This page is also available as Markdown.

Workspaces

List Workspaces

get

List the workspaces the caller can see in their organization.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Query parameters
skipintegerOptional

Number of records to skip

Default: 0
limitinteger · min: 1 · max: 1000Optional

Maximum number of records to return

Default: 100
Responses
200

Successful Response

application/json
countintegerRequired
get/api/v1/workspaces
GET /api/v1/workspaces HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "data": [
    {
      "created_at": "2026-01-01T00:00:00.000Z",
      "created_by_user_id": "123e4567-e89b-12d3-a456-426614174000",
      "description": "text",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "organization_id": "123e4567-e89b-12d3-a456-426614174000",
      "request_mcp_servers_allowed": false,
      "trace_content_enabled": false,
      "trace_content_tool_output": true,
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}

Create Workspace

post

Create a workspace in the caller's organization. Owners and admins only.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Body
descriptionstring · max: 1024 · nullableOptional
namestring · max: 255Required
Responses
201

Successful Response

application/json
created_atstring · date-timeRequired
created_by_user_idstring · uuid · nullableOptional
descriptionstring · max: 1024 · nullableOptional
idstring · uuidRequired
namestring · max: 255Required
organization_idstring · uuidRequired
request_mcp_servers_allowedbooleanOptional

Whether this workspace's keys may name MCP servers by URL in a request.

Default: false
trace_content_enabledbooleanOptional

Whether this workspace keeps what its agent sessions were about.

Default: false
trace_content_tool_outputbooleanOptional

Whether this workspace also keeps what each tool returned, where it keeps content and the deployment keeps tool output.

Default: true
updated_atstring · date-time · nullableOptional
post/api/v1/workspaces
POST /api/v1/workspaces HTTP/1.1
Otari-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "description": "text",
  "name": "text"
}
{
  "created_at": "2026-01-01T00:00:00.000Z",
  "created_by_user_id": "123e4567-e89b-12d3-a456-426614174000",
  "description": "text",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "organization_id": "123e4567-e89b-12d3-a456-426614174000",
  "request_mcp_servers_allowed": false,
  "trace_content_enabled": false,
  "trace_content_tool_output": true,
  "updated_at": "2026-01-01T00:00:00.000Z"
}

Get Workspace

get

Get one workspace.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
workspace_idstring · uuidRequired
Responses
200

Successful Response

application/json
created_atstring · date-timeRequired
created_by_user_idstring · uuid · nullableOptional
descriptionstring · max: 1024 · nullableOptional
idstring · uuidRequired
namestring · max: 255Required
organization_idstring · uuidRequired
request_mcp_servers_allowedbooleanOptional

Whether this workspace's keys may name MCP servers by URL in a request.

Default: false
trace_content_enabledbooleanOptional

Whether this workspace keeps what its agent sessions were about.

Default: false
trace_content_tool_outputbooleanOptional

Whether this workspace also keeps what each tool returned, where it keeps content and the deployment keeps tool output.

Default: true
updated_atstring · date-time · nullableOptional
get/api/v1/workspaces/{workspace_id}
GET /api/v1/workspaces/{workspace_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "created_at": "2026-01-01T00:00:00.000Z",
  "created_by_user_id": "123e4567-e89b-12d3-a456-426614174000",
  "description": "text",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "organization_id": "123e4567-e89b-12d3-a456-426614174000",
  "request_mcp_servers_allowed": false,
  "trace_content_enabled": false,
  "trace_content_tool_output": true,
  "updated_at": "2026-01-01T00:00:00.000Z"
}

Update Workspace

patch

Rename a workspace, change its description, or turn keeping its agent sessions' content or tool output on or off.

Turning either off keeps nothing new of it from the next export on; what is already stored stays until it ages out, or until DELETE .../trace-content deletes it.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
workspace_idstring · uuidRequired
Body
descriptionstring · max: 1024 · nullableOptional
namestring · max: 255 · nullableOptional
request_mcp_servers_allowedboolean · nullableOptional

Let this workspace's keys name MCP servers by URL in a request (mcp_servers), beside the stored servers whose access lists the workspace controls.

trace_content_enabledboolean · nullableOptional

Keep what this workspace's agent sessions were about: the prompts, commands and file paths its agents report. Only where the deployment keeps content at all.

trace_content_tool_outputboolean · nullableOptional

Also keep what each tool returned, where this workspace keeps content and the deployment keeps tool output. Turning it off keeps none from the next request on, whatever the deployment allows.

Responses
200

Successful Response

application/json
created_atstring · date-timeRequired
created_by_user_idstring · uuid · nullableOptional
descriptionstring · max: 1024 · nullableOptional
idstring · uuidRequired
namestring · max: 255Required
organization_idstring · uuidRequired
request_mcp_servers_allowedbooleanOptional

Whether this workspace's keys may name MCP servers by URL in a request.

Default: false
trace_content_enabledbooleanOptional

Whether this workspace keeps what its agent sessions were about.

Default: false
trace_content_tool_outputbooleanOptional

Whether this workspace also keeps what each tool returned, where it keeps content and the deployment keeps tool output.

Default: true
updated_atstring · date-time · nullableOptional
patch/api/v1/workspaces/{workspace_id}
PATCH /api/v1/workspaces/{workspace_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 133

{
  "description": "text",
  "name": "text",
  "request_mcp_servers_allowed": true,
  "trace_content_enabled": true,
  "trace_content_tool_output": true
}
{
  "created_at": "2026-01-01T00:00:00.000Z",
  "created_by_user_id": "123e4567-e89b-12d3-a456-426614174000",
  "description": "text",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "organization_id": "123e4567-e89b-12d3-a456-426614174000",
  "request_mcp_servers_allowed": false,
  "trace_content_enabled": false,
  "trace_content_tool_output": true,
  "updated_at": "2026-01-01T00:00:00.000Z"
}

Delete Workspace

delete

Delete a workspace and its memberships. Organization owners and admins only.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
workspace_idstring · uuidRequired
Responses
200

Successful Response

application/json

A human-readable acknowledgment for an operation with nothing to return.

messagestringRequired

What happened.

delete/api/v1/workspaces/{workspace_id}
DELETE /api/v1/workspaces/{workspace_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "message": "text"
}

List Workspace Members

get

List a workspace's members.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
workspace_idstring · uuidRequired
Query parameters
skipintegerOptional

Number of records to skip

Default: 0
limitinteger · min: 1 · max: 1000Optional

Maximum number of records to return

Default: 100
Responses
200

Successful Response

application/json
countintegerRequired
get/api/v1/workspaces/{workspace_id}/members
GET /api/v1/workspaces/{workspace_id}/members HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "data": [
    {
      "created_at": "2026-01-01T00:00:00.000Z",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "role": "member",
      "status": "active",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "user_id": "123e4567-e89b-12d3-a456-426614174000",
      "workspace_id": "123e4567-e89b-12d3-a456-426614174000"
    }
  ]
}

Add Workspace Member

post

Add an existing organization member to a workspace.

The 404 for a workspace deleted during the add describes PostgreSQL. SQLite does not name the foreign key it enforced, so it surfaces that race as a 500.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
workspace_idstring · uuidRequired
user_idstring · uuidRequired
Query parameters
rolestring · enumOptional

Role to assign in this workspace.

Default: memberPossible values:
Responses
201

Successful Response

application/json
created_atstring · date-timeRequired
idstring · uuidRequired
rolestring · max: 32OptionalDefault: member
statusstring · max: 32OptionalDefault: active
updated_atstring · date-time · nullableOptional
user_idstring · uuidRequired
workspace_idstring · uuidRequired
post/api/v1/workspaces/{workspace_id}/members/{user_id}
POST /api/v1/workspaces/{workspace_id}/members/{user_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "created_at": "2026-01-01T00:00:00.000Z",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "role": "member",
  "status": "active",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "user_id": "123e4567-e89b-12d3-a456-426614174000",
  "workspace_id": "123e4567-e89b-12d3-a456-426614174000"
}

Update Workspace Member Role

patch

Change a workspace member's role.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
workspace_idstring · uuidRequired
user_idstring · uuidRequired
Query parameters
rolestring · enumRequired

Role to assign in this workspace.

Possible values:
Responses
200

Successful Response

application/json
created_atstring · date-timeRequired
idstring · uuidRequired
rolestring · max: 32OptionalDefault: member
statusstring · max: 32OptionalDefault: active
updated_atstring · date-time · nullableOptional
user_idstring · uuidRequired
workspace_idstring · uuidRequired
patch/api/v1/workspaces/{workspace_id}/members/{user_id}
PATCH /api/v1/workspaces/{workspace_id}/members/{user_id}?role=owner HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "created_at": "2026-01-01T00:00:00.000Z",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "role": "member",
  "status": "active",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "user_id": "123e4567-e89b-12d3-a456-426614174000",
  "workspace_id": "123e4567-e89b-12d3-a456-426614174000"
}

Remove Workspace Member

delete

Remove a member from a workspace. Idempotent.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
workspace_idstring · uuidRequired
user_idstring · uuidRequired
Responses
200

Successful Response

application/json

A human-readable acknowledgment for an operation with nothing to return.

messagestringRequired

What happened.

delete/api/v1/workspaces/{workspace_id}/members/{user_id}
DELETE /api/v1/workspaces/{workspace_id}/members/{user_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "message": "text"
}

Delete Workspace Trace Content

delete

Delete what this workspace's agent sessions were about, keeping the sessions. Its managers only.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
workspace_idstring · uuidRequired
Responses
200

Successful Response

application/json

A human-readable acknowledgment for an operation with nothing to return.

messagestringRequired

What happened.

delete/api/v1/workspaces/{workspace_id}/trace-content
DELETE /api/v1/workspaces/{workspace_id}/trace-content HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "message": "text"
}

Last updated

Was this helpful?