autessa.connectors.box
10 methods in the connectors.box namespace.
autessa.box.download.getByShortIdREADNot scriptable
Scripts can't call this method: it isn't on the autessa global. It's listed for reference; do this in the Autessa app or over the API instead.
Resolve a Box short download id to its download page.
Public, unauthenticated endpoint. Resolves a short download id (issued elsewhere for a Box file) to an HTML page that redirects the browser to a time-limited Box download URL. It returns HTML, not JSON, so there is no structured response body; a 404 page is returned if the id is unknown or expired. This is meant to be opened in a browser and is rarely called from scripts.
autessa.connectors.box.allREAD
autessa.connectors.box.all({ pageSize, pageToken })List every Box connector you can access in your current company.
List every Box connector you can access in your current company. Takes no arguments and returns each connector you have at least READ access to. Use a connector's connectorId with the other Box connector methods. Stored credentials are never included.
Request fields
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
connectors- Type
- BoxConnectorDto[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.connectors.box.deleteMUTATE
autessa.connectors.box.delete({ connectorId })Permanently delete a Box connector and its stored credential.
Permanently delete a Box connector and its stored credential. Removes the connector for connectorId, revoking every tool and script that relied on it. The stored credential is destroyed and cannot be recovered — reconnecting requires the full OAuth flow again. Restricted to the connector's owner. High-risk and irreversible.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
message- Type
- string
- Description
autessa.connectors.box.getREAD
autessa.connectors.box.get({ connectorId })Fetch one Box connector by id.
Fetch one Box connector by id. Returns the full connector for connectorId — including its linked account and sharing and active state — but never the stored credential. Fails if you lack READ access to the connector.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
connector- Type
- BoxConnectorDto
- Description
autessa.connectors.box.getSharingDetailsREAD
autessa.connectors.box.getSharingDetails({ connectorId })Read the current sharing configuration of a Box connector.
Read the current sharing configuration of a Box connector. Returns how the connector is shared — the overall sharingLevel, the companyPermissionLevel granted for COMPANY sharing, the explicit sharedWith members, and your own userAccessLevel. Use it before share to see the current state.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
sharingLevel- Type
- "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
- Description
- Name
companyPermissionLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
- Name
sharedWith- Type
- UserShareWrapper[]
- Description
- Name
userAccessLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
autessa.connectors.box.syncFoldersMUTATE
autessa.connectors.box.syncFolders({ connectorId })Refresh a Box connector's folder mirror from the Box API.
Calls the Box API to fetch the connector's current folder tree and updates the mirrored copy in the database, adding any newly discovered folders. Returns how many new folders were added. New folders start disabled — enable them with updateAvailableFolders. Run this when folders have been created or moved in Box and viewAvailableFolders looks out of date.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
message- Type
- string
- Description
- Name
foldersAdded- Type
- number
- Description
autessa.connectors.box.updateMUTATE
autessa.connectors.box.update({ connectorId, connectorName, isActive })Rename a Box connector or toggle whether it is active.
Rename a Box connector or toggle whether it is active. Applies a sparse patch to the connector for connectorId — send connectorName to rename it, send isActive to enable or disable it. Omit a field to leave it unchanged. Does not touch the stored credential or sharing. Requires WRITE access.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
connectorName- Type
- string
- Description
- Name
isActive- Type
- boolean
- Description
Response fields
- Name
message- Type
- string
- Description
- Name
connector- Type
- BoxConnectorDto
- Description
autessa.connectors.box.updateAvailableFoldersMUTATE
autessa.connectors.box.updateAvailableFolders({ connectorId, foldersToEnable, foldersToDisable })Enable or disable specific Box folders for a connector.
Toggles which of this connector's mirrored Box folders are available to tools. Pass folder ids in foldersToEnable to turn them on and in foldersToDisable to turn them off; only enabled folders can be read by tools that use this connector. Folders not named in either list are left unchanged. Returns the full folder list with the updated isEnabled flags.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
foldersToEnable- Type
- string[]
- Description
- Name
foldersToDisable- Type
- string[]
- Description
Response fields
- Name
folders- Type
- FolderDto[]
- Description
autessa.connectors.box.viewAvailableFoldersREAD
autessa.connectors.box.viewAvailableFolders({ connectorId })List the Box folders stored for a connector.
Returns every Box folder currently mirrored in the database for this connector — both the folders that are enabled for use by tools and those that are disabled — without calling the Box API. Use it to see the current folder tree and each folder's isEnabled flag before changing them with updateAvailableFolders. Run syncFolders first if the mirror may be stale.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
folders- Type
- FolderDto[]
- Description