Skip to main content
POST
/
v2
/
auto-monitor-setups
Create an auto monitor setup
curl --request POST \
  --url https://api.traceloop.com/v2/auto-monitor-setups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entity_type": "<string>",
  "entity_value": "<string>",
  "evaluators": [
    "<string>"
  ],
  "external_id": "<string>",
  "selector": {}
}
'
{
  "created_at": "<string>",
  "entity_type": "<string>",
  "entity_value": "<string>",
  "env_project_id": "<string>",
  "evaluators": [
    {
      "binding_id": "<string>",
      "error_message": "<string>",
      "evaluator_id": "<string>",
      "evaluator_type": "<string>",
      "input_schema": [
        {
          "name": "<string>",
          "type": "<string>",
          "description": "<string>",
          "label": "<string>"
        }
      ],
      "output_schema": [
        {
          "name": "<string>",
          "type": "<string>",
          "description": "<string>",
          "label": "<string>"
        }
      ],
      "processed_at": "<string>",
      "status": "<string>"
    }
  ],
  "external_id": "<string>",
  "id": "<string>",
  "init_rules": [
    {
      "op": "equals",
      "source": "<string>",
      "key": "<string>",
      "value": "<string>",
      "value_type": "<string>"
    }
  ],
  "org_id": "<string>",
  "project_id": "<string>",
  "status": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Auto monitor setup configuration

entity_type
string
required
entity_value
string
required
evaluators
string[]
required
Minimum array length: 1
external_id
string
required
selector
object

Response

Created

created_at
string
entity_type
string
entity_value
string
env_project_id
string
evaluators
object[]
external_id
string
id
string
init_rules
object[]
org_id
string
project_id
string
status
string
updated_at
string