.txt · Authentication Profile

Txt Authentication

Authentication

Auth profile for the dottxt API, from the published OpenAPI securitySchemes (openapi/txt-dottxt-openapi-original.json) and the docs authentication page. Single scheme: bearer API key in the Authorization header. Keys are prefixed sk-dottxt- and are created/managed in the dashboard; access is currently granted via a request form. The Python SDK and CLI read DOTTXT_API_KEY by default (dottxt login stores credentials locally).

.txt secures its APIs with http-bearer across 1 declared security scheme, as derived from its OpenAPI definitions.

CompanyArtificial IntelligenceLLMStructured OutputsJSON SchemaInferenceDeveloper ToolsMachine Learning
Methods: http-bearer Schemes: 1 OAuth flows: API key in: header

Security Schemes

BearerAuth http
scheme: bearer

Source

Authentication Profile

Raw ↑
generated: '2026-07-21'
method: searched
source: https://docs.dottxt.ai/api/authentication
docs: https://docs.dottxt.ai/api/authentication
description: >-
  Auth profile for the dottxt API, from the published OpenAPI securitySchemes
  (openapi/txt-dottxt-openapi-original.json) and the docs authentication page.
  Single scheme: bearer API key in the Authorization header. Keys are prefixed
  sk-dottxt- and are created/managed in the dashboard; access is currently
  granted via a request form. The Python SDK and CLI read DOTTXT_API_KEY by
  default (dottxt login stores credentials locally).
summary:
  types: [http-bearer]
  api_key_in: [header]
  oauth2_flows: []
schemes:
  - name: BearerAuth
    type: http
    scheme: bearer
    bearerFormat: API Key
    header: 'Authorization: Bearer <DOTTXT_API_KEY>'
    key_prefix: sk-dottxt-
    environment_variable: DOTTXT_API_KEY
    sources: [openapi/txt-dottxt-openapi-original.json]
    notes: >-
      API keys can be created and managed in the dashboard. Connection check:
      GET https://api.dottxt.ai/v1/models with the bearer header returns 200
      with the models available to the key. 401 = invalid/missing key, 403 =
      key lacks access to the requested model, 402 = insufficient credits.