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

# Preview



## OpenAPI

````yaml /openapi.json get /v1/workspaces/{workspaceId}/presentations/{presentationId}/sync-updates
openapi: 3.1.0
info:
  title: Specurate API
  description: ''
  version: 1.0.0
  contact: {}
servers:
  - url: https://app.specurate.com/api
    description: API Server
security: []
tags: []
paths:
  /v1/workspaces/{workspaceId}/presentations/{presentationId}/sync-updates:
    get:
      tags:
        - Presentation Sync
      summary: Preview
      operationId: PresentationSyncController_preview_v1
      parameters:
        - name: workspaceId
          required: true
          in: path
          schema:
            type: string
        - name: presentationId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PresentationSyncUpdatesDto'
components:
  schemas:
    PresentationSyncUpdatesDto:
      type: object
      properties:
        cards:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              ref:
                oneOf:
                  - type: object
                    properties:
                      kind:
                        enum:
                          - project_item
                        type: string
                      slotId:
                        type: string
                        pattern: ^[1-9]\d{0,18}$
                    required:
                      - kind
                      - slotId
                    additionalProperties: false
                  - type: object
                    properties:
                      kind:
                        type: string
                        enum:
                          - catalog_item
                      catalogItemId:
                        type: string
                        pattern: ^[1-9]\d{0,18}$
                    required:
                      - kind
                      - catalogItemId
                    additionalProperties: false
                  - type: object
                    properties:
                      kind:
                        type: string
                        enum:
                          - presentation_item
                      presentationItemId:
                        type: string
                        pattern: ^[1-9]\d{0,18}$
                    required:
                      - kind
                      - presentationItemId
                    additionalProperties: false
              direction:
                type: string
                enum:
                  - from_project
                  - to_project
              kind:
                type: string
                enum:
                  - update
                  - add
                  - source_missing
              title:
                type: string
              thumbnailUrl:
                type:
                  - string
                  - 'null'
              target:
                anyOf:
                  - type: object
                    properties:
                      projectId:
                        type: string
                      projectName:
                        type: string
                      slotId:
                        type:
                          - string
                          - 'null'
                      itemId:
                        type:
                          - string
                          - 'null'
                      areaId:
                        type:
                          - string
                          - 'null'
                      areaName:
                        type:
                          - string
                          - 'null'
                    required:
                      - projectId
                      - projectName
                      - slotId
                      - itemId
                      - areaId
                      - areaName
                    additionalProperties: false
                  - type: 'null'
              fields:
                type: array
                items:
                  type: object
                  properties:
                    key:
                      type: string
                    label:
                      type: string
                    before:
                      anyOf:
                        - type: string
                        - type: number
                        - type: 'null'
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - photos
                            count:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - kind
                            - count
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - price
                            amount:
                              type: number
                          required:
                            - kind
                            - amount
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - unavailable
                            reference:
                              type: string
                              enum:
                                - company
                                - category
                                - productType
                                - source
                          required:
                            - kind
                            - reference
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - source
                            company:
                              type:
                                - string
                                - 'null'
                            office:
                              type:
                                - string
                                - 'null'
                          required:
                            - kind
                            - company
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - counts
                            materials:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            linkedItems:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            alternatives:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - kind
                            - materials
                            - linkedItems
                            - alternatives
                          additionalProperties: false
                    after:
                      anyOf:
                        - type: string
                        - type: number
                        - type: 'null'
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - photos
                            count:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - kind
                            - count
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - price
                            amount:
                              type: number
                          required:
                            - kind
                            - amount
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - unavailable
                            reference:
                              type: string
                              enum:
                                - company
                                - category
                                - productType
                                - source
                          required:
                            - kind
                            - reference
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - source
                            company:
                              type:
                                - string
                                - 'null'
                            office:
                              type:
                                - string
                                - 'null'
                          required:
                            - kind
                            - company
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - counts
                            materials:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            linkedItems:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            alternatives:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - kind
                            - materials
                            - linkedItems
                            - alternatives
                          additionalProperties: false
                    conflict:
                      type: boolean
                    sourceValue:
                      anyOf:
                        - type: string
                        - type: number
                        - type: 'null'
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - photos
                            count:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - kind
                            - count
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - price
                            amount:
                              type: number
                          required:
                            - kind
                            - amount
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - unavailable
                            reference:
                              type: string
                              enum:
                                - company
                                - category
                                - productType
                                - source
                          required:
                            - kind
                            - reference
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - source
                            company:
                              type:
                                - string
                                - 'null'
                            office:
                              type:
                                - string
                                - 'null'
                          required:
                            - kind
                            - company
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - counts
                            materials:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            linkedItems:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            alternatives:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - kind
                            - materials
                            - linkedItems
                            - alternatives
                          additionalProperties: false
                    presentationValue:
                      anyOf:
                        - type: string
                        - type: number
                        - type: 'null'
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - photos
                            count:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - kind
                            - count
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - price
                            amount:
                              type: number
                          required:
                            - kind
                            - amount
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - unavailable
                            reference:
                              type: string
                              enum:
                                - company
                                - category
                                - productType
                                - source
                          required:
                            - kind
                            - reference
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - source
                            company:
                              type:
                                - string
                                - 'null'
                            office:
                              type:
                                - string
                                - 'null'
                          required:
                            - kind
                            - company
                          additionalProperties: false
                        - type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - counts
                            materials:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            linkedItems:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            alternatives:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - kind
                            - materials
                            - linkedItems
                            - alternatives
                          additionalProperties: false
                    beforeImages:
                      type: array
                      items:
                        type: string
                    afterImages:
                      type: array
                      items:
                        type: string
                  required:
                    - key
                    - label
                    - before
                    - after
                    - conflict
                    - sourceValue
                    - presentationValue
                  additionalProperties: false
              fingerprint:
                type: string
                pattern: ^[a-f0-9]{64}$
              sharedEffects:
                type: array
                items:
                  type: string
                  enum:
                    - catalog_price
                    - catalog_source
                    - catalog_product
              canApply:
                type: boolean
              unavailableReason:
                anyOf:
                  - type: string
                    enum:
                      - source_missing
                      - no_catalog_access
                      - archived
                  - type: 'null'
            required:
              - id
              - ref
              - direction
              - kind
              - title
              - thumbnailUrl
              - target
              - fields
              - fingerprint
              - sharedEffects
              - canApply
              - unavailableReason
            additionalProperties: false
        counts:
          type: object
          properties:
            incoming:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            outgoing:
              type: integer
              minimum: 0
              maximum: 9007199254740991
          required:
            - incoming
            - outgoing
          additionalProperties: false
      required:
        - cards
        - counts
      additionalProperties: false

````

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