Skip to main content

list-projects

Retrieve a paginated list of projects
1 min read

Retrieve a paginated list of projects in your workspace. Results are ordered by project ID. When hasMore is true, pass the returned cursor to fetch the next page.

Usage#

Flags#

--limitinteger#
Maximum number of projects to return per request. Must be between 1 and 100.

Default: "100"

--cursorstring#
Pagination cursor from a previous response to fetch the next page.

Global Flags#

FlagTypeDescription
--root-keystringOverride root key ($UNKEY_ROOT_KEY)
--api-urlstringOverride API base URL (default: https://api.unkey.com)
--configstringPath to config file (default: ~/.unkey/config.toml)
--outputstringOutput format. Use json for raw JSON
--bodystringSend this JSON string as the request body. You cannot combine it with request-building flags.

Examples#

See the API reference.