StatsResponse
document_countchunk_countentity_countrelationship_countper_chunk_relationship_countRelations discovered in Step 1 (per-chunk extraction)
collection_countDocument
idfilenamefile_typefile_sizeupload_dateprocessing_statuschunk_countcollection_idsourceOrigin of the document (e.g. 'upload', 'custom_input', or a custom source set via API)
CustomInputCreate
input_typecontentanswerRequired for Q&A type
collection_idsourceCustom source identifier (defaults to 'custom_input' if not set)
CustomInputResponse
idinput_typefilenamesourceOrigin of the document
created_atCustomInputItem
idinput_typecontentanswerfilenamecollection_idcreated_atSearchRequest
querytop_kcollection_iduse_hybriduse_rerankingAskRequest
questionuse_graphmax_hopsuse_rerankinguse_agenticuse_fast_searchcollection_idGraphStatus
enabledentity_countrelationship_countcommunity_countlast_extractionEntityDetails
nametypedescriptionmention_countdocumentsfirst_seenCollectionUpdate
nameNew collection name (1-100 characters)
descriptionNew collection description (max 500 characters)
CollectionDetails
idnamedescriptiondocument_countentity_countrelationship_countcommunity_countcreated_atupdated_atTaskProgress
task_idstatusprogressmessagecreated_atcompleted_atApiKey
idnamekey_prefixpermissionsstatuscreated_atlast_used_atApiKeyCreated
idnamekeyFull API key (only shown once)
permissionscreated_atDuplicateGroup
canonicalThe entity name with the highest mention count in this group
List of entities similar to the canonical entity
similarityAverage similarity score within this group
DuplicateCandidates
statusAlways "complete" on a 200 response
cachedTrue when served from the server-side scan cache
total_groupsTotal number of duplicate groups found
thresholdSimilarity threshold used for detection
EntityMergeRequest
canonicalThe name of the entity to keep (canonical/primary entity)
mergeList of entity names to merge into the canonical entity
EntityMergeResponse
canonicalThe canonical entity name that was kept
mergedEntity names that were merged and removed
relationships_transferredNumber of relationships moved to the canonical entity
mentions_transferredNumber of chunk mentions moved to the canonical entity
aliases_addedAliases added to the canonical entity from merged entities
MergeHistoryEntry
canonicalThe canonical entity name
mergedEntity names that were merged
relationships_transferredmentions_transferredmerged_atWhen the merge was performed
SystemResetRequest
delete_documentsDelete all documents, chunks, entities, relationships, communities, merge history, and system metadata
delete_uploaded_filesDelete uploaded files from disk
delete_custom_inputsDelete custom input files from disk
delete_collectionsDelete all non-default collections
delete_api_keysDelete all API keys (dangerous — defaults to false)
SystemResetResponse
messageSummary message of what was deleted
documents_deletedNumber of documents deleted
entities_removedNumber of entities removed
communities_removedNumber of communities removed
merge_history_deletedNumber of merge history records deleted
system_meta_deletedNumber of system metadata records deleted
collections_deletedNumber of collections deleted
api_keys_deletedNumber of API keys deleted
uploaded_files_deletedNumber of uploaded files deleted
custom_inputs_deletedNumber of custom input files deleted
processing_cancelledNumber of active processing tasks cancelled
LibraryExportManifest
versionExport format version
export_dateWhen the export was created
embedding_modelEmbedding model used by the source instance
embedding_dimensionEmbedding vector dimension
Counts of exported items
LibraryImportResult
documents_importedchunks_importedentities_importedrelationships_importedcommunities_importedcollections_importedfiles_importedmerge_history_importedembedding_compatibleWhether the source and target embedding configs match
warningsAny warnings encountered during import (e.g., embedding mismatch)
RuntimeSettingsUpdate
ingestion_injection_scanEnable/disable the LLM prompt-injection scan on ingested documents (experimental — rejected with 400 unless the instance sets ENABLE_INGESTION_INJECTION_SCAN=true)
prompt_guardEnable/disable the query-time prompt-guard classifier gate (costs one extra query per guarded ask)
WebImportRequest
urlsAbsolute http(s) URLs to crawl
collection_idCollection to add the harvested documents to
content_filtercrawl4ai filter: 'fit' (readability, default), 'raw', or 'bm25'
queryRelevance query (only used by the 'bm25' filter)
WebImportResponse
task_idBackground task id to poll for progress
accepted_urlsNumber of URLs accepted into the job
messageGitConnectionCreate
vendorGit hosting provider
repo_ownerRepo owner / org / group (or GitLab namespace path)
repo_namepatPersonal access token used for clone + API
base_urlAPI base URL for self-hosted GitLab/Gitea (omit for github.com/gitlab.com)
access_levelbranchBranch to sync (defaults to repo default branch)
include_globsgitignore-style include patterns (empty = all files)
exclude_globsgitignore-style exclude patterns
wiki_enabledAlso ingest the repo wiki
collection_idTarget collection for ingested documents
sync_interval_minutesScheduled-sync interval in minutes (0 = manual only)
GitConnectionUpdate
patNew PAT (rotation); omit to keep existing
access_levelbranchinclude_globsexclude_globswiki_enabledcollection_idsync_interval_minutesGitConnectionResponse
idvendorbase_urlrepo_ownerrepo_namepat_maskedMasked token, e.g. '••••abcd'
access_levelbranchdefault_branchinclude_globsexclude_globswiki_enabledcollection_idsync_interval_minuteslast_synced_shalast_synced_atnext_sync_duesync_statuscreated_atGitConnectionVerifyRequest
vendorpatbase_urlGitRepoBrowseItem
ownernamefull_namedefault_branchprivateweb_urlSkillInstallRequest
urlDirect URL to SKILL.md or ZIP archive
registry_idRegistry identifier (namespace/name) from skills.sh
APIKeyStats
total_requestsrequests_todayrequests_this_weekrequests_this_montherror_countlast_error_atlast_error_messageendpoint_breakdownRequest counts by endpoint category
APIKeyWithStats
idnamekey_prefixpermissionsis_activecreated_atlast_used_atcreated_bycollection_scopeallowed_collectionsallowed_collection_names