- Docs
- Api%2Freference%2Fstorage%2FListAssets
List assets
The files your organization has uploaded, newest first, with their names, sizes and types. Profile pictures and support attachments are kept apart and do not appear here. This lists the files, it does not fetch them. To open one, ask for a download link with `GET /assets/{assetId}/download`. Requires the `storage.read` permission.
The access token returned after a successful sign-in, sent as
Authorization: Bearer <access_token>.
It identifies the person and the organization they are working in, and
it lasts about fifteen minutes. When it runs out, use their refresh
token at POST /auth/refresh-token instead of asking them to sign in
again.
In: header
Query Parameters
Return only the resource with this identifier. Equivalent to fetching it by path, but usable together with the other list filters.
Return only resources whose name matches this value exactly.
length <= 255Search the endpoint's supported text and identifier fields. Matching may be an exact identifier lookup or a case-insensitive prefix search, depending on the resource. Alphanumeric characters only.
How many items to return in one page. The default and the maximum are both
25; a larger value is rejected with 400.
25int641 <= value <= 25Cursor for the next page, taken verbatim from the next field of the previous
response. Keep every other query parameter the same between pages: sortBy
and order are part of what the cursor means. An absent or empty next in a
response means there are no more pages.
The value is opaque. Do not parse it or build one yourself.
Sort direction. Defaults to desc, newest first.
"desc""asc" | "desc"Field used to sort the result. Supported fields depend on the endpoint; use
when_created for chronological ordering where it is available. The default
is the resource identifier, and identifiers break ties so cursor paging stays
stable.
An asset folder — assets, avatars or support.
Return only files of this kind, for example image/png. The type is
the one worked out from the file itself when it was uploaded.
Uploaded strictly after this instant.
date-timeUploaded strictly before this instant.
date-timeUploaded at or after this instant.
date-timeUploaded at or before this instant.
date-timeResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.dual.network/assets"{
"assets": [
{
"id": "665f1c2d4b1a2c3d4e5f6a10",
"name": "poster.png",
"tag": "default",
"provider": "gcs",
"folder": "assets",
"wallet_id": "665f1c2d4b1a2c3d4e5f6a01",
"url": "https://storage.googleapis.com/example-bucket/665f.../assets/665f1c2d4b1a2c3d4e5f6a10",
"path": "665f1c2d4b1a2c3d4e5f6aa0/assets/665f1c2d4b1a2c3d4e5f6a10",
"size": 184320,
"type": "image/png",
"hash": "9a0f2c1b7d4e5f60718293a4b5c6d7e8",
"is_public": false,
"when_created": "2026-02-14T08:03:00Z"
}
]
}{
"code": 3,
"message": "Key: 'limit' Error:Field validation for 'limit' failed on the 'lte' tag"
}{
"code": 16,
"message": "no auth provided"
}{
"code": 13,
"message": "internal error"
}