---
title: "Get Logs"
method: GET
path: "/logs/"
tags: ["Logs"]
---

# Get Logs

`GET /logs/`

Return recent logs for the authenticated user (scoped by user_id).

## Query parameters

- `limit` integer
- `since` string, date-time, nullable
- `op_type` string, nullable
- `status` string, nullable

## Headers

- `authorization` string

## Response `200`

Successful Response

- LogResponse[]
  - `timestamp` string, date-time, required
  - `user_id` string, required
  - `operation_type` string, required
  - `status` string, required
  - `tokens_used` integer, required
  - `duration_ms` number, required
  - `app_id` string, nullable
  - `metadata` object, nullable
  - `error` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.dev/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/9ade02dd7b1d/schema)
