cURL
curl --request POST \ --url https://api.dev.knowmio.com/api/embed/single \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "value": "<string>", "organizationId": "<string>" } '
{ "embedding": [ 123 ], "usage": { "tokens": 123 } }
Generate embedding vector for a single text
API key for authentication (lowercase header name)
Text to embed
Organization ID - Required when using API Key authentication. Optional with session authentication (defaults to session's active organization).
Embedding generated successfully
Show child attributes