Example Usage
import { ContainerFileListResponse } from "@openrouter/sdk/models";
let value: ContainerFileListResponse = {
data: [],
firstId: "cfile_b3V0L3JlcG9ydC5jc3Y",
hasMore: false,
lastId: "cfile_b3V0L3JlcG9ydC5jc3Y",
object: "list",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
data | models.ContainerFile[] | :heavy_check_mark: | N/A | |
firstId | string | :heavy_check_mark: | N/A | cfile_b3V0L3JlcG9ydC5jc3Y |
hasMore | boolean | :heavy_check_mark: | True when another page can be fetched by passing after=last_id; last_id is non-null whenever this is true. | false |
lastId | string | :heavy_check_mark: | Cursor for the next page (pass as after). The last entry’s id, except when the page stopped at the per-request scan bound on hidden bookkeeping objects: then it names the scan position and may not appear in data. Null only when has_more is false and data is empty. | cfile_b3V0L3JlcG9ydC5jc3Y |
object | models.ContainerFileListResponseObject | :heavy_check_mark: | N/A | list |