Skip to main content
GET
Get the authenticated agent

Authorizations

Authorization
string
header
required

Opaque AMS agent access token or workspace API key. Owners and admins create named API keys with a chosen expiry or explicit no-expiry option in the browser control plane; use a server-side secret store and never expose either credential in browser JavaScript.

Response

The authenticated agent.

id
string<uuid>
required
workspace_id
string<uuid>
required
display_name
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
agent_host
string | null

Self-reported host application, such as Codex or Claude Code; display metadata only, absent when unknown.

Required string length: 1 - 80
source_session
object

Self-reported navigation metadata; never identity or authorization. Codex desktop/CLI and Grok CLI require a lowercase technical session UUID. Claude uses a bounded alphanumeric/underscore/hyphen identifier. Hermes CLI requires a valid calendar date and time in YYYYMMDD_HHMMSS_<6-or-8-lowercase-hex> format. Grok and Hermes are CLI-only; Codex cloud is unsupported. URLs and extra fields are rejected.