Documentation Index
Fetch the complete documentation index at: https://docs.docketlayer.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
GET /v2/monitor returns a minimal response — has anything changed since last_checked, how many new filings, and when the latest one occurred. It is designed for agents running high-frequency monitoring loops where minimizing response payload matters.
Use /v2/monitor to check for changes, then call /v2/case only when changed is true to retrieve the full filing details.
Base URL: https://api.docketlayer.ai
Price: $0.99 USDC per successful query
Sandbox: Add ?test=1 or X-DocketLayer-Test: 1 — returns fixture data, no charge
Request
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
case_id | string | Yes | Case identifier — e.g. 1:24-cv-01234 |
court_code | string | Yes | Court identifier — e.g. nysd, deb, cand |
last_checked | string | Yes | ISO-8601 timestamp with timezone offset |
last_checked is required on /v2/monitor. To get an initial snapshot without a prior timestamp, use /v2/case.
Example request
Response
Response fields
| Field | Type | Description |
|---|---|---|
meta.queried_at | string | ISO-8601 timestamp — use as last_checked in your next call |
changed | boolean | Whether any new filings were detected since last_checked |
change_count | number | Number of new filings since last_checked |
latest_activity_at | string | null | Timestamp of the most recent new filing; null if none |
Usage pattern
Both
/v2/monitor and /v2/case cost $0.99 per query. The efficiency gain of /v2/monitor is in response payload size, not price. For most monitoring workflows, calling /v2/case directly with last_checked is simpler and equally cost-effective.