Before you begin, you’ll need:
- Chronicle workspace with API enabled (available on Pro, Plus, and Max plans)
- Node.js 18+ or another runtime with
fetchsupport
Create an API key
- Open Chronicle
- Navigate to Settings → API
- Create an API key
- Copy and store it securely, you won’t be able to see it again
Authorization: Bearer <API_KEY>x-api-key: <API_KEY>
Upload reference files (optional)
Skip this step if your prompt doesn’t need source files. Otherwise, request a presigned upload target, post the file directly to S3, and keep the returned Allowed formats:
download_url for the next step..txt, .md, .pdf, .pptx, and common image types. Max 50 MB per file. See POST /uploads/create-target for the full reference.Start a generation from a prompt
If you uploaded files in the previous step, pass them in the The request returns
attachments array using the download_url you captured.202 Accepted with a generation_id you can poll.