Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Example:Bearer {{YOUR_API_KEY}}
Body Params application/json
{
"input": "What is the purpose of existence?",
"model": "gemini-embedding-001"
}
Request samples
curl --location --request POST 'https://api.302.ai/v1/embeddings' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header 'Content-Type: application/json' \
--data-raw '{
"input": "What is the purpose of existence?",
"model": "gemini-embedding-001"
}'
Responses
application/json Modified at 2025-07-18 07:43:15