Create an Anthropic-compatible message
Anthropic Messages-compatible skin over the same Infer routing, wallet, privacy, cache, media, tool, and receipt engine. Accepts the Anthropic SDK x-api-key header or Infer Bearer auth. With stream=true, message_start, thinking/text/tool content_block deltas, message_delta, and message_stop are forwarded incrementally; terminal message_delta includes settled usage and relay receipt metadata. Infer emits ping events during quiet periods and does not impose a generation wall-clock timeout while the connection remains alive.
Request
- Base URL: https://infer.flow7.org
- URL: https://infer.flow7.org/v1/messages
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Headers
Optional Infer idempotency key. A one-use key is generated when omitted.
Optional Infer session-affinity/cache-routing extension.
Accepted for Anthropic SDK compatibility. Infer currently normalizes the stable Messages request shape independently of this header.
Request body
Response
Anthropic message or SSE stream
Changes
No recorded changes to this operation across all 1 revision of this API.