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

# Get project items report field schema



## OpenAPI

````yaml /openapi.yaml get /reports/project_items/schema
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:
  /reports/project_items/schema:
    get:
      tags:
        - Report
      summary: Get project items report field schema
      operationId: reports/project_items#schema
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/report_project_items_schema'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
      security:
        - apiKey: []
          workspaceId: []
components:
  schemas:
    report_project_items_schema:
      type: object
      description: >-
        Available merge fields for project-item report templates, derived from
        active product_item and project_item ItemFields plus the workspace and
        project records.
      properties:
        workspace:
          type: object
          properties:
            name:
              type: string
            type:
              type: string
              enum:
                - record
            fields:
              type: object
              additionalProperties:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - string
                      - image
                  name:
                    type: string
                required:
                  - type
                  - name
          required:
            - name
            - type
            - fields
        project:
          type: object
          properties:
            name:
              type: string
            type:
              type: string
              enum:
                - record
            fields:
              type: object
              additionalProperties:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - string
                      - image
                  name:
                    type: string
                required:
                  - type
                  - name
          required:
            - name
            - type
            - fields
        project_items:
          type: object
          properties:
            name:
              type: string
            type:
              type: string
              enum:
                - collection
            fields:
              type: object
              additionalProperties:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - number
                      - string
                      - date
                      - images
                      - docs
                      - strings
                      - boolean
                      - card
                  name:
                    type: string
                  whitelist_values:
                    type: array
                    items:
                      type: string
                  format:
                    type: string
                    enum:
                      - currency
                    description: >-
                      Present on currency-format columns; their values are
                      formatted strings like "USD 1,234.50" (the row's project
                      currency, or the workspace's for product items).
                required:
                  - type
                  - name
          required:
            - name
            - type
            - fields
      required:
        - workspace
        - project
        - project_items
    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.