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

# List workspace item fields (body-based filter)



## OpenAPI

````yaml /openapi.yaml post /item_fields/find_item_fields
openapi: 3.0.1
info:
  title: GetSpecs REST API
  description: REST API documentation for GetSpecs.
  version: 1.0.0
servers:
  - url: /v1
  - url: https://demo-api.getspecs.io/v1
security: []
paths:
  /item_fields/find_item_fields:
    post:
      tags:
        - ItemField
      summary: List workspace item fields (body-based filter)
      operationId: item_fields#find_item_fields
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/requestBodyItemFieldFindItemFields'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/item_field'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
      security:
        - apiKey: []
          workspaceId: []
components:
  schemas:
    requestBodyItemFieldFindItemFields:
      type: object
      properties:
        filter:
          type: object
          properties:
            name:
              type: string
            status:
              type: string
              description: active (default) or archived
            ids:
              type: array
              items:
                type: integer
            exclude_ids:
              type: array
              items:
                type: integer
            field_types:
              type: array
              items:
                type: string
            logic_types:
              type: array
              items:
                type: string
            slugs:
              type: array
              items:
                type: string
        table_view_id:
          type: integer
    item_field:
      type: object
      properties:
        id:
          type: integer
        slug:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        field_type:
          type: string
          enum:
            - number
            - percent
            - string
            - date
            - images
            - docs
            - list
            - multiselect
            - boolean
            - contact
            - item_card
            - quantity
            - areas_list
        format:
          type: string
          enum:
            - default
            - currency
          description: >-
            How the column is displayed. `currency` (number columns only) shows
            the row's currency — the project's for project items, the
            workspace's for product items.
        options:
          type: array
          nullable: true
          items:
            type: object
            properties:
              key:
                type: string
              label:
                type: string
              archived:
                type: boolean
              slug:
                type: string
                nullable: true
              tag:
                type: string
                nullable: true
                description: >-
                  For contact columns — a company tag the column is restricted
                  to.
        bulk_update:
          type: boolean
        sortable:
          type: boolean
        position:
          type: integer
        association_type:
          type: string
          nullable: true
        editable:
          type: boolean
        deletable:
          type: boolean
        deleted_at:
          type: string
          format: date-time
          nullable: true
    error:
      type: object
      properties:
        error:
          type: string
        errors:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
                nullable: true
              code:
                type: string
                nullable: true
              message:
                type: string
            required:
              - message
  securitySchemes:
    apiKey:
      type: apiKey
      name: authorization
      in: header
    workspaceId:
      type: apiKey
      name: X-Workspace-ID
      in: header

````

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