Skip to main content
GET
/
files
/
list
List Files
curl --request GET \
  --url https://api.duohub.ai/files/list \
  --header 'X-API-Key: <api-key>'
{
  "files": [
    {
      "id": "<string>",
      "name": "<string>",
      "extension": "<string>",
      "fileType": "<string>",
      "category": "<string>",
      "bronzeKey": "<string>",
      "userID": "<string>",
      "length": 123,
      "size": 123,
      "tokens": 123,
      "numSpeakers": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "nextToken": "<string>",
  "previousToken": "<string>",
  "count": 123
}

Authorizations

X-API-Key
string
header
required

Your duohub API key. Type: str

Query Parameters

category
enum<string>

Filter files by category Category of the file

Available options:
audio,
video,
web,
document,
other,
all
limit
integer
default:10

Maximum number of files to return

Required range: 1 <= x <= 100
nextToken
string

Token for getting the next page of results

previousToken
string

Token for getting the previous page of results

Response

Files retrieved successfully

files
object[]
nextToken
string

Token for the next page of results

previousToken
string

Token for the previous page of results

count
integer

Number of files in the current page