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.

Path Parameters

modelId
string
required

Model ID

Body

application/json
messages
object[]

Array of messages for the conversation

system
object[]

System messages/prompts

inferenceConfig
object
toolConfig
object
guardrailConfig
object
additionalModelRequestFields
object

Model-specific parameters

additionalModelResponseFieldPaths
string[]
performanceConfig
object
promptVariables
object
requestMetadata
object
serviceTier
object
fallbacks
string[]

Response

Successful response

output
object
stopReason
enum<string>
Available options:
end_turn,
tool_use,
max_tokens,
stop_sequence,
guardrail_intervened,
content_filtered
usage
object
metrics
object
additionalModelResponseFields
object
trace
object
performanceConfig
object
serviceTier
object