Historical.batch.get_job_details

Get the full job details of a batch job.

Related: Download center.

Parameters

Parameter
Type
Required
Description
job_id
str
required
The batch job ID. This can be found in the download center.

Returns

dict[str, Any]

A list of batch job details. See batch.submit_job for a detailed list of returned values.

API method
1
2
3
Historical.batch.get_job_details(
    job_id: str,
) -> dict[str, Any]
Example usage
1
2
3
4
5
6
7
8
9
import databento as db

client = db.Historical("$YOUR_API_KEY")

job_details = client.batch.get_job_details(
    job_id="GLBX-20221126-DBVXWPJJQN",
)

print(job_details)
Example response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
    "id": "GLBX-20221126-DBVXWPJJQN",
    "user_id": "NBPDLF33",
    "api_key": "prod-001",
    "cost_usd": 23.6454,
    "dataset": "GLBX.MDP3",
    "symbols": "ZC.FUT,ES.FUT",
    "stype_in": "parent",
    "stype_out": "instrument_id",
    "schema": "mbo",
    "start": "2022-10-24T00:00:00.000000000Z",
    "end": "2022-11-24T00:00:00.000000000Z",
    "limit": None,
    "encoding": "csv",
    "compression": "zstd",
    "pretty_px": False,
    "pretty_ts": False,
    "map_symbols": False,
    "split_symbols": False,
    "split_duration": "day",
    "split_size": None,
    "packaging": None,
    "delivery": "download",
    "record_count": 412160224,
    "billed_size": 23080972544,
    "actual_size": 8144595219,
    "package_size": 8144628684,
    "state": "done",
    "ts_received": "2022-11-26T09:23:17.519708000Z",
    "ts_queued": "2022-12-03T14:34:57.897790000Z",
    "ts_process_start": "2022-12-03T14:35:00.495167000Z",
    "ts_process_done": "2022-12-03T14:48:15.710116000Z",
    "ts_expiration": "2023-01-02T14:48:15.710116000Z",
    "progress": 100
}