---
title: "POST /v1/public/pi/session"
method: POST
path: "/v1/public/pi/session"
tags: ["PI"]
---

# POST /v1/public/pi/session

`POST /v1/public/pi/session`

## Request

- Base URL: `https://api.helicone.ai`
- URL: `https://api.helicone.ai/v1/public/pi/session`
- Auth: API key in header `Authorization`

Starts a device-link session. The session id is generated by the server;
the device shows it to the user, who links it while signed in.

## Response `200`

Ok

- union
  - ResultSuccessSessionUUIDString
    - `data` object, required
      - `sessionUUID` string, required
    - `error` null, nullable, required
  - ResultErrorString
    - `data` null, nullable, required
    - `error` string, required

## Changes

- **2026-10-19** `c18565909b54`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/helicone/apis/helicone-api/changes/v1/public/pi/session/post.md)

---

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