API

AgentRoder

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/agent/roder/browser_executor_authorization create Browser executor authority remains valid
POST /api/v1/agent/roder/session create Roder browser session
POST /api/v1/agent/roder/workspace_authorization create The capability still authorizes native runner access
GET /api/v1/agent/roder/browser_authorization load Browser collaboration is enabled for the current organization member

Fields

Field Type Required Description

create

POST /api/v1/agent/roder/browser_executor_authorization

Operation ID: api_v1_roder_browser_executor_authorization.

Authentication: bearer token (bearerAuth).

Request body

application/json

The request body is object.

Responses

204: Browser executor authority remains valid
403: Invalid capability or browser authority is unavailable

POST /api/v1/agent/roder/session

Operation ID: api_v1_roder_session.

Authentication: bearer token (bearerAuth).

Request body

application/json

Property Type Required Description
checkpoint_handoff object No
checkpoint_handoff.agent_checkpoint_id string Yes
checkpoint_handoff.change_id string Yes
checkpoint_handoff.expected_commit_id string Yes
checkpoint_handoff.max_bytes integer Yes
checkpoint_handoff.organization_slug string Yes
checkpoint_handoff.purpose enum: ask_why, continue Yes
checkpoint_handoff.repository_slug string Yes
github_repository string No Internal operator access to an explicit owner/name connected to this organization. Uses GitHub authentication directly for the normal coding workspace.
organization_id string Yes
repository_slug string No
session_purpose enum: coding, browser_setup, onboarding No

Responses

200: Roder browser session

application/json

Property Type Required Description
browser_collaboration_version enum: 0, 1 Yes
expires_at string (date-time) Yes
expires_in_seconds integer Yes Remaining capability lifetime measured by the server when the response was created.
mcp_token string Yes
model string Yes
model_provider string Yes
organization_id string Yes
repository_slug string Yes
session_purpose enum: coding, browser_setup, onboarding Yes
token string Yes
workspace_dir string Yes Compatibility root used to establish the SDK connection. workspace/list is authoritative for the active workspace.
ws_url string Yes
400: Organization is required

application/json

Property Type Required Description
error string Yes
401: Unauthorized
403: Forbidden
404: Organization not found

application/json

Property Type Required Description
error string Yes
422: Checkpoint handoff context is unavailable

application/json

Property Type Required Description
error string Yes
502: Bad gateway

POST /api/v1/agent/roder/workspace_authorization

Operation ID: api_v1_roder_workspace_authorization.

Authentication: bearer token (bearerAuth).

Responses

204: The capability still authorizes native runner access
401: Invalid, expired, revoked, or unauthorized agent capability

application/json

Property Type Required Description
error string Yes

load

GET /api/v1/agent/roder/browser_authorization

Operation ID: api_v1_roder_browser_authorization.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id query string Yes

Responses

204: Browser collaboration is enabled for the current organization member
403: Browser collaboration or beta access is disabled
404: Organization membership is unavailable