Jobs
Create a backfill job
Creates a logs or spans backfill batch job from backfill parameters (time window, query, vendor sinks, and optional type-specific fields). The dataType selects the built-in logs or spans template. This is an asynchronous batch job: the response returns an identifier (field: id) that can be used to query the status of the job using the GET jobs endpoint. The server builds the backfill job graph from the parameters, so callers do not assemble it themselves.
post/v1/jobs/backfills
Request
- Base URLhttps://docs.grepr.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header GREPR-API-KEY
- or OpenID Connect (https://grepr-prod.us.auth0.com/.well-known/openid-configuration)
Request body
Example request
{
"end": "2023-01-01T01:00:00Z",
"limit": 100000,
"name": "manual_backfill_1",
"query": {
"query": "service:grepr-service-1"
},
"sinks": [
{
"filter": {
"query": "service:grepr-service-1"
},
"maxAllowedRate": 10,
"maxBurstLimit": 2000,
"name": "operation_name"
}
],
"start": "2023-01-01T00:00:00Z",
"tags": {
"source": "manual"
}
}Response
Backfill job submitted successfully
Example response
{
"id": "0ABC12DEF4G",
"jobGraph": {
"edges": [
"source -> sink"
],
"vertices": [
{
"end": "2024-08-07T22:05:07Z",
"integrationId": "0jn5rdc93r10t",
"name": "source",
"processing": "BATCH",
"query": {
"query": "service:grepr-query",
"type": "datadog-query"
},
"start": "2024-08-07T22:00:07Z",
"table": "logevent_raw_devpipeline",
"type": "logs-iceberg-table-source"
},
{
"name": "sink",
"type": "logs-sync-sink"
}
]
},
"name": "demo_pipeline_1",
"organizationId": "grepr"
}Changes
No recorded changes to this operation across all 1 revision of this API.