Agent Actions
List the agent's custom External APIs.
Changed onget/api/v1/projects/{projectId}/actions/external-apis
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Example:1
The unique agent identifier.
Response
The agent's custom External APIs, newest first.
Example response
{
"status": "success",
"data": {
"external_apis": [
{
"id": 1,
"name": "Orders API",
"is_enabled": true,
"host": "api.example.com",
"base_url": "https://api.example.com/v1",
"auth_type": "bearer",
"auth_key_name": "Authorization",
"has_openapi": true,
"openapi_metadata": {
"title": "Orders API",
"version": "1.0.0",
"endpoint_count": 12
}
}
],
"available": true,
"active_count": 2,
"max_active": 5
}
}Changes
- info
endpoint added
- info