run_prompt
Queue an on-demand run of an ACTIVE prompt across the workspace's enabled AI models (or a subset via models). Consumes answer-run budget per model (premium models weigh up to 20x): the monthly budget first (it resets on the 1st), then extra answers, which an owner or admin can buy in Settings → Billing and which never expire. Fails with ANSWER_RUNS_TOTAL_LIMIT when what is left of both cannot cover even the cheapest model being run. The result's answerRuns is { used, limit, credits } (credits = extra answers left; omitted for a workspace-only client). Answers land asynchronously a few minutes later — check list_chats. Limited to 5 run calls per minute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The prompt ID | |
| models | No | Model keys to run (defaults to every enabled model) | |
| workspaceId | Yes | Workspace ID — get the list from the list_workspaces tool |