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.
—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
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
