Skip to main content
POST
Create a message (Anthropic-native)

Authorizations

Authorization
string
header
required

Prism API key beginning with sk-prism-

Headers

x-prism-timeout-ms
integer

Per-attempt upstream timeout in milliseconds, clamped to the server's bounds. Invalid values use the default.

Required range: x >= 1000

Response

Anthropic-compatible message, or an Anthropic-shaped server-sent event stream when stream is true.

The response is of type object.