Aller au contenu

Coupe (monitoring=false) ou rétablit (true) la veille d'une liste, contenu gardé

POST
/v1/rpc/tools/set_list_monitoring
Fenêtre de terminal
curl -X POST "https://api.insourcia.io/v1/rpc/tools/set_list_monitoring" \
-H "Authorization: Bearer isk_VOTRE_CLE" \
-H "Content-Type: application/json" \
-d '{
"list_name": "string",
"monitoring": true
}'

Coupe (monitoring=false) ou rétablit (true) la veille d’une liste, contenu gardé. Rétablie : toute la liste compte, refus watch_limit_reached au-delà ; sur un abonnement en crédits, le mois de ses sociétés est débité (0,1 chacune). Réponse : { list_id, list_name, monitoring, changed, url }

object
list_name
obligatoire

Nom exact, voir list_watched_companies

string
>= 1 characters <= 100 characters
monitoring
obligatoire
boolean

Successful tool invocation

object
success
obligatoire
boolean
data
obligatoire

Tool-specific response payload.

Invalid input (Zod validation failure)

object
success
obligatoire
boolean
error
obligatoire
string
details

Validation issues (only present on 400 from Zod schema parse).

Array<object>
object

Missing or invalid API key

Balance below the call’s maximum cost (insufficient_credits) or the organisation’s spend cap reached (spend_cap_reached). Nothing is debited.

Refused for this account. Nothing is debited.

Unknown tool name or resource not found

Internal error