Can message content be an array of parts?
Yes. content can be a plain string or an array of parts, but every part must be text:
{"role": "user", "content": [
{"type": "text", "text": "Summarise this:"},
{"type": "text", "text": "...long text..."}
]}
An image_url (or any non-text) part answers 400 unsupported_content, because SuperCosmos reads text only.
Good to know#
- If calls fail unexpectedly, check status.clatterlabs.com before debugging further.
- Every call shows in Console › Logs and Usage as Model API, with its price. See what you spent
- Retry only
429and 5xx errors, with backoff; honourRetry-Afterwhen it's sent. Which errors to retry
Still need help?#
- General support: support@clatterlabs.com or team@clatterlabs.xyz
- Infrastructure questions, or permanent deletion of your data (your whole account or one service): infrastructure@clatterlabs.xyz
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.xyzFor deleting your whole account or the data of one service.