cURL
curl --request POST \ --url https://gomodel.example.com/v1/embeddings \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "dimensions": 123, "encoding_format": "<string>", "input": "<unknown>", "model": "<string>", "provider": "<string>" } '
{ "data": [ { "embedding": {}, "index": 123, "object": "<string>" } ], "model": "<string>", "object": "<string>", "provider": "<string>", "usage": { "prompt_tokens": 123, "total_tokens": 123 } }
Embeddings request
Gateway routing hint; stripped before upstream execution.
OK
Show child attributes
Was this page helpful?