List files
GET
/api/v2/repository/files/
const url = 'https://api.full-fill.ai/api/v2/repository/files/';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.full-fill.ai/api/v2/repository/files/ \ --header 'X-API-Key: <X-API-Key>'List repository files with pagination, search, and ordering.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”document_type
string
Filter by document type
ordering
string
Order by field (prefix with - for desc). Options: created_at, original_filename, status, file_format
page
integer
Page number (default: 1)
page_size
integer
Items per page (default: 50, max: 200)
search
string
Search by filename or tag name
status
string
Filter by status (e.g. ready, processing, failed)
Responses
Section titled “Responses”Media typeapplication/json
object
count
required
integer
next
string format: uri
previous
string format: uri
results
required
Array<object>
Output serializer for listing files
object
id
integer
original_filename
string
status
submitted- Submittedprocessing- Processingready- Readyfailed- Failed
string
status_display
string
processing_stage
string
processing_percent
integer
document_type
questionnaire- Questionnairerequirements_sheet- Requirements Sheetqna- Qnasecurity_questionnaire- Security Questionnairesecurity_certificate- Security Certificatedocumentation- Documentationdata_extraction- Data Extractiontemplate- Templateunknown- Unknownq_a- Q A
string
file_format
url- Urldoc- Docdocx- Docxexcel- Excelpdf- Pdfgdrive- Gdrivetxt- Txtppt- Pptpptx- Pptxhtml- Htmlxml- Xml
string
source_provider
Integration provider this file was imported from (e.g., ‘google-drive’, ‘sharepoint’)
string
created_at
string format: date-time
tags
Array<object>
object
id
integer
name
required
string
relevant_offerings
Array<object>
Brief offering info for file listings
object
id
integer
name
required
Name of the offering
string
type
required
Type of offering
service- Serviceproduct- Productmodule- Module
string
scope_includes_company
Whether this file/questionnaire scope includes the company generally (not just specific offerings)
boolean
use_as_source
boolean
url
string
user
string
qa_count
integer
data_count
integer
passage_count
integer
total_embeddings
integer
is_reprocessable
boolean
Example
{ "count": 123, "next": "http://api.example.org/accounts/?page=4", "previous": "http://api.example.org/accounts/?page=2", "results": [ { "status": "submitted", "document_type": "questionnaire", "file_format": "url", "relevant_offerings": [ { "type": "service" } ], "qa_count": 0, "data_count": 0, "passage_count": 0 } ]}