Files

List files

GET
Returns 200 if successful

Query parameters

page_numberintegerOptional
Index of the first result
page_sizeintegerOptional
Maximum number of results
shared_assetsbooleanOptional

True Will show all assets owned by you and shared with you. False Will show only your assets. Default: False

Response

This endpoint returns an object
content
list of objectsOptional
pageable
objectOptional
total
integerOptional
last
booleanOptional
total_elements
integerOptional
total_pages
integerOptional
size
integerOptional
number
integerOptional
sort
objectOptional
first
booleanOptional
number_of_elements
integerOptional
empty
booleanOptional
GET
1curl https://api.hume.ai/v0/registry/files \
2 -H "X-Hume-Api-Key: <apiKey>"
200Retrieved
1{
2 "content": [
3 {
4 "file": {
5 "id": "id",
6 "user_id": "user_id",
7 "data_type": "data_type",
8 "is_sanitized": true,
9 "is_owned_by_reader": true
10 },
11 "attributes": [
12 {
13 "name": "name",
14 "value": "value"
15 }
16 ]
17 }
18 ],
19 "pageable": {
20 "offset": 1,
21 "sort": {
22 "empty": true,
23 "sorted": true,
24 "unsorted": true
25 },
26 "paged": true,
27 "unpaged": true,
28 "page_number": 1,
29 "page_size": 1
30 },
31 "total": 1,
32 "last": true,
33 "total_elements": 1,
34 "total_pages": 1,
35 "size": 1,
36 "number": 1,
37 "sort": {
38 "empty": true,
39 "sorted": true,
40 "unsorted": true
41 },
42 "first": true,
43 "number_of_elements": 1,
44 "empty": true
45}