Przejdź do głównej zawartości
Version: 1.0.0

Gaius-Lex API 2.0

OpenAPI spec for endpoints usable with an Organization API key.

Authentication:

  • Send header Authorization: Api-Key <YOUR_KEY>.
  • Most endpoints respond with 401 if the header is missing/invalid.

Self-description:

  • Every endpoint has GET <endpoint>/info (e.g. GET /api/v1/search/info, GET /api/v1/ocr/poll/{request_id}/info) answering an EndpointInfo: what it does, the JSON Schema of its input and output and examples. It needs no key. A tool's GET /api/v1/tool-api/{tool_id}/info describes that tool's own inputs and outputs and needs the key.

Authentication​

Enter the full Authorization header value: Authorization: Api-Key <YOUR_KEY>

Security Scheme Type:

apiKey

Header parameter name:

Authorization