---
title: "Get logs for a specific workload"
method: GET
path: "/api/v1beta/workloads/{name}/logs"
tags: ["logs"]
---

# Get logs for a specific workload

`GET /api/v1beta/workloads/{name}/logs`

Retrieve at most 1000 lines of logs for a specific workload by name.

## Path parameters

- `name` string, required

## Response `200`

Logs for the specified workload

## Other responses

- `400` — Invalid workload name
- `404` — Not Found

---

[API](https://skmtc.dev/stacklok/apis/toolhive-api.md) · [All operations](https://skmtc.dev/stacklok/apis/toolhive-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stacklok/toolhive-api/revisions/e9f942effcda/schema)
