---
title: "Set network logs"
method: PUT
path: "/s2s/conversations/{conversationId}/network-logs"
tags: ["S2S Conversations"]
---

# Set network logs

`PUT /s2s/conversations/{conversationId}/network-logs`

Attach a network log snapshot to the conversation — the same logs
`Gleap.logNetwork()` collects in the SDK flow. Shown to agents in the
conversation's "Logs" panel. Each call replaces the previous snapshot
(max 100 requests, 2 MB). Not delivered via webhooks or the stream.

## Path parameters

- `conversationId` string, required

## Request body

- S2SPutNetworkLogsBody
  - `requests` S2SNetworkLogRequestInput[], required — Snapshot of recent network requests (max 100 entries, 2 MB). Replaces any previous snapshot for this conversation.
    - `url` string, required — Full request URL.
    - `type` string — HTTP method, e.g. "GET".
    - `date` string — ISO timestamp of the request.
    - `duration` number, double — Duration in milliseconds.
    - `success` boolean
    - `request` unknown
    - `response` unknown
    - `initiatorType` string

## Response `204`

No Content

## Changes

- **2026-08-27** `05e5eb4c2da1` — 2 breaking
  - the `requests/items/request` request property type changed from `object` to no type
  - the `requests/items/response` request property type changed from `object` to no type
- **2026-08-25** `e5c29a5d9528` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gleap/apis/gleap-server/changes/s2s/conversations/:conversationId/network-logs/put.md)

---

[API](https://skmtc.dev/gleap/apis/gleap-server.md) · [All operations](https://skmtc.dev/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/2d993d0c8a6e/schema)
