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

# Indeks wydań

> Lista wydań Monitora Sądowego i Gospodarczego: dostępne roczniki, miesiące z danymi oraz numery monitorów w wybranym miesiącu wraz z liczbą wpisów typu A i B. Endpoint służy nawigacji (UI/CLI) — nie liczy się do żadnej puli.



## OpenAPI

````yaml /openapi.json get /v1/msig/issues
openapi: 3.1.0
info:
  title: krdata API
  description: >

    krdata udostępnia dane z polskich rejestrów gospodarczych (KRS, CRBR, KRZ,
    MSiG, biała lista VAT)

    w postaci jednego, spójnego API.


    Uwierzytelnianie odbywa się przez klucz API przekazywany w nagłówku
    `x-api-key`.

    Limity zapytań oraz dzienne pule (PDF, WPV, raporty) wynikają z wybranego
    abonamentu —

    szczegóły zwraca endpoint `GET /v1/usage/summary`.
  version: 0.1.0
servers:
  - url: https://api.krdata.pl
    description: Production
security: []
paths:
  /v1/msig/issues:
    get:
      tags:
        - MSiG
      summary: Indeks wydań
      description: >-
        Lista wydań Monitora Sądowego i Gospodarczego: dostępne roczniki,
        miesiące z danymi oraz numery monitorów w wybranym miesiącu wraz z
        liczbą wpisów typu A i B. Endpoint służy nawigacji (UI/CLI) — nie liczy
        się do żadnej puli.
      operationId: msig-issues
      parameters:
        - name: year
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 2100
                minimum: 2001
              - type: 'null'
            title: Year
        - name: month
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 12
                minimum: 1
              - type: 'null'
            title: Month
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MsigIssueIndex'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    MsigIssueIndex:
      properties:
        years:
          items:
            type: integer
          type: array
          title: Years
        year:
          anyOf:
            - type: integer
            - type: 'null'
          title: Year
        month:
          anyOf:
            - type: integer
            - type: 'null'
          title: Month
        months_with_data:
          items:
            type: integer
          type: array
          title: Months With Data
        issues:
          items:
            $ref: '#/components/schemas/MsigIssue'
          type: array
          title: Issues
        latest_monitor_number:
          anyOf:
            - type: string
            - type: 'null'
          title: Latest Monitor Number
      type: object
      required:
        - years
        - year
        - month
        - months_with_data
        - issues
      title: MsigIssueIndex
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MsigIssue:
      properties:
        monitor_number:
          type: string
          title: Monitor Number
        date_of_publication:
          type: string
          format: date
          title: Date Of Publication
        a_count:
          type: integer
          title: A Count
        b_count:
          type: integer
          title: B Count
      type: object
      required:
        - monitor_number
        - date_of_publication
        - a_count
        - b_count
      title: MsigIssue
    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

````