Skip to content
LogoLogo

Agents

Curated Agent definitions and Workspace-owned desired Agent configuration. Execution remains in the private Knowledge service.

List curated Agent definitions available to a Workspace

GET/api/v1/workspaces/{workspace_id}/agents/definitions

Returns customer-safe product metadata only. Confidential instructions, model/runtime configuration, internal skills, and raw tool policy are never returned.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Responses

List custom Agent definitions editable by Workspace managers

GET/api/v1/workspaces/{workspace_id}/agents/studio/definitions

Returns updated-at ordered pages under current Studio authority. A continuation cursor binds the prior page's commit-ordered Workspace journal position. A catalog change returns 409 catalog_changed; restart from the first page.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Query Parameters

limit
integer·min 1·max 100·default 50

Maximum number of resources to return.

cursor
string·min 1·max 2048

Opaque continuation cursor returned by the preceding page.

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

Save a bounded, versioned custom Agent definition

POST/api/v1/workspaces/{workspace_id}/agents/studio/definitions

Requires the distinct custom-Agent entitlement and Workspace management authority. Saving never executes the Agent.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Request Body

application/json
slugRequired
string·min 2·max 80
nameRequired
string·min 1·max 80
descriptionRequired
string·min 1·max 500
responsibilityRequired
string·min 1·max 500
personality
string·max 1000

Customer-authored tone and interaction style.

routing_description
string·max 500

Safe description used to select this Agent for a request; responsibility is used when omitted.

routing_tags
string[]·max 12
instructionsRequired
string·min 1·max 8000
conversation_starters
string[]·max 6
subagent_definition_ids
string <uuid>[]·max 8

Same-Workspace custom Agent definitions this Agent may delegate to. Self-references and cycles are rejected.

approval_policy
string·default manage_actions
Values
manage_actionsevery_action
prohibited_actions
string[]·max 12
trigger_types
string[]·min 1·max 3·default ["manual"]
Values
manualeventschedule
visibility
string·default workspace
Values
workspace
stateRequired
string
Values
draftactivepaused
mcp_enabled
boolean

Allow permitted Assign MCP operations under this Agent identity. New definitions default to false; omitted updates preserve the current value. Saving false revokes operational access.

bindingsRequired
object[]·max 32

Responses

Read the current editable custom Agent definition

GET/api/v1/workspaces/{workspace_id}/agents/studio/definitions/{definition_id}

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
definition_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

Save a new immutable revision of a custom Agent definition

PATCH/api/v1/workspaces/{workspace_id}/agents/studio/definitions/{definition_id}

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
definition_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

If-MatchRequired
string

Entity tag containing the resource version last observed by the client.

Request Body

application/json
slugRequired
string·min 2·max 80
nameRequired
string·min 1·max 80
descriptionRequired
string·min 1·max 500
responsibilityRequired
string·min 1·max 500
personality
string·max 1000

Customer-authored tone and interaction style.

routing_description
string·max 500

Safe description used to select this Agent for a request; responsibility is used when omitted.

routing_tags
string[]·max 12
instructionsRequired
string·min 1·max 8000
conversation_starters
string[]·max 6
subagent_definition_ids
string <uuid>[]·max 8

Same-Workspace custom Agent definitions this Agent may delegate to. Self-references and cycles are rejected.

approval_policy
string·default manage_actions
Values
manage_actionsevery_action
prohibited_actions
string[]·max 12
trigger_types
string[]·min 1·max 3·default ["manual"]
Values
manualeventschedule
visibility
string·default workspace
Values
workspace
stateRequired
string
Values
draftactivepaused
mcp_enabled
boolean

Allow permitted Assign MCP operations under this Agent identity. New definitions default to false; omitted updates preserve the current value. Saving false revokes operational access.

bindingsRequired
object[]·max 32

Responses

List permission-filtered custom Agent request outcomes

GET/api/v1/workspaces/{workspace_id}/agents/studio/definitions/{definition_id}/requests

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
definition_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Query Parameters

limit
integer·min 1·max 100·default 50

Maximum number of resources to return.

cursor
string·min 1·max 2048

Opaque continuation cursor returned by the preceding page.

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

Durably admit a manual or preview-only test request

POST/api/v1/workspaces/{workspace_id}/agents/studio/definitions/{definition_id}/requests

Test is the only preview-only source kind. Each request pins the current definition revision and charges actual settled compute.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
definition_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

Request Body

application/json
source_kindRequired
string
Values
manualtestmentiondelegationevent
source_idRequired
string <uuid>

Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.

Example0198ac5e-f9b7-7000-8000-000000000001
task_id
string <uuid>

Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.

Example0198ac5e-f9b7-7000-8000-000000000001
instructionsRequired
string·max 2000

Original bounded request input for its requester and Studio managers; returned as an empty string in member-visible history.

preview_onlyRequired
boolean

Must be true exactly when source_kind is test.

Responses

Read a member-visible custom Agent profile

GET/api/v1/workspaces/{workspace_id}/agents/studio/definitions/{definition_id}/profile

Returns stable identity and current permission-filtered run facts without definition instructions, binding identifiers, private input, or provider traces.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
definition_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

Add a revision-fenced Agent responsibility overlay to a Task

POST/api/v1/workspaces/{workspace_id}/agents/studio/definitions/{definition_id}/delegations/{task_id}

Preserves the primary human assignment and Task lifecycle. The request body must use source_kind delegation and the same task_id.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
definition_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
task_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

Request Body

application/json
source_kindRequired
string
Values
manualtestmentiondelegationevent
source_idRequired
string <uuid>

Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.

Example0198ac5e-f9b7-7000-8000-000000000001
task_id
string <uuid>

Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.

Example0198ac5e-f9b7-7000-8000-000000000001
instructionsRequired
string·max 2000

Original bounded request input for its requester and Studio managers; returned as an empty string in member-visible history.

preview_onlyRequired
boolean

Must be true exactly when source_kind is test.

Responses

Read settled and pending credit usage for one custom Agent and period

GET/api/v1/workspaces/{workspace_id}/agents/studio/definitions/{definition_id}/usage

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
definition_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Query Parameters

from
string <date-time>

Inclusive period start; defaults to one month before the request.

Example2026-08-15T12:00:00Z
to
string <date-time>

Exclusive period end; defaults to request time.

Example2026-08-15T12:00:00Z

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

List Workspace-owned Agent instances

GET/api/v1/workspaces/{workspace_id}/agents

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

Hire one curated Agent into a Workspace

POST/api/v1/workspaces/{workspace_id}/agents

Creates Core-owned desired state. It does not synchronously invoke the Knowledge runtime or imply that a run succeeded.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

Request Body

application/json
definition_idRequired
string <uuid>

Stable Assign-owned identifier for a curated Agent definition. Definition identifiers are not resource UUIDv7 identifiers and clients must treat them as opaque.

statusRequired
string
Values
activepaused
scope_kindRequired
string
Values
workspaceprojects
project_idsRequired
string <uuid>[]·max 1000

Must be empty for Workspace scope and non-empty for selected-Projects scope.

enabled_trigger_typesRequired
string[]·min 1·max 3
Values
manualeventschedule
additional_instructionsRequired
string·max 2000
schedule_timezone
string·min 1·max 100
schedule_local_time
string
schedule_weekdays
integer[]·min 1·max 7
schedule_interval_minutes

Fixed recurrence interval. Zero uses the local-time weekday schedule.

Responses

Read one Workspace Agent instance

GET/api/v1/workspaces/{workspace_id}/agents/{agent_id}

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

Update one Workspace Agent's bounded configuration

PATCH/api/v1/workspaces/{workspace_id}/agents/{agent_id}

Updates scope, supported trigger selection, additional instructions, or active/paused state. Definition, model, provider, prompt, skill, MCP, and raw capability controls are not accepted.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

If-MatchRequired
string

Entity tag containing the resource version last observed by the client.

Request Body

application/json
statusRequired
string
Values
activepaused
scope_kindRequired
string
Values
workspaceprojects
project_idsRequired
string <uuid>[]·max 1000

Must be empty for Workspace scope and non-empty for selected-Projects scope.

enabled_trigger_typesRequired
string[]·min 1·max 3
Values
manualeventschedule
additional_instructionsRequired
string·max 2000
schedule_timezone
string·min 1·max 100

IANA timezone used for scheduled occurrences.

schedule_local_time
string

Minute-precision local wall time.

schedule_weekdays
integer[]·min 1·max 7

ISO weekdays where Monday is 1 and Sunday is 7.

schedule_interval_minutes

Fixed recurrence interval. Zero uses the local-time weekday schedule.

Responses

Soft-remove one Agent and stop all unfinished work

DELETE/api/v1/workspaces/{workspace_id}/agents/{agent_id}

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

If-MatchRequired
string

Entity tag containing the resource version last observed by the client.

Responses

Quarantine an Agent, cancel unfinished runs, and invalidate pending approvals

POST/api/v1/workspaces/{workspace_id}/agents/{agent_id}/quarantine

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

If-MatchRequired
string

Entity tag containing the resource version last observed by the client.

Request Body

application/json
reasonRequired
string·min 1·max 200

Responses

Restore the prior qualified definition version in paused state

POST/api/v1/workspaces/{workspace_id}/agents/{agent_id}/rollback

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

If-MatchRequired
string

Entity tag containing the resource version last observed by the client.

Request Body

application/json

Responses

List retained safe run history for one Agent

GET/api/v1/workspaces/{workspace_id}/agents/{agent_id}/runs

Returns only Core-owned safe projections. Prompts, retrieved context, raw model output, chain of thought, provider details, and private runtime traces are never returned.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Query Parameters

limit
integer·min 1·max 100·default 50

Maximum number of resources to return.

cursor
string·min 1·max 2048

Opaque continuation cursor returned by the preceding page.

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

Durably request a manual Agent run

POST/api/v1/workspaces/{workspace_id}/agents/{agent_id}/runs

Creates the Core-owned queued run before returning. Admission requires an active, reconciled Agent with manual execution enabled; execution remains asynchronous.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

Request Body

application/json

Responses

Read one safe Agent run projection

GET/api/v1/workspaces/{workspace_id}/agents/{agent_id}/runs/{run_id}

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
run_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

Request cancellation of a non-terminal Agent run

POST/api/v1/workspaces/{workspace_id}/agents/{agent_id}/runs/{run_id}/cancel

The initiating actor or an Agent manager may cancel. Already terminal runs return a conflict and committed actions remain intact.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
run_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

Request Body

application/json

Responses

List the run's attributable action and exact approval records

GET/api/v1/workspaces/{workspace_id}/agents/{agent_id}/runs/{run_id}/actions

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
run_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

List customer-safe comments, reports, and notifications with full Agent provenance

GET/api/v1/workspaces/{workspace_id}/agents/{agent_id}/runs/{run_id}/outputs

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
run_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-Assign-Realtime-Baseline
string

Upcoming browser-session canonical read. Set to '1' to capture the authorized response and a signed Workspace replay cursor in one snapshot. Apply every required retained read before acknowledging a socket checkpoint. Failed or incomplete reads return no cursor.

Values
1

Responses

Approve or reject the exact immutable Agent action proposal once

POST/api/v1/workspaces/{workspace_id}/agents/{agent_id}/runs/{run_id}/actions/{action_id}/approvals/{approval_id}/decision

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
agent_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
run_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
action_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
approval_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

Request Body

application/json
decisionRequired
string
Values
approvedrejected
reasonRequired
string·max 500

Responses