v4

latestOpenAPI 3.1.0MIT2026-08-04193459793.6 KB
Embeddings

Create embedding

Generate vector embeddings for one or more text inputs. Returns numerical arrays representing semantic meaning, useful for search, classification, and retrieval.

post/embeddings

Request body

Example request

{
  "input": "Our solar system orbits the Milky Way galaxy at about 515,000 mph"
}

Response

200

object'list' required

The object type, which is always list.

modelstring required