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

# Held actions: what was asked for, who asked, where it has got to, and what it produced.



## OpenAPI

````yaml /api-reference/openapi.json get /workflow_requests
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes (ADR-014). Reads are security_invoker
    views; writes are SECURITY DEFINER functions. Rebuilt wholesale on every
    deploy — it holds no data.
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - name: Signing in
  - name: Profile
  - name: Assets
  - name: Asset lifecycle
  - name: Work lifecycle
  - name: Maintenance
  - name: Inventory
  - name: Inventory detail
  - name: Procurement
  - name: Contracts
  - name: Workforce
  - name: Capacity
  - name: Dispatch
  - name: Routing
  - name: Tools
  - name: Inspections
  - name: Verification
  - name: Reliability
  - name: Parts demand
  - name: Sensors and meters
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Root cause analysis
  - name: Reports
  - name: Audit center
  - name: Activity
  - name: Notifications
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Files
  - name: Sync
  - name: Support
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Work configuration
  - name: Asset configuration
  - name: Inventory configuration
  - name: Tool configuration
  - name: Workforce configuration
  - name: Vendor and contract configuration
  - name: Document configuration
  - name: Inspection configuration
  - name: Sites, locations and the organisation
  - name: Platform
  - name: Self verification
  - name: Setup
  - name: Tools on a job, and who has them out
  - name: Vendors and contracts
  - name: Work order execution
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /workflow_requests:
    get:
      tags:
        - Workflows
      summary: >-
        Held actions: what was asked for, who asked, where it has got to, and
        what it produced.
      parameters:
        - $ref: '#/components/parameters/rowFilter.workflow_requests.id'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.entity_type'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.entity_label'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.entity_id'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.action'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.status'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.summary'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.site_id'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.site_name'
        - $ref: >-
            #/components/parameters/rowFilter.workflow_requests.requested_by_user_id
        - $ref: '#/components/parameters/rowFilter.workflow_requests.requested_by'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.requested_at'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.decided_at'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.applied_at'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.result_entity_id'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.rejection_reason'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.failure_code'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.failure_message'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.awaiting_apply'
        - $ref: >-
            #/components/parameters/rowFilter.workflow_requests.steps_outstanding
        - $ref: '#/components/parameters/rowFilter.workflow_requests.steps_total'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.minutes_waiting'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.steps_overdue'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.steps_escalated'
        - $ref: >-
            #/components/parameters/rowFilter.workflow_requests.steps_unsatisfiable
        - $ref: '#/components/parameters/rowFilter.workflow_requests.waiting_on'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.workflow_name'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.row_version'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.created_at'
        - $ref: '#/components/parameters/rowFilter.workflow_requests.updated_at'
        - $ref: '#/components/parameters/select'
        - $ref: '#/components/parameters/order'
        - $ref: '#/components/parameters/range'
        - $ref: '#/components/parameters/rangeUnit'
        - $ref: '#/components/parameters/offset'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/preferCount'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/workflow_requests'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/workflow_requests'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/workflow_requests'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/workflow_requests'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.workflow_requests.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.entity_type:
      in: query
      name: entity_type
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.entity_label:
      in: query
      name: entity_label
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.entity_id:
      in: query
      name: entity_id
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.action:
      in: query
      name: action
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.summary:
      in: query
      name: summary
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.site_name:
      in: query
      name: site_name
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.requested_by_user_id:
      in: query
      name: requested_by_user_id
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.requested_by:
      in: query
      name: requested_by
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.requested_at:
      in: query
      name: requested_at
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.decided_at:
      in: query
      name: decided_at
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.applied_at:
      in: query
      name: applied_at
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.result_entity_id:
      in: query
      name: result_entity_id
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.rejection_reason:
      in: query
      name: rejection_reason
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.failure_code:
      in: query
      name: failure_code
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.failure_message:
      in: query
      name: failure_message
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.awaiting_apply:
      in: query
      name: awaiting_apply
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.steps_outstanding:
      in: query
      name: steps_outstanding
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.steps_total:
      in: query
      name: steps_total
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.minutes_waiting:
      in: query
      name: minutes_waiting
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.steps_overdue:
      in: query
      name: steps_overdue
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.steps_escalated:
      in: query
      name: steps_escalated
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.steps_unsatisfiable:
      in: query
      name: steps_unsatisfiable
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.waiting_on:
      in: query
      name: waiting_on
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.workflow_name:
      in: query
      name: workflow_name
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.row_version:
      in: query
      name: row_version
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.created_at:
      in: query
      name: created_at
      required: false
      schema:
        type: string
    rowFilter.workflow_requests.updated_at:
      in: query
      name: updated_at
      required: false
      schema:
        type: string
    select:
      description: Filtering Columns
      in: query
      name: select
      required: false
      schema:
        type: string
    order:
      description: Ordering
      in: query
      name: order
      required: false
      schema:
        type: string
    range:
      description: Limiting and Pagination
      in: header
      name: Range
      required: false
      schema:
        type: string
    rangeUnit:
      description: Limiting and Pagination
      in: header
      name: Range-Unit
      required: false
      schema:
        default: items
        type: string
    offset:
      description: Limiting and Pagination
      in: query
      name: offset
      required: false
      schema:
        type: string
    limit:
      description: Limiting and Pagination
      in: query
      name: limit
      required: false
      schema:
        type: string
    preferCount:
      description: Preference
      in: header
      name: Prefer
      required: false
      schema:
        enum:
          - count=none
        type: string
  schemas:
    workflow_requests:
      description: >-
        Held actions: what was asked for, who asked, where it has got to, and
        what it produced.
      properties:
        action:
          format: character varying
          maxLength: 20
          type: string
        applied_at:
          format: timestamp with time zone
          type: string
        awaiting_apply:
          format: boolean
          type: boolean
        created_at:
          format: timestamp with time zone
          type: string
        decided_at:
          format: timestamp with time zone
          type: string
        entity_id:
          format: uuid
          type: string
        entity_label:
          format: character varying
          maxLength: 120
          type: string
        entity_type:
          description: >-
            Note:

            This is a Foreign Key to `custom_field_scopes.entity`.<fk
            table='custom_field_scopes' column='entity'/>
          format: character varying
          maxLength: 80
          type: string
        failure_code:
          format: character varying
          maxLength: 60
          type: string
        failure_message:
          format: text
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        minutes_waiting:
          format: integer
          type: integer
        rejection_reason:
          format: text
          type: string
        requested_at:
          format: timestamp with time zone
          type: string
        requested_by:
          format: character varying
          maxLength: 200
          type: string
        requested_by_user_id:
          description: >-
            Note:

            This is a Foreign Key to `my_profile.user_id`.<fk table='my_profile'
            column='user_id'/>
          format: uuid
          type: string
        result_entity_id:
          format: uuid
          type: string
        row_version:
          format: bigint
          type: integer
        site_id:
          description: >-
            Note:

            This is a Foreign Key to `site_settings.id`.<fk
            table='site_settings' column='id'/>
          format: uuid
          type: string
        site_name:
          format: character varying
          maxLength: 200
          type: string
        status:
          format: character varying
          maxLength: 20
          type: string
        steps_escalated:
          format: bigint
          type: integer
        steps_outstanding:
          format: bigint
          type: integer
        steps_overdue:
          format: bigint
          type: integer
        steps_total:
          format: bigint
          type: integer
        steps_unsatisfiable:
          format: bigint
          type: integer
        summary:
          format: text
          type: string
        updated_at:
          format: timestamp with time zone
          type: string
        waiting_on:
          format: text
          type: string
        workflow_name:
          format: character varying
          maxLength: 150
          type: string
      type: object

````

## Related topics

- [Copilot activity](/analytics/copilot.md)
- [Rules](/config/rules.md)
- [Approvals](/work/approvals.md)
- [Root cause and corrective actions](/assets/root-cause.md)
- [Working a job](/field/job.md)
