本文へスキップ

ルール一覧を取得​

GET
/triggers

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

認証​

APIKey

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

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

パラメータ​

クエリパラメータ

source_type

Exact source type.

型
string
action_type

Match rules containing at least one action of this type.

型
string
status

Deleted rules are never listed.

型
string
有効な値
"active""paused""error"
limit

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

型
integer
デフォルト
50
offset

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

型
integer
デフォルト
0

レスポンス​

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​

認証
変数
キー
値

サンプル​