Skip to main content
GET
List volume files
CLI equivalent: ornn volumes files list <volume> --format json.

Authorizations

Authorization
string
header
required

Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.

Path Parameters

drive_id
string<uuid>
required

Volume ID.

Query Parameters

path
string

Folder to list, relative to the volume root. Omit for the root.

Case-insensitive text matched against file paths at any depth.

recursive
boolean
default:false

List every file below path instead of one folder level.

cursor
string

next_cursor from the previous page.

Response

One page of entries.

path
string
entries
object[]
total
integer

Entries at this level, or matches on this page for a recursive or search listing.

next_cursor

Pass unchanged as cursor. null means the last page.