Managing your R2R system with the CLI.

System Management

Retrieve Analytics

Retrieve analytics data using the analytics command:

$r2r analytics --filters '{"key1": "value1"}' --analysis-types '{"type1": true}'

Retrieve Application Settings

Retrieve application settings using the app-settings command:

$r2r app-settings

This command has no additional arguments.

Get User Overview

Get an overview of users using the users-overview command:

$r2r users-overview --user-ids user1 user2 --offset 0 --limit 10

Delete Documents

Delete documents based on filters using the delete command:

$r2r delete -f key1:eq:value1 -f key2:gt:value2

Get Document Overview

Get an overview of documents using the documents-overview command:

$r2r documents-overview --document-ids doc1 doc2 --offset 0 --limit 10

Get Document Chunks

Get chunks of a specific document using the document-chunks command:

$r2r document-chunks --document-id doc1 --offset 0 --limit 10