v3

OpenAPI 3.1.0MIT2026-07-31192456807.8 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