Skip to content

MngGetAIPromptTemplatesByFilter

GET ai/prompts

Templates visible to the administrator: those of the brand plus shared ones (brand: "*").

Access Control

Allowed: admin.

Parameters

Standard list parameters: limit (default 100, maximum 500), offset, orderBy, groupBy and where filters.

Response Data

{
  "rows": [
    {
      "id": 4,
      "brand": "Ion",
      "name": "margin-notice",
      "type": "notification",
      "content": "Account {{login}}: margin level {{margin_level}}%…",
      "language": "en",
      "enabled": true,
      "createdAt": "2026-09-12 11:02:00",
      "updatedAt": "2026-09-16 08:14:31"
    }
  ]
}

Rows are objects, and this list has no count.

Errors

Code Error Description
403 AI_ACCESS_DENIED The session is not an administrator