Piloterr
Référence de l'APIDestinations

project.auto_disabled event

A project stopped after repeated scheduled failures. Sent to every destination of the workspace subscribed to project.auto_disabled (or *): posted to a webhook, signed with Standard Webhooks (webhook-id, webhook-timestamp, webhook-signature); the message body of a queue, topic or bus. Routing is per workspace and per topic only: a destination receives every event of its topics from every project of the workspace, with no per-project filter (filter on the payload's project.id, or use a project's alert channels). Alert channels subscribed to it receive the same payload, as a message.

Corps de la requête

The event's payload (version: 1)

application/json
  1. body

A project stopped after repeated scheduled failures

id*string

The event's id, the same in every channel and destination and in a resend: deduplicate on it (webhooks: also webhook-id). run.completed uses the run id

version*1

The payload's version

Value in1
type*"project.auto_disabled"
Value in"project.auto_disabled"
occurred_at*string

When it happened (ISO 8601, UTC)

tenant*

The workspace

project*
run*|

The run as GET /v1/runs/{id} returns it; null for project events

data*
url*|

The run, or project, in the dashboard

Corps de la réponse

Any 2xx within 10 s acknowledges it; anything else, or no answer, is retried, then reported (GET /v1/destinations/notices)

Exemples de requêtes
POST/project.auto_disabled

A project stopped after repeated scheduled failures

Corps de la requête
application/json
{
  "id": "evt_0be02e08bbcbf9198f8b17a26cd73ab2",
  "version": 1,
  "type": "project.auto_disabled",
  "occurred_at": "2026-11-10T07:00:01.000Z",
  "tenant": {
    "id": "cm1a2b3c4000008jx7h2kq9mz",
    "slug": "acme"
  },
  "project": {
    "id": "cm4hz9r2k0003l208f1qd7vtx",
    "name": "Amazon price tracking"
  },
  "run": {
    "id": "cm4j1m8ws0009l208b6yk3pne",
    "project_id": "cm4hz9r2k0003l208f1qd7vtx",
    "status": "failed",
    "reason": "source_unreachable",
    "trigger": "api",
    "parent_run_id": null,
    "total": 0,
    "done": 0,
    "ok": 0,
    "ko": 0,
    "credits": 0,
    "search_credits": 0,
    "created_at": "2026-11-10T07:00:00.000Z",
    "started_at": null,
    "paused_at": null,
    "finished_at": "2026-11-10T07:00:01.000Z",
    "duration_ms": null,
    "results_expired_at": null,
    "eta_seconds": null
  },
  "data": {
    "reason": "source_unreachable"
  },
  "url": "https://app.piloterr.com/app/acme/dataflow/runs/cm4j1m8ws0009l208b6yk3pne"
}