Box AI Studio is available only for Enterprise Advanced accounts.
List all AI agents
The GET /2.0/ai_agents endpoint allows you to list all AI agents based on the provided parameters.
Send a request
To send a request, use the GET /2.0/ai_agents endpoint.
Make sure you have generated the developer token
to authorize your app. See getting started with Box AI Studio
for details.
cURL
Node/TypeScript v10
Python v10
.NET v10
Swift v10
Java v10
curl -i -X GET "https://api.box.com/2.0/ai_agents" \
-H "authorization: Bearer <ACCESS_TOKEN>"
Parameters
To make a call, you must pass the following parameters. Mandatory parameters are in bold .
Parameter Description Example modeThe mode to filter the agent configuration to return. Possible values are: ask, text_gen, and extract. askfieldsThe fields to return in the response. askagent_stateThe state of the agent to return. Value is one of enabled,disabled. enabledfieldsThe fields to return in the response. Value is one of ask, text_gen, extract. askinclude_box_defaultWhether to include the Box default agents in the response. truelimitThe maximum number of items to return per page. 1000markerDefines the position marker at which to begin returning results. JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii