curl --request POST \
--url https://api.example.com/inference/embedding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sentences": [
"<string>"
]
}
'{
"embeddings": [
{}
],
"num_tokens": 123
}curl --request POST \
--url https://api.example.com/inference/embedding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sentences": [
"<string>"
]
}
'{
"embeddings": [
{}
],
"num_tokens": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.