---
title: "GET /api/v1/deployments/{deploymentId}/logs"
method: GET
path: "/api/v1/deployments/{deploymentId}/logs"
tags: ["Deployments"]
---

# GET /api/v1/deployments/{deploymentId}/logs

`GET /api/v1/deployments/{deploymentId}/logs`

## Request

- Base URL: `https://app.distr.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://app.distr.sh/api/v1/deployments/{deploymentId}/logs`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Get deployment logs

## Path parameters

- `deploymentId` string, required

## Query parameters

- `before` string, date-time, nullable
- `after` string, date-time, nullable
- `filter` string, nullable
- `limit` integer, nullable
- `resource` string

## Response `200`

OK

- ApiDeploymentLogRecord[]
  - `body` string
  - `deploymentId` string
  - `deploymentRevisionId` string
  - `id` string
  - `resource` string
  - `severity` string
  - `timestamp` string, date-time

---

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