Atlas
Admin — Prompts

List prompt collections

Returns all prompt collections for the admin's active organization, including built-in collections. Ordered by sort_order then created_at.

GET
/api/v1/admin/prompts

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:3001/api/v1/admin/prompts"
{
  "collections": [
    {
      "id": "string",
      "orgId": "string",
      "name": "string",
      "industry": "string",
      "description": "string",
      "isBuiltin": true,
      "sortOrder": 0,
      "createdAt": "string",
      "updatedAt": "string"
    }
  ],
  "total": 0
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}