Skip to content
Hexel StudioDocs

Report a client-executed action's outcome

POST/titan/agent/executions/{id}/outcome

ORB-4a2, only for agent deployments client-executed actions lists: a request that does not authenticate, or whose agent deployment is not listed, is NOT_FOUND whatever its method or headers, as before. The client's one report for an authorized client execution, from the runtime principal and agent deployment that created it, from the same session or a leg of the same durable session, within its run window. A kill or quarantine latched since authorization is FORBIDDEN. The same report again answers the stored execution; a different one is OUTCOME_CONFLICT; an execution that is not authorized (expired, or past its run window) is EXECUTION_NOT_AUTHORIZED. Body at most 1 KiB.

Path parameters

idstring

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.client-outcome+json;version=1"

Acceptstring

Exact media type: type and subtype case-insensitive, exactly one version parameter.

One of: "application/vnd.titan.execution-status+json;version=1"

Titan-Device-Proofoptional string

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

A JSON object or object (required).

Returns

200The execution with the reported outcome.object or object or object or object

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.
  • 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.
  • 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).
  • 409EXECUTION_NOT_AUTHORIZED: the client execution is not authorized to run: expired, or past its run window; OUTCOME_CONFLICT: a different outcome was already reported for the client execution.
  • 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.
  • 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).