---
title: "Get Agent Session"
method: GET
path: "/v1/projects/{project_id}/agent-sessions/{session_id}"
tags: ["agent-observability"]
---

# Get Agent Session

`GET /v1/projects/{project_id}/agent-sessions/{session_id}`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/agent-sessions/{session_id}`
- Auth: none declared

## Path parameters

- `session_id` string, required
- `project_id` string, required

## Response `200`

Successful Response

- AppRoutesAgentObservabilitySessionOut
  - `v` integer
  - `session` SessionSummary, required
    - `session_id` string, required
    - `agent` string, required
    - `agent_type` string, nullable
    - `agent_version` string, nullable
    - `open_source` string
    - `end_reason` string, nullable
    - `title` string, nullable, required
    - `status` string, required
    - `started_at` string, date-time, required
    - `ended_at` string, date-time, nullable, required
    - `last_event_at` string, date-time, nullable, required
    - `counts` object, required

## Other responses

- `422`: Validation Error

---

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