{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nuance-labs/json-schema/nuance-labs-session-token-response-schema.json",
  "title": "SessionTokenResponse",
  "description": "A session token to hand to your page.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nuance-labs-openapi.yml#/components/schemas/SessionTokenResponse",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "The session token, `st_…`, for your page or app to create the conversation with."
    },
    "expires_at": {
      "format": "date-time",
      "type": "string",
      "description": "When the token stops being able to start a conversation (UTC). Once it has started one, it lasts as long as that conversation."
    },
    "warnings": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "description": "What to change in how you mint tokens; empty when nothing. Without `end_user_id`, it says that policy pauses count against all your organization's conversations without one."
    }
  },
  "required": [
    "expires_at",
    "token",
    "warnings"
  ]
}