Mangools/API

Get prompt details

Get the list of monitoring prompts attached to a monitor. Each prompt entry includes its id, text and parent monitor id — useful for rendering the prompt editor panel in a client.

GET
/aiwatcher/monitor/{id}/prompts

Authorization

ApiKeyAuth
x-access-token<token>

API token issued for your Mangools account, sent as an API key in the x-access-token HTTP header. This is NOT a standard RFC 6750 Authorization: Bearer <token> header. Auto-generated clients should be configured to send the token in x-access-token accordingly.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://api.mangools.com/v3/aiwatcher/monitor/string/prompts"
{
  "_id": "string",
  "text": "string",
  "monitor_id": "string"
}
{
  "error": {
    "type": "AuthError",
    "message": "Invalid API Key"
  }
}