Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Body

application/json
model
string
required

Model in provider/model format

Example:

"typesafe/jev-1.13.0"

state
required

State to evaluate. A plain string, or structured data (object or array).

questions
object
required

Map of named questions. Question identifiers become answer field names.

fallbacks
string[]

Fallback models in provider/model format

Response

Successful response

model
string
required

Model that performed the decision

answers
object
required

Map matching question identifiers to answers. Every requested question produces an answer.

id
string

Unique identifier for the decision response

usage
object

Token usage information

extra_fields
object

Additional fields included in responses