file.expired

⚠️
Preview — this feature is being built; the design below is the spec.

Sent when: A file reached its expires_at time and was deleted.

PropertyValue
ScopeOne workspace. Register with an inference key at /v1/webhooks.
AreaFiles
Subscribe with"events": ["file.expired"], or a prefix such as "file.*"

Payload

{
  "id": "evt_01JCA5D7F9H1K3M5P7R9",
  "type": "file.expired",
  "created_at": "2026-11-05T10:00:00Z",
  "workspace_id": "wrkspc_01JC0A2C4E6G8J0L2N4Q",
  "data": {
    "object": {
      "id": "file_01JC3D5F7H9K1M3P5R7T",
      "type": "file",
      "filename": "october-tickets.jsonl",
      "purpose": "batch",
      "status": "deleted"
    }
  }
}

data.object matches what the corresponding GET endpoint returned when the event happened. Prompt and output text are never included.

What to do

  • Remove the id from anything that still references it; requests that use it fail with file_not_found.

Delivery

Deliveries are signed, retried with back-off for up to 3 days, and may arrive more than once or out of order. De-duplicate on the syntic-event-id header and compare timestamps before acting. See Webhooks.

Was this page helpful?