> ## Documentation Index
> Fetch the complete documentation index at: https://docs.artaios.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Sessions

Retrieve all sessions for your account.

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET https://api.artaios.ai/api/v1/sessions/ \
    -H "x-api-key: YOUR_API_KEY"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.artaios.ai/api/v1/sessions/",
      headers={"x-api-key": "YOUR_API_KEY"}
  )
  sessions = response.json()
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.artaios.ai/api/v1/sessions/', {
    headers: {
      'x-api-key': 'YOUR_API_KEY'
    }
  });
  const sessions = await response.json();
  ```
</CodeGroup>

## Response

Returns an array of session objects:

```json theme={null}
[
  {
    "session_id": "session_abc123",
    "config_hash": "a1b2c3d4e5f6",
    "created_at": "2025-01-15T10:30:00Z",
    "status": "active"
  }
]
```
