> ## 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.

# Capex plans with what was asked for, what survived, and what is holding them up.



## OpenAPI

````yaml /api-reference/openapi.json get /capex_plans
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes. 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: 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: Amendments
  - name: Asset clone
  - name: Asset components
  - name: Asset register
  - name: Asset transfer
  - name: Audit feed
  - name: Billing
  - name: Bookings
  - name: Budgets
  - name: Bulk jobs
  - name: Calibration history
  - name: Capex plans
  - name: Conversations
  - name: Costing
  - name: Currency
  - name: Dashboards
  - name: Directory sync
  - name: Document control
  - name: Document folders
  - name: Document tree
  - name: Documents
  - name: Energy
  - name: Extracts
  - name: Features
  - name: Feeds
  - name: File exchange
  - name: Filing exceptions
  - name: Finance
  - name: Inbound mail
  - name: Keys
  - name: Knowledge
  - name: Licence
  - name: List views
  - name: Locations
  - name: Mapping
  - name: Mcp
  - name: Mcp oauth
  - name: Mfa
  - name: Numbering
  - name: Permits
  - name: Readers
  - name: Reference
  - name: Reference columns
  - name: Reference entry
  - name: Release
  - name: Scim
  - name: Security streams
  - name: Self verification
  - name: Setup
  - name: Shutdown
  - name: Sso
  - name: Telegram
  - name: Tenant switch
  - name: The caller's own work
  - name: The checklist library
  - name: Tools on a job, and who has them out
  - name: Tray
  - name: Vendor spend forecast
  - name: Vendors and contracts
  - name: Visitors
  - name: Work order execution
  - name: Work sequencing
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /capex_plans:
    get:
      tags:
        - Capex plans
      summary: >-
        Capex plans with what was asked for, what survived, and what is holding
        them up.
      parameters:
        - $ref: '#/components/parameters/rowFilter.capex_plans.id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.code'
        - $ref: '#/components/parameters/rowFilter.capex_plans.name'
        - $ref: '#/components/parameters/rowFilter.capex_plans.description'
        - $ref: '#/components/parameters/rowFilter.capex_plans.level'
        - $ref: '#/components/parameters/rowFilter.capex_plans.status'
        - $ref: '#/components/parameters/rowFilter.capex_plans.company_id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.company_name'
        - $ref: '#/components/parameters/rowFilter.capex_plans.business_unit_id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.division_name'
        - $ref: '#/components/parameters/rowFilter.capex_plans.site_id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.site_name'
        - $ref: '#/components/parameters/rowFilter.capex_plans.department_id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.department_name'
        - $ref: '#/components/parameters/rowFilter.capex_plans.fiscal_calendar_id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.fiscal_calendar_name'
        - $ref: '#/components/parameters/rowFilter.capex_plans.fiscal_year'
        - $ref: '#/components/parameters/rowFilter.capex_plans.currency_id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.currency_code'
        - $ref: '#/components/parameters/rowFilter.capex_plans.submitted_at'
        - $ref: '#/components/parameters/rowFilter.capex_plans.submitted_by_user_id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.submitted_by'
        - $ref: '#/components/parameters/rowFilter.capex_plans.decided_at'
        - $ref: '#/components/parameters/rowFilter.capex_plans.decision_reason'
        - $ref: '#/components/parameters/rowFilter.capex_plans.requested_by_user_id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.requested_by_name'
        - $ref: '#/components/parameters/rowFilter.capex_plans.shared_with_ho_by'
        - $ref: '#/components/parameters/rowFilter.capex_plans.discussion_start_by'
        - $ref: '#/components/parameters/rowFilter.capex_plans.discussion_end_by'
        - $ref: '#/components/parameters/rowFilter.capex_plans.shortlisted_shared_by'
        - $ref: '#/components/parameters/rowFilter.capex_plans.invited_at'
        - $ref: '#/components/parameters/rowFilter.capex_plans.invited_role_ids'
        - $ref: '#/components/parameters/rowFilter.capex_plans.cc_user_ids'
        - $ref: >-
            #/components/parameters/rowFilter.capex_plans.consolidated_into_plan_id
        - $ref: '#/components/parameters/rowFilter.capex_plans.consolidated_into_code'
        - $ref: '#/components/parameters/rowFilter.capex_plans.line_count'
        - $ref: '#/components/parameters/rowFilter.capex_plans.requested_total'
        - $ref: '#/components/parameters/rowFilter.capex_plans.approved_total'
        - $ref: '#/components/parameters/rowFilter.capex_plans.blocking_exceptions'
        - $ref: '#/components/parameters/rowFilter.capex_plans.warnings'
        - $ref: '#/components/parameters/rowFilter.capex_plans.heads_opened'
        - $ref: '#/components/parameters/rowFilter.capex_plans.awaiting_instance_id'
        - $ref: '#/components/parameters/rowFilter.capex_plans.awaiting_since'
        - $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/capex_plans'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/capex_plans'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/capex_plans'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/capex_plans'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.capex_plans.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.capex_plans.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.capex_plans.description:
      in: query
      name: description
      required: false
      schema:
        type: string
    rowFilter.capex_plans.level:
      in: query
      name: level
      required: false
      schema:
        type: string
    rowFilter.capex_plans.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.capex_plans.company_id:
      in: query
      name: company_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.company_name:
      in: query
      name: company_name
      required: false
      schema:
        type: string
    rowFilter.capex_plans.business_unit_id:
      in: query
      name: business_unit_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.division_name:
      in: query
      name: division_name
      required: false
      schema:
        type: string
    rowFilter.capex_plans.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.site_name:
      in: query
      name: site_name
      required: false
      schema:
        type: string
    rowFilter.capex_plans.department_id:
      in: query
      name: department_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.department_name:
      in: query
      name: department_name
      required: false
      schema:
        type: string
    rowFilter.capex_plans.fiscal_calendar_id:
      in: query
      name: fiscal_calendar_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.fiscal_calendar_name:
      in: query
      name: fiscal_calendar_name
      required: false
      schema:
        type: string
    rowFilter.capex_plans.fiscal_year:
      in: query
      name: fiscal_year
      required: false
      schema:
        type: string
    rowFilter.capex_plans.currency_id:
      in: query
      name: currency_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.currency_code:
      in: query
      name: currency_code
      required: false
      schema:
        type: string
    rowFilter.capex_plans.submitted_at:
      in: query
      name: submitted_at
      required: false
      schema:
        type: string
    rowFilter.capex_plans.submitted_by_user_id:
      in: query
      name: submitted_by_user_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.submitted_by:
      in: query
      name: submitted_by
      required: false
      schema:
        type: string
    rowFilter.capex_plans.decided_at:
      in: query
      name: decided_at
      required: false
      schema:
        type: string
    rowFilter.capex_plans.decision_reason:
      in: query
      name: decision_reason
      required: false
      schema:
        type: string
    rowFilter.capex_plans.requested_by_user_id:
      in: query
      name: requested_by_user_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.requested_by_name:
      in: query
      name: requested_by_name
      required: false
      schema:
        type: string
    rowFilter.capex_plans.shared_with_ho_by:
      in: query
      name: shared_with_ho_by
      required: false
      schema:
        type: string
    rowFilter.capex_plans.discussion_start_by:
      in: query
      name: discussion_start_by
      required: false
      schema:
        type: string
    rowFilter.capex_plans.discussion_end_by:
      in: query
      name: discussion_end_by
      required: false
      schema:
        type: string
    rowFilter.capex_plans.shortlisted_shared_by:
      in: query
      name: shortlisted_shared_by
      required: false
      schema:
        type: string
    rowFilter.capex_plans.invited_at:
      in: query
      name: invited_at
      required: false
      schema:
        type: string
    rowFilter.capex_plans.invited_role_ids:
      in: query
      name: invited_role_ids
      required: false
      schema:
        type: string
    rowFilter.capex_plans.cc_user_ids:
      in: query
      name: cc_user_ids
      required: false
      schema:
        type: string
    rowFilter.capex_plans.consolidated_into_plan_id:
      in: query
      name: consolidated_into_plan_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.consolidated_into_code:
      in: query
      name: consolidated_into_code
      required: false
      schema:
        type: string
    rowFilter.capex_plans.line_count:
      in: query
      name: line_count
      required: false
      schema:
        type: string
    rowFilter.capex_plans.requested_total:
      in: query
      name: requested_total
      required: false
      schema:
        type: string
    rowFilter.capex_plans.approved_total:
      in: query
      name: approved_total
      required: false
      schema:
        type: string
    rowFilter.capex_plans.blocking_exceptions:
      in: query
      name: blocking_exceptions
      required: false
      schema:
        type: string
    rowFilter.capex_plans.warnings:
      in: query
      name: warnings
      required: false
      schema:
        type: string
    rowFilter.capex_plans.heads_opened:
      in: query
      name: heads_opened
      required: false
      schema:
        type: string
    rowFilter.capex_plans.awaiting_instance_id:
      in: query
      name: awaiting_instance_id
      required: false
      schema:
        type: string
    rowFilter.capex_plans.awaiting_since:
      in: query
      name: awaiting_since
      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:
    capex_plans:
      description: >-
        Capex plans with what was asked for, what survived, and what is holding
        them up.
      properties:
        approved_total:
          format: numeric
          type: number
        awaiting_instance_id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        awaiting_since:
          format: timestamp with time zone
          type: string
        blocking_exceptions:
          format: bigint
          type: integer
        business_unit_id:
          description: >-
            Note:

            This is a Foreign Key to `business_units.id`.<fk
            table='business_units' column='id'/>
          format: uuid
          type: string
        cc_user_ids:
          format: uuid[]
          items:
            type: string
          type: array
        code:
          format: character varying
          maxLength: 60
          type: string
        company_id:
          description: >-
            Note:

            This is a Foreign Key to `depreciation_packs.company_id`.<fk
            table='depreciation_packs' column='company_id'/>
          format: uuid
          type: string
        company_name:
          format: character varying
          maxLength: 200
          type: string
        consolidated_into_code:
          format: character varying
          maxLength: 60
          type: string
        consolidated_into_plan_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_plans.id`.<fk table='capex_plans'
            column='id'/>
          format: uuid
          type: string
        currency_code:
          format: character varying
          maxLength: 3
          type: string
        currency_id:
          description: >-
            Note:

            This is a Foreign Key to `asset_cost_to_keep.currency_id`.<fk
            table='asset_cost_to_keep' column='currency_id'/>
          format: uuid
          type: string
        decided_at:
          format: timestamp with time zone
          type: string
        decision_reason:
          format: text
          type: string
        department_id:
          description: >-
            Note:

            This is a Foreign Key to `department_settings.id`.<fk
            table='department_settings' column='id'/>
          format: uuid
          type: string
        department_name:
          format: character varying
          maxLength: 200
          type: string
        description:
          format: text
          type: string
        discussion_end_by:
          format: date
          type: string
        discussion_start_by:
          format: date
          type: string
        division_name:
          format: character varying
          maxLength: 200
          type: string
        fiscal_calendar_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_calendars.id`.<fk
            table='capex_calendars' column='id'/>
          format: uuid
          type: string
        fiscal_calendar_name:
          format: character varying
          maxLength: 120
          type: string
        fiscal_year:
          format: integer
          type: integer
        heads_opened:
          format: bigint
          type: integer
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        invited_at:
          format: timestamp with time zone
          type: string
        invited_role_ids:
          format: uuid[]
          items:
            type: string
          type: array
        level:
          format: character varying
          maxLength: 10
          type: string
        line_count:
          format: bigint
          type: integer
        name:
          format: character varying
          maxLength: 200
          type: string
        requested_by_name:
          format: character varying
          maxLength: 200
          type: string
        requested_by_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        requested_total:
          format: numeric
          type: number
        shared_with_ho_by:
          format: date
          type: string
        shortlisted_shared_by:
          format: date
          type: string
        site_id:
          description: >-
            Note:

            This is a Foreign Key to `entry_currencies.for_site_id`.<fk
            table='entry_currencies' column='for_site_id'/>
          format: uuid
          type: string
        site_name:
          format: character varying
          maxLength: 200
          type: string
        status:
          format: character varying
          maxLength: 12
          type: string
        submitted_at:
          format: timestamp with time zone
          type: string
        submitted_by:
          format: character varying
          maxLength: 200
          type: string
        submitted_by_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        warnings:
          format: bigint
          type: integer
      type: object

````