*Cloud*

# The project object

A project groups the environments and services of one product. Projects are created on the dashboard; everything inside one is managed through this API. A key belongs to exactly one project.

## Attributes

- `prj` (string): The project's id.
- `name` (string): Its name, unique in the workspace.
- `description` (string): A free-text description.
- `region` (string): Where its services run: india or us.
- `status` (string): ok, needs_attention, stopped, empty or deleting.
- `service_count` (number): Services in all its environments.
- `environments` (array): Its environment names. An environment key sees only its own.
- `created_at` (timestamp): When it was created, Unix seconds.
- `last_deploy_at` (timestamp): When a deployment last went live, or null.

## Example

```json
{
  "data": {
    "prj": "prj_01jdk3m9x2v7c4q8w5n6b1t0ra",
    "name": "storefront",
    "description": "Storefront and its workers",
    "region": "india",
    "status": "ok",
    "service_count": 3,
    "environments": ["production", "staging"],
    "created_at": 1764324999,
    "last_deploy_at": "2026-12-05T10:15:02Z"
  }
}
```

## Endpoints

- `POST` [Create a service](https://docs.dispralabs.com/api/create-a-service.md)
- `POST` [Create an environment](https://docs.dispralabs.com/api/create-an-environment.md)
- `PUT` [Create or update a webhook](https://docs.dispralabs.com/api/create-or-update-a-webhook.md)
- `DELETE` [Delete a project](https://docs.dispralabs.com/api/delete-a-project.md)
- `DELETE` [Delete a webhook](https://docs.dispralabs.com/api/delete-a-webhook.md)
- `GET` [Get a project](https://docs.dispralabs.com/api/get-a-project.md)
- `GET` [Get the signing secret](https://docs.dispralabs.com/api/get-the-signing-secret.md)
- `GET` [List a webhook's deliveries](https://docs.dispralabs.com/api/list-a-webhook-s-deliveries.md)
- `GET` [List API calls](https://docs.dispralabs.com/api/list-api-calls.md)
- `GET` [List deliveries](https://docs.dispralabs.com/api/list-deliveries.md)
- `GET` [List environments](https://docs.dispralabs.com/api/list-environments.md)
- `GET` [List log filters](https://docs.dispralabs.com/api/list-log-filters.md)
- `GET` [List logs](https://docs.dispralabs.com/api/list-logs.md)
- `GET` [List project activity](https://docs.dispralabs.com/api/list-project-activity.md)
- `GET` [List webhooks](https://docs.dispralabs.com/api/list-webhooks.md)
- `GET` [Preview a project deletion](https://docs.dispralabs.com/api/preview-a-project-deletion.md)
- `POST` [Reveal the signing secret](https://docs.dispralabs.com/api/reveal-the-signing-secret.md)
- `POST` [Rotate the signing secret](https://docs.dispralabs.com/api/rotate-the-signing-secret.md)
- `POST` [Send a test event](https://docs.dispralabs.com/api/send-a-test-event.md)
- `PATCH` [Update a project](https://docs.dispralabs.com/api/update-a-project.md)
