Create a message
Create an Anthropic Messages-compatible response.
Messages requests are validated at the facade boundary and mapped into canonical gateway chat contracts before provider dispatch. Streaming responses use Anthropic-style SSE events while preserving gateway privacy, billing, and sanitized error behavior.
Authorizations
Org API key as Authorization: Bearer z_sk_...
Body
Request payload for createAnthropicMessage. Examples use placeholder-safe values and do not include real secrets or private prompt content.
Schema for AnthropicMessagesRequest values returned by or accepted by the Nito gateway.
The messages field on AnthropicMessagesRequest.
1Nested schema within AnthropicMessagesRequest for AnthropicMessagesRequest.messages.items.
- Option 1
- Option 2
The max_tokens field on AnthropicMessagesRequest.
12
The metadata field on AnthropicMessagesRequest.
The model field on AnthropicMessagesRequest.
"openai/gpt-5.5"
The output_config field on AnthropicMessagesRequest.
The service_tier field on AnthropicMessagesRequest.
"example"
The stream field on AnthropicMessagesRequest.
true
The system field on AnthropicMessagesRequest.
"example"
The temperature field on AnthropicMessagesRequest.
0.5
The thinking field on AnthropicMessagesRequest.
The tool_choice field on AnthropicMessagesRequest.
- Option 1
- Option 2
The tools field on AnthropicMessagesRequest.
Nested schema within AnthropicMessagesRequest for AnthropicMessagesRequest.tools.items.
- Option 1
- Option 2
- Option 3
- Option 4
The top_p field on AnthropicMessagesRequest.
0.5
Response
Anthropic JSON response or server-sent event stream.
Schema for AnthropicMessageResponse values returned by or accepted by the Nito gateway.
The content field on AnthropicMessageResponse.
The id field on AnthropicMessageResponse.
"00000000-0000-4000-8000-000000000001"
The model field on AnthropicMessageResponse.
"openai/gpt-5.5"
The role field on AnthropicMessageResponse.
assistant "assistant"
The stop_reason field on AnthropicMessageResponse.
"example"
The stop_sequence field on AnthropicMessageResponse.
"example"
The type field on AnthropicMessageResponse.
message "message"
The usage field on AnthropicMessageResponse.

