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

# Get Submissions

> List the organization's consortium submissions, newest first.

History is organization-wide: submissions uploaded through any of
the organization's applications are visible. Paginated via the
shared limit/offset (or keyset) ``PaginationQuery``, mirroring the
OFAC batch listing; pagination metadata rides the response headers.



## OpenAPI

````yaml /api-reference/openapi.json get /consortium/submissions
openapi: 3.1.0
info:
  title: baselayer-api-service
  version: 0.1.0
servers:
  - url: https://api.baselayer.com/
security: []
paths:
  /consortium/submissions:
    get:
      tags:
        - Consortium
      summary: Get Submissions
      description: |-
        List the organization's consortium submissions, newest first.

        History is organization-wide: submissions uploaded through any of
        the organization's applications are visible. Paginated via the
        shared limit/offset (or keyset) ``PaginationQuery``, mirroring the
        OFAC batch listing; pagination metadata rides the response headers.
      operationId: get_submissions_consortium_submissions_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            description: >-
              Maximum number of records to return in a single page. Must be
              between 1 and 1000.
            default: 10
            title: Limit
          description: >-
            Maximum number of records to return in a single page. Must be
            between 1 and 1000.
        - name: offset
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 0
              - type: 'null'
            description: >-
              Number of records to skip from the beginning. Use 0 for the first
              page. Cannot be used with cursor.
            title: Offset
          description: >-
            Number of records to skip from the beginning. Use 0 for the first
            page. Cannot be used with cursor.
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Opaque pagination cursor token that identifies the position in the
              result set. Use the cursor from the previous response to get the
              next page. Cannot be used with offset.
            title: Cursor
          description: >-
            Opaque pagination cursor token that identifies the position in the
            result set. Use the cursor from the previous response to get the
            next page. Cannot be used with offset.
      responses:
        '200':
          description: The organization's consortium submissions, newest first.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SubmissionResponse'
                title: Response Get Submissions Consortium Submissions Get
          headers:
            X-Total-Count:
              description: Total number of records matching the query.
              schema:
                type: integer
            X-Total-Pages:
              description: Total number of pages available based on the current limit.
              schema:
                type: integer
            X-Next-Cursor:
              description: >-
                Cursor for the next page (only present when using the keyset
                pagination and if `has_more` is true.
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    SubmissionResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: The unique identifier of the submission
        name:
          type: string
          title: Name
          description: The name of the submission file
        state:
          $ref: '#/components/schemas/TaskState'
          description: The current processing state of the submission
        submitted_records:
          type: integer
          title: Submitted Records
          description: Total number of records submitted
        valid_records:
          type: integer
          title: Valid Records
          description: Number of valid records
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When the submission was created
      type: object
      required:
        - id
        - name
        - state
        - submitted_records
        - valid_records
        - created_at
      title: SubmissionResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TaskState:
      enum:
        - PENDING
        - EXECUTING
        - COMPLETED
        - FAILED
        - CANCELLED
      title: TaskState
      type: string
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````