---
title: "Get Session Details"
method: GET
path: "/session/{session_id}"
tags: ["Sessions"]
---

# Get Session Details

`GET /session/{session_id}`

## Request

- Base URL: `https://api.finic.ai`
- URL: `https://api.finic.ai/session/{session_id}`
- Auth: HTTP bearer

Retrieves details of a specific session by its ID

## Path parameters

- `session_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Session details retrieved successfully

- object
  - `id` string: Unique identifier of the session
  - `browser_id` string: ID of the associated browser
  - `agent_id` string: ID of the associated agent
  - `status` 'RUNNING' | 'SUCCESS' | 'FAILED': Current status of the session
  - `created_at` string, date-time: Timestamp when the session was created
  - `max_retries` integer, nullable: Maximum number of retries to attempt
  - `input` object: Input parameters for the automation
  - `attempts` object[]: List of execution attempts
    - `status` 'RUNNING' | 'SUCCESS' | 'FAILED'
    - `logs` string[]

## Other responses

- `401`: Unauthorized - Invalid or missing authentication token
- `404`: Session not found
- `500`: Internal server error

## Changes

- **2024-10-30** `49ae4d076e01`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/finic/apis/finic-ai-api/changes/session/:session_id/get.md)

---

[API](https://skmtc.dev/finic/apis/finic-ai-api.md) - [All operations](https://skmtc.dev/finic/apis/finic-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/finic/apis/finic-ai-api/revisions/49ae4d076e01?raw)
