AI Gateway

post/ai/v1/embeddings

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/ai/v1/embeddings
  • Auth: HTTP bearer

Request body

dimensionsinteger nullable
encoding_formatstring nullable
modelstring required

Response

Embedding response

modelstring required
objectstring required

Changes

No recorded changes to this operation across all 54 revisions of this API.