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

# Get documentv2beta1documents transitionshistory

> Lists the history of transitions for the document.



## OpenAPI

````yaml /openapis/document.json get /document/v2beta1/documents/{documentId}/transitions/history
openapi: 3.0.1
info:
  description: "The AODocs REST API exposes most of the features of AODocs. It can be used to implement custom applications, third-party integration, bulk tools, or\n\t\t\t\t\t\t\t\t\t\tjust to experiment with AODocs."
  version: '69.4'
  title: AODocs REST API
servers:
  - url: https://aodocs.altirnao.com/api
security: []
tags:
  - name: document
    description: Manage documents (beta version, subject to change)
paths:
  /document/v2beta1/documents/{documentId}/transitions/history:
    get:
      tags:
        - document
      description: Lists the history of transitions for the document.
      operationId: document:v2beta1.Documents.getTransitionHistory
      parameters:
        - $ref: '#/components/parameters/documentId_path_parameter'
        - $ref: '#/components/parameters/domain_query_parameter'
        - $ref: '#/components/parameters/securityCode_query_parameter'
        - name: pageSize
          in: query
          description: >-
            The maximum number of transition history items per page. (Default:
            50)
          required: false
          schema:
            type: integer
            format: int32
        - name: pageToken
          in: query
          description: >-
            The token for continuing a previous list request on the next page.
            This should be set to the value of 'nextPageToken' from the previous
            response.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: A ApiDocumentTransitionHistory response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiDocumentTransitionHistory'
      security:
        - google_id_token-a99f12e0:
            - https://www.googleapis.com/auth/userinfo.email
        - google_id_token_legacy-a99f12e0:
            - https://www.googleapis.com/auth/userinfo.email
components:
  parameters:
    documentId_path_parameter:
      name: documentId
      in: path
      description: The ID of the document
      required: true
      schema:
        type: string
    domain_query_parameter:
      name: domain
      in: query
      description: The G Suite domain
      required: false
      schema:
        type: string
    securityCode_query_parameter:
      name: securityCode
      in: query
      description: The security code
      required: false
      schema:
        type: string
  schemas:
    ApiDocumentTransitionHistory:
      type: object
      properties:
        classId:
          type: string
        className:
          type: string
        domainName:
          type: string
        kind:
          type: string
        libraryId:
          type: string
        libraryName:
          type: string
        pageToken:
          type: string
        transitions:
          type: array
          items:
            $ref: '#/components/schemas/ApiDocumentTransitionHistoryItem'
        workflowId:
          type: string
        workflowName:
          type: string
    ApiDocumentTransitionHistoryItem:
      type: object
      properties:
        appliedActionName_i18n:
          type: string
        createdTime:
          type: string
          format: date-time
        currentValidators:
          type: array
          items:
            $ref: '#/components/schemas/ApiValidator'
        fromStateId:
          type: string
        fromStateName_i18n:
          type: string
        humanActionAudience:
          $ref: '#/components/schemas/ApiSecurityToken'
        kind:
          type: string
        pendingValidators:
          type: array
          items:
            $ref: '#/components/schemas/ApiUser'
        toStateId:
          type: string
        toStateName_i18n:
          type: string
        transitionId:
          type: string
        trigger:
          type: string
          description: >-
            The state change trigger. Possible values: SIMPLE_VALIDATION,
            PARALLEL_VALIDATION, TIME_TRIGGER, DATA_TRIGGER, DIRECT_CHANGE
          enum:
            - SIMPLE_VALIDATION
            - PARALLEL_VALIDATION
            - TIME_TRIGGER
            - DATA_TRIGGER
            - DIRECT_CHANGE
        user:
          $ref: '#/components/schemas/ApiUser'
    ApiValidator:
      type: object
      properties:
        comment:
          type: string
        date:
          type: string
          format: date-time
        kind:
          type: string
        user:
          $ref: '#/components/schemas/ApiUser'
    ApiSecurityToken:
      type: object
      properties:
        classId:
          type: string
          description: The ID of the class when type = FIELD
        className:
          type: string
          description: The name of the class when type = FIELD
        description:
          type: string
          description: The description for type in GROUP, ROLE, FIELD
        displayName:
          type: string
          description: >-
            The display name of the user or group, the name of the role
            (read-only field)
        displayName_i18n:
          type: string
          description: >-
            The display name of the user or group, the internationalized name of
            the role (read-only field)
        thumbnailPictureUrl:
          type: string
          description: The URL of the thumbnail picture (especially for users)
        type:
          type: string
          description: >-
            The type of person (user, group, role, field based, domain i.e.
            everybody)
          enum:
            - USER
            - GROUP
            - ROLE
            - FIELD
            - DOMAIN
        value:
          type: string
          description: >-
            The email address if user or group, the ID of the role, the ID of
            the class/field (ignored if type = DOMAIN)
    ApiUser:
      type: object
      properties:
        email:
          type: string
        kind:
          type: string
        name:
          type: string
        thumbnailPictureUrl:
          type: string
  securitySchemes:
    google_id_token-a99f12e0:
      type: oauth2
      x-google-issuer: https://accounts.google.com
      x-google-jwks_uri: https://www.googleapis.com/oauth2/v1/certs
      x-google-audiences: >-
        755040865326-h5gomu85549lkh2qf9d3lku39vnaf6ii.apps.googleusercontent.com,563231141203-231sn7f6ptedncun5h00h7ktbe3o2nd5.apps.googleusercontent.com,993707107224.apps.googleusercontent.com,ao-docs,aodocs-core-eu-1,ao-docs-staging,ao-docs-dev,aodocs-core-dev-us,aodocs-total-poc-euw3
      flows:
        implicit:
          authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
          scopes:
            https://www.googleapis.com/auth/userinfo.email: View your email address
    google_id_token_legacy-a99f12e0:
      type: oauth2
      x-google-issuer: accounts.google.com
      x-google-jwks_uri: https://www.googleapis.com/oauth2/v1/certs
      x-google-audiences: >-
        755040865326-h5gomu85549lkh2qf9d3lku39vnaf6ii.apps.googleusercontent.com,563231141203-231sn7f6ptedncun5h00h7ktbe3o2nd5.apps.googleusercontent.com,993707107224.apps.googleusercontent.com,ao-docs,aodocs-core-eu-1,ao-docs-staging,ao-docs-dev,aodocs-core-dev-us,aodocs-total-poc-euw3
      flows:
        implicit:
          authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
          scopes:
            https://www.googleapis.com/auth/userinfo.email: View your email address

````