Ory.Model.AiAssistantSessionToken (ory_client v1.22.78)

Copy Markdown

Short-lived bearer token that the Ory Console mounts into the "Ask Ory" assistant SDK in the browser. The Console fetches it once per assistant session and refreshes it before expiry. The token authorizes calls to the assistant's hosted API for the assistant project configured in this environment; it carries no Ory project scope. The Ory project in the request path only determines who may mint a token. Do not log this value.

Summary

Types

t()

@type t() :: %Ory.Model.AiAssistantSessionToken{
  expires_at: DateTime.t(),
  token: String.t()
}

Functions

decode(value)