---
title: Task API (preview)
url: /docs/ai/agents/reference/
---


Use the [preview task API](/docs/reference/cloud-rest-api/neo/#post-apipreviewagentsorgnametasks) to create tasks, send follow-up messages, and retrieve task events.

## Run a task with an organization-created agent

> This [Pulumi Cloud](/docs/iac/concepts/pulumi-cloud/) feature is available in the [Pro and Enterprise editions](/pricing/).

The task-creation schema includes `agentDefinitionId` for selecting an agent. Access to this preview field must be enabled for your organization.

