---
title: "Get logs for a deployment"
method: GET
path: "/v1/deployments/{id}/logs"
tags: ["Deployments"]
---

# Get logs for a deployment

`GET /v1/deployments/{id}/logs`

## Request

- Base URL: `https://api.together.ai`
- URL: `https://api.together.ai/v1/deployments/{id}/logs`
- Auth: HTTP bearer

Retrieve logs from a deployment, optionally filtered by replica ID.

## Path parameters

- `id` string, required: Deployment ID or name

## Query parameters

- `replica_id` string: Replica ID to filter logs
- `version` string: Deployment image version (tag or last 4 characters of image digest) to filter logs
- `revision` string: Deployment revision (UUID) to filter logs

## Response `200`

Deployment logs

- DeploymentLogs
  - `lines` string[]

## Other responses

- `404`: Deployment not found
- `500`: Internal server error

## Changes

- **2026-10-22** `bb5257b3173a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/together/apis/together-apis/changes/v1/deployments/:id/logs/get.md)

---

[API](https://skmtc.dev/together/apis/together-apis.md) - [All operations](https://skmtc.dev/together/apis/together-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/together/apis/together-apis/revisions/93438ddac711?raw)
