---
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
      - `ownerUserId` string
      - `permissionScopes` string[], 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-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
- **2026-07-30** (v1) `d226beeef0bf` — 1 breaking, 2 info
  - the response property `data/attributes/ownerUserId` became optional for the status `200`
  - added the optional property `data/attributes/initialTurn/attributes/knowledgeCitations` to the response with the `200` status
  - added the optional property `data/attributes/latestTurn/attributes/knowledgeCitations` to the response with the `200` status
- **2026-07-21** (v1) `ffea3af600ea` — 1 info
  - endpoint added

[Change 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/dbc273b2bbef/schema)
