DOCS
Dashboardnorth_eastGet an API keyvpn_key
PAI Chat·Glossary

Glossary

Shared vocabulary used across the PAI API docs. Terms are tagged by the product they apply to — All, Chat, or Subtitles.

TermApplies toDefinition
API keyAllA secret credential sent in the x-api-key header to authenticate service-to-service requests. Shown once at creation; store it in a secrets manager.
x-api-keyAllThe request header carrying the raw API key. Missing, invalid, disabled, or expired keys return 401.
ScopeAllThe boundary a key is locked to at creation time and cannot escalate later. Determines which resources the key may act on.
Rate limitAllA cap on requests per key (and, for Chat, per IP). Exceeding it returns 429; Chat surfaces RATE_LIMITED with details on when to retry.
OrganisationChatThe top-level account that owns chatbots. An organisation key works for any chatbot within it.
ChatbotChatA single configured assistant inside an organisation. A chatbot key works for that one chatbot only.
x-chatbot-idChatHeader identifying which chatbot a request targets. Required for chatbot-scoped calls; send it explicitly for server-to-server requests.
x-organization-idChatHeader identifying the organisation for organisation-level routes. It must match the key's organisation or the request returns 403.
TenantSubtitlesThe workspace a subtitle job belongs to. Tenant-scoped routes check membership and role.
x-tenant-idSubtitlesHeader selecting the tenant to act on. Must be a valid UUID; absence returns 400, non-membership returns 403.
JobSubtitlesA single subtitle operation. Moves through pending → processing → completed / failed.
Child jobSubtitlesA sub-task (e.g. transcription or translation) spawned by a parent job. The parent stays processing until children settle, which gates restart and delete.
SRT / VTTSubtitlesThe two accepted subtitle file formats (SubRip and WebVTT). Other extensions are rejected with 400.