Anthropic::FileListResponse
Inherits JSON::Serializable < Struct < Value < Object
Response from listing files
Constructors
new(pull : JSON::PullParser)
Sourcenew(data : Array(FileMetadata), has_more : Bool = false, first_id : String | Nil = nil, last_id : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Fetch all files across all pages
all_files = client.beta.files.list.auto_paging_all(client)