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

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

# TaskSummary

A task your organization reaches: one raised by a requirement set your organization imposed, or one waiting in one of its queues. Who the work is about is subjectPersonId for a person, or subjectOrganizationId for an organization such as a firm; one of the two is present.

## 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
    PersonId:
      type: string
      description: A person's ID, a TypeID with the prefix person.
      pattern: ^person_[0-7][0-9a-hjkmnp-tv-z]{25}$
      example: person_01h455vb4pex5vsknk084sn02q
    OrganizationId:
      type: string
      description: "An organization's ID: a TypeID with the prefix org. It never
        changes, and is the same ID for the organization across the AgentSync
        API."
      pattern: ^org_[0-7][0-9a-hjkmnp-tv-z]{25}$
      example: org_01h455vb4pex5vsknk084sn02q
    TaskOwner:
      type: object
      description: "Who owns a task: a named person, or a queue that a role at an
        organization works from. A person whom the requirement set's rules hide
        from your organization is shown as the queue the task was written for
        instead; any other named owner is shown by personId. Absent when the
        task has no owner."
      required:
        - kind
      properties:
        kind:
          type: string
          description: person when personId names the owner; queue when queue does.
          enum:
            - person
            - queue
          example: person
        personId:
          $ref: "#/components/schemas/PersonId"
        queue:
          type: object
          description: The queue that owns the task. Absent unless kind is queue.
          required:
            - organizationId
            - persona
          properties:
            organizationId:
              $ref: "#/components/schemas/OrganizationId"
            persona:
              type: string
              description: The role whose holders work the queue.
              example: compliance_reviewer
      example:
        kind: queue
        queue:
          organizationId: org_01h455vb4pex5vsknk084sn02q
          persona: compliance_reviewer
    TaskSummary:
      type: object
      description: "A task your organization reaches: one raised by a requirement set
        your organization imposed, or one waiting in one of its queues. Who the
        work is about is subjectPersonId for a person, or subjectOrganizationId
        for an organization such as a firm; one of the two is present."
      required:
        - id
        - name
        - taskType
        - state
        - required
        - locked
        - createdAt
        - updatedAt
      properties:
        id:
          $ref: "#/components/schemas/TaskId"
        name:
          type: string
          description: The task's display name.
          example: Background questions
        taskType:
          type: string
          description: work asks the producer for answers; approval asks a reviewer to
            decide; review_submit asks the producer to review and submit their
            answers; forms_signature asks for a signature on forms.
          enum:
            - work
            - approval
            - review_submit
            - forms_signature
          example: work
        state:
          type: string
          description: Where the task sits in its lifecycle.
          enum:
            - not_started
            - in_progress
            - returned
            - completed
            - approved
            - rejected
            - skipped
            - closed
          example: in_progress
        subjectPersonId:
          $ref: "#/components/schemas/PersonId"
        subjectOrganizationId:
          $ref: "#/components/schemas/OrganizationId"
        required:
          type: boolean
          description: Whether the task is a required member of its requirement set, which
            means it cannot be skipped.
          example: true
        locked:
          type: boolean
          description: Whether the task waits on others first. A locked task can take
            answers but cannot be completed.
          example: false
        owner:
          $ref: "#/components/schemas/TaskOwner"
        createdAt:
          type: string
          format: date-time
          description: When the task was raised.
          example: 2026-03-02T09:30:00Z
        updatedAt:
          type: string
          format: date-time
          description: When the task last changed.
          example: 2026-03-03T14:00:00Z
        completedAt:
          type: string
          format: date-time
          description: When the task was completed or approved. Absent until it is.
          example: 2026-03-04T16:45:00Z
      example:
        id: task_01h455vb4pex5vsknk084sn02q
        name: Background questions
        taskType: work
        state: in_progress
        subjectPersonId: person_01h455vb4pex5vsknk084sn02q
        required: true
        locked: false
        owner:
          kind: person
          personId: person_01h455vb4pex5vsknk084sn02q
        createdAt: 2026-03-02T09:30:00Z
        updatedAt: 2026-03-03T14:00:00Z
```
