Project commands
These commands manage Uploadcare projects, their API secrets, and usage metrics.
Most project commands require a Project API token (account-level bearer token) for
authentication. The project info command without arguments uses REST API authentication instead.
Project API tokens are not yet available in the dashboard. To get one, contact support at help@uploadcare.com.
Where a <project> argument is required, pass either a project name from your config file
or a public key directly.
See Projects for details on project settings in the dashboard.
Global flags like --json, --jq, -v, and --quiet are available on every command.
See Configuration for the full list.
project info
Get project details. Without arguments, uses the current project’s REST API credentials. With a project argument, uses the Project API.
JSON fields (REST API): name, pub_key, collaborators, autostore_enabled
JSON fields (Project API): pub_key, name, is_blocked, is_shared_project, filesize_limit, autostore_enabled
Examples:
project list
List all projects accessible with your Project API token.
Flags:
JSON fields: pub_key, name, is_blocked, is_shared_project, filesize_limit, autostore_enabled
Examples:
project create
Create a new project.
Flags:
Examples:
project update
Update project settings.
Flags:
JSON fields: pub_key, name, is_blocked, filesize_limit, autostore_enabled
Examples:
project delete
Delete a project.
Project deletion is permanent and removes all files and settings associated with the project.
Flags:
Examples:
project use
Switch the active project in your config file.
Flags:
Examples:
project secret list
List API secrets for a project.
Examples:
project secret create
Create a new API secret for a project.
Examples:
project secret delete
Delete an API secret.
Examples:
project usage
Get usage metrics for a project over a date range.
Flags:
Examples: