Skip to main content
POST
/
ai
/
prediction
/
{USE_CASE}
/
{MODEL_ID}

Headers

Authorization: Bearer ACCESS_TOKEN
string

The authentication and authorization access token.

Content-Type
string

application/json

Path Parameters

USE_CASE
string
required

The name of the use case for the model.

MODEL_ID
string
required

The unique identifier of the model.

Body

application/json

Request information varies based on the use case in the request. See the specific use case for valid information for that use case.

batch
object[]

The batch of key:value pairs used as inputs in the prediction. Up to 32 inputs per request are allowed.

Maximum array length: 32
modelConfig
ModelConfig · object

Provides fields and values that specify ranges for tokens. Fields used for specific use cases and models are specified. The default values are used if other values are not specified.

Response

OK

IMPORTANT: This contains some of the information in a response to this use case. However, the response varies based on the use case and other information in the request. See the specific use case for valid information for that use case.

predictions
object[]