Sonarr Log API
The Log API from Sonarr — 2 operation(s) for log.
The Log API from Sonarr — 2 operation(s) for log.
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-log-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 Log API
license:
name: GPL-3.0
url: https://github.com/Sonarr/Sonarr/blob/develop/LICENSE
version: '1.0'
description: 'Operations tagged Log 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: Log
paths:
/api/v3/log:
get:
tags:
- Log
parameters:
- name: page
in: query
schema:
type: integer
format: int32
default: 1
- name: pageSize
in: query
schema:
type: integer
format: int32
default: 10
- name: sortKey
in: query
schema:
type: string
- name: sortDirection
in: query
schema:
$ref: '#/components/schemas/SortDirection'
- name: level
in: query
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/LogResourcePagingResource'
summary: Get api log
x-summary-source: derived
operationId: getApiV3Log
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
/api/v5/log:
get:
tags:
- Log
parameters:
- name: page
in: query
schema:
type: integer
format: int32
default: 1
- name: pageSize
in: query
schema:
type: integer
format: int32
default: 10
- name: sortKey
in: query
schema:
type: string
- name: sortDirection
in: query
schema:
$ref: '#/components/schemas/SortDirection'
- name: level
in: query
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/LogResourcePagingResource'
summary: Get api log
x-summary-source: derived
operationId: getApiV5Log
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
components:
schemas:
LogResourcePagingResource:
type: object
properties:
page:
type: integer
format: int32
pageSize:
type: integer
format: int32
sortKey:
type:
- string
- 'null'
sortDirection:
$ref: '#/components/schemas/SortDirection'
totalRecords:
type: integer
format: int32
records:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/LogResource'
additionalProperties: false
LogResource:
type: object
properties:
id:
type: integer
format: int32
time:
type: string
format: date-time
exception:
type:
- string
- 'null'
exceptionType:
type:
- string
- 'null'
level:
type:
- string
- 'null'
logger:
type:
- string
- 'null'
message:
type:
- string
- 'null'
method:
type:
- string
- 'null'
additionalProperties: false
SortDirection:
enum:
- default
- ascending
- descending
type: string
LogResource_2:
required:
- level
- logger
- message
type: object
properties:
id:
type: integer
format: int32
time:
type: string
format: date-time
exception:
type:
- string
- 'null'
exceptionType:
type:
- string
- 'null'
level:
type:
- string
- 'null'
logger:
type:
- string
- 'null'
message:
type:
- string
- 'null'
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