PageAgent
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
POST |
/api/v1/organizations/{organization_id}/agents/page/activity |
create |
Markers keyed by agent ID. A marker changes when the conversation does; null means it has no history yet |
GET |
/api/v1/organizations/{organization_id}/agents/page |
load |
V2 agent workspace page |
GET |
/api/v1/organizations/{organization_id}/agents/page/roster |
load |
Authorized agent rows and the selected agent when outside the current page |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
page_agent, err := client.PageAgent(nil).Load(map[string]any{"organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(page_agent)
Lua
Construct client as shown in the Lua setup, then call the operations:
local page_agent, err = client:PageAgent():load({ organization_id = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$page_agent = $client->PageAgent()->load(["organization_id" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
page_agent = client.PageAgent().load({"organization_id": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
page_agent = client.PageAgent.load({ "organization_id" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const page_agent = await client.PageAgent().load({ organization_id: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
agents |
array |
Yes | Agents |
can_edit_integration_connections |
boolean |
Yes | Can Edit Integration Connections |
creation_enabled |
boolean |
Yes | Creation Enabled |
inbox |
any |
No | Inbox |
integration_choices |
array |
Yes | Integration Choices |
integration_choices_truncated |
boolean |
Yes | Integration Choices Truncated |
integration_selected |
array |
Yes | Integration Selected |
model_choices |
array |
No | Model Choices |
new_configuration |
any |
Yes | New Configuration |
organization_id |
string |
Yes | Organization Id |
pagination |
object |
Yes | Pagination |
pinned_agent |
any |
Yes | Pinned Agent |
platform_event_types |
array |
Yes | Platform Event Types |
repository_choices |
array |
Yes | Empty compatibility field. |
repository_choices_truncated |
boolean |
Yes | Repository Choices Truncated |
runtime_versions |
array |
No | Runtime choices authorized for this organization. |
selected_agent |
any |
Yes | Selected Agent |
selected_reference |
one,string,null |
Yes | Selected Reference |
viewer_id |
string |
Yes | Viewer Id |
create
POST /api/v1/organizations/{organization_id}/agents/page/activity
Operation ID: page_activity_api_v1_organization_persistent_agents.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
agent_ids |
array of string |
Yes |
Responses
200: Markers keyed by agent ID. A marker changes when the conversation does; null means it has no history yet
application/json
| Property | Type | Required | Description |
|---|---|---|---|
agents |
object |
Yes |
401: Authentication required
403: Current private-agent management authority required
404: Organization or authorized agent not found
422: Unprocessable entity
502: Bad gateway
503: Private Git state unavailable. Retry the same Idempotency-Key and unchanged body
load
GET /api/v1/organizations/{organization_id}/agents/page
Operation ID: page_api_v1_organization_persistent_agents.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
agent |
query |
string |
No | |
agent_search |
query |
string |
No | |
agent_visibility |
query |
enum: private, organization |
No | Limit the roster, including its pinned row, without changing the selected agent or inbox. |
integration_search |
query |
string |
No | |
cursor |
query |
string |
No | |
limit |
query |
integer |
No |
Responses
200: V2 agent workspace page
application/json
| Property | Type | Required | Description |
|---|---|---|---|
agents |
array of object |
Yes | |
agents[].attention |
enum: question, approval, setup_failed, run_failed, null |
Yes | Whether this agent waits on its viewer, decided from its provisioning, decisions awaiting an answer, the outcome of its last reported run and the model's verdict on its last reply (question when reply_triage is needs_you). Null when nothing waits or the agent is not active. Clients map it to labels and never classify messages or run status themselves. |
agents[].avatar |
string,null |
No | Emoji or up to two visible grapheme clusters, at most 64 UTF-8 bytes, without control or bidi override characters. Null selects the default icon. Omission preserves legacy configuration bytes. |
agents[].can_delete |
boolean |
No | Whether this viewer may delete this v2 agent. |
agents[].can_manage |
boolean |
Yes | |
agents[].can_manage_sharing |
boolean |
No | |
agents[].configuration_revision |
integer |
Yes | |
agents[].control_connections_available |
boolean |
No | Whether this viewer may manage their own external Control connections, including cleanup while the agent is paused. |
agents[].controlling_user_id |
string |
Yes | |
agents[].coordination_available |
boolean |
No | Durable task controls remain available even when native conversation history is unavailable. |
agents[].created_at |
string (date-time) |
Yes | |
agents[].has_unread_updates |
boolean |
Yes | |
agents[].id |
string |
Yes | |
agents[].last_reply_at |
string,null (date-time) |
Yes | When the agent's latest projected reply arrived, for grouping recent replies. Null before the first reply, and while the preview is the viewer's own input. |
agents[].local_agent_control_available |
boolean |
No | Whether this organization exposes paired local coding-agent control. Every operation requires current owner access or explicit requester-bound agent consent. |
agents[].name |
string |
Yes | |
agents[].organization_id |
string |
Yes | |
agents[].persona |
object or null |
No | |
agents[].preview |
null or object |
No | |
agents[].preview_received_at |
string,null (date-time) |
No | When a newer canonical conversation preview was first projected. Older previews may be undated; this is not task completion time. |
agents[].provisioning |
object or null |
No | |
agents[].reply_triage |
object,null |
Yes | A model's verdict on the agent's latest reply, judged once when it arrived. Null while the reply is unjudged or could not be judged, and while the preview is the viewer's own input; clients then keep the reply where its unread state puts it. |
agents[].reply_triage.question_text |
string,null |
Yes | The question or request to the viewer, for needs_you only. |
agents[].reply_triage.reason |
string |
Yes | A short plain phrase for the viewer saying what the reply is about. |
agents[].reply_triage.verdict |
enum: needs_you, fyi, quiet |
Yes | needs_you when the agent waits on the viewer, fyi when the reply is worth reading but asks nothing, quiet when it is noise to hide. |
agents[].runtime_version |
enum: v2 |
No | Immutable execution runtime selected at creation. |
agents[].sharing_fixed |
boolean |
No | Project agents have a fixed audience and cannot change visibility. |
agents[].sharing_version |
integer |
No | |
agents[].slug |
string |
Yes | |
agents[].status |
enum: draft, active, paused, archived |
Yes | |
agents[].team_role |
enum: manager, collaborator |
No | What teammates may do once the agent is shared with the team. Collaborators chat with it; managers also change its apps, secrets and settings. The owner and named managers always manage it. |
agents[].updated_at |
string (date-time) |
Yes | |
agents[].url_slug |
string |
No | Stable organization-scoped browser name for /ORG/agent/NAME. Legacy slug and public IDs remain accepted. |
agents[].visibility |
enum: private, organization |
No | |
can_edit_integration_connections |
boolean |
Yes | |
creation_enabled |
boolean |
Yes | |
inbox |
null or object |
No | |
integration_choices |
array of object |
Yes | |
integration_choices[].available |
boolean |
Yes | |
integration_choices[].id |
string |
Yes | |
integration_choices[].name |
string |
Yes | |
integration_choices[].reference |
string |
Yes | |
integration_choices[].status |
string |
Yes | |
integration_choices[].toolkit |
string |
Yes | |
integration_choices_truncated |
boolean |
Yes | |
integration_selected |
array of object |
Yes | |
integration_selected[].available |
boolean |
Yes | |
integration_selected[].id |
string |
Yes | |
integration_selected[].name |
string |
Yes | |
integration_selected[].reference |
string |
Yes | |
integration_selected[].status |
string |
Yes | |
integration_selected[].toolkit |
string |
Yes | |
model_choices |
array of object |
No | |
model_choices[].available |
boolean |
Yes | |
model_choices[].cost_tier |
integer,null |
No | Relative usage cost from 1 (cheapest) to 4, from list prices. Null when unpriced. Absent on older API replicas. |
model_choices[].default_reasoning |
enum: none, low, medium, high, xhigh, max |
Yes | |
model_choices[].label |
string |
Yes | |
model_choices[].model |
string |
Yes | |
model_choices[].provider |
string |
Yes | |
model_choices[].reasoning |
array of enum: none, low, medium, high, xhigh, max |
Yes | |
model_choices[].speeds |
array of enum: regular, fast, ultrafast |
Yes | |
new_configuration |
object or null |
Yes | |
organization_id |
string |
Yes | |
pagination |
object |
Yes | |
pagination.limit |
integer |
Yes | |
pagination.next |
string,null |
No | |
pinned_agent |
object or null |
Yes | |
platform_event_types |
array of enum: change.opened, change.code_updated, change.landed, github.push, github.pull_request, github.issues, ... |
Yes | |
repository_choices |
array of object |
Yes | Empty compatibility field. Use the agent's clawder/repositories endpoint. |
repository_choices[].available |
boolean |
Yes | |
repository_choices[].id |
string |
Yes | |
repository_choices[].name |
string,null |
Yes | |
repository_choices[].slug |
string,null |
Yes | |
repository_choices_truncated |
boolean |
Yes | |
runtime_versions |
array of enum: v2 |
No | Runtime choices authorized for this organization. |
selected_agent |
object and object or null |
Yes | |
selected_reference |
string,null |
Yes | |
viewer_id |
string |
Yes |
401: Authentication required
403: Forbidden
404: Organization or selected authorized agent unavailable
422: Unprocessable entity
502: Bad gateway
503: Selected private agent state temporarily unavailable
GET /api/v1/organizations/{organization_id}/agents/page/roster
Operation ID: page_roster_api_v1_organization_persistent_agents.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
agent |
query |
string |
No | |
agent_search |
query |
string |
No | |
agent_visibility |
query |
enum: private, organization |
No | Limit the roster, including its pinned row, to this audience. Omit for all authorized agents. |
cursor |
query |
string |
No | |
limit |
query |
integer |
No |
Responses
200: Authorized agent rows and the selected agent when outside the current page
application/json
| Property | Type | Required | Description |
|---|---|---|---|
agents |
array of object |
Yes | |
agents[].attention |
enum: question, approval, setup_failed, run_failed, null |
Yes | Whether this agent waits on its viewer, decided from its provisioning, decisions awaiting an answer, the outcome of its last reported run and the model's verdict on its last reply (question when reply_triage is needs_you). Null when nothing waits or the agent is not active. Clients map it to labels and never classify messages or run status themselves. |
agents[].avatar |
string,null |
No | Emoji or up to two visible grapheme clusters, at most 64 UTF-8 bytes, without control or bidi override characters. Null selects the default icon. Omission preserves legacy configuration bytes. |
agents[].can_delete |
boolean |
No | Whether this viewer may delete this v2 agent. |
agents[].can_manage |
boolean |
Yes | |
agents[].can_manage_sharing |
boolean |
No | |
agents[].configuration_revision |
integer |
Yes | |
agents[].control_connections_available |
boolean |
No | Whether this viewer may manage their own external Control connections, including cleanup while the agent is paused. |
agents[].controlling_user_id |
string |
Yes | |
agents[].coordination_available |
boolean |
No | Durable task controls remain available even when native conversation history is unavailable. |
agents[].created_at |
string (date-time) |
Yes | |
agents[].has_unread_updates |
boolean |
Yes | |
agents[].id |
string |
Yes | |
agents[].last_reply_at |
string,null (date-time) |
Yes | When the agent's latest projected reply arrived, for grouping recent replies. Null before the first reply, and while the preview is the viewer's own input. |
agents[].local_agent_control_available |
boolean |
No | Whether this organization exposes paired local coding-agent control. Every operation requires current owner access or explicit requester-bound agent consent. |
agents[].name |
string |
Yes | |
agents[].organization_id |
string |
Yes | |
agents[].persona |
object or null |
No | |
agents[].preview |
null or object |
No | |
agents[].preview_received_at |
string,null (date-time) |
No | When a newer canonical conversation preview was first projected. Older previews may be undated; this is not task completion time. |
agents[].provisioning |
object or null |
No | |
agents[].reply_triage |
object,null |
Yes | A model's verdict on the agent's latest reply, judged once when it arrived. Null while the reply is unjudged or could not be judged, and while the preview is the viewer's own input; clients then keep the reply where its unread state puts it. |
agents[].reply_triage.question_text |
string,null |
Yes | The question or request to the viewer, for needs_you only. |
agents[].reply_triage.reason |
string |
Yes | A short plain phrase for the viewer saying what the reply is about. |
agents[].reply_triage.verdict |
enum: needs_you, fyi, quiet |
Yes | needs_you when the agent waits on the viewer, fyi when the reply is worth reading but asks nothing, quiet when it is noise to hide. |
agents[].runtime_version |
enum: v2 |
No | Immutable execution runtime selected at creation. |
agents[].sharing_fixed |
boolean |
No | Project agents have a fixed audience and cannot change visibility. |
agents[].sharing_version |
integer |
No | |
agents[].slug |
string |
Yes | |
agents[].status |
enum: draft, active, paused, archived |
Yes | |
agents[].team_role |
enum: manager, collaborator |
No | What teammates may do once the agent is shared with the team. Collaborators chat with it; managers also change its apps, secrets and settings. The owner and named managers always manage it. |
agents[].updated_at |
string (date-time) |
Yes | |
agents[].url_slug |
string |
No | Stable organization-scoped browser name for /ORG/agent/NAME. Legacy slug and public IDs remain accepted. |
agents[].visibility |
enum: private, organization |
No | |
creation_enabled |
boolean |
Yes | |
pagination |
object |
Yes | |
pagination.limit |
integer |
Yes | |
pagination.next |
string,null |
No | |
pinned_agent |
object or null |
Yes |