Generate Improvement Suggestions

Generates AI suggestions for improving the assistant or squad's system prompt, tools, and scenarios, based on the specified run item.

Authentication

AuthorizationBearer
Authenticate server-side requests with a private Vapi API key. Create or copy a key from the [Vapi Dashboard](https://dashboard.vapi.ai) and send it in the `Authorization` header as `Bearer <token>`. Keep private API keys out of client-side code and public repositories.

Path parameters

idstringRequired
The unique identifier of the simulation run.
itemIdstringRequired
The unique identifier of the run item.

Query parameters

forcestringRequired

Set to the string true to regenerate improvement suggestions even if they already exist.

persiststringOptional

Response