Files API
Get Files
Get a single file by ID
GET
/
files
/
get
/
{id}
curl --request GET \
--url https://api.duohub.ai/files/get/{id} \
--header 'X-API-Key: <api-key>'
{
"status": "success",
"data": {
"id": "<string>",
"name": "<string>",
"extension": "<string>",
"bronzeKey": "<string>",
"silverTranscriptKey": "<string>",
"silverAudioKey": "<string>",
"goldAudioKey": "<string>",
"goldChunkKey": "<string>",
"goldGraphKey": "<string>",
"aiKey": "<string>",
"externalURI": "<string>",
"content": "<string>",
"length": 123,
"size": 123,
"tokens": 123,
"numSpeakers": 123,
"hiddenFilesTotal": 123,
"hiddenFilesProcessed": 123,
"hiddenFilesCreated": 123,
"hiddenFilesIngested": 123,
"jobID": "<string>",
"userID": "<string>",
"memoryID": "<string>",
"botID": "<string>",
"source": "<string>",
"category": "<string>",
"fileType": "<string>",
"originRegion": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Authorizations
Your duohub API key. Type: str
Path Parameters
ID of the file to retrieve
Response
200
application/json
File retrieved successfully
The response is of type object
.
curl --request GET \
--url https://api.duohub.ai/files/get/{id} \
--header 'X-API-Key: <api-key>'
{
"status": "success",
"data": {
"id": "<string>",
"name": "<string>",
"extension": "<string>",
"bronzeKey": "<string>",
"silverTranscriptKey": "<string>",
"silverAudioKey": "<string>",
"goldAudioKey": "<string>",
"goldChunkKey": "<string>",
"goldGraphKey": "<string>",
"aiKey": "<string>",
"externalURI": "<string>",
"content": "<string>",
"length": 123,
"size": 123,
"tokens": 123,
"numSpeakers": 123,
"hiddenFilesTotal": 123,
"hiddenFilesProcessed": 123,
"hiddenFilesCreated": 123,
"hiddenFilesIngested": 123,
"jobID": "<string>",
"userID": "<string>",
"memoryID": "<string>",
"botID": "<string>",
"source": "<string>",
"category": "<string>",
"fileType": "<string>",
"originRegion": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.