Getting Started

First API request

Understand the anatomy of a successful first request.

Request shape

FieldRequiredDescription
modelYesThe Conrad model ID, such as conrad-4.0.
messagesYesAn ordered array of chat turns.
streamNoEnable partial streaming output.
temperatureNoAdjust creativity and variation.
max_output_tokensNoUpper bound for generated output.

Response shape

Example response
{
  "id": "chat_01JABCXYZ",
  "object": "chat.response",
  "model": "conrad-4.0",
  "output": [
    {
      "role": "assistant",
      "content": "Welcome to Conrad AI. Here is a concise message you can use..."
    }
  ],
  "usage": {
    "input_tokens": 24,
    "output_tokens": 51,
    "total_tokens": 75
  }
}