Repository navigation
Batch API: add get_job_details and list_jobs short= parameter (Aug 2026 changes) - #46
Merged
Merged
Conversation
Tracks Databento's batch API changes (2026-08): - list_jobs(...; short=nothing): short=true requests the condensed id/state/ts_received response; default omits the parameter so the server default follows the phased rollout - get_job_details(client; job_id): new endpoint for full per-job details - Docs, guide polling example, changelog, and mock-driven tests updated Also notes in the changelog that the 2026-07 CME normalization changes need no code changes in this package (decoding is delegated to DatabentoBinaryEncoding). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YBr6EZa1vHrJmPBoecSjRa
Merging main brought in the v0.3.2 release, which had replaced the `## [Unreleased]` heading this branch's entries were written under. Git auto-merged cleanly but silently filed `get_job_details` and the `list_jobs` `short=` entry under the already-released `[0.3.2] - 2026-09-10` section. Move them back under a fresh `## [Unreleased]`; the 0.3.2 section is byte-identical to main again. Also names the concrete dependency release now that it exists: the CME 2026-07 support lands in DatabentoBinaryEncoding 0.1.7, and the note points at `DatabentoAPI.DBN.StatType` / `.TradingEvent` for reaching the new enums until this package re-exports them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Versions the [Unreleased] batch API entries as [0.3.3] - 2026-09-17 and bumps Project.toml 0.3.2 -> 0.3.3. Additive only: the new get_job_details endpoint wrapper and the list_jobs short= keyword. The DatabentoBinaryEncoding compat stays at "0.1.6", which already admits 0.1.7 under Julia's 0.x caret rule; StatType/TradingEvent are still not re-exported here, so nothing requires the newer release. Also adds the missing [0.3.3]/[0.3.2]/[0.3.1] compare links. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tracks Databento's batch API changes (2026-08):
list_jobs(...; short=nothing)— newshort::Union{Nothing,Bool}kwarg.short=truerequests the condensedid/state/ts_receivedresponse. The default omits the parameter so the server default follows Databento's phased rollout (opt-in now → default → legacy response removed).get_job_details(client; job_id)— new exported wrapper forGET /v0/batch.get_job_details, which is where per-job fields (record_count,cost_usd,ts_*, request params …) live going forward.docs/src/guide/historical.md), the API reference page, andCHANGELOG.md([Unreleased]) updated.The July CME normalization changes need no code changes here — record decoding is delegated to DatabentoBinaryEncoding (see its companion PR). A note to that effect is in the changelog.
StatType/TradingEventare deliberately not re-exported yet, since that needs a DBN release + compat bump; they're reachable asDatabentoAPI.DBN.StatTypemeanwhile.Tests
Added mock-driven tests in
test/test_historical_batch.jlfor theshortparameter (omitted by default,true/falseserialized) and forget_job_details.(Run on Julia 1.12.6; the default
juliaon my machine is a 1.13 rc whose Pkg stdlib does not precompile.)🤖 Generated with Claude Code
https://claude.ai/code/session_01YBr6EZa1vHrJmPBoecSjRa