Ingest File
Ingest a file into the library.
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/sources/ingest/file" \ -F file="string"{
"source_id": "string",
"original_name": "string",
"lifecycle_state": "string",
"is_duplicate": false,
"message": ""
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}