repository_files_retrieve
GET
/api/v2/repository/files/{id}/
const url = 'https://api.full-fill.ai/api/v2/repository/files/example/';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/example/ \ --header 'X-API-Key: <X-API-Key>'ViewSet for repository file management.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Media typeapplication/json
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
{ "status": "submitted", "document_type": "questionnaire", "file_format": "url", "relevant_offerings": [ { "type": "service" } ], "qa_count": 0, "data_count": 0, "passage_count": 0}