Skip to main content
All CLI output is valid JSON written to stdout. Errors go to stderr. This makes the CLI safe to pipe into 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)

The 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 includes credits_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