Skip to main content
POST
Tokenization by MODEL_ID

Headers

Authorization: Bearer ACCESS_TOKEN
string

The authentication and authorization access token.

Content-Type
string

application/json

Example:

"application/json"

Path Parameters

MODEL_ID
string
required

The name of the pre-trained or custom embedding model.

Example:

"e5-small-v2"

Body

application/json
batch
object[]

The text used as the input for the request.

useCaseConfig
UseCaseConfig · object
modelConfig
ModelConfig · object

Response

200 - application/json

OK

generatedTokens
object[]
tokensUsed
object