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

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

# TaskSlot

One position a task asks to be answered. A single slot is answered as a whole; a section slot is answered per member field, listed in fields.

## 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:
    SectionEntryId:
      type: string
      description: The ID of one entry of a task's repeatable section, a TypeID with
        the prefix sectionentry.
      pattern: ^sectionentry_[0-7][0-9a-hjkmnp-tv-z]{25}$
      example: sectionentry_01h455vb4pex5vsknk084sn02q
    TaskSlot:
      type: object
      description: One position a task asks to be answered. A single slot is answered
        as a whole; a section slot is answered per member field, listed in
        fields.
      required:
        - key
        - kind
        - required
        - locked
        - sensitive
      properties:
        key:
          type: string
          description: The slot's key, which submissions name as slotKey.
          example: residentState
        kind:
          type: string
          description: single or section.
          enum:
            - single
            - section
          example: single
        required:
          type: boolean
          description: Whether the slot must be answered.
          example: true
        locked:
          type: boolean
          description: Whether the slot was locked after it was filled in from the
            producer's record.
          example: false
        sensitive:
          type: boolean
          description: Whether the slot's answers are sensitive. A sensitive answer is
            always masked.
          example: false
        jurisdiction:
          type: string
          description: The two-letter code of the state asking the question, or ADJUSTER.
            Absent unless the task asks state-specific questions.
          example: CO
        fields:
          type: array
          description: A section slot's member fields. Absent on a single slot.
          items:
            type: object
            description: One member field of a section slot.
            required:
              - fieldKey
              - required
              - sensitive
            properties:
              fieldKey:
                type: string
                description: The field's key, which submissions name as fieldKey.
                example: addressLine1
              required:
                type: boolean
                description: Whether the field must be answered.
                example: true
              sensitive:
                type: boolean
                description: Whether the field's answers are sensitive. A sensitive answer is
                  always masked.
                example: false
        entries:
          type: array
          description: A repeatable section's entries, in the order they were added, which
            submissions name as entryId. Absent on any other slot.
          items:
            $ref: "#/components/schemas/SectionEntryId"
      example:
        key: residentState
        kind: single
        required: true
        locked: false
        sensitive: false
```
