Skip to main content
The token object defines a unit of AI consumption that is tracked and billed. Different token types represent different AI operations (response generation, transcription, retrieval, etc.), each with its own per-unit cost.
tokenId
string
O identificador unico do token (UUIDv7).
name
string
O nome do token.
description
string
A descricao do token.
type
string
The token type. One of: AUDIO_TO_TEXT, IMAGE_TO_TEXT, MEMORY, PLANNING, RESPONSE, RETRIEVAL, SUMMARY, TOOLS, TRANSCRIPTION, WEBSCRAPING.
value
number
The token value.
currency
string
O codigo da moeda (ex: BRL, USD).
status
string
O status do token. Um de: ACTIVE, INACTIVE.
createdBy
string
O ID do usuario que criou o token.
createdAt
string
Timestamp de criacao (ISO 8601).
updatedBy
string
O ID do usuario que atualizou o token por ultimo.
updatedAt
string
Timestamp da ultima atualizacao (ISO 8601).
{
  "tokenId": "019525fd-f5cc-7dc1-c9e5-1f3a5b7d9e1b",
  "name": "Response Token",
  "description": "Token consumed per response generation.",
  "type": "RESPONSE",
  "value": 0.005,
  "currency": "BRL",
  "status": "ACTIVE",
  "createdBy": "019525fd-56a8-7db4-8c3e-2a1b4d6f8e0c",
  "createdAt": "2026-01-15T10:00:00.000Z",
  "updatedBy": "019525fd-56a8-7db4-8c3e-2a1b4d6f8e0c",
  "updatedAt": "2026-01-15T10:00:00.000Z"
}