POST
/
resync_file

Authorizations

authorization
string
headerrequired

token <token>, corresponds to temporary access tokens.

Body

application/json
file_id
integer
required
chunk_size
integer | null
chunk_overlap
integer | null
force_embedding_generation
boolean
default: false
skip_file_processing
boolean | null
default: false

Response

200 - application/json
id
integer
required
source
enum<string>
required
Available options:
GOOGLE_CLOUD_STORAGE,
GOOGLE_DRIVE,
NOTION,
NOTION_DATABASE,
INTERCOM,
DROPBOX,
ONEDRIVE,
SHAREPOINT,
CONFLUENCE,
BOX,
ZENDESK,
ZOTERO,
S3,
AZURE_BLOB_STORAGE,
GMAIL,
OUTLOOK,
SERVICENOW,
TEXT,
CSV,
TSV,
PDF,
DOCX,
PPTX,
XLSX,
XLSM,
MD,
RTF,
JSON,
HTML,
RAW_TEXT,
WEB_SCRAPE,
RSS_FEED,
FRESHDESK,
GITBOOK,
SALESFORCE,
GITHUB,
SLACK,
GURU,
GONG,
JPG,
PNG,
JPEG,
MP3,
MP2,
AAC,
WAV,
FLAC,
PCM,
M4A,
OGG,
OPUS,
MPEG,
MPG,
MP4,
WMV,
AVI,
MOV,
MKV,
FLV,
WEBM,
EML,
MSG
organization_id
integer
required
organization_supplied_user_id
string
required
organization_user_data_source_id
integer | null
required
external_file_id
string
required
external_url
string | null
required
sync_status
enum<string>
required
Available options:
DELAYED,
QUEUED_FOR_SYNC,
SYNCING,
READY,
SYNC_ERROR,
EVALUATING_RESYNC,
RATE_LIMITED,
SYNC_ABORTED,
QUEUED_FOR_OCR,
READY_TO_SYNC
sync_error_message
string | null
required
last_sync
string | null
required
tags
object | null
required
file_statistics
object | null
required
file_metadata
object | null
required
embedding_properties
object | null
required
chunk_size
integer | null
required
chunk_overlap
integer | null
required
chunk_properties
object | null
required
ocr_properties
object
required
ocr_job_started_at
string | null
required
name
string | null
required
parent_id
integer | null
required
enable_auto_sync
boolean | null
required
presigned_url
string | null
required
parsed_text_url
string | null
required
additional_presigned_urls
object | null
required
skip_embedding_generation
boolean
required
source_created_at
string | null
required
generate_sparse_vectors
boolean | null
required
request_id
string | null
required
upload_id
string | null
required
sync_properties
object
required
messages_metadata
object
required
file_contents_deleted
boolean
default: falserequired
supports_cold_storage
boolean
required
hot_storage_time_to_live
integer | null
required
embedding_storage_status
enum<string>
required
Available options:
HOT_STORAGE,
HOT_TO_COLD,
COLD_STORAGE,
COLD_TO_HOT
created_at
string
required
updated_at
string
required