Get Project
Retrieve details of a specific project by its ID.
Authorizations
Service Account Token authentication. To authenticate API requests:
-
Create a Service Account Token:
- Go to the Cerebrium Dashboard and open the API Keys page
- Click Create Service Account, name it (e.g., "GitHub Actions CI/CD"), choose an expiry date, and click Create
- Copy the token generated for the desired service account
-
Use the Token: Include the service account token in the Authorization header of API requests:
Authorization: Bearer <your-service-account-token> -
Best Practices:
- Create separate service accounts for different environments (dev, staging, prod)
- Store tokens securely as secrets in consuming applications or workflows
- Set appropriate expiry dates and rotate tokens regularly
- Never commit tokens to source control
For CI/CD integration examples, see the CI/CD documentation.
Path Parameters
Response
Details of the requested project.
Short description of what the project is used for. Omitted when not set.
Monthly spend amount in US dollars at which a usage alert is sent.
Base subscription plan amount in US cents.
Timestamp when the project was created, in RFC3339 format.
ID of the user who created the project.
Resource limits in effect for the project's plan tier.
Billing contact email address for the project.
Compute pricing entries for the project. Each item has billableMetricCode (string), amountPerSecond (number), and type (string) fields.
Unique identifier of the project.
Name of the project.
Onboarding answers for the project, with intent, companyWebsite, useCases, and otherUseCaseReason keys. Omitted when the project has none.
Email address of the project owner.
Whether the project runs on the protected compute tier. Omitted when false.
Whether a payment method must be added before deploying.
Contact telephone number for the project. Omitted when not set.
Timestamp when the project was last updated, in RFC3339 format.