Mealie Admin: Maintenance API

The Admin: Maintenance API from Mealie — 5 operation(s) for admin: maintenance.

Operations 5

GET /api/admin/maintenance Get Maintenance Summary #
GET /api/admin/maintenance/storage Get Storage Details #
POST /api/admin/maintenance/clean/images Clean Images #
POST /api/admin/maintenance/clean/temp Clean Temp #
POST /api/admin/maintenance/clean/recipe-folders Clean Recipe Folders #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mealie-admin-maintenance-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mealie-admin-maintenance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Mealie Admin: Maintenance API'
  description: Mealie is a web application for managing your recipes, meal plans, and shopping lists.
  version: nightly
tags:
- name: Admin - Maintenance
paths:
  /api/admin/maintenance:
    get:
      tags:
      - Admin - Maintenance
      summary: Get Maintenance Summary
      description: Get the maintenance summary
      operationId: get_maintenance_summary_api_admin_maintenance_get
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/maintenance/storage:
    get:
      tags:
      - Admin - Maintenance
      summary: Get Storage Details
      operationId: get_storage_details_api_admin_maintenance_storage_get
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceStorageDetails'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/maintenance/clean/images:
    post:
      tags:
      - Admin - Maintenance
      summary: Clean Images
      description: Purges all the images from the filesystem that aren't .webp
      operationId: clean_images_api_admin_maintenance_clean_images_post
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/maintenance/clean/temp:
    post:
      tags:
      - Admin - Maintenance
      summary: Clean Temp
      operationId: clean_temp_api_admin_maintenance_clean_temp_post
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/maintenance/clean/recipe-folders:
    post:
      tags:
      - Admin - Maintenance
      summary: Clean Recipe Folders
      description: Deletes all the recipe folders that don't have names that are valid UUIDs
      operationId: clean_recipe_folders_api_admin_maintenance_clean_recipe_folders_post
      security:
      - OAuth2PasswordBearer: []
      parameters:
      - name: accept-language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MaintenanceStorageDetails:
      properties:
        tempDirSize:
          type: string
          title: Tempdirsize
        backupsDirSize:
          type: string
          title: Backupsdirsize
        groupsDirSize:
          type: string
          title: Groupsdirsize
        recipesDirSize:
          type: string
          title: Recipesdirsize
        userDirSize:
          type: string
          title: Userdirsize
      type: object
      required:
      - tempDirSize
      - backupsDirSize
      - groupsDirSize
      - recipesDirSize
      - userDirSize
      title: MaintenanceStorageDetails
    SuccessResponse:
      properties:
        message:
          type: string
          title: Message
        error:
          type: boolean
          title: Error
          default: false
      type: object
      required:
      - message
      title: SuccessResponse
    MaintenanceSummary:
      properties:
        dataDirSize:
          type: string
          title: Datadirsize
        cleanableImages:
          type: integer
          title: Cleanableimages
        cleanableDirs:
          type: integer
          title: Cleanabledirs
      type: object
      required:
      - dataDirSize
      - cleanableImages
      - cleanableDirs
      title: MaintenanceSummary
    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:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /api/auth/token