> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usenexio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List tasks (parameters in the body)

> GET /records/tasks with its query parameters in a JSON body, keyed by their query names, so free text never travels in a URL. A repeatable parameter takes an array. The answer is the GET's; a query string is refused.



## OpenAPI

````yaml /openapi.generated.json post /records/tasks/search
openapi: 3.1.0
info:
  description: >-
    Public API reference. Generated from apps/engine/openapi.yaml by make
    docs-openapi-write. Do not edit.
  title: Nexio platform API
  version: '1'
servers:
  - url: https://api.usenexio.com
security: []
tags:
  - name: Access
  - name: Catalog
  - name: Conversations
  - name: Documents
  - name: Engines
  - name: Events
  - name: Feedback
  - name: Graph
  - name: Records
  - name: Roadmap
  - name: Runs
  - name: Webhooks
  - name: accounts
  - name: actions
  - name: activities
  - name: activity-feed
  - name: attachments
  - name: audit
  - name: benefit-plans
  - name: billing-transactions
  - name: carrier_documents
  - name: certificate-holders
  - name: certificate_drafts
  - name: certificates
  - name: change_feed
  - name: claims
  - name: classes
  - name: codes
  - name: commission_facts
  - name: connections
  - name: contacts
  - name: contingencies
  - name: conversations
  - name: customer
  - name: customer_contacts
  - name: deals
  - name: dependents
  - name: document_extractions
  - name: documents
  - name: drivers
  - name: eforms
  - name: employees
  - name: events
  - name: feature_requests
  - name: form-templates
  - name: invoices
  - name: leads
  - name: line_schedules_other
  - name: loss_history
  - name: machines
  - name: markets
  - name: motor-carriers
  - name: notes
  - name: opportunities
  - name: opportunity-signals
  - name: pages
  - name: personal_lines_detail
  - name: placement_choices
  - name: placement_feedback
  - name: placements
  - name: policies
  - name: policy_parties
  - name: policy_personnel
  - name: policy_transactions
  - name: premium_rows
  - name: procedures
  - name: proposals
  - name: quote_comparisons
  - name: quotes
  - name: records
  - name: register-views
  - name: renewal-entries
  - name: risk_review_choices
  - name: rollups
  - name: seats
  - name: sec-filings
  - name: service_agreements
  - name: submissions
  - name: suspenses
  - name: tasks
  - name: umbrella_underlying
  - name: underwriting_questions
  - name: uploaded_documents
  - name: vehicles
  - name: workflows
paths:
  /records/tasks/search:
    post:
      tags:
        - tasks
      summary: List tasks (parameters in the body)
      description: >-
        GET /records/tasks with its query parameters in a JSON body, keyed by
        their query names, so free text never travels in a URL. A repeatable
        parameter takes an array. The answer is the GET's; a query string is
        refused.
      operationId: listTasksSearch
      parameters:
        - description: >-
            The member the read is made for (a WorkOS user id). Unset keeps the
            org-wide posture the key alone grants.
          in: header
          name: Nexio-Act-As
          schema:
            description: >-
              The member the read is made for (a WorkOS user id). Unset keeps
              the org-wide posture the key alone grants.
            type: string
        - description: >-
            The acting member's verified email, lowercased. Ignored without
            Nexio-Act-As.
          in: header
          name: Nexio-Act-As-Email
          schema:
            description: >-
              The acting member's verified email, lowercased. Ignored without
              Nexio-Act-As.
            type: string
        - description: The calling application (workbench).
          in: header
          name: Nexio-Consumer
          schema:
            description: The calling application (workbench).
            type: string
        - description: The calling application's build.
          in: header
          name: Nexio-Consumer-Build
          schema:
            description: The calling application's build.
            type: string
        - description: The access vocabulary hash the calling build was generated against.
          in: header
          name: Nexio-Consumer-Vocabulary
          schema:
            description: >-
              The access vocabulary hash the calling build was generated
              against.
            type: string
        - description: >-
            A caller-chosen request id, echoed in the Nexio-Request-Id response
            header.
          in: header
          name: Nexio-Request-Id
          schema:
            description: >-
              A caller-chosen request id, echoed in the Nexio-Request-Id
              response header.
            type: string
        - description: >-
            The caller's remaining budget for this request, in whole
            milliseconds (1 to 10 digits, greater than zero), relative to
            receipt. The engine stops work at the shorter of this and the
            route's own budget, and answers 504 request_timeout when it expires.
            A value above the route budget is capped to it; a malformed value is
            ignored.
          in: header
          name: Nexio-Timeout
          schema:
            description: >-
              The caller's remaining budget for this request, in whole
              milliseconds (1 to 10 digits, greater than zero), relative to
              receipt. The engine stops work at the shorter of this and the
              route's own budget, and answers 504 request_timeout when it
              expires. A value above the route budget is capped to it; a
              malformed value is ignored.
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                account_id:
                  description: >-
                    Only tasks on this account (instance key, bk1_ key or
                    Navigator account id).
                  type: string
                account_scope:
                  description: >-
                    file, with account_id: the account's file, admitted as the
                    seat reads the account. A Navigator account linked to an AMS
                    360 account reads the tasks filed under either one, and its
                    AMS 360 and ledger tasks; a book account and an unlinked
                    Navigator account read only themselves. An account the seat
                    cannot read is a 404; one sort, total, facet set and cursor
                    cover the file. Without it, account_id is the one account
                    only.
                  enum:
                    - file
                  type: string
                assigned_to:
                  description: >-
                    Only AMS 360 suspenses assigned to these employee codes (GET
                    /records/employees gives a person's codes), or departed for
                    every assignee no longer active. Departed is AMS 360
                    inactive or terminated in Dayforce. It reads every assignee
                    in scope (view=all) and serves each row's
                    assigned_to_active, account_premium and producer_name. The
                    open suspenses a departed account manager left:
                    assigned_to=&lt;their code&gt;, status=open, sort=-premium,
                    facets=producer.
                  items:
                    type: string
                  maxItems: 10
                  type:
                    - array
                    - 'null'
                created_days:
                  description: >-
                    Hides tasks created over this many days ago, 0 to 3650
                    (default 0, off); undated tasks stay. Left out, the person's
                    saved view or the default applies.
                  format: int64
                  maximum: 3650
                  minimum: 0
                  type: integer
                cursor:
                  description: >-
                    The opaque page.next of the previous page. Filters, sort and
                    subject are frozen inside it.
                  type: string
                due:
                  description: A due window.
                  enum:
                    - all
                    - overdue
                    - today
                    - week
                    - month
                    - no_date
                  type: string
                due_date[gte]:
                  description: Due on or after this date.
                  format: date
                  type: string
                due_date[lte]:
                  description: Due on or before this date.
                  format: date
                  type: string
                facets:
                  description: >-
                    The facets to count over the filtered tasks. producer counts
                    the AMS 360 suspenses by their account's producer.
                  items:
                    enum:
                      - source
                      - status
                      - priority
                      - type
                      - due
                      - producer
                    type: string
                  type:
                    - array
                    - 'null'
                hide.priority:
                  description: >-
                    Comma-separated priorities to leave out: urgent, high,
                    medium, low. Empty or none hides nothing. Left out, the
                    person's saved view or the default (none) applies.
                  type: string
                hide.source:
                  description: >-
                    Comma-separated sources to leave out: workspace, ledger,
                    ams. Empty or none hides nothing. Left out, the person's
                    saved view or the default (none) applies.
                  type: string
                hide_closed:
                  description: >-
                    true leaves out completed and cancelled tasks. It applies
                    only when status is left out. Left out, the person's saved
                    view or the default (true) applies.
                  enum:
                    - 'true'
                    - 'false'
                  type: string
                include_total:
                  description: true adds total, the row count of the whole relation.
                  type: boolean
                limit:
                  description: >-
                    Page size. Defaults to 25; a larger value than 200 is
                    coerced to 200 with a LIMIT_COERCED warning.
                  format: int64
                  minimum: 1
                  type: integer
                origin:
                  description: >-
                    Keeps tasks by how they were created. auto also keeps every
                    AMS 360 task; all, the default, keeps every origin.
                  enum:
                    - all
                    - manual
                    - auto
                    - ams360
                  type: string
                priority:
                  description: >-
                    Keeps one priority: urgent, high, medium or low. AMS 360 and
                    ledger tasks always read as medium, and so does a Navigator
                    task with none.
                  type: string
                q:
                  description: >-
                    A case-insensitive search over the title, description and
                    account name.
                  type: string
                related_entity_id:
                  description: >-
                    Only workspace tasks whose relatedEntityId is this record.
                    Requires source=workspace and account_id; the account and
                    task owner scopes still apply.
                  maxLength: 512
                  type: string
                rows_only:
                  description: >-
                    true reads the page's rows and page.next alone, and the
                    answer says so with rows_only: true. total, facets and view
                    are absent, never 0: the read does not count them; read them
                    once per filter change from the same request without
                    rows_only. Not with include_total or facets (400
                    ROWS_ONLY_WITH_FIGURES). A cursor does not carry it: send it
                    on every page of a rows-only list.
                  type: boolean
                sort:
                  description: >-
                    Defaults to due, ascending. premium is the suspense's
                    account premium (AMS 360 suspenses only; -premium is the
                    largest accounts first).
                  enum:
                    - due
                    - '-due'
                    - title
                    - '-title'
                    - created
                    - '-created'
                    - priority
                    - '-priority'
                    - status
                    - '-status'
                    - account
                    - '-account'
                    - origin
                    - '-origin'
                    - premium
                    - '-premium'
                  type: string
                source:
                  description: >-
                    Only tasks from one store: workspace (Navigator), ledger
                    (the action ledger) or ams (AMS 360). Absent: all three.
                  enum:
                    - workspace
                    - ledger
                    - ams
                  type: string
                status:
                  description: >-
                    Keeps tasks of these statuses. Left out, every status is
                    read and hide_closed decides whether completed and cancelled
                    tasks show. Sent, hide_closed does not apply.
                  enum:
                    - open
                    - all
                    - pending
                    - in_progress
                    - completed
                    - cancelled
                  type: string
                subject:
                  description: >-
                    Narrow by producer or client manager, or read as a member.
                    view selects whose tasks; own and book are not admitted.
                  items:
                    type: string
                  type:
                    - array
                    - 'null'
                type:
                  description: >-
                    Keeps Navigator tasks of this exact type code. AMS 360 and
                    ledger tasks carry no type, so any value leaves them out.
                  type: string
                view:
                  description: >-
                    Whose tasks; leave it out for the person's own tasks (the
                    seat's default book); mine is assigned to them, all is every
                    task in scope, delegated is passed on. Left out, a person
                    seat reads mine and a leader or whole-book seat reads all:
                    either is the person's own task list, so answer my tasks
                    from that read, with no subject, and say whose work it
                    holds. mine also holds unassigned ledger tasks they wrote;
                    delegated is a task they wrote that someone else holds.
                  enum:
                    - mine
                    - all
                    - delegated
                  type: string
                work_view:
                  description: >-
                    A named open-work window with API-owned dates, order and row
                    cap. today also answers overdue_total. overdue answers the
                    total of open overdue work and no rows; send include_total.
                  enum:
                    - today
                    - overdue
                  type: string
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskList'
          description: OK
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Bad Request
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Forbidden
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Not Found
        '424':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Failed Dependency
        '429':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Too Many Requests
        '500':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Internal Server Error
        '503':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Service Unavailable
        '504':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Gateway Timeout
      security:
        - bearer: []
components:
  schemas:
    TaskList:
      additionalProperties: false
      properties:
        data:
          description: One page of the collection, in the requested sort order.
          items:
            $ref: '#/components/schemas/TaskRecord'
          type:
            - array
            - 'null'
        facets:
          additionalProperties:
            items:
              $ref: '#/components/schemas/FacetValue'
            type:
              - array
              - 'null'
          description: Present only for the facets the request named in facets=.
          type: object
        missing_count:
          description: >-
            For a hierarchy read, source records missing the requested level
            after source filters, before name/ID filters and pagination. Present
            even when zero or the page is empty.
          format: int64
          type: integer
        overdue_total:
          $ref: '#/components/schemas/Total'
          description: >-
            With work_view=today: the open tasks due before today under the same
            view and subject, the total work_view=overdue answers. Absent on
            every other read and on a rows_only read.
        page:
          $ref: '#/components/schemas/Page'
        request_id:
          description: The request id, as echoed in the Nexio-Request-Id response header.
          type: string
        rows_only:
          description: >-
            true when the request sent rows_only: the answer holds the page's
            rows and page.next alone. total, facets and view are absent because
            they were not read, not because they are 0 or empty.
          type: boolean
        source:
          $ref: '#/components/schemas/Source'
        total:
          $ref: '#/components/schemas/Total'
          description: Present only when the request sent include_total=true.
        unreachable:
          description: >-
            Parts of the answer no source could fill, each with its reason.
            Empty when every part was filled.
          items:
            $ref: '#/components/schemas/Unreachable'
          type:
            - array
            - 'null'
        view:
          $ref: '#/components/schemas/View'
          description: >-
            The register view's filters this read applied, each with its options
            and counts, its default and applied value, and how many rows they
            hide. Absent on a work_view or rows_only read.
        warnings:
          description: >-
            Adjustments the platform made to the request (a coerced limit, a
            dropped facet).
          items:
            $ref: '#/components/schemas/Warning'
          type:
            - array
            - 'null'
        work_window:
          $ref: '#/components/schemas/RegisterWorkWindow'
      required:
        - data
        - page
        - source
        - unreachable
        - warnings
        - request_id
      type: object
    Problem:
      additionalProperties: false
      properties:
        code:
          description: >-
            The stable machine-readable error code, UPPER_SNAKE_CASE, one
            meaning forever.
          enum:
            - INVALID_ARGUMENT
            - UNAUTHENTICATED
            - CAPABILITY_DENIED
            - NOT_VISIBLE_OR_ABSENT
            - IDEMPOTENT_REQUEST_IN_FLIGHT
            - ETAG_MISMATCH
            - VALIDATION_FAILED
            - IDEMPOTENCY_KEY_PAYLOAD_MISMATCH
            - SOURCE_UNAVAILABLE
            - RATE_LIMITED
            - INTERNAL
            - DEADLINE_EXCEEDED
            - UNAVAILABLE
            - CLIENT_CLOSED_REQUEST
          type: string
        detail:
          description: A human-readable sentence about this occurrence.
          type: string
        details:
          description: >-
            Structured detail for the reason (for example which owner selection
            rule failed). A Records refusal names its reason code in
            details.reason; a projection refusal (SOURCE_UNAVAILABLE) also names
            its closed subtype in details.subtype (admission_pending, no_build,
            binding_changed, agency_admission_unbounded,
            authority_coordinates_changed, guard_absent, derivation_unaccepted),
            and only admission_pending, which clears by itself, also carries
            details.retry_after_ms, equal to retry_after_ms and the Retry-After
            header.
        errors:
          description: Each invalid parameter, for INVALID_ARGUMENT.
          items:
            $ref: '#/components/schemas/ProblemError'
          type:
            - array
            - 'null'
        instance:
          description: The request path this occurrence answered.
          type: string
        reason:
          description: >-
            The finer cause within the code, UPPER_SNAKE_CASE (for example
            SCOPE_UNAVAILABLE under CAPABILITY_DENIED).
          type: string
        request_id:
          description: The request id, as echoed in the Nexio-Request-Id response header.
          type: string
        retry_after_ms:
          description: When a retry may succeed, the wait before it.
          format: int64
          type: integer
        status:
          description: The HTTP status code.
          format: int64
          type: integer
        title:
          description: The HTTP status phrase.
          type: string
        type:
          description: A URI naming the problem type, derived from the code.
          type: string
      required:
        - type
        - title
        - status
        - code
        - request_id
      type: object
    TaskRecord:
      additionalProperties: false
      properties:
        account_id:
          type: string
        account_name:
          type: string
        account_premium:
          description: >-
            An AMS 360 suspense's account premium: the effective premium of the
            account's in-force terms, summed. Served with assigned_to,
            sort=premium or the producer facet.
          format: double
          type: number
        assigned_to:
          type: string
        author_principal:
          type: string
        created_at:
          type: string
        data: {}
        description:
          type: string
        due_date:
          type: string
        due_in_days:
          format: int64
          type:
            - integer
            - 'null'
        id:
          type: string
        linked_work:
          $ref: '#/components/schemas/TaskLinkedWork'
          description: >-
            A workspace task on a Workbench-native account: the work item it
            opens, when one derives.
        origin:
          type: string
        origin_sentence:
          type: string
        policy_check:
          $ref: '#/components/schemas/TaskPolicyCheck'
          description: >-
            A policy check task: the policy's bound terms, each checked line and
            the completion, as the platform recorded them.
        priority:
          type: string
        producer_name:
          description: >-
            An AMS 360 suspense's account producer, as the Accounts register
            names it. Served with assigned_to, sort=premium or the producer
            facet.
          type: string
        reality:
          $ref: '#/components/schemas/TaskReality'
          description: >-
            A workspace task on a Workbench-native account: whether completed
            reality has overtaken it.
        related_policy:
          $ref: '#/components/schemas/TaskRelatedPolicy'
          description: >-
            A workspace task on a Workbench-native account that names one of the
            account's policies: that policy.
        source:
          type: string
        state:
          anyOf:
            - $ref: '#/components/schemas/MachineState'
              description: >-
                The status with its label, settled flag and tone from the org's
                declared task_status machine; null when the org declares no
                task_status machine.
            - type: 'null'
        status:
          description: >-
            The task's status, one of the task_status machine's values (GET
            /records/machines/task_status).
          enum:
            - pending
            - in_progress
            - completed
            - cancelled
          type: string
        suspense:
          $ref: '#/components/schemas/SuspenseFacts'
          description: >-
            An AMS 360 suspense row's body read into its code and description;
            absent on every other row.
        title:
          type: string
        type:
          type: string
        urgency:
          enum:
            - info
            - warning
          type: string
      required:
        - state
        - due_in_days
        - urgency
        - source
        - id
        - title
        - status
        - priority
        - origin
        - data
      type: object
    FacetValue:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        description:
          type: string
        label:
          type: string
        parent:
          type: string
        value:
          type: string
      required:
        - value
        - count
      type: object
    Total:
      additionalProperties: false
      properties:
        exact:
          type: boolean
        value:
          format: int64
          type: integer
      required:
        - value
        - exact
      type: object
    Page:
      additionalProperties: false
      properties:
        cursor:
          description: The cursor that produced this page; null for the first page.
          type:
            - string
            - 'null'
        limit:
          description: >-
            The page size the platform applied, after any coercion (see
            warnings).
          format: int64
          type: integer
        max_limit:
          description: >-
            The largest page size this collection serves for this request's
            view; a larger limit is coerced to it (see warnings). A reader that
            wants the whole set in one page reads at this ceiling. Absent where
            the collection states none.
          format: int64
          type: integer
        next:
          description: The cursor of the following page; null at the end of the collection.
          type:
            - string
            - 'null'
        offset:
          description: >-
            The rows skipped before this page, echoed only when the request sent
            offset (a register's page jump).
          format: int64
          type: integer
        prev:
          description: The cursor of the preceding page; null on the first page.
          type:
            - string
            - 'null'
      required:
        - cursor
        - next
        - prev
        - limit
      type: object
    Source:
      additionalProperties: false
      properties:
        actor:
          $ref: '#/components/schemas/Actor'
        connection:
          description: >-
            The id of the connection that answered; empty when the read had no
            connection.
          type: string
        coverage:
          $ref: '#/components/schemas/SourceCoverage'
          description: >-
            What the family's data has: late only when its source is older than
            its measured window, and the gaps a reader states where it shows an
            absence for the family.
        elapsed_ms:
          description: A live source's call time for this read.
          format: int64
          type: integer
        family:
          description: The registry family that answered.
          type: string
        freshness:
          description: >-
            The freshness word as served before freshness_promised and
            freshness_observed existed; read those two instead.
          type: string
        freshness_observed:
          description: >-
            What this read observed: settled or prior_stable (the warehouse
            pin), reused (a kept answer of the same statement and data version),
            live (a call answered now), fresh or stale.
          type: string
        freshness_promised:
          description: >-
            What the source promises: pinned (the warehouse, read at a pinned
            instant), live (the system of record, per call), store (the
            platform's own store) or computed (a derived function over other
            reads).
          type: string
        id:
          description: >-
            The registry source id (warehouse, ams360_ems, ...), empty when
            absent.
          type: string
        kind:
          description: >-
            The kind of source that answered: the warehouse, the customer's
            system of record (whichever vendor; the vendor is in id), the
            platform's own store, or absent when no source serves the family.
          enum:
            - warehouse
            - system
            - store
            - absent
          type: string
        operations:
          description: >-
            What ran to serve this answer, in order: the warehouse statements,
            vendor operations, store families or functions. Empty only when no
            source serves the family.
          items:
            $ref: '#/components/schemas/SourceOperation'
          type:
            - array
            - 'null'
        origin:
          description: Which input decided the source.
          enum:
            - default
            - connection
            - seat
          type: string
        reason:
          $ref: '#/components/schemas/SourceReason'
          description: Why the family is absent, when kind is absent.
        snapshot_at:
          description: >-
            The instant the rows were read at: the warehouse pin, or the live
            call's time.
          format: date-time
          type:
            - string
            - 'null'
        snapshot_id:
          description: The warehouse snapshot the rows came from, when one names them.
          type: string
        stale_since:
          description: When the snapshot stopped being current, for a stale read.
          format: date-time
          type: string
        subject:
          $ref: '#/components/schemas/Subject'
        system:
          deprecated: true
          description: >-
            deprecated: read kind; removed with generation 1. The system behind
            the source.
          enum:
            - warehouse
            - ams360
            - store
            - absent
          type: string
      required:
        - coverage
        - family
        - kind
        - connection
        - system
        - id
        - origin
        - freshness
        - freshness_promised
        - snapshot_at
        - operations
        - subject
        - actor
      type: object
    Unreachable:
      additionalProperties: false
      properties:
        detail:
          type: string
        part:
          description: The envelope part (a field path or a child family).
          type: string
        reason:
          description: 'Why: no_adapter, not_documented, absent, source_unavailable, ...'
          type: string
        ref:
          description: The vendor reference id of the call that failed, when one did.
          type: string
      required:
        - part
        - reason
      type: object
    View:
      additionalProperties: false
      properties:
        columns:
          $ref: '#/components/schemas/Columns'
          description: >-
            Every column the seat may show, its role's default columns and the
            columns this person shows.
        filters:
          items:
            $ref: '#/components/schemas/Filter'
          type:
            - array
            - 'null'
        hidden:
          $ref: '#/components/schemas/Hidden'
      required:
        - filters
        - hidden
      type: object
    Warning:
      additionalProperties: false
      properties:
        code:
          description: >-
            UPPER_SNAKE_CASE, one meaning forever (LIMIT_COERCED, FACET_DROPPED,
            ...).
          type: string
        detail:
          type: string
      required:
        - code
      type: object
    RegisterWorkWindow:
      additionalProperties: false
      properties:
        bands:
          description: >-
            The today work view's day bands of the renewal window (0 to 30, 30
            to 60, 60 to 120, 120 to the window's end): per band, the policies
            of the view's selection expiring in it, the accounts whose nearest
            selected renewal does, and those of them still open that the status
            rule left unbanded. The same counts as rollups.renewals.facets.bands
            on the same read; present on every today read, absent on every other
            view.
          items:
            $ref: '#/components/schemas/BookRenewalRegisterBand'
          type:
            - array
            - 'null'
        days_from:
          format: int64
          type:
            - integer
            - 'null'
        days_to:
          description: Exclusive upper day boundary.
          format: int64
          type:
            - integer
            - 'null'
        limit:
          format: int64
          type: integer
        name:
          type: string
      required:
        - name
        - days_from
        - days_to
        - limit
      type: object
    ProblemError:
      additionalProperties: false
      properties:
        location:
          description: Where the input was, for example query.limit.
          type: string
        message:
          type: string
        value: {}
      required:
        - message
      type: object
    TaskLinkedWork:
      additionalProperties: false
      properties:
        action:
          $ref: '#/components/schemas/TaskWorkAction'
        id:
          description: The derived work item's id.
          type: string
        kind:
          description: The work item's kind.
          enum:
            - renewal
            - fire_drill
            - quote_review
            - dispute
            - follow_up
            - service
          type: string
      required:
        - id
        - kind
        - action
      type: object
    TaskPolicyCheck:
      additionalProperties: false
      properties:
        boundTerms:
          $ref: '#/components/schemas/TaskPolicyCheckTerms'
          description: >-
            The policy's bound terms the check reads, or null when the policy
            carries none.
        completedAt:
          description: When the check was completed, as an ISO 8601 time.
          type: string
        completedBy:
          description: The person who completed the check.
          type: string
        lines:
          description: One line per bound term, in the order the check lists them.
          items:
            $ref: '#/components/schemas/TaskPolicyCheckLine'
          type:
            - array
            - 'null'
        policyId:
          description: The policy the check is about.
          type: string
        scheduleUnread:
          description: >-
            Set when the check's coverage schedule and forms were not read at
            start, so the checklist holds only the premium and term dates:
            not_permitted (the seat that started it may not read the policy's
            coverage record) or source_absent (the book serves no coverage for
            the policy). Absent when they were read.
          enum:
            - not_permitted
            - source_absent
          type: string
        source:
          description: >-
            How the check started: manual (a person on the policy page) or
            document (an issued policy document).
          enum:
            - manual
            - document
          type: string
      required:
        - source
        - policyId
        - boundTerms
        - lines
      type: object
    TaskReality:
      additionalProperties: false
      properties:
        reason:
          description: When overtaken, one sentence naming what resolved.
          type: string
        state:
          description: overtaken when completed reality contradicts the open task.
          enum:
            - consistent
            - overtaken
          type: string
      required:
        - state
      type: object
    TaskRelatedPolicy:
      additionalProperties: false
      properties:
        expiration_date:
          type: string
        id:
          type: string
        line_of_business:
          type: string
      required:
        - id
      type: object
    MachineState:
      additionalProperties: false
      properties:
        label:
          description: >-
            The words a person sees for the value; null when the machine labels
            none.
          type:
            - string
            - 'null'
        machine:
          description: The machine's state field (GET /records/machines/{field}).
          type: string
        next:
          anyOf:
            - $ref: '#/components/schemas/MachineNextStep'
              description: The next step served for the value; null when it has none.
            - type: 'null'
        settled:
          description: True when the value ends the work.
          type: boolean
        step:
          description: The workflow step the value sits in; null when it sits in none.
          type:
            - string
            - 'null'
        tone:
          description: The tone the value is shown with; null when the machine gives none.
          enum:
            - neutral
            - positive
            - warning
            - danger
            - null
          type:
            - string
            - 'null'
        value:
          type: string
      required:
        - machine
        - value
        - label
        - step
        - settled
        - tone
        - next
      type: object
    SuspenseFacts:
      additionalProperties: false
      properties:
        code:
          description: >-
            The suspense code from the body's "Code: ... Desc:" layout; absent
            when the body carries none.
          type: string
        description:
          description: >-
            The body's "Desc:" text up to "Operator:" or "Who:"; the whole
            trimmed body when it carries no description; null when the body is
            blank.
          type:
            - string
            - 'null'
      required:
        - description
      type: object
    Actor:
      additionalProperties: false
      properties:
        impersonation_kind:
          enum:
            - act_as
            - workos
          type: string
        impersonator:
          description: The operator behind an impersonated session.
          type: string
        member:
          description: The acting member (Nexio-Act-As); empty for a key acting as itself.
          type: string
      type: object
    SourceCoverage:
      additionalProperties: false
      properties:
        as_of:
          description: >-
            The earliest as-of among the family's sources, present only when the
            state is late.
          format: date-time
          type: string
        gaps:
          description: >-
            The family's absence gaps, each stated in plain words with its share
            and whose it is to fill. Empty when the family has none.
          items:
            $ref: '#/components/schemas/CoverageGap'
          type: array
        late:
          $ref: '#/components/schemas/CoverageLate'
          description: Present only when the state is late.
        state:
          description: >-
            late: a source is older than its measured window. current: no source
            is late. unmeasured: no source with a refresh cadence has two stored
            commits yet, so no window is known.
          enum:
            - current
            - late
            - unmeasured
          type: string
      required:
        - state
        - gaps
      type: object
    SourceOperation:
      additionalProperties: false
      properties:
        kind:
          description: >-
            statement: a registered warehouse statement; vendor: a system of
            record operation; store: a platform store family; compute: a derived
            function.
          enum:
            - statement
            - vendor
            - store
            - compute
          type: string
        ref:
          description: >-
            The statement name, the Records operation ref, the store family or
            the function.
          type: string
        reused:
          description: >-
            True when a kept answer of the same statement and data version was
            replayed instead of run.
          type: boolean
      required:
        - kind
        - ref
        - reused
      type: object
    SourceReason:
      additionalProperties: false
      properties:
        kind:
          type: string
        note:
          type: string
        ref:
          type: string
      required:
        - kind
      type: object
    Subject:
      additionalProperties: false
      properties:
        member:
          $ref: '#/components/schemas/SubjectMember'
          description: >-
            The member whose book was read, when the request read as another
            member.
        scope:
          description: The scope kind the acting seat resolved to (self, office, all, ...).
          type: string
        selection:
          description: >-
            The subject selection served, as subject= tokens (own,
            book:&lt;code&gt;, producer:&lt;code|me&gt;,
            client_manager:&lt;code|me&gt;, member:&lt;id&gt;). Empty when none
            was sent.
          items:
            type: string
          type:
            - array
            - 'null'
        selection_kind:
          description: >-
            own, code, client_manager, account, boundary or whole: what the
            served relation is.
          type: string
        selection_source:
          description: >-
            request when the caller chose the selection; none when it chose
            nothing.
          type: string
      required:
        - scope
        - selection
        - selection_kind
        - selection_source
      type: object
    Columns:
      additionalProperties: false
      properties:
        available:
          description: Every labeled field the register serves that this seat may read.
          items:
            $ref: '#/components/schemas/Column'
          type:
            - array
            - 'null'
        default:
          description: The columns the seat's role shows with nothing chosen, in order.
          items:
            type: string
          type:
            - array
            - 'null'
        shown:
          description: >-
            The columns this person shows, in order: their saved choice, else
            the default.
          items:
            type: string
          type:
            - array
            - 'null'
      required:
        - available
        - default
        - shown
      type: object
    Filter:
      additionalProperties: false
      properties:
        applied:
          description: The value this read used.
          oneOf:
            - items:
                type: string
              type: array
            - type: integer
            - type: boolean
            - type: string
        default:
          description: The value with nothing chosen.
          oneOf:
            - items:
                type: string
              type: array
            - type: integer
            - type: boolean
            - type: string
        key:
          type: string
        option_count:
          description: Values the filter holds.
          format: int64
          type: integer
        options:
          description: A multiselect's values with their counts, in the order they show.
          items:
            $ref: '#/components/schemas/Option'
          type:
            - array
            - 'null'
        truncated:
          description: More values than options; search with options_q.&lt;key&gt;.
          type: boolean
        type:
          enum:
            - multiselect
            - days
            - toggle
            - select
            - amount
          type: string
      required:
        - key
        - type
        - default
        - applied
      type: object
    Hidden:
      additionalProperties: false
      properties:
        by_filter:
          additionalProperties:
            format: int64
            type: integer
          description: >-
            Rows each filter removes from what every other filter keeps. These
            overlap and need not sum to total.
          type: object
        total:
          description: >-
            Rows the other filters keep minus the rows shown: turning every
            filter of this block off shows exactly this many more.
          format: int64
          type: integer
      required:
        - total
        - by_filter
      type: object
    BookRenewalRegisterBand:
      additionalProperties: false
      properties:
        accounts:
          format: int64
          type: integer
        days_from:
          format: int64
          type: integer
        days_to:
          format: int64
          type: integer
        open_accounts:
          format: int64
          type: integer
        policies:
          format: int64
          type: integer
      required:
        - days_from
        - days_to
        - policies
        - accounts
        - open_accounts
      type: object
    TaskWorkAction:
      additionalProperties: false
      properties:
        expiration_date:
          description: >-
            The policy's expiration, for a renewal_stage action on a renewal
            work item.
          type: string
        kind:
          description: >-
            renewal_stage: the stage action on the policy's renewal; account:
            the account (a notice); account_file: the account file (an urgent
            task); compare_quotes: the submission's quote comparison;
            certificate: the general liability policy's certificate check.
          enum:
            - renewal_stage
            - account
            - account_file
            - compare_quotes
            - certificate
          type: string
        line_of_business:
          description: >-
            The policy's line, for a renewal_stage action on a renewal work
            item.
          type: string
        placement_id:
          description: The placement the renewal opened.
          type: string
        policy_id:
          type: string
        renewal_stage:
          description: The renewal stage the action is for.
          type: string
        submission_id:
          type: string
      required:
        - kind
      type: object
    TaskPolicyCheckTerms:
      additionalProperties: false
      properties:
        coverages:
          items:
            $ref: '#/components/schemas/TaskPolicyCheckCoverage'
          type:
            - array
            - 'null'
        deductibles:
          items:
            $ref: '#/components/schemas/TaskPolicyCheckDeductible'
          type:
            - array
            - 'null'
        effectiveDate:
          type: string
        expirationDate:
          type: string
        forms:
          description: Each form as its number, edition and title joined by a middle dot.
          items:
            type: string
          type:
            - array
            - 'null'
        limits:
          items:
            $ref: '#/components/schemas/TaskPolicyCheckLimit'
          type:
            - array
            - 'null'
        namedInsureds:
          items:
            type: string
          type:
            - array
            - 'null'
        premium:
          description: The bound full-term premium, or null when the book prices none.
          format: double
          type:
            - number
            - 'null'
      required:
        - coverages
        - deductibles
        - limits
        - premium
        - effectiveDate
        - expirationDate
        - forms
      type: object
    TaskPolicyCheckLine:
      additionalProperties: false
      properties:
        boundValue:
          description: The bound value, as printed.
          type: string
        field:
          description: >-
            The term's stable key on the check (premium, effectiveDate,
            limit:&lt;type&gt; and the rest).
          type: string
        issuedValue:
          description: The value on the issued policy a person entered, or empty.
          type: string
        status:
          description: >-
            The person's result for the line: pending until they mark it a match
            or a discrepancy.
          enum:
            - pending
            - match
            - discrepancy
          type: string
        term:
          description: The term as a person reads it.
          type: string
      required:
        - field
        - term
        - boundValue
        - issuedValue
        - status
      type: object
    MachineNextStep:
      additionalProperties: false
      properties:
        key:
          description: The next step key.
          type: string
        label:
          description: The words a person sees for the step.
          type: string
        waiting_on:
          description: Who the work waits on at this step.
          type: string
      required:
        - key
      type: object
    CoverageGap:
      additionalProperties: false
      properties:
        code:
          description: Stable gap code.
          type: string
        owner:
          description: Who keeps the source that would fill the gap.
          enum:
            - firm
            - vertafore
            - nexio
          type: string
        section_field:
          description: >-
            Dotted path inside a derived read's section that holds this gap's
            fact: the gap applies when that value is empty.
          type: string
        section_lines:
          description: >-
            AMS 360 line codes the gap speaks to: it applies only when the
            read's line_codes name one.
          items:
            type: string
          type:
            - array
            - 'null'
        sentence:
          description: >-
            The gap in plain words: the source, the share it covers and whose it
            is to fill.
          type: string
      required:
        - code
        - sentence
        - owner
      type: object
    CoverageLate:
      additionalProperties: false
      properties:
        sentence:
          type: string
      required:
        - sentence
      type: object
    SubjectMember:
      additionalProperties: false
      properties:
        display_name:
          type: string
        id:
          type: string
        scope:
          type: string
      required:
        - id
        - display_name
        - scope
      type: object
    Column:
      additionalProperties: false
      properties:
        description:
          description: What the field holds, from the API contract.
          type: string
        key:
          description: >-
            The served field, dotted for a field inside an object:
            producer.name.
          type: string
        label:
          type: string
        sortable:
          description: The list's sort parameter takes this key.
          type: boolean
        type:
          enum:
            - text
            - number
            - date
            - boolean
            - list
            - object
          type: string
      required:
        - key
        - label
        - type
        - sortable
      type: object
    Option:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        label:
          type: string
        parent:
          description: >-
            The value this option sits under, where the filter groups its
            values: an office's reporting market. Absent when it has none.
          type: string
        uncounted:
          description: >-
            True when the read did not count this option; count is then 0 and
            states nothing. Absent when counted.
          type: boolean
        value:
          type: string
      required:
        - value
        - label
        - count
      type: object
    TaskPolicyCheckCoverage:
      additionalProperties: false
      properties:
        included:
          type: boolean
        name:
          type: string
        sublimit:
          format: double
          type: number
      required:
        - name
        - included
      type: object
    TaskPolicyCheckDeductible:
      additionalProperties: false
      properties:
        amount:
          format: double
          type: number
        basis:
          type: string
        type:
          type: string
      required:
        - type
        - amount
        - basis
      type: object
    TaskPolicyCheckLimit:
      additionalProperties: false
      properties:
        aggregate:
          format: double
          type: number
        perOccurrence:
          format: double
          type: number
        type:
          type: string
      required:
        - type
      type: object
  securitySchemes:
    bearer:
      description: The org's platform API key.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.