---
title: "Retrieve run logs by AI contact"
method: GET
path: "/api/public/run-logs"
tags: ["Run Logs"]
---

# Retrieve run logs by AI contact

`GET /api/public/run-logs`

Returns the run logs (tree structure with descendants) for a given AI contact, ordered by start time descending. Supports pagination over the root run logs.

## Query parameters

- `ai_contact_id` string, required
- `page` number
- `page_size` number

## Headers

- `x-api-key` string, required

## Response `200`

Run logs retrieved successfully.

## Other responses

- `404` — AI contact not found.

---

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