---
title: "Create Task"
method: POST
path: "/api/tasks/page/{page_id}"
tags: ["tasks"]
---

# Create Task

`POST /api/tasks/page/{page_id}`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/tasks/page/{page_id}`
- Auth: HTTP bearer

Create a new agent task on a page. Finds or creates a ctlsurf_task block.

## Path parameters

- `page_id` string, uuid, required

## Request body

- TaskCreate
  - `text` string, required
  - `skill_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
