Create an Anthropic-compatible message

View as Markdown

Authentication

AuthorizationBearer

Panicly project key supplied as Authorization: Bearer pk-live-....

OR
x-panicly-keystring

Panicly project key supplied directly in the x-panicly-key header.

Request

This endpoint expects an object.
modelstringRequired
messageslist of maps from strings to anyRequired
max_tokensintegerOptional

Response

Provider message response returned through Panicly.

Errors

401
Unauthorized Error
403
Forbidden Error