Skip to main content
POST

Authorizations

Authorization
string
header
default:default
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
required

The name of the embedding model to use.

See all of Together AI's embedding models

Available options:
WhereIsAI/UAE-Large-V1,
BAAI/bge-large-en-v1.5,
BAAI/bge-base-en-v1.5,
togethercomputer/m2-bert-80M-8k-retrieval
Example:

"togethercomputer/m2-bert-80M-8k-retrieval"

input
required

A string providing the text for the model to embed.

Example:

"Our solar system orbits the Milky Way galaxy at about 515,000 mph"

Response

200

object
any
required

The object type, which is always list.

model
string
required
data
object[]
required