Skip to content
Hayonix

API reference · Schema

PlaygroundToken

  • objectstringrequired

    Always `playground_token`: the type of this object

    One ofplayground_token

  • idstringrequired

    Unique ID (`pgt_…`)

    ID with prefix pgt_

  • project_idstringrequired

    Project it belongs to

    ID with prefix prj_

  • tokenstringrequired

    Bearer token for the inference API. Short-lived; never store it.

  • expires_atstring (date-time)required

    When it expires (null: never) (ISO 8601, UTC)

Example
{
  "object": "playground_token",
  "id": "pgt_01jc5zq4m8k3v6x9t2w7r0b1e4",
  "project_id": "prj_01jc5zq4m8k3v6x9t2w7r0b1e4",
  "token": "pg_eyJ2IjoxLC…",
  "expires_at": "2026-01-01T00:00:00.000Z"
}

Used by