---
title: "Get Session"
method: GET
path: "/v1/chats/{session_id}"
tags: ["Chats", "chats"]
---

# Get Session

`GET /v1/chats/{session_id}`

## Request

- Base URL: `https://api.call2me.app`
- URL: `https://api.call2me.app/v1/chats/{session_id}`
- Auth: HTTP bearer

Get a chat session with all messages (supports both chat and widget sessions).

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- SrcRoutersV1ChatsSessionWithMessages
  - `session_id` string, required
  - `user_id` string, required
  - `agent_id` string, nullable
  - `agent_name` string, nullable
  - `title` string, nullable
  - `status` string, required
  - `message_count` integer, required
  - `total_tokens` integer, required
  - `total_cost_usd` number, required
  - `external_user_id` string, nullable
  - `created_at` string, required
  - `updated_at` string, required
  - `source` string
  - `widget_name` string, nullable
  - `visitor_name` string, nullable
  - `messages` ChatMessageOutput[], required
    - `message_id` string, required
    - `role` string, required
    - `content` string, required
    - `tokens_input` integer
    - `tokens_output` integer
    - `model` string, nullable
    - `cost_usd` number
    - `created_at` string, required

## Other responses

- `422`: Validation Error

---

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