---
title: "Start an automation run"
method: POST
path: "/api/public/organizations/{orgId}/automations/{id}/runs"
tags: ["Automations"]
---

# Start an automation run

`POST /api/public/organizations/{orgId}/automations/{id}/runs`

## Request

- Base URL: `https://charts.basedash.com`
- URL: `https://charts.basedash.com/api/public/organizations/{orgId}/automations/{id}/runs`
- Auth: HTTP bearer

Starts a manual run for a scheduled or manual automation. Requires admin access to the organization. Run generation happens asynchronously.

## Path parameters

- `orgId` string, required: Organization ID
- `id` string, required: Automation ID

## Response `202`

Automation run started

- CreateAutomationRunResponse
  - `data` PublicAutomationRun, required
    - `id` string, required: Automation run ID
    - `automationId` string, required: Automation ID
    - `organizationId` string, required: Organization ID
    - `name` string, required: Run name
    - `status` 'GENERATING' | 'FINISHED' | 'null', nullable, required: Run status
    - `isManualRun` boolean, required: Whether the run was manually triggered
    - `memberId` string, nullable, required: Member ID associated with the run
    - `createdAt` string, date-time, required: Creation timestamp
    - `updatedAt` string, date-time, required: Last update timestamp

## Other responses

- `400`: Bad request - Automation cannot be manually started
- `401`: Unauthorized - Missing or invalid API key
- `404`: Not found - Automation not found or no admin access
- `429`: Rate limit exceeded - Too many requests
- `500`: Internal server error

---

[API](https://skmtc.dev/basedash/apis/basedash-public-api.md) - [All operations](https://skmtc.dev/basedash/apis/basedash-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/basedash/apis/basedash-public-api/revisions/efb9d40bc6f7?raw)
