Turso · Schema

APIToken

A Turso API authentication token

DatabaseEdge ComputingSQLiteDeveloper ToolsMulti-tenantAI Agents

Properties

Name Type Description
name string The name given to the API Token.
id string The ID generated by Turso for the API Token.
organization string The organization slug this token is restricted to. Omitted if the token has access to all organizations.
group string The group name this token is pinned to. Present only for group-scoped tokens.
scopes array The expanded list of scopes granted to this token. Present only for group-scoped tokens. Presets passed at creation time (`read-only`, `full-access`) are stored as the underlying individual scopes and
created_at string The date the token was created, in `YYYY-MM-DD` format.
View JSON Schema on GitHub

JSON Schema

turso-api-token-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.turso.tech/schemas/api-token.json",
  "title": "APIToken",
  "description": "A Turso API authentication token",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name given to the API Token.",
      "example": "my-token"
    },
    "id": {
      "type": "string",
      "description": "The ID generated by Turso for the API Token.",
      "example": "clGFZ4STEe6fljpFzIum8A"
    },
    "organization": {
      "type": "string",
      "description": "The organization slug this token is restricted to. Omitted if the token has access to all organizations.",
      "example": "my-org"
    },
    "group": {
      "type": "string",
      "description": "The group name this token is pinned to. Present only for group-scoped tokens.",
      "example": "default"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The expanded list of scopes granted to this token. Present only for group-scoped tokens. Presets passed at creation time (`read-only`, `full-access`) are stored as the underlying individual scopes and are returned in that form.",
      "example": [
        "db:create",
        "db:configure",
        "db:mint-token"
      ]
    },
    "created_at": {
      "type": "string",
      "description": "The date the token was created, in `YYYY-MM-DD` format.",
      "example": "2026-05-21"
    }
  }
}