Type Alias ListFilesPayload

ListFilesPayload: Partial<Omit<File, "type">> & {
    content_type?: File["content_type"] | File["content_type"][];
    created_at__range?: string;
    expires_at__range?: string;
    id__in?: string;
    type?: File["type"] | File["type"][];
    updated_at__range?: string;
}

Payload for listing files with optional filters.

Type declaration

  • Optionalcontent_type?: File["content_type"] | File["content_type"][]

    Filter for content types.

  • Optionalcreated_at__range?: string

    Range filter for creation date.

  • Optionalexpires_at__range?: string

    Range filter for expiration date.

  • Optionalid__in?: string

    Filter for file IDs.

  • Optionaltype?: File["type"] | File["type"][]

    Filter for file types.

  • Optionalupdated_at__range?: string

    Range filter for update date.