POST
/
events
/
backfills
curl --request POST \
  --url https://api.withorb.com/v1/events/backfills \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "replace_existing_events": true,
  "timeframe_start": "2023-11-07T05:31:56Z",
  "timeframe_end": "2023-11-07T05:31:56Z",
  "close_time": "2023-11-07T05:31:56Z",
  "customer_id": "<string>",
  "external_customer_id": "<string>",
  "deprecation_filter": "my_numeric_property > 100 AND my_other_property = '\''bar'\''"
}'
{
  "id": "<string>",
  "status": "pending",
  "created_at": "2023-11-07T05:31:56Z",
  "timeframe_start": "2023-11-07T05:31:56Z",
  "timeframe_end": "2023-11-07T05:31:56Z",
  "events_ingested": 123,
  "close_time": "2023-11-07T05:31:56Z",
  "reverted_at": "2023-11-07T05:31:56Z",
  "customer_id": "<string>",
  "deprecation_filter": "my_numeric_property > 100 AND my_other_property = 'bar'",
  "replace_existing_events": true
}

Authorizations

Authorization
string
header
required

API Keys can be issued in the Orb's web application.

Body

application/json

Response

200
application/json
OK

A backfill represents an update to historical usage data, adding or replacing events in a timeframe.