A list of files.

interface UploadedFileCollection {
    data: UploadedFile[];
    first_id?: null | string;
    has_more?: boolean;
    last_id?: null | string;
    object: "list";
}

Hierarchy

Properties

data: UploadedFile[]

The array of items in the collection.

first_id?: null | string

The ID of the first file in the list.

has_more?: boolean

Whether there are more files available.

last_id?: null | string

The ID of the last file in the list.

object: "list"

The object type, always "list".