> ## 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 cross-project baseline items report field schema

> Merge fields for cross-project baseline pdf templates. Fixed per report kind, not per workspace.



## OpenAPI

````yaml /openapi.yaml get /reports/cross_project_baseline_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/cross_project_baseline_items/schema:
    get:
      tags:
        - Report
      summary: Get cross-project baseline items report field schema
      description: >-
        Merge fields for cross-project baseline pdf templates. Fixed per report
        kind, not per workspace.
      operationId: reports/cross_project_baseline_items#schema
      parameters:
        - name: X-Workspace-ID
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/report_cross_project_baseline_items_schema
        '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_cross_project_baseline_items_schema:
      type: object
      description: >-
        Available merge fields for cross-project baseline report templates.
        Fixed (baseline rows are not ItemField data): the `workspace` record
        plus the `cross_project_baseline_items` collection, whose fields are the
        xlsx report's column keys — the package baseline columns plus `project`
        and `package` (their names). `image` resolves to the row image's url,
        `package_section` to the section's "Parent / Child" path,
        prices/quantity to numbers.
      properties:
        workspace:
          $ref: '#/components/schemas/report_schema_record'
        cross_project_baseline_items:
          type: object
          properties:
            name:
              type: string
            type:
              type: string
              enum:
                - collection
            fields:
              type: object
              additionalProperties:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - string
                      - number
                      - image
                  name:
                    type: string
                  whitelist_values:
                    type: array
                    items:
                      type: string
                required:
                  - type
                  - name
          required:
            - name
            - type
            - fields
      required:
        - workspace
        - cross_project_baseline_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
    report_schema_record:
      type: object
      properties:
        name:
          type: string
        type:
          type: string
          enum:
            - record
        fields:
          type: object
          additionalProperties:
            type: object
            properties:
              type:
                type: string
                enum:
                  - string
                  - image
                  - date
              name:
                type: string
            required:
              - type
              - name
      required:
        - name
        - type
        - fields
  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.