Riven exposes a versioned HTTP API under the pathDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/rivenmedia/riven/llms.txt
Use this file to discover all available pages before exploring further.
/api/v1 that lets you manage every aspect of the media pipeline: adding items to the library, tuning configuration, triggering scrapes, streaming real-time events, and monitoring system health. All requests and responses use JSON, and every endpoint except the root health-check requires API key authentication.
Base URL
Interactive documentation
Riven ships with two built-in API explorer interfaces:| Interface | URL |
|---|---|
| Scalar UI (interactive) | http://localhost:8080/scalar |
| Raw OpenAPI JSON schema | http://localhost:8080/openapi.json |
Authentication
All endpoints exceptGET /api/v1/ require a valid API key. Pass your key using one of these methods:
- Header:
x-api-key: YOUR_KEY - Bearer token:
Authorization: Bearer YOUR_KEY - Query parameter:
?api_key=YOUR_KEY
Response format
All successful responses return JSON. The exact schema varies by endpoint; most write operations return aMessageResponse:
Error format
All error responses follow the same shape:| Code | Meaning |
|---|---|
200 OK | Request succeeded |
400 Bad Request | Invalid parameters or request body |
401 Unauthorized | Missing or invalid API key |
404 Not Found | Resource does not exist |
412 Precondition Failed | Required service not initialized |
500 Internal Server Error | Unexpected server-side error |
Endpoint groups
Items
Add, search, reset, retry, pause, and remove media items in your library. Manage per-item streams and blacklists.
Settings
Read and update every configuration value in
AppModel. Export and import full settings files.Scraping
Trigger manual or automatic scrapes, manage scraping sessions, parse torrent titles, and sync Overseerr requests.
Streaming
Subscribe to Server-Sent Event streams for live log output and state changes. Proxy media files from debrid providers.
System
Health checks, aggregated library statistics, log retrieval, debug bundles, Trakt OAuth, and more.