Sonarr Task API
The Task API from Sonarr — 4 operation(s) for task.
The Task API from Sonarr — 4 operation(s) for task.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/sonarr:sonarr-task-api"
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.
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: 3.2.0
info:
title: Sonarr Task API
license:
name: GPL-3.0
url: https://github.com/Sonarr/Sonarr/blob/develop/LICENSE
version: '1.0'
description: 'Operations tagged Task across 2 of this provider''s published API definitions: openapi_v3.json, openapi_v5.json. Each path carries the servers of the definition it was published in.'
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
security:
- X-Api-Key: []
- apikey: []
tags:
- name: Task
paths:
/api/v3/system/task:
get:
tags:
- Task
responses:
'200':
description: OK
content:
text/plain:
schema:
type: array
items:
$ref: '#/components/schemas/TaskResource'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TaskResource'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/TaskResource'
summary: Get api system task
x-summary-source: derived
operationId: getApiV3SystemTask
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
/api/v3/system/task/{id}:
get:
tags:
- Task
parameters:
- name: id
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/TaskResource'
'404':
description: Not Found
summary: Get api system task by id
x-summary-source: derived
operationId: getApiV3SystemTaskById
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
/api/v5/system/task:
get:
tags:
- Task
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TaskResource_2'
summary: Get api system task
x-summary-source: derived
operationId: getApiV5SystemTask
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
/api/v5/system/task/{id}:
get:
tags:
- Task
parameters:
- name: id
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/TaskResource_2'
'404':
description: Not Found
summary: Get api system task by id
x-summary-source: derived
operationId: getApiV5SystemTaskById
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
components:
schemas:
TaskResource:
type: object
properties:
id:
type: integer
format: int32
name:
type:
- string
- 'null'
taskName:
type:
- string
- 'null'
interval:
type: integer
format: int32
lastExecution:
type: string
format: date-time
lastStartTime:
type: string
format: date-time
nextExecution:
type: string
format: date-time
lastDuration:
type: string
format: date-span
readOnly: true
additionalProperties: false
TaskResource_2:
type: object
properties:
id:
type: integer
format: int32
name:
type:
- string
- 'null'
taskName:
type:
- string
- 'null'
interval:
type: integer
format: int32
lastExecution:
type: string
format: date-time
lastStartTime:
type: string
format: date-time
nextExecution:
type: string
format: date-time
lastDuration:
type: string
format: date-span
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
x-refined-from:
- openapi_v3.json
- openapi_v5.json