Hosted model

The hosted model, as the Anthropic Messages API

The Anthropic Messages API, streamed back unchanged. The server sends its own instructions, takes only plain function tools, caps output and enforces spending budgets. A request without X-UXDuck-Continues starts a chat. Refusals are in the provider's error shape, with type uxduck.

post/v1/model/messages

Request

  • Base URL
    https://api.uxduck.com
  • URL
    https://api.uxduck.com/v1/model/messages
  • Auth
    HTTP bearer

Headers

X-UXDuck-Continuesstring

The response id a tool round follows

X-UXDuck-Threadstring

The app's thread id

X-UXDuck-Share'conversations'

conversations keeps the turn, scrubbed

Request body

modelstring required

Response

The provider's answer, as it streams

Changes

No recorded changes to this operation across all 1 revision of this API.