files

Upload a file. Answers in the OpenAI or Anthropic file shape, following the caller's headers.

post/api/v1/files

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Response

Successful Response

OR

Changes

    • info

      added the optional property to the response with the status

    • breaking

      the response's body type changed from object to no type for status

    • info

      added to the response body anyOf list for the response status