box.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Files
copy
files.copy
Copy a Box file to a destination folder
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | — |
parent | object | Yes | — |
name | string | No | — |
version | string | No | — |
parent full type
parent full type
| Name | Type | Required | Description |
|---|---|---|---|
type | file | No | — |
id | string | Yes | — |
sequence_id | string | No | — |
etag | string | No | — |
sha1 | string | No | — |
name | string | No | — |
description | string | No | — |
size | number | No | — |
path_collection | object | No | — |
created_at | string | No | — |
modified_at | string | No | — |
trashed_at | string | No | — |
purged_at | string | No | — |
content_created_at | string | No | — |
content_modified_at | string | No | — |
created_by | object | No | — |
modified_by | object | No | — |
owned_by | object | No | — |
shared_link | object | No | — |
parent | object | No | — |
item_status | string | No | — |
extension | string | No | — |
is_package | boolean | No | — |
path_collection full type
path_collection full type
created_by full type
created_by full type
modified_by full type
modified_by full type
owned_by full type
owned_by full type
shared_link full type
shared_link full type
parent full type
parent full type
delete
files.delete
Delete a Box file [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | — |
if_match | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
download
files.download
Download the content of a Box file
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | — |
version | string | No | — |
string
get
files.get
Get metadata for a Box file by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | — |
fields | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | file | No | — |
id | string | Yes | — |
sequence_id | string | No | — |
etag | string | No | — |
sha1 | string | No | — |
name | string | No | — |
description | string | No | — |
size | number | No | — |
path_collection | object | No | — |
created_at | string | No | — |
modified_at | string | No | — |
trashed_at | string | No | — |
purged_at | string | No | — |
content_created_at | string | No | — |
content_modified_at | string | No | — |
created_by | object | No | — |
modified_by | object | No | — |
owned_by | object | No | — |
shared_link | object | No | — |
parent | object | No | — |
item_status | string | No | — |
extension | string | No | — |
is_package | boolean | No | — |
path_collection full type
path_collection full type
created_by full type
created_by full type
modified_by full type
modified_by full type
owned_by full type
owned_by full type
shared_link full type
shared_link full type
parent full type
parent full type
search
files.search
Search for files in Box
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | — |
limit | number | No | — |
offset | number | No | — |
ancestor_folder_ids | string | No | — |
content_types | string | No | — |
created_at_range | string | No | — |
file_extensions | string | No | — |
owner_user_ids | string | No | — |
size_range | string | No | — |
sort | modified_at | name | No | — |
direction | ASC | DESC | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
total_count | number | No | — |
offset | number | No | — |
limit | number | No | — |
entries | object[] | No | — |
entries full type
entries full type
share
files.share
Create or update a shared link for a Box file
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | — |
shared_link | object | Yes | — |
shared_link full type
shared_link full type
| Name | Type | Required | Description |
|---|---|---|---|
type | file | No | — |
id | string | Yes | — |
sequence_id | string | No | — |
etag | string | No | — |
sha1 | string | No | — |
name | string | No | — |
description | string | No | — |
size | number | No | — |
path_collection | object | No | — |
created_at | string | No | — |
modified_at | string | No | — |
trashed_at | string | No | — |
purged_at | string | No | — |
content_created_at | string | No | — |
content_modified_at | string | No | — |
created_by | object | No | — |
modified_by | object | No | — |
owned_by | object | No | — |
shared_link | object | No | — |
parent | object | No | — |
item_status | string | No | — |
extension | string | No | — |
is_package | boolean | No | — |
path_collection full type
path_collection full type
created_by full type
created_by full type
modified_by full type
modified_by full type
owned_by full type
owned_by full type
shared_link full type
shared_link full type
parent full type
parent full type
upload
files.upload
Upload a new file to Box
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
parent_id | string | Yes | — |
content | string | Yes | — |
content_created_at | string | No | — |
content_modified_at | string | No | — |
description | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
total_count | number | No | — |
entries | object[] | No | — |
entries full type
entries full type
Folders
create
folders.create
Create a new folder in Box
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
parent_id | string | Yes | — |
folder_upload_email_access | string | No | — |
sync_state | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | folder | No | — |
id | string | Yes | — |
sequence_id | string | No | — |
etag | string | No | — |
name | string | No | — |
description | string | No | — |
path_collection | object | No | — |
created_at | string | No | — |
modified_at | string | No | — |
trashed_at | string | No | — |
purged_at | string | No | — |
content_created_at | string | No | — |
content_modified_at | string | No | — |
created_by | object | No | — |
modified_by | object | No | — |
owned_by | object | No | — |
shared_link | object | No | — |
parent | object | No | — |
item_status | string | No | — |
is_externally_owned | boolean | No | — |
has_collaborations | boolean | No | — |
item_collection | object | No | — |
path_collection full type
path_collection full type
created_by full type
created_by full type
modified_by full type
modified_by full type
owned_by full type
owned_by full type
shared_link full type
shared_link full type
parent full type
parent full type
item_collection full type
item_collection full type
delete
folders.delete
Delete a Box folder [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
folder_id | string | Yes | — |
recursive | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | — |
get
folders.get
Get metadata for a Box folder by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
folder_id | string | Yes | — |
fields | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | folder | No | — |
id | string | Yes | — |
sequence_id | string | No | — |
etag | string | No | — |
name | string | No | — |
description | string | No | — |
path_collection | object | No | — |
created_at | string | No | — |
modified_at | string | No | — |
trashed_at | string | No | — |
purged_at | string | No | — |
content_created_at | string | No | — |
content_modified_at | string | No | — |
created_by | object | No | — |
modified_by | object | No | — |
owned_by | object | No | — |
shared_link | object | No | — |
parent | object | No | — |
item_status | string | No | — |
is_externally_owned | boolean | No | — |
has_collaborations | boolean | No | — |
item_collection | object | No | — |
path_collection full type
path_collection full type
created_by full type
created_by full type
modified_by full type
modified_by full type
owned_by full type
owned_by full type
shared_link full type
shared_link full type
parent full type
parent full type
item_collection full type
item_collection full type
search
folders.search
Search for folders in Box
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | — |
limit | number | No | — |
offset | number | No | — |
ancestor_folder_ids | string | No | — |
owner_user_ids | string | No | — |
sort | modified_at | name | No | — |
direction | ASC | DESC | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
total_count | number | No | — |
offset | number | No | — |
limit | number | No | — |
entries | object[] | No | — |
entries full type
entries full type
share
folders.share
Create or update a shared link for a Box folder
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
folder_id | string | Yes | — |
shared_link | object | Yes | — |
shared_link full type
shared_link full type
| Name | Type | Required | Description |
|---|---|---|---|
type | folder | No | — |
id | string | Yes | — |
sequence_id | string | No | — |
etag | string | No | — |
name | string | No | — |
description | string | No | — |
path_collection | object | No | — |
created_at | string | No | — |
modified_at | string | No | — |
trashed_at | string | No | — |
purged_at | string | No | — |
content_created_at | string | No | — |
content_modified_at | string | No | — |
created_by | object | No | — |
modified_by | object | No | — |
owned_by | object | No | — |
shared_link | object | No | — |
parent | object | No | — |
item_status | string | No | — |
is_externally_owned | boolean | No | — |
has_collaborations | boolean | No | — |
item_collection | object | No | — |
path_collection full type
path_collection full type
created_by full type
created_by full type
modified_by full type
modified_by full type
owned_by full type
owned_by full type
shared_link full type
shared_link full type
parent full type
parent full type
item_collection full type
item_collection full type
update
folders.update
Update properties of a Box folder
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
folder_id | string | Yes | — |
name | string | No | — |
description | string | No | — |
parent_id | string | No | — |
tags | string[] | No | — |
is_collaboration_restricted_to_enterprise | boolean | No | — |
can_non_owners_invite | boolean | No | — |
can_non_owners_view_collaborators | boolean | No | — |
fields | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | folder | No | — |
id | string | Yes | — |
sequence_id | string | No | — |
etag | string | No | — |
name | string | No | — |
description | string | No | — |
path_collection | object | No | — |
created_at | string | No | — |
modified_at | string | No | — |
trashed_at | string | No | — |
purged_at | string | No | — |
content_created_at | string | No | — |
content_modified_at | string | No | — |
created_by | object | No | — |
modified_by | object | No | — |
owned_by | object | No | — |
shared_link | object | No | — |
parent | object | No | — |
item_status | string | No | — |
is_externally_owned | boolean | No | — |
has_collaborations | boolean | No | — |
item_collection | object | No | — |
path_collection full type
path_collection full type
created_by full type
created_by full type
modified_by full type
modified_by full type
owned_by full type
owned_by full type
shared_link full type
shared_link full type
parent full type
parent full type
item_collection full type
item_collection full type