Sign in

Create embeddings

documented

Generate vector embeddings for input text or data.

POST /embeddingsEmbeddingsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.openai.com/v1/embeddings" \
  -X POST \
  -H "Authorization: Bearer {{OPENAI_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"input": "{{$input}}", "model": "{{$model}}", "encoding_format": "{{$encoding_format}}", "user": "{{$user}}"}'