Clatter LabsHelp Center

What should I log for each Model API call?

ReferenceUpdated
FieldWhy
X-Request-IdFind a request with support
Completion id (chatcmpl-…)Matches Console › Logs
modelWhich effort ran
usageCost and capacity planning
Latency / time to first tokenPerformance tracking
finish_reasonSpot cut-off replies (length)
error.codeAlerting and retries
Your user idAct on abuse warnings
x-clatter-noticeAbuse warnings

Avoid logging full prompts if they contain personal data you don't need.

Good to know#

  • New accounts get $5 of free credit; top up from $1 to $800 per purchase in Console › Billing › Credits. Billing
  • Retry only 429 and 5xx errors, with backoff; honour Retry-After when it's sent. Which errors to retry
  • If calls fail unexpectedly, check status.clatterlabs.com before debugging further.

Still need help?#

We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.