Enterprise file storage and content management API for reading, writing, searching, and sharing files and folders in a user’s Box account. Best for workflows that need to persist documents, pull file content into downstream tools, or automate collaboration invites. Unlike Google Drive, Box is tuned for regulated enterprise content with granular collaboration roles and compliance-grade audit trails. 10 example endpoints available through Lava’s AI Gateway. See the Box API docs for full documentation.Documentation Index
Fetch the complete documentation index at: https://lava.so/docs/llms.txt
Use this file to discover all available pages before exploring further.
This is a catch-all provider — any valid URL under
https://api.box.com is supported. Any Box REST API endpoint under https://api.box.com/2.0/. Common resources: /2.0/users/me, /2.0/folders/ and /2.0/folders//items, /2.0/files/, /2.0/search, /2.0/collaborations. File uploads use a separate host (https://upload.box.com/api/2.0/files/content) and are not currently proxied via the api.box.com catch-all — use download + metadata endpoints for the common agent workflows. Pagination is offset-based (offset, limit query params) with marker-based pagination available on large collections (marker + usemarker=true). Rate limit: 1000 requests/minute per user. See https://developer.box.com/reference/ for the full API reference. The endpoints below are curated examples.Endpoints
Return the profile of the currently authenticated Box user.
GEThttps://api.box.com/2.0/users/me — Free
- SDK
- cURL
List items inside a folder. Use folder id “0” for the root folder. Supports offset/limit pagination and fields param for sparse fieldsets.
GEThttps://api.box.com/2.0/folders/0/items?offset=0&limit=100 — Free
- SDK
- cURL
Retrieve metadata for a folder.
GEThttps://api.box.com/2.0/folders/{folder_id} — Free
- SDK
- cURL
Create a new folder under a specified parent folder.
POSThttps://api.box.com/2.0/folders — Free
- SDK
- cURL
Retrieve metadata for a file (size, owner, created_at, shared_link, etc.).
GEThttps://api.box.com/2.0/files/{file_id} — Free
- SDK
- cURL
Download file content. Returns 302 redirect to a signed CDN URL with the file body.
GEThttps://api.box.com/2.0/files/{file_id}/content — Free
- SDK
- cURL
Move a file to trash (soft delete).
DELETEhttps://api.box.com/2.0/files/{file_id} — Free
- SDK
- cURL
Copy a file to a different folder.
POSThttps://api.box.com/2.0/files/{file_id}/copy — Free
- SDK
- cURL
Search files, folders, and web links. Use query param for the search term, type to filter by kind, and offset/limit for pagination.
GEThttps://api.box.com/2.0/search?query=quarterly+report — Free
- SDK
- cURL
Invite a user (by email or Box user id) to collaborate on a file or folder with a specified role.
POSThttps://api.box.com/2.0/collaborations — Free
- SDK
- cURL
Next Steps
All Providers
Browse all supported AI providers
Forward Proxy
Learn how to construct proxy URLs and authenticate requests