---
title: "Get Dependency Logs by ID"
method: GET
path: "/dependencies/{id}/logs"
tags: ["Dependencies"]
---

# Get Dependency Logs by ID

`GET /dependencies/{id}/logs`

Get the logs of a dependency

## Path parameters

- `id` string, objectid, required — ID of the target to get logs for

## Response `200`

OK

- ControllersResponseGithubModelsDependencyLog
  - `data` ModelsDependencyLog[]
    - `_id` string, objectid — ID
    - `content` string — Content
    - `created_at` string, date-time — Created timestamp
    - `created_by` string, objectid — Created by
    - `target_id` string, objectid — Target ID
    - `updated_at` string, date-time — Updated timestamp
    - `updated_by` string, objectid — Updated by
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2026-07-17** `c7a4715c1f13` — 1 breaking, 1 warning, 8 info
  - for the `path` request parameter `id`, the format changed from no format to `objectid`
  - removed the optional property `code` from the response with the `200` status
  - api operation id `get_dependency_logs_by_id` was added
  - removed the pattern `^[0-9a-fA-F]{24}$` from the `path` request parameter `id`
  - …6 more
- **2025-03-03** `14e4eafea538` — 1 info
  - endpoint added
- **2025-03-02** `526e5bdf6dee` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/dependencies/:id/logs/get.md)

---

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