---
title: "Get logs for a durable function run"
method: GET
path: "/functions/v1/runs/{run_id}/logs"
tags: ["Functions"]
---

# Get logs for a durable function run

`GET /functions/v1/runs/{run_id}/logs`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/functions/v1/runs/{run_id}/logs`
- Auth: HTTP bearer

## Path parameters

- `run_id` string, required

## Query parameters

- `tail` integer
- `since` string, date-time

## Response `200`

Function run logs

- FunctionRunLogsResponse
  - `logs` object[], required
    - `timestamp` string, date-time, required
    - `message` string, required
    - `event_id` string
    - `log_stream_name` string
    - `ingestion_time` string, date-time
    - `request_id` string

## Other responses

- `400`: Run402-originated JSON bodies use the canonical ErrorEnvelope.
- `401`: Missing or invalid authentication. Run402-originated JSON bodies use the canonical ErrorEnvelope.
- `404`: Run402-originated JSON bodies use the canonical ErrorEnvelope.

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
