Stripe CLI Cheat Sheet/List resources with a limit

Limit the number of returned objects.

Section: Core CLI Usage Patterns

List resources with a limit

bash
bash
stripe customers list --limit 5

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Core CLI Usage Patterns
Expand nested objects in the response
Request expanded objects directly from Stripe.
OpenIn sheetbashsame section
Pipe JSON output to jq
Extract specific fields from a CLI response.
OpenIn sheetbashsame section
Send an idempotency key
Protect retried write requests from duplication.
OpenIn sheetbashsame section
Attach metadata when creating resources
Store key-value metadata on supported objects.
OpenIn sheetbashsame section
Expand multiple nested objects
Return several expanded fields in one request.
OpenIn sheetbashsame section
Send a raw GET request
Call an arbitrary Stripe API endpoint directly.
OpenIn sheetbashsame section