Use of the AI Helpdesk API has resumed. For details, see Announcements.
Give the OpenAPI document to AI
The AI Helpdesk API is published as an OpenAPI 3.1.0 document. You can fetch it without an API key.Things to watch when AI writes code
Check the following before you run code that AI wrote.- Authentication uses the
X-API-Keyheader. If the code usesAuthorization: Bearer, fix it - Do not put the API key directly in code or prompts. Have the code read it from an environment variable
- Use an Operator API key for code that only reads data. An Admin key can also create, update, and delete knowledge and playbooks
- Check
okto tell success from failure, and handle theerrormessage on failure countis the number of items in that response. Do not treat it as the total for the organization- Only the knowledge list (
nextCursor) supports fetching further pages. Code that uses page numbers or offsets on other lists will not work - Knowledge
docIdvalues contain/. Encode it as%2Fwhen you put it in a path - Keep parallel requests to about 20 per second per API key

