Skip to content

List rules​

GET
/triggers

Only rules belonging to the authenticated Owner. Ordered by created_at descending then id. Unknown query parameters are rejected; no symbol filter.

Authorizations​

APIKey

Remote cp-auth key with automation scope; never pass it in the URL. /healthz and CORS preflight are anonymous.

Type
API Key (header: CP-X-API-KEY)

Parameters​

Query Parameters

source_type

Exact source type.

Type
string
action_type

Match rules containing at least one action of this type.

Type
string
status

Deleted rules are never listed.

Type
string
Valid values
"active""paused""error"
limit

Values outside 1..200, or malformed values, use 50.

Type
integer
Default
50
offset

Negative or malformed values use 0; values are capped at 2147483647.

Type
integer
Default
0

Responses​

Success

application/json
JSON
[
  
{
  
  
"source": {
  
  
  
"type": "price",
  
  
  
"config": {
  
  
  
  
"symbol": "string",
  
  
  
  
"operator": "string",
  
  
  
  
"threshold": "string",
  
  
  
  
"currency": "USD"
  
  
  
}
  
  
},
  
  
"queries": [
  
  
  
{
  
  
  
  
"id": "string",
  
  
  
  
"type": "price",
  
  
  
  
"config": {
  
  
  
  
  
"symbol": "string",
  
  
  
  
  
"currency": "USD"
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"filters": null,
  
  
"cooldown_minutes": 0,
  
  
"note": "",
  
  
"id": "string",
  
  
"revision": 0,
  
  
"status": "string",
  
  
"last_fired_at": "string",
  
  
"created_at": "string",
  
  
"updated_at": "string",
  
  
"actions": [
  
  
  
{
  
  
  
  
"type": "webhook",
  
  
  
  
"config": {
  
  
  
  
  
"url": "string"
  
  
  
  
}
  
  
  
}
  
  
]
  
}
]

Playground​

Authorization
Variables
Key
Value

Samples​