Check an assistant's setup
/assistants /{id} /setup-checkCheck a saved assistant for the setup mistakes that break real calls: a persona whose gender doesn't match the voice, a prompt that transfers or books with no transfer destination or calendar connected, template text left in, the wrong language, wording that reads wrong once variables are filled. Call it after your last change to the assistant. Returns at most one issue per kind, each with the fix to apply when one exists; an empty list means nothing major was found. The result is stored: while the setup is unchanged it comes back instantly, a fresh check takes a few seconds. Multi-step assistants are not checked.
Path parameters
idstringrequiredID of the assistant, as returned by
GET /assistants.
Request body
application/jsonlocale"fr" | "en"requiredLanguage of the issue messages.
dismissintegerIndex of an issue to ignore: it is no longer returned until the setup changes.
Response
200issuesarray of AssistantSetupIssueThe major problems found, at most one per kind. Empty when nothing major was found.
Errors
- 404Not found in your organization
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.