---
title: "Run one of an agent's tasks now (task_id, or its index)"
method: POST
path: "/api/characters/{char_id}/tasks/{task_identifier}/run"
tags: ["Runs"]
---

# Run one of an agent's tasks now (task_id, or its index)

`POST /api/characters/{char_id}/tasks/{task_identifier}/run`

## Request

- Base URL: `https://agentsbooks.com`
- URL: `https://agentsbooks.com/api/characters/{char_id}/tasks/{task_identifier}/run`
- Auth: HTTP bearer

## Path parameters

- `task_identifier` string, required
- `char_id` string, required

## Response `200`

Run queued — returns the run id

---

[API](https://skmtc.dev/agentsbooks/apis/agentsbooks-agent-mode-api.md) · [All operations](https://skmtc.dev/agentsbooks/apis/agentsbooks-agent-mode-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentsbooks/apis/agentsbooks-agent-mode-api/revisions/3be3beabaefb?raw)
