Update Pipeline File
PUT/api/v1/pipelines/:pipeline_id/files/:file_id
Update a file for a pipeline.
Request
Path Parameters
Cookie Parameters
- application/json
Body
required
custom_metadata
object
Custom metadata for the file
anyOf
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Unique identifier
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
name
object
anyOf
string
Possible values: non-empty
and <= 3000 characters
file_size
object
Size of the file in bytes
anyOf
integer
file_type
object
File type (e.g. pdf, docx, etc.)
anyOf
string
Possible values: non-empty
and <= 3000 characters
The ID of the project that the file belongs to
last_modified_at
object
The last modified time of the file
anyOf
string
resource_info
object
Resource information for the file
anyOf
data_source_id
object
The ID of the data source that the file belongs to
anyOf
string
file_id
object
The ID of the file
anyOf
string
The ID of the pipeline that the file is associated with
custom_metadata
object
Custom metadata for the file
anyOf
config_hash
object
Hashes for the configuration of the pipeline.
anyOf
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-10-03T01:48:33.714Z",
"updated_at": "2024-10-03T01:48:33.715Z",
"name": "string",
"file_size": 0,
"file_type": "string",
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_at": "2024-10-03T01:48:33.715Z",
"resource_info": {},
"data_source_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"file_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"pipeline_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"custom_metadata": {},
"config_hash": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}