---
title: "Get Deployment Logs"
method: GET
path: "/api/v1/projects/{project_id}/deployments/logs"
tags: ["Deployments"]
---

# Get Deployment Logs

`GET /api/v1/projects/{project_id}/deployments/logs`

## Request

- Base URL: `https://api.rebolt.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rebolt.ai/api/v1/projects/{project_id}/deployments/logs`
- Auth: HTTP bearer

Get the logs for a deployment.

Retrieves all build and deployment logs for a specific deployment,
sorted by timestamp in ascending order (oldest first).

## Path parameters

- `project_id` string, uuid, required: The unique identifier of the project

## Query parameters

- `deployment_id` string, uuid, required

## Response `200`

Successful Response

- DeploymentLogsResponse: Response containing deployment logs for a specific deployment. Attributes: project_deployment_id (ProjectDeploymentID): The deployment these logs belong to. logs (list[LogMessage]): The list of log messages sorted by timestamp. total_count (int): Total number of log entries.
  - `project_deployment_id` string, uuid, required: The unique identifier a project deployment
  - `logs` LogMessage[], required
    - `timestamp` string
    - `type` 'step_start' | 'step_end' | 'stream' | 'build_failure' | 'convex_deployment_failure' | 'generic' | 'deployment_failure', required
    - `step` string, required
    - `message` string, required
    - `success` boolean
    - `latency_seconds` number, nullable
    - `stream` 'stdout' | 'stderr', nullable
    - `exit_code` integer, nullable
    - `error_summary` string, nullable
  - `total_count` integer, required
  - `deployment_error_message` string, nullable, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-14** `6e68f3c2611b`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/rebolt/apis/rebolt-api/changes/api/v1/projects/:project_id/deployments/logs/get.md)

---

[API](https://skmtc.dev/rebolt/apis/rebolt-api.md) - [All operations](https://skmtc.dev/rebolt/apis/rebolt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rebolt/apis/rebolt-api/revisions/ece6d79b9efa?raw)
