---
title: "/api/logs/{id}"
method: GET
path: "/api/logs/{id}"
---

# /api/logs/{id}

`GET /api/logs/{id}`

## Path parameters

- `id` string, required

## Response `200`

Successful response

- object
  - `data` object, required
    - `id` integer, required
    - `timestamp` number
    - `type` 'warning' | 'error' | 'info' | 'success'
    - `source` 'file' | 'cli' | 'system'
    - `message` string
    - `project` string
    - `stacktrace` string
    - `file` string
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `422` — Validation failed
- `500` — Server error

---

[API](https://skmtc.net/stacksjs/apis/stacks-api.md) · [All operations](https://skmtc.net/stacksjs/apis/stacks-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stacksjs/stacks-api/revisions/f48edd85a8b4/schema)
