---
title: "Get log lines for an invocation attempt"
method: GET
path: "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/logs"
tags: ["vercel-ci"]
---

# Get log lines for an invocation attempt

`GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/logs`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/logs`
- Auth: HTTP bearer

Get Invocation Logs

## Path parameters

- `invocationId` string, required
- `attempt` string, required

## Query parameters

- `level` string[]: Only return log lines with one of these levels.
- `teamId` string
- `slug` string

## Response `200`

Successfully fetched invocation log lines.

- object
  - `lines` object[], required
    - `level` string, required
    - `timestamp` number, required
    - `message` string, required

## Other responses

- `400`: One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `403`: You do not have permission to access this resource.
- `404`
- `410`
- `429`
- `500`

## Changes

- **2026-09-25** `7881412aa042`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/api/changes/v1/vercel-ci/invocations/:invocationId/attempts/:attempt/logs/get.md)

---

[API](https://skmtc.dev/vercel/apis/api.md) - [All operations](https://skmtc.dev/vercel/apis/api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/api/revisions/4a06e85c2848?raw)
