POST
/v1/embeddings

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/embeddings" \  -H "Content-Type: application/json" \  -d '{    "model": "string",    "input": "string"  }'
{
  "property1": null,
  "property2": null
}
{
  "status_code": 400,
  "detail": "Bad Request",
  "extra": {}
}