---
title: "Create Agent Run"
method: POST
path: "/v1/agent-runs"
tags: ["SDK API"]
---

# Create Agent Run

`POST /v1/agent-runs`

## Request body

- AgentRunRequest
  - `chat_id` string, uuid, required
  - `schedule_id` string, uuid, nullable
  - `toolhouse_id` string
  - `vars` object, nullable
  - `callback_url` string, uri, nullable

## Response `200`

Agent run successfully created

- unknown

## Other responses

- `403` — Chat ID is invalid or does not belong to you
- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.net/toolhouse/apis/toolhouse-api.md) · [All operations](https://skmtc.net/toolhouse/apis/toolhouse-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/toolhouse/toolhouse-api/versions/6e3bad3564b3/schema)
