Introspect the principal behind the agent key
GET /v1/auth/me
Requires only a valid key (any scope), so an agent can always read its own authority.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The verified principal.
The verified principal behind an agent key. org_id/project_id are the FIXED org/project the key is bound to (resolved from the stored key, never client input). There is NO mutable project selector for a scoped key; whoami is the canonical project-visibility surface; project selection happens when the human/admin issues the enrollment token or agent key.
object
Recover the single system-prepared, agent-owned practice review. A preparing status means the durable worker has not finished; do not submit another hello. Feedback and revisions belong to this review. The coaching example is optional and is not authority to save a rule until the human submits it as feedback.
object
Account-aware console entry path preserving this review.
Pending_activation or preparing until a review exists; otherwise its current review state.
Optional human feedback to copy into the review discussion.
Explicit consent bound to one connection; token refresh never extends grant expiry. The immutable capability profile is a distribution ceiling, not an account role. Full preserves existing permissions; assistant permits only selected inboxes or one project and excludes commerce, administration, delegation, credentials, quotas and webhooks. Independently created credentials on the full profile retain their own lifetimes.
object
Server-derived immutable ceiling. An absent legacy value means full compatibility, never new full-account permission.
Creation provenance; parent expiry and revocation do not cascade.
Fixed grant deadline in Unix milliseconds. Zero means until revoked.
Canonical inbox bound to a single-inbox credential.
Plain-language connection result and limits.
Granted permissions, not plan capacity or permission to bypass mail review.
object
The fixed org the key is bound to.
The fixed project the key is bound to.
Missing or invalid credential.
The canonical error envelope. error is a stable machine code.
object
Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).
Example
forbiddenHuman-readable detail (never leaks internals).
Example
missing required scopeMachine-readable quota reason. inbox_limit_exceeded means billing account inbox capacity across all organizations and projects sharing that account; enrollment_token_mailbox_budget_exhausted means the enrollment key lifetime creation allowance. Read message for recovery; inbox counts are separate from sending quotas.
Consumed plus reserved units.
Requested additional units.
Next UTC usage-period boundary; pending reservations survive this boundary.