---
title: "Get Logs"
method: GET
path: "/v1/swarm/logs"
---

# Get Logs

`GET /v1/swarm/logs`

Get all API request logs for all API keys associated with the user identified by the provided API key, excluding any logs that contain a client_ip field in their data.

## Headers

- `x-api-key` string, required

## Response `200`

Successful Response

- SwarmLogsOutput
  - `status` string, nullable
  - `count` integer, nullable
  - `logs` unknown
  - `timestamp` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/the-swarm-corporation/apis/swarms-api.md) · [All operations](https://skmtc.net/the-swarm-corporation/apis/swarms-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/the-swarm-corporation/swarms-api/revisions/7618ad18b40e/schema)
