---
title: "List Connection API Request Logs"
method: GET
path: "/v2/integrations/connections/{connection_id}/logs"
tags: ["integrations"]
---

# List Connection API Request Logs

`GET /v2/integrations/connections/{connection_id}/logs`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/integrations/connections/{connection_id}/logs`
- Auth: HTTP bearer

Retrieve a paginated list of API request logs for an integration connection.

## Path parameters

- `connection_id` string, required

## Query parameters

- `page` integer: Page number, 0 indexed.
- `limit` integer: Number of records per page.
- `search` string: Search in request URL

## Response `200`

Successful Response

- PaginatedResponseIntegrationConnectionAPIRequestLog
  - `data` IntegrationConnectionAPIRequestLog[], required: The list of records.
    - `created_at` string, date-time, required
    - `modified_at` string, date-time, nullable, required
    - `id` string, required
    - `direction` 'inbound' | 'outbound', required
    - `is_webhook` boolean, required
    - `method` 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT', required
    - `url` string, required: The request URL
    - `requested_at` string, date-time, required
    - `completed_at` string, date-time, required
    - `request` Request, required
      - `body` union, required
        - object
        - unknown[]
          - unknown
      - `headers` object, required
      - `method` 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT', required
      - `params` object, nullable, required
      - `url` string, required
    - `response` Response, required
      - `body` union, required
        - object
        - unknown[]
          - unknown
      - `encoding` string, nullable, required
      - `headers` object, nullable, required
      - `reason` string, nullable, required
      - `status_code` integer, nullable, required
    - `success` boolean, nullable, required
    - `response_size` integer, required: Response size in bytes. Falls back to the stored raw body length when the ``Content-Length`` header is absent (e.g. chunked transfer encoding, HTTP/2 responses without an explicit length).
    - `object` string, required: String representing the object's type. Objects of the same type share the same value.
  - `current_page` integer, required: The current page.
  - `total_records` integer, nullable, required: Total number of records.
  - `next_page` integer, nullable, required: The next page number, if one exists.

## Other responses

- `422`: Validation Error

---

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