Sonarr System API

The System API from Sonarr, for system.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v5/system/status Check Sonarr system status · Get api system status #
Ask an LLM
“Is Sonarr currently running and healthy?”
“What is the current system status of my Sonarr instance?”
Tell an agent
Get the system status.
Check whether Sonarr is up.
GET /api/v5/system/routes List system routes · Get api system routes #
Ask an LLM
“Which routes does the Sonarr system expose?”
“Can I see the full list of system routes?”
Tell an agent
List all system routes.
Show the system route table.
GET /api/v5/system/routes/duplicate List duplicate routes · Get api system routes duplicate #
Ask an LLM
“Which routes are duplicated in the system?”
“Can I find duplicate route entries?”
Tell an agent
List duplicate routes.
Show routes that appear more than once.
POST /api/v5/system/shutdown Shut down Sonarr · Create api system shutdown #
Ask an LLM
“How do I shut down Sonarr completely?”
“Can I power off the instance through the API?”
Tell an agent destructive · confirm first
Shut down Sonarr.
Power off the instance.
POST /api/v5/system/restart Restart Sonarr · Create api system restart #
Ask an LLM
“Can I restart Sonarr through the API?”
“What's the way to reboot the instance?”
Tell an agent destructive · confirm first
Restart Sonarr.
Reboot the instance.

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/sonarr:sonarr-system-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

sonarr-system-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sonarr System API
  description: Sonarr API docs - The v5 API docs apply to Sonarr v5 only.
  license:
    name: GPL-3.0
    url: https://github.com/Sonarr/Sonarr/blob/develop/LICENSE
  version: 5.0.0
servers:
- url: '{protocol}://{hostpath}'
  variables:
    protocol:
      default: http
      enum:
      - http
      - https
    hostpath:
      default: localhost:8989
security:
- X-Api-Key: []
- apikey: []
tags:
- name: System
paths:
  /api/v5/system/status:
    get:
      tags:
      - System
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemResource'
      summary: Get api system status
      x-summary-source: derived
      operationId: getApiV5SystemStatus
      x-operation-id-source: derived
  /api/v5/system/routes:
    get:
      tags:
      - System
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
      summary: Get api system routes
      x-summary-source: derived
      operationId: getApiV5SystemRoutes
      x-operation-id-source: derived
  /api/v5/system/routes/duplicate:
    get:
      tags:
      - System
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
      summary: Get api system routes duplicate
      x-summary-source: derived
      operationId: getApiV5SystemRoutesDuplicate
      x-operation-id-source: derived
  /api/v5/system/shutdown:
    post:
      tags:
      - System
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemShutdownResource'
      summary: Create api system shutdown
      x-summary-source: derived
      operationId: postApiV5SystemShutdown
      x-operation-id-source: derived
  /api/v5/system/restart:
    post:
      tags:
      - System
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemRestartResource'
      summary: Create api system restart
      x-summary-source: derived
      operationId: postApiV5SystemRestart
      x-operation-id-source: derived
components:
  schemas:
    UpdateMechanism:
      enum:
      - builtIn
      - script
      - external
      - apt
      - docker
      type: string
    SystemResource:
      required:
      - appData
      - appName
      - branch
      - databaseVersion
      - instanceName
      - osName
      - osVersion
      - packageAuthor
      - packageUpdateMechanismMessage
      - packageVersion
      - runtimeName
      - runtimeVersion
      - startupPath
      - urlBase
      - version
      type: object
      properties:
        appName:
          type:
          - string
          - 'null'
        instanceName:
          type:
          - string
          - 'null'
        version:
          type:
          - string
          - 'null'
        buildTime:
          type: string
          format: date-time
        isDebug:
          type: boolean
        isProduction:
          type: boolean
        isAdmin:
          type: boolean
        isUserInteractive:
          type: boolean
        startupPath:
          type:
          - string
          - 'null'
        appData:
          type:
          - string
          - 'null'
        osName:
          type:
          - string
          - 'null'
        osVersion:
          type:
          - string
          - 'null'
        isNetCore:
          type: boolean
        isLinux:
          type: boolean
        isOsx:
          type: boolean
        isWindows:
          type: boolean
        isDocker:
          type: boolean
        mode:
          $ref: '#/components/schemas/RuntimeMode'
        branch:
          type:
          - string
          - 'null'
        authentication:
          $ref: '#/components/schemas/AuthenticationType'
        migrationVersion:
          type: integer
          format: int32
        urlBase:
          type:
          - string
          - 'null'
        runtimeVersion:
          type:
          - string
          - 'null'
        runtimeName:
          type:
          - string
          - 'null'
        startTime:
          type: string
          format: date-time
        packageVersion:
          type:
          - string
          - 'null'
        packageAuthor:
          type:
          - string
          - 'null'
        packageUpdateMechanism:
          $ref: '#/components/schemas/UpdateMechanism'
        packageUpdateMechanismMessage:
          type:
          - string
          - 'null'
        databaseVersion:
          type:
          - string
          - 'null'
        databaseType:
          $ref: '#/components/schemas/DatabaseType'
      additionalProperties: false
    SystemShutdownResource:
      type: object
      properties:
        shuttingDown:
          type: boolean
      additionalProperties: false
    DatabaseType:
      enum:
      - sqLite
      - postgreSQL
      type: string
    AuthenticationType:
      enum:
      - none
      - basic
      - forms
      - external
      - oidc
      type: string
    RuntimeMode:
      enum:
      - console
      - service
      - tray
      type: string
    SystemRestartResource:
      type: object
      properties:
        restarting:
          type: boolean
      additionalProperties: false
  securitySchemes:
    X-Api-Key:
      type: apiKey
      description: Apikey passed as header
      name: X-Api-Key
      in: header
    apikey:
      type: apiKey
      description: Apikey passed as query parameter
      name: apikey
      in: query