---
title: "Post Panel Session"
method: POST
path: "/v1/panel-sessions"
tags: ["public_api", "external", "panels"]
---

# Post Panel Session

`POST /v1/panel-sessions`

## Request

- Base URL: `https://api.hydracept.com`
- URL: `https://api.hydracept.com/v1/panel-sessions`
- Auth: HTTP bearer

## Request body

- PanelSessionCreate
  - `panelDefinitionId` string, nullable
  - `panelDefinitionKey` string, nullable
  - `projectId` string, required
  - `environment` string
  - `externalSubject` string, nullable
  - `allowedOrigins` string[], required
  - `maxSpendMicros` integer, required
  - `maxJobs` integer
  - `expiresInMinutes` integer
  - `initialInputs` object
  - `lockedInputs` object

## Response `200`

Successful response

- PanelSessionCreated
  - `sessionId` string, required
  - `accessToken` string, required
  - `expiresAt` string, date-time, required

## Other responses

- `401`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `403`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `422`: Validation failure: public envelope plus Pydantic `detail` / `validationErrors`
- `429`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `500`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `502`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `503`: Structured public error envelope (`code`, `message`, `requestId`, …)

---

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