Prompts
add_prompts
- Plan
- Scale and Custom
- Rate cost
- 1 unit
Try asking
“Track these three questions our sales team keeps hearing.”
Prompts
Try asking
“Track these three questions our sales team keeps hearing.”
Passed as the tool call's arguments.
project_idstringrequiredThe project to read, from list_projects.
promptsobject[]required1–50 questions.
textstringrequiredThe question, 1–1000 characters.
categorystringFree-text grouping.
The same object as Add prompts, returned as structured output.
promptsobject[]The prompts.
idstringPrompt id.
textstringThe question, as engines are asked it.
categorystringnullableFree-text grouping, e.g. Comparison.
statusstringactive prompts are asked on every sweep. inactive ones are paused but still hold a slot in the plan's prompt limit. archived ones keep their history and free the slot.
Values:activeinactivearchived
pageobjectWhere these rows sit in the full list.
pageintegerThis page's number, from 1.
page_sizeintegerRows per page.
totalintegerRows across every page.
| 403 write_not_allowed | The key is read-only. Writes need a read-and-write key, and read-and-write keys need Scale or Custom. |
| 404 not_found | The project or item doesn't exist in this workspace. A project from another workspace also returns 404, never 403. |
| 422 invalid_request | A parameter or body field is missing or has the wrong type or value. The message names the field. Also returned when a write would pass the plan's prompt limit. |
| 401 unauthorized | No key was sent, or the key is unknown, revoked or expired, or the member who created it has left the workspace or been deactivated. |
| 402 plan_required | The workspace's plan doesn't include API access. It's included on Grow, Scale and Custom. |
| 403 workspace_not_approved | The workspace is still waiting for approval, or wasn't approved. |
| 429 rate_limited | Too many requests this minute. Wait for the number of seconds in the `Retry-After` header, then retry. |
Every code, and what to retry, is in Errors.
Failures arrive as a tool error — isError: true with code: message as text. See Using the tools.