Agent Actions

List the agent's custom External APIs.

Changed on
get/api/v1/projects/{projectId}/actions/external-apis

Request

Path parameters

projectIdinteger required
Example:1

The unique agent identifier.

Response

The agent's custom External APIs, newest first.

status'error' | 'success'

The status of the response

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