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

# The asset library's health: counts only

> Assets per prep state, conversion jobs per state, processing-step versions (when recorded) and the latest failures with short reasons.



## OpenAPI

````yaml /api-reference/openapi.json get /assets/status
openapi: 3.1.0
info:
  title: Patch API
  version: 1.0.0
  description: >-
    The public API behind patch.gg, the desktop app and pch. Changes within v1
    are additive only. Errors are { error: { code, message, details } }; branch
    on code.
servers:
  - url: https://patch.gg/api/v1
security: []
paths:
  /assets/status:
    get:
      tags:
        - Assets
      summary: 'The asset library''s health: counts only'
      description: >-
        Assets per prep state, conversion jobs per state, processing-step
        versions (when recorded) and the latest failures with short reasons.
      responses:
        '200':
          description: Counts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetLibraryStatus'
components:
  schemas:
    AssetLibraryStatus:
      type: object
      properties:
        total:
          type: number
        prep:
          type: object
          properties:
            indexed:
              type: number
            converting:
              type: number
            ready:
              type: number
            failed:
              type: number
          required:
            - indexed
            - converting
            - ready
            - failed
        jobs:
          type: object
          properties:
            queued:
              type: number
            running:
              type: number
            done:
              type: number
            failed:
              type: number
          required:
            - queued
            - running
            - done
            - failed
        stages:
          type:
            - object
            - 'null'
          additionalProperties:
            type: object
            properties:
              current:
                type: number
              outdated:
                type: number
            required:
              - current
              - outdated
          description: >-
            Per processing step: assets on its current version and older ones
            (null until recorded)
        last_reconcile:
          type:
            - string
            - 'null'
        recent_failures:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              reason:
                type: string
              at:
                type: string
            required:
              - id
              - reason
              - at
      required:
        - total
        - prep
        - jobs
        - stages
        - last_reconcile
        - recent_failures

````

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