Invoke one capability revision
/titan/agent/capabilities/{capability_id}:invokeFresh policy evaluation on every call. 200 carries a verified result, a terminal execution status, or (identical same-key replay) a terminal approval; 202 carries a durable nonterminal execution or a pending approval. Request body at most 96 KiB.
Path parameters
Headers
Bearer <token>. Runtime identity token from the identity exchange. Through the public edge, device-bound callers (titand) and workloads of the deployment's attached customer Kubernetes clusters are served. A device-bound caller's requests also carry a Titan-Device-Proof over the path below /v1 (or below the cell prefix), i.e. the /titan/agent/... path; an attached cluster's carry none.
Exact media type with exactly one version parameter.
One of: "application/vnd.titan.capability-invocation+json;version=1"
The capability-result, approval-status, and execution-status types, once each, in any order; whitespace around the commas is optional; no wildcard or q.
One of: "application/vnd.titan.capability-result+json;version=1, application/vnd.titan.approval-status+json;version=1, application/vnd.titan.execution-status+json;version=1", "application/vnd.titan.capability-result+json;version=1, application/vnd.titan.execution-status+json;version=1, application/vnd.titan.approval-status+json;version=1", "application/vnd.titan.approval-status+json;version=1, application/vnd.titan.capability-result+json;version=1, application/vnd.titan.execution-status+json;version=1", "application/vnd.titan.approval-status+json;version=1, application/vnd.titan.execution-status+json;version=1, application/vnd.titan.capability-result+json;version=1", "application/vnd.titan.execution-status+json;version=1, application/vnd.titan.capability-result+json;version=1, application/vnd.titan.approval-status+json;version=1", "application/vnd.titan.execution-status+json;version=1, application/vnd.titan.approval-status+json;version=1, application/vnd.titan.capability-result+json;version=1"
Required exactly when the revision requires idempotency (side-effecting); forbidden otherwise. Visible ASCII except comma, double quote, and backslash.
Per-request EdDSA device proof over method, received path, body digest, and token jti; required for a titan_device_key binding and rejected for a Kubernetes binding.
Body parameters
Arguments validated against the revision's closed input contract (the catalog input_schema); the body is at most 96 KiB.
Returns
200Verified result, terminal execution, or terminal approval of an identical replay.AgentApprovalUnexecuted
One of: "denied", "revoked", "expired", "invalidated"
Errors
- 400INVALID_REQUEST: a header outside the allowlist, a duplicate singleton or control character, framing, or a body/argument that fails strict JSON or the closed contract; IDEMPOTENCY_KEY_FORBIDDEN: an Idempotency-Key where the revision (or route) takes none.
- 401UNAUTHENTICATED: a missing or invalid runtime token, device proof, or mTLS peer, an ineligible session, or assurance below A2.
- 402TITAN_PLAN_REQUIRED: with the plan check on for the enforcement deployment, the organization has no Titan plan or trial (reason plan_required), or its subscription is past due or cancelled past the Gateway's grace (subscription_past_due, subscription_canceled); checked before an approval request is opened and before any grant, so nothing is put to an approver, signed or executed; not retryable.
- 403FORBIDDEN: a policy deny, a latched kill, or a restricted session; on the Session Store, a caller that is not a leg of a durable session, a write to another durable session, or summaries the session profile turns off; on swarm routes, a mission at its task or board key cap; no object detail; SECRET_SOURCE_NOT_ALLOWED: a web.login.fill whose secret source (source, saved when absent) the organization's session profile option web_login_secret_sources leaves out (by default the phone vault): refused before an approval is opened or a grant signed, and not retryable; PHONE_SESSION_SCOPE: the caller's session, an ancestor of it or another leg of its durable session was created for a phone call (its Broker session carries phone_call_id) and the action is not phone.knowledge.lookup, phone.message.take or phone.call.hangup naming that call's call_id; refused before policy, nothing is decided, approved or executed, and not retryable.
- 404NOT_FOUND: an unknown, hidden, or inaccessible capability or object, a query string, or a malformed id; on the Session Store also durable sessions off for the caller's agent deployment; on swarm routes also swarm coordination off for it, or another mission's task, key or session.
- 406NOT_ACCEPTABLE: an Accept other than the exact media type(s).
- 409IDEMPOTENCY_CONFLICT: a key reused with a different complete binding; GOVERNED_ACTION_LIMIT_REACHED: with plan limits on, the organization's plan sets a monthly governed-action limit (quota.titan_governed_actions_per_month, the trial's hard stop) and billing-api answers that it is used up; nothing is signed or executed; GOVERNED_ACTION_BUDGET_EXCEEDED: with enforced budgets on, an enforced billing budget of the organization, or of the action's workspace or environment, is used up (billing-api budget_exceeded); nothing is signed or executed; TAKEOVER_ACTIVE: a class client action of a durable session whose sandbox its person has taken over; retry after the hand-back.
- 413PAYLOAD_TOO_LARGE: more than 32 counted headers, a header value over 4 KiB (Authorization 12 KiB), 24 KiB of headers, or an oversized body.
- 415UNSUPPORTED_MEDIA_TYPE: a Content-Type other than the exact media type.
- 428IDEMPOTENCY_KEY_REQUIRED: a side-effecting revision without one valid key.
- 429RATE_LIMITED: the per-runtime-principal rate or concurrency bound.
- 503SERVICE_UNAVAILABLE: required local state, the store, the signer, audit capacity, or the executor path is unavailable before safe acceptance (on content access also: no Titan content store configured under full capture).