Retrieves archives for an enterprise.
To learn more about the archive APIs, see the Archive API Guide.
Version header.
Value is always 2025.0
10001000The maximum number of items to return per page.
JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioViiDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
Returns a list of archives in the enterprise.
Returns an error if some of the parameters are missing or not valid.
Returned when the access token provided in the Authorization header
is not recognized or not provided.
Returns an error if the authenticated user does not have the right permissions to list archives.
An unexpected server error.
An unexpected client error.
curl -i -X GET "https://api.box.com/2.0/archives" \
-H "box-version: 2025.0" \
-H "authorization: Bearer <ACCESS_TOKEN>"await client.archives.getArchivesV2025R0({
limit: 100,
} satisfies GetArchivesV2025R0QueryParams);client.archives.get_archives_v2025_r0(limit=100)await client.Archives.GetArchivesV2025R0Async(queryParams: new GetArchivesV2025R0QueryParams() { Limit = 100 });try await client.archives.getArchivesV2025R0(queryParams: GetArchivesV2025R0QueryParams(limit: Int64(100)))client.getArchives().getArchivesV2025R0(new GetArchivesV2025R0QueryParams.Builder().limit(100L).build()){
"entries": [
{
"id": "12345",
"name": "Archive",
"size": 123456789,
"type": "archive"
}
],
"limit": 1000,
"next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
}