---
title: "Create Session"
method: POST
path: "/copilot/session"
tags: ["Copilot"]
deprecated: true
---

# Create Session

`POST /copilot/session`

> **Deprecated.**

Gets all violations.
- table_id: search parameter

## Headers

- `x-tenant` string

## Request body

- CopilotSessionInput
  - `workflow_type` string, required
  - `purpose` string, required
  - `tasks` string[], required
  - `workflow_inputs` object, required

## Response `200`

Successful Response

- CopilotSessionOutput
  - `session_id` string, required
  - `pii` PIIInformation
    - `message` string, required
    - `pii_detected` boolean, required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/103580dad816/schema)
