---
title: "Start Chat Agent Run"
method: POST
path: "/api/chat/sessions/{thread_id}/agent-runs"
tags: ["chat", "agents"]
---

# Start Chat Agent Run

`POST /api/chat/sessions/{thread_id}/agent-runs`

## Request

- Base URL: `https://api.advisorppc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.advisorppc.com/api/chat/sessions/{thread_id}/agent-runs`
- Auth: HTTP bearer

## Path parameters

- `thread_id` integer, required

## Headers

- `X-Tenant-Id` integer, nullable

## Request body

- StartChatAgentRunIn
  - `instance_id` integer, required

## Response `200`

Successful Response

- ChatAgentRunOut
  - `id` integer, required
  - `thread_id` integer, required
  - `instance_id` integer, required
  - `definition_key` string, required
  - `agent_name` string, required
  - `display_name` string, required
  - `status` string, required
  - `summary` string, nullable, required
  - `error` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `started_at` string, date-time, nullable, required
  - `finished_at` string, date-time, nullable, required

## Other responses

- `422`: Validation Error

---

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