Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

A personal API key created in Adam. Send it as Authorization: Bearer <key>.

Headers

Idempotency-Key
string
required

Required unique key. For 24 hours, retries with the same key and body replay the original response.

Body

application/json
model
object
required
prompt
string
default:""
Maximum string length: 100000
attachments
object[]
Maximum array length: 20
title
string
Required string length: 1 - 500
projectId
string<uuid>
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

task
object
required
messages
object[]
required
Last modified on August 26, 2026