---
title: "POST /sessions"
method: POST
path: "/sessions"
tags: ["sessions"]
---

# POST /sessions

`POST /sessions`

## Request body

- CreateWorkflowSessionRequest
  - `chat_session_id` string, uuid, required
  - `workflow_schedule_id` string, uuid

## Response `200`

Successfully created session.

- WorkflowSession
  - `aborted` boolean, required
  - `chat_session_id` string, uuid, required
  - `created_at` string, date-time, nullable
  - `dag_ready` boolean, required
  - `dag_ready_at` string, date-time, nullable
  - `dashboard_layout_proto` string, binary, nullable
  - `error_message` string, nullable
  - `error_traceback` string, nullable
  - `id` string, uuid, required
  - `updated_at` string, date-time, required
  - `workflow_schedule_id` string, uuid

## Other responses

- `400` — Invalid request.

---

[API](https://skmtc.dev/structifyai/apis/structify.md) · [All operations](https://skmtc.dev/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/structifyai/structify/revisions/1364930b6980/schema)
