Lists the active stored prompt version of each purpose, sorted by purpose. Only stored versions are listed; a purpose with none runs on its code default. Super admins only.
GET
/ai/admin/prompts
curl \
--request GET 'http://api.example.com/ai/admin/prompts' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"_id": "65a1b2c3d4e5f6a7b8c9d0e1",
"purpose": "case_summary",
"versionSlug": "case_summary.v2",
"systemPrompt": "string",
"toolName": "string",
"toolDescription": "string",
"toolInputSchema": {},
"model": "sonnet",
"maxTokens": 1024,
"temperature": 0.2,
"isActive": true,
"notes": "string",
"createdBy": "65a1b2c3d4e5f6a7b8c9d0e4",
"updatedBy": "65a1b2c3d4e5f6a7b8c9d0e4",
"createdAt": "2026-01-15T10:15:00.000Z",
"updatedAt": "2026-01-15T10:15:00.000Z"
}
],
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}