---
title: "Start Run Direct"
method: POST
path: "/auto-agent/run"
tags: ["auto-agent"]
---

# Start Run Direct

`POST /auto-agent/run`

Directly launch an Auto Agent run from a complete task description.

This endpoint intentionally bypasses the clarification agent. It is meant
for programmatic experiments and test harnesses that already know exactly
what the Auto Agent should do.

Args:
    request: FastAPI request (required by rate limiter).
    body: Complete Auto Agent task description and optional history.
    auth: Authenticated user.

Returns:
    Newly created run ID, project ID, and results URL.

## Request body

- AutoAgentRunRequest — Request body to start a new Auto Agent run. Args: message: The user's task description for the agent. history: Optional conversation history for multi-turn context.
  - `message` string, required — Task description for the Auto Agent
  - `history` MessageHistoryItem[], nullable — Conversation history for multi-turn context
    - `role` string, required — Message role: 'user' or 'assistant'
    - `content` string, required — Message content

## Response `202`

Successful Response

- AutoAgentRunResponse — Response after creating a new Auto Agent run. Args: run_id: UUID of the created run. project_id: Project grouping all datasets and models from this run. results_url: Frontend URL to check results when the run completes.
  - `run_id` string, required — UUID of the created run
  - `project_id` string, nullable — Project ID grouping datasets and models from this run
  - `results_url` string, required — URL to view results when run completes

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/revisions/31dfe831e079/schema)
