All CLI output is valid JSON written to stdout. Errors go to stderr. This makes the CLI safe to pipe intoDocumentation Index
Fetch the complete documentation index at: https://docs.shovels.ai/llms.txt
Use this file to discover all available pages before exploring further.
jq, scripts, or other tools without worrying about mixed output.
Response Format
Paginated Responses (search commands)
Single Object Responses (get commands with one ID)
Batch Responses (get commands with multiple IDs)
missing array lists any IDs that weren’t found.
Pagination with —limit
The--limit flag controls how many records to return. The CLI handles cursor-based pagination internally — you never need to manage cursors yourself.
| Value | Behavior |
|---|---|
--limit 50 (default) | Return up to 50 records |
--limit 500 | Return up to 500 records |
--limit all | Fetch all records (capped by --max-records) |
—max-records
When using--limit all, the --max-records flag sets the upper bound (default: 10,000, maximum: 100,000):
—include-count
Add--include-count to include the total number of matching records in the response:
Total counts are exact up to 10,000 (
"relation": "eq"). Above 10,000, the count is approximate ("relation": "gte" means “at least this many”).Credit Tracking
Every response includescredits_used and credits_remaining in the meta object. This lets you monitor usage without making a separate API call.
To check your overall credit status:
Data Types in Responses
| Field Type | Format | Example |
|---|---|---|
| Dates | ISO 8601 (YYYY-MM-DD) | "2024-06-15" |
| Money amounts | Integer cents | 150000 = $1,500.00 |
| Ratings | Float 0-5 | 4.2 |
| Pass rates | Integer 0-100 | 85 (percentage) |
| Coordinates | [lat, lng] float array | [32.87, -117.25] |
| geo_ids | Base64-encoded string | "Q2l0eXxGTHxNaWFtaQ" |
Related Articles
- CLI commands overview — Full list of commands and flags
- CLI error codes — Understanding error responses
- Scripting and AI agents — Piping CLI output into workflows
