v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-018486293.2 KB
embeddings

Create Embedding

OpenAI-compatible embeddings endpoint.

Authentication modes:

  • Master key + user field: Use specified user (must exist)
  • API key + user field: Use specified user (must exist)
  • API key without user field: Use the shared "default" user
post/v1/embeddings

Request body

dimensionsinteger nullable
encoding_formatstring nullable
modelstring required
userstring nullable

Response

Successful Response

{"stackTrail":"paths:/v1/embeddings:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}