---
title: "TaskId"
url: "https://developer-staging.agentsync.io/apis/platform-api/versions/8177e94d-86f2-48a5-8ed6-d5fbcb69f38a/schemas/TaskId"
---

> Full API specification: https://developer-staging.agentsync.io/apis/platform-api/versions/8177e94d-86f2-48a5-8ed6-d5fbcb69f38a.md

# TaskId

A task's ID, a TypeID with the prefix task.

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: AgentSync Platform API
  version: 0.0.1
servers:
  - url: https://api.{environment}.agentsync.io/platform
    description: AgentSync API gateway
    variables:
      environment:
        default: sandbox
        enum:
          - sandbox
components:
  schemas:
    TaskId:
      type: string
      description: A task's ID, a TypeID with the prefix task.
      pattern: ^task_[0-7][0-9a-hjkmnp-tv-z]{25}$
      example: task_01h455vb4pex5vsknk084sn02q
```
