Get App
Retrieve details for a specific app in a project.
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.
Response
Full configuration and status details of the requested app.
Base Docker image the app is built from.
Version of the client used to deploy the app.
Compute tier of the app, interruptible or protected.
Cooldown period in seconds before an idle replica scales down, as a string value.
Estimated cost per second in US cents while a replica is running, as a string value.
Number of CPU cores allocated, as a string value.
Timestamp when the app was created.
Maximum time in seconds to wait for a deployment to initialize, as a string value.
Whether authentication is disabled on the app endpoint.
Command used to start a custom runtime app, as a list of strings.
Error message from the most recent failure, if any.
Interval in seconds between autoscaling evaluations, as a string value.
Number of GPUs allocated, as a string value.
Compute type the app runs on.
Cloud provider the app is deployed on.
HTTP endpoint used to check that the app is healthy.
Unique identifier of the app.
Base URL for invoking the app.
Status of the most recent build.
ID of the most recent build.
ID of the most recently created build.
ID of the most recent build that reached the ready state.
Load balancing algorithm used by the app.
Maximum number of replicas, as a string value.
Memory allocation in GB, as a string value.
Minimum number of replicas, as a string value.
Name of the app.
Port the app listens on.
ID of the project the app belongs to.
Python version the app uses.
HTTP endpoint used to check that the app is ready to receive traffic.
Region the app is deployed in.
Maximum concurrent requests per replica, as a string value.
Grace period in seconds for in-flight requests when a replica stops, as a string value.
Duration in seconds over which a new version is rolled out, as a string value.
App runtime, cortex or custom.
Number of extra replicas kept available beyond current demand, as a string value.
Metric used for autoscaling.
Target value for the scaling metric, as a string value.
Current status of the app.
Timestamp when the app was last updated.