Skip to main content

get-project

Retrieve a single project
1 min read

Retrieve a project by ID or slug. Use this to fetch details after creation, verify a project exists, or resolve its metadata.

Usage#

Flags#

--projectstringrequired#
Project ID or slug.

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.