---
title: "GET /api/v1/agent-vault/settings/session-logs"
method: GET
path: "/api/v1/agent-vault/settings/session-logs"
tags: ["Agent Vault Settings"]
---

# GET /api/v1/agent-vault/settings/session-logs

`GET /api/v1/agent-vault/settings/session-logs`

Gets the session log settings

## Response `200`

Default Response

- object
  - `settings` object, required
    - `enabled` boolean, required — Whether session logs are on. Turning them off stops recording but keeps what's already recorded.
    - `appConnectionId` string, uuid, nullable, required — The ID of the AWS connection Infisical uses to write to and read from the bucket.
    - `bucket` string, nullable, required — The name of the S3 bucket. 3 to 63 characters: lowercase letters, numbers, dots and hyphens, starting and ending with a letter or number.
    - `region` string, nullable, required — The AWS region of the bucket.
    - `keyPrefix` string, nullable, required — The folder in the bucket to store session logs in, such as `logs/agent-vault`. Up to 512 characters: letters, numbers and `! - _ . ' ( ) /`, with no slash at the start or end, no empty folder name, and no folder named `.` or `..`.

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `422` — Default Response
- `500` — Default Response

## Changes

- **2026-09-30** `b1861c910818` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/infisical/apis/infisical-api/changes/api/v1/agent-vault/settings/session-logs/get.md)

---

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