TheDocumentation Index
Fetch the complete documentation index at: https://docs.docketlayer.ai/llms.txt
Use this file to discover all available pages before exploring further.
context parameter on GET /v2/case and POST /v2/cases/batch controls the depth of case data returned. Both levels cost $0.99 — full is not more expensive than basic.
Basic context (default)
context=basic returns the case header, status, primary parties, and the delta block (if last_checked was supplied). It is the default when context is omitted.
primary_parties contains only the parties flagged as primary — typically the lead plaintiff and lead defendant. It does not include attorneys, co-plaintiffs, or intervenors.
Full context
context=full extends basic context with three additional fields:
parties— complete party list with attorneyscross_references— related, consolidated, or transferred casesdocket_history— every docket entry on record
cross_references relationship values
| Value | Meaning |
|---|---|
consolidated_with | Cases are consolidated |
appealed_from | This case appeals from the referenced case |
appealed_to | The referenced case is the appeal of this one |
related_to | Courts designated these cases as related |
member_case_of_mdl | This case is a member of the referenced MDL |
same_party | Same parties appear in both cases |
other | Relationship noted but does not fit an enum value |
The 2MB ceiling
For very large cases,context=full may trigger response truncation. When the response would exceed 2MB, docket_history is trimmed to the largest number of entries that fit. The response is still returned and still billed — truncation is noted in the meta block.
context=basic responses are never truncated.
When to use each
Usecontext=basic for monitoring loops. You need to know if anything changed, and if so, what the new filings are. Basic context plus the delta block is all you need.
Use context=full when you need a complete picture: all parties with attorneys, the full docket history, and cross-references. Appropriate for initial case intake, legal review workflows, and any task where completeness matters more than payload size.