PATCH
/
files
/
{file_id}

Headers

Authorization
string | null
index-id
string | null

filter by organization

Path Parameters

file_id
string
required

Body

application/json
status
string | null

Updated status for the file

metadata
object | null

Updated metadata for the file

Response

200 - application/json
file_id
string
required

The unique identifier for the file

collection_id
string
required

The ID of the collection the file belongs to

status
string
required

The current status of the file processing

url
string | null

The URL where the file can be accessed

metadata
object | null

Additional metadata associated with the file

created_at
string | null
required

The timestamp when the file was created

error
string | null

The error message if the file processing failed

media_type
string | null

The type of media

task_id
string | null

The task ID

unique_hash
string | null

The unique hash of the file

updated_at
string | null

The timestamp when the file was last updated