---
title: "Deployment Logs"
method: GET
path: "/api/v1/pipeline_deployments/{deployment_id}/logs"
tags: ["deployments"]
---

# Deployment Logs

`GET /api/v1/pipeline_deployments/{deployment_id}/logs`

## Request

- The document declares no server URL.
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/login`
- TypeScript: <https://skmtc.dev/zenml-io/apis/zenml-2/docs/api/v1/pipeline_deployments/:deployment_id/logs/get.ts> (a function with typed inputs; its response is checked against the schema)

Get deployment logs.

Args:
    deployment_id: ID of the deployment.

Returns:
    The deployment logs.

## Path parameters

- `deployment_id` string, uuid, required

## Response `200`

Successful Response

- string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/zenml-io/apis/zenml-2.md) - [All operations](https://skmtc.dev/zenml-io/apis/zenml-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zenml-io/apis/zenml-2/revisions/febb01b8bce3?raw)
