---
title: "Get Agent Session"
method: GET
path: "/ai/agent_sessions/{id}"
tags: ["AI"]
---

# Get Agent Session

`GET /ai/agent_sessions/{id}`

## Path parameters

- `id` string, required

## Response `200`

OK

- GetAgentSessionResponseBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `data` AgentSession, required
    - `attributes` AgentSessionAttributes, required
      - `agentName` string, required
      - `createdAt` string, date-time, required
      - `permissionScopes` string[], required
      - `systemAnalysisId` string
      - `updatedAt` string, date-time, required
    - `id` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

## Changes

- **2026-08-25** (v1) `3fd856c3acc1` — 1 warning, 2 info
  - removed the optional property `data/attributes/ownerUserId` from the response with the `200` status
  - added the optional property `data/attributes/systemAnalysisId` to the response with the `200` status
  - added the required property `data/attributes/updatedAt` to the response with the `200` status
- **2026-08-14** (v1) `dbc273b2bbef` — 2 warning
  - removed the optional property `data/attributes/initialTurn` from the response with the `200` status
  - removed the optional property `data/attributes/latestTurn` from the response with the `200` status
- **2026-08-10** (v1) `4457b35521ad` — 4 warning, 2 info
  - removed the optional property `data/attributes/initialTurn/attributes/knowledgeCitations/items/attributes/knowledgeEntityId` from the response with the `200` status
  - removed the optional property `data/attributes/initialTurn/attributes/knowledgeCitations/items/attributes/knowledgeRelationshipId` from the response with the `200` status
  - removed the optional property `data/attributes/latestTurn/attributes/knowledgeCitations/items/attributes/knowledgeEntityId` from the response with the `200` status
  - removed the optional property `data/attributes/latestTurn/attributes/knowledgeCitations/items/attributes/knowledgeRelationshipId` from the response with the `200` status
  - …2 more
- …earlier changes not shown

[Full history](https://skmtc.dev/rezible/apis/rezible-api/changes/ai/agent_sessions/:id/get.md)

---

[API](https://skmtc.dev/rezible/apis/rezible-api.md) · [All operations](https://skmtc.dev/rezible/apis/rezible-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rezible/rezible-api/revisions/eaee3040e50d/schema)
