Skip to main content
POST
{base_url}
/
v1
/
messages
Error
A valid request URL is required to generate request examples
{
  "content": [
    {
      "id": "<string>",
      "input": {},
      "name": "<string>",
      "text": "<string>",
      "thinking": "<string>",
      "type": "<string>"
    }
  ],
  "id": "<string>",
  "model": "<string>",
  "role": "<string>",
  "stop_reason": "<string>",
  "stop_sequence": "<string>",
  "type": "<string>",
  "usage": {
    "cache_creation_input_tokens": 123,
    "cache_read_input_tokens": 123,
    "input_tokens": 123,
    "output_tokens": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://gomodel.enterpilot.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Anthropic Messages request

max_tokens
integer
messages
object[]
metadata
object
model
string
stop_sequences
string[]
stream
boolean
system
temperature
number
thinking
object
tool_choice
object
tools
object[]
top_k
integer
top_p
number

Response

JSON response or SSE stream when stream=true

content
object[]
id
string
model
string
role
string
stop_reason
string
stop_sequence
string
type
string
usage
object