Skip to content
Hexel StudioDocs

Signed session and feature profile for the calling device's deployment

GET/titan/agent/local/session-profile

Device-authenticated (titan_device_key bindings only, assurance A2 or higher); never mutates state or authorizes an action. Returns the deployment's current signed session profile, which titand verifies against its pinned keys and enforces for capture, sync and remote steering. NOT_FOUND also means no profile is published for the deployment, or the Gateway does not enable session profiles. Content-Type, Idempotency-Key, and Content-Length are rejected with 400 INVALID_REQUEST.

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.

Acceptstring

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

One of: "application/vnd.titan.session-profile+jwt;version=1"

If-None-Matchoptional string

The ETag of the profile the device holds; an unchanged profile answers 304.

Per-request EdDSA device proof; this surface serves titan_device_key bindings only.

Returns

200The current signed profile.string

Errors

  • 304The profile named by If-None-Match is still current.
  • 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.
  • 401UNAUTHENTICATED: a missing or invalid runtime token, device proof, or mTLS peer, an ineligible session, or assurance below A2.
  • 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).
  • 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.
  • 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).