Get sources with pagination, sorting and filtering
Get sources with pagination, sorting and filtering. Each row carries used_by (the agents using it). kind_counts counts every kind with the search and usage filters applied; usage_counts counts all/in_use/unused with the search and kind filters applied.
Personal access token scope: sources:read.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
page?stringPage number, from 1
rows?stringRows per page
sort?stringdate (default), name, tokens, type, created_at or updated_at
order?stringasc or desc (default)
search?stringSubstring of the name, case-insensitive
kind?stringall (default), files, websites, synced, wikis, or shared (sources a team shares with the caller, of any kind)
usage?stringall (default), in_use (some agent uses it) or unused
Success
curl -X GET 'http://localhost:7091/api/sources/paginated'GET /api/get_chunks GET
Retrieves chunks from a document, optionally filtered by file path and search term. [Personal access token](/API/personal-access-tokens) scope: `sources:read`.
Redirects /api/combine to /api/sources for backward compatibility GET
Redirects /api/combine to /api/sources for backward compatibility. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.