curl --request POST \
--url https://api.withorb.com/v1/events/backfills/{backfill_id}/close \
--header 'Authorization: Bearer <token>'
{
"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
}
Closing a backfill makes the updated usage visible in Orb. Upon closing a backfill, Orb will asynchronously reflect
the updated usage in invoice amounts and usage graphs. Once all of the updates are complete, the backfill’s status
will transition to reflected
.
curl --request POST \
--url https://api.withorb.com/v1/events/backfills/{backfill_id}/close \
--header 'Authorization: Bearer <token>'
{
"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
}
API Keys can be issued in the Orb's web application.
OK
A backfill represents an update to historical usage data, adding or replacing events in a timeframe.
Was this page helpful?