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

# List gamebooks history across workspaces



## OpenAPI

````yaml /api-reference/openapi.json get /api/v2/gamebooks/across-workspaces/history
openapi: 3.1.1
info:
  title: ContraForce API
  description: ContraForce platform API for security operations management.
  version: '2.0'
servers: []
security: []
tags:
  - name: Incidents
  - name: Gamebooks
  - name: Data sources
  - name: Service tickets
  - name: Investigation
  - name: Cross-workspace incidents
  - name: Cross-workspace gamebooks
  - name: Cross-workspace data sources
  - name: Webhooks
  - name: Service accounts
  - name: Users
  - name: Azure resources
paths:
  /api/v2/gamebooks/across-workspaces/history:
    get:
      tags:
        - Cross-workspace gamebooks
      summary: List gamebooks history across workspaces
      operationId: v2-list-gamebooks-history-across-workspaces
      parameters:
        - name: workspaces
          in: query
          schema:
            type: string
        - name: statuses
          in: query
          schema:
            type: string
        - name: currentPage
          in: query
          required: true
          schema:
            pattern: ^-?(?:0|[1-9]\d*)$
            type:
              - integer
              - string
            format: int32
        - name: query
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponseOfPageListOfGamebookDto'
        '400':
          description: Bad request — validation or parameter binding failed.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '401':
          description: Unauthorized — missing or invalid Bearer token.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '403':
          description: Forbidden — insufficient scope or workspace access.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '404':
          description: Not found — workspace or resource is missing.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '500':
          description: Internal server error.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
components:
  schemas:
    ApiResponseOfPageListOfGamebookDto:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/PageListOfGamebookDto'
        meta:
          $ref: '#/components/schemas/ResponseMeta'
      description: Standard v2 API response envelope for single-item responses.
    ApiProblemDetails:
      type: object
      properties:
        type:
          type:
            - 'null'
            - string
        title:
          type:
            - 'null'
            - string
        status:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          format: int32
        detail:
          type:
            - 'null'
            - string
        instance:
          type:
            - 'null'
            - string
        code:
          type:
            - 'null'
            - string
        requestId:
          type:
            - 'null'
            - string
        timestamp:
          type:
            - 'null'
            - string
        target:
          type:
            - 'null'
            - string
        errors:
          type:
            - 'null'
            - object
          additionalProperties:
            type: array
            items:
              type: string
      description: "API extension of ProblemDetails that surfaces the stable error code,\r\ntrace identifier, timestamp, optional target, and optional field-keyed validation\r\nerror map alongside the RFC 7807 members."
    PageListOfGamebookDto:
      type: object
      properties:
        items:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/GamebookDto'
        currentPage:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
          format: int32
        totalPages:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
          format: int32
        pageSize:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
          format: int32
        totalCount:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
          format: int32
        hasPreviousPage:
          type: boolean
        hasNextPage:
          type: boolean
    ResponseMeta:
      type: object
      properties:
        requestId:
          type:
            - 'null'
            - string
        timestamp:
          type:
            - 'null'
            - string
    GamebookDto:
      type: object
      properties:
        id:
          type:
            - 'null'
            - string
        tracingId:
          type:
            - 'null'
            - string
        incidentId:
          type:
            - 'null'
            - string
        source:
          $ref: '#/components/schemas/IncidentSource'
          description: >-
            Source of the system that owns the incident Sentinel, Defender ATP,
            etc.
        incidentTitle:
          type:
            - 'null'
            - string
        incidentNumber:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
          format: int32
        isOcr:
          type: boolean
        isRecover:
          type: boolean
        triggedByUserId:
          type:
            - 'null'
            - string
        displayName:
          type:
            - 'null'
            - string
        modificationDate:
          type: string
          format: date-time
        creationDate:
          type: string
          format: date-time
        status:
          $ref: '#/components/schemas/GamebookRunningStatus'
        title:
          type:
            - 'null'
            - string
        isAdminRequired:
          type: boolean
        workspaceId:
          type:
            - 'null'
            - string
        workspaceName:
          type:
            - 'null'
            - string
        tenantId:
          type:
            - 'null'
            - string
        isAutoRun:
          type: boolean
        originalGamebookId:
          type:
            - 'null'
            - string
          description: >-
            Used if the gamebook is retry gamebook and refers to the id of the
            gamebook id that has been retried
        originalGamebookTitle:
          type:
            - 'null'
            - string
          description: >-
            Used if the gamebook is retry gamebook and refers to the id of the
            gamebook title that has been retried
        isRetryGamebook:
          type: boolean
          description: Indicator if the gamebook is a retry to failed gamebook
        isQueued:
          type: boolean
          description: >-
            Indicator if the gamebook is queued by a service provider and it is
            not started yet
        playbooks:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/PlaybookGameplanDto'
        summary:
          type:
            - 'null'
            - string
    IncidentSource:
      enum:
        - Sentinel
        - DefenderXDR
        - QRadar
        - Splunk
        - CrowdStrike
        - SentinelOne
    GamebookRunningStatus:
      enum:
        - Pending
        - Running
        - Finished
        - Failed
        - Queued
        - Denied
        - Cancelled
    PlaybookGameplanDto:
      type: object
      properties:
        id:
          type:
            - 'null'
            - string
        referenceId:
          type:
            - 'null'
            - string
          description: >-
            Reference Id (readonly) which is the id of the playbook + the id of
            the entity
        entityId:
          type:
            - 'null'
            - string
        name:
          type:
            - 'null'
            - string
        description:
          type:
            - 'null'
            - string
        entityType:
          $ref: '#/components/schemas/PlaybookEntityType'
        affectedEntity:
          type:
            - 'null'
            - string
        isRecommended:
          type: boolean
        status:
          $ref: '#/components/schemas/PlaybookRunningStatus'
        errorMessage:
          type:
            - 'null'
            - string
        sequence:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
          format: int32
        modificationDate:
          type: string
          format: date-time
        startingDate:
          type:
            - 'null'
            - string
          format: date-time
        finishingDate:
          type:
            - 'null'
            - string
          format: date-time
        executionTime:
          type:
            - 'null'
            - string
          description: >-
            Total execution time taken to execute the playbook, the value is
            null until the DateTime? PlaybookGameplanDto.FinishingDate property
            is populated
        tracingId:
          type:
            - 'null'
            - string
        parameters:
          type:
            - 'null'
            - object
          description: "Represents the parameters of the playbooks to be sent in the message\r\nThe value will be populated only if the playbook is configurable (Block IP)"
        isAdminRequired:
          type: boolean
    PlaybookEntityType:
      enum:
        - User
        - Endpoint
        - General
        - Network
        - Email
    PlaybookRunningStatus:
      enum:
        - Pending
        - Running
        - Finished
        - Failed
        - Terminated

````