GET
/
agents
curl --request GET \
  --url https://api.blaxel.ai/v0/agents \
  --header 'Authorization: Bearer <token>'
[
  {
    "events": [
      {
        "message": "<string>",
        "revision": "<string>",
        "status": "<string>",
        "time": "<string>",
        "type": "<string>"
      }
    ],
    "metadata": {
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "createdBy": "<string>",
      "updatedBy": "<string>",
      "displayName": "<string>",
      "labels": {},
      "name": "<string>",
      "workspace": "<string>"
    },
    "spec": {
      "configurations": {
        "key": {
          "secret": true,
          "value": "<string>"
        }
      },
      "enabled": true,
      "flavors": [
        {
          "name": "<string>",
          "type": "<string>"
        }
      ],
      "integrationConnections": [
        "<string>"
      ],
      "podTemplate": {},
      "policies": [
        "<string>"
      ],
      "privateClusters": {
        "baseUrl": "<string>",
        "enabled": true,
        "name": "<string>"
      },
      "revision": {
        "active": "<string>",
        "canary": "<string>",
        "canaryPercent": 123,
        "previousActive": "<string>",
        "traffic": 123
      },
      "runtime": {
        "args": [
          "<any>"
        ],
        "command": [
          "<any>"
        ],
        "cpu": 123,
        "endpointName": "<string>",
        "envs": [
          "<any>"
        ],
        "image": "<string>",
        "memory": 123,
        "metricPort": 123,
        "model": "<string>",
        "organization": "<string>",
        "servingPort": 123,
        "startupProbe": {},
        "type": "<string>"
      },
      "sandbox": true,
      "serverlessConfig": {
        "maxScale": 123,
        "minScale": 123,
        "timeout": 123
      },
      "agentChain": [
        {
          "description": "<string>",
          "enabled": true,
          "name": "<string>",
          "prompt": "<string>"
        }
      ],
      "description": "<string>",
      "functions": [
        "<string>"
      ],
      "knowledgebase": "<string>",
      "model": "<string>",
      "prompt": "<string>",
      "repository": {
        "type": "<string>",
        "url": "<string>"
      },
      "storeId": "<string>"
    },
    "status": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
successful operation
events
object[]

Core events

Core event

metadata
object

Metadata

spec
object

Agent specification

status
string

Agent status