# List the harnesses, models and connectors the org can run

`GET /o/{org}/agents/available`

One discovery read. Each harness lists the models it runs: a session's or saved agent's `model` must be a model `name` listed for its harness, with an `effort` from that model's list (no `effort` means the model takes none). A key's session runs at standard speed, and its OpenCode list holds only the models Rush's models serve. `mcp_servers` are the remote MCP servers that can be connected with `POST /me/connections`; `apps` are the built-in apps it connects as `{type: "app", name}`: GitLab, Linear, Slack, Buffer, QuickBooks, and each Google and Microsoft product (Gmail, Google Calendar, Google Drive, Outlook, Microsoft Calendar, OneDrive) as its own app. An app whose sign-in is not configured on this deployment is left out.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `org` | path | string | yes | The org's slug or id. A caller with no role in the org gets `404`. |
| `harness` | query | string | no | Only this harness in `harnesses`. |

## Example request

```bash
curl "https://api.phoenix.so/o/$RUSH_ORG/agents/available" \
  -H "Authorization: Bearer $RUSH_TOKEN"
```

```typescript
const org = process.env.RUSH_ORG;

const res = await fetch(`https://api.phoenix.so/o/${org}/agents/available`, {
  headers: {
    Authorization: `Bearer ${process.env.RUSH_TOKEN}`,
  },
});

console.log(res.status, await res.json());
```

```python
import os

import requests

org = os.environ["RUSH_ORG"]

res = requests.get(
    f"https://api.phoenix.so/o/{org}/agents/available",
    headers={"Authorization": f"Bearer {os.environ['RUSH_TOKEN']}"},
)

print(res.status_code, res.json())
```

## Responses

### 200

The catalog.

- `harnesses` (array of object, required)
  - `name` (string, required, one of `claude`, `codex`, `opencode`): Launch-boundary managed harnesses.
  - `display_name` (string, required)
  - `models` (array of object, required)
    - `name` (string, required): The value a session's or saved agent's `model` takes.
    - `display_name` (string, required)
    - `effort` (array of string, optional): The effort levels the model takes; absent when it takes none.
  - `cli_version` (string, optional): The harness CLI release a saved agent's `runtime` `{selection: "latest_verified"}` runs today, and one `{selection: "pinned", id}` can hold.
  - `tools` (array of string, optional): The native tool ids a saved agent's `tools` `{mode: "selected", ids}` may name. Absent when the harness runs every tool only.
  - `plugins` (array of object, optional): The catalog plugins a saved agent's `plugins` may install, by `catalog_id`. Absent when the harness has none.
    - `catalog_id` (string, required)
    - `name` (string, required)
    - `description` (string, required)
    - `requires_browser` (boolean, optional, one of `true`): Present when the plugin needs `capabilities.browser`.
    - `apps` (array of string, optional): The apps its MCP servers connect to; absent when it needs none.
- `apps` (array of object, optional): The built-in apps `POST /me/connections` connects as `{type: "app", name}`. Connecting a Google or Microsoft product asks for its permissions only; a session that names it gets a token for only the products it names.
  - `name` (string, required): What `POST /me/connections` and a session's `connections` take.
  - `display_name` (string, required)
  - `description` (string, required)
  - `category` (string, required)
- `mcp_servers` (array of object, optional)
  - `name` (string, required)
  - `slug` (string, required)
  - `description` (string, required)
  - `category` (string, required)
  - `author` (string, required)
  - `url` (string, optional): The `url` to send to `POST /me/connections`. Absent for a server each customer runs at their own address.
  - `url_template` (string, optional): For a server each customer runs (n8n), its URL with a `{name}` per entry in `url_variables`, for example `https://{host}/mcp-server/http`. Fill each in and send the result as `url`.
  - `url_variables` (array of object, optional)
    - `name` (string, required)
    - `description` (string, required)
  - `auth` (object, optional): For a server with no sign-in (LumisReach), the API key it takes: send `{type: "mcp", url, name, auth: {mode: "bearer", token: "<key>"}}` to `POST /me/connections`. Absent for a server you sign in to.
    - `mode` (string, required, one of `bearer`)
    - `description` (string, required): What the key is and where to create it.
  - `documentation_url` (string, optional)

### 400

A `harness` that is not `claude`, `codex` or `opencode` (`VALIDATION_ERROR`)

### 401

No bearer, an unknown, revoked or expired one, or an API key on a route keys cannot call.

### 404

No such resource for the caller, including one in an org the caller is not in or a Project that is private to someone else.

### 429

The account is over its request budget, 1,800 a minute shared by the person's API keys and console on every API host (`RATE_LIMITED`). The error names the limit. Wait `Retry-After` seconds.

## Example response (200)

```json
{
  "harnesses": [
    {
      "name": "claude",
      "display_name": "Claude Code",
      "models": [
        {
          "name": "claude-opus-5-5",
          "display_name": "Opus 5.5",
          "effort": ["low", "medium", "high", "xhigh", "max"]
        },
        {
          "name": "claude-haiku-5-5",
          "display_name": "Haiku 5.5"
        }
      ]
    }
  ],
  "apps": [
    {
      "name": "outlook",
      "display_name": "Outlook",
      "description": "Read and send mail, and read contacts",
      "category": "Productivity"
    },
    {
      "name": "onedrive",
      "display_name": "OneDrive",
      "description": "Read and edit files",
      "category": "Productivity"
    }
  ],
  "mcp_servers": [
    {
      "name": "Stripe",
      "slug": "stripe",
      "description": "Manage payments and billing.",
      "category": "Finance",
      "author": "Stripe",
      "url": "https://mcp.stripe.com/",
      "documentation_url": "https://docs.stripe.com/mcp"
    }
  ]
}
```
