## GET /v1/agents

List saved agents.

Required permissions: read:configs.
API key: Supported.
CLI user token: Supported.
Session token: Requires the ellipsis:api scope, and the session's permissions.ellipsis rules must allow the operation.
Higher permission levels include lower levels: read < write < delete.
Grant match patterns can further restrict access to individual resources.

### Response

```text
{
  "agents": [ # list[StandardAgent | SlackAgent | GithubAgent | LinearAgent |
  # SentryAgent]
    {
      "config": {
        "ellipsis": {
          "description": str,
          "enabled": bool,
          "kind": "agent",
          "metadata": {
            "annotations": {
              "[str]": str
            },
            "labels": [
              str
            ]
          },
          "name": str,
          "version": str
        },
        "input": {
          "json_schema": {
            "[str]": any
          }
        },
        "session": {
          "budget": {
            "day": float,
            "month": float,
            "session": float,
            "week": float
          },
          "claude_code": {
            "effort": str,
            "fallback_model": str,
            "max_turns": int,
            "model": str,
            "prompt": { # str | null
              "builtin": "find_bugs"
            },
            "settings": {
              "path": str,
              "repository": {
                "name": str,
                "owner": str,
                "ref": str
              }
            }
          },
          "codex": {
            "effort": str,
            "model": str,
            "prompt": { # str | null
              "builtin": "find_bugs"
            }
          },
          "conversation": {
            "interactive": bool
          },
          "environment": { # str
            "compute": {
              "cpu": int,
              "idle": str,
              "memory": { # str | null
                "gb": int,
                "mb": int
              },
              "timeout": str
            },
            "hooks": {
              "after_checkout": { # str | null
                "run": str
              },
              "before_start": { # str | null
                "run": str
              },
              "build_base": { # str | null
                "inputs": [
                  str
                ],
                "run": str
              },
              "post_clone": str,
              "post_start": str,
              "validate": { # str | null
                "run": str
              }
            },
            "mcp": [ # list[str | McpServerRef | McpRemoteServer |
            # McpCommandServer]
              {
                "args": [
                  str
                ],
                "command": str,
                "env": {
                  "[str]": str
                },
                "name": str
              }
            ],
            "repositories": [
              {
                "name": str,
                "owner": str,
                "ref": str
              }
            ],
            "variables": [
              {
                "name": str,
                "value": str
              }
            ]
          },
          "gemini": {
            "model": str,
            "prompt": { # str | null
              "builtin": "find_bugs"
            }
          },
          "mcp": [ # list[str | McpServerRef | McpRemoteServer |
          # McpCommandServer]
            {
              "args": [
                str
              ],
              "command": str,
              "env": {
                "[str]": str
              },
              "name": str
            }
          ],
          "metadata": {
            "annotations": {
              "[str]": str
            },
            "labels": [
              str
            ]
          },
          "output": {
            "json_schema": {
              "[str]": any
            }
          },
          "permissions": {
            "ellipsis": [ # str | null | list[str | EllipsisGrant]
              {
                "allow": [ # str
                  str
                ]
              }
            ],
            "github": [ # str | null | list[str | GithubGrant]
              {
                "allow": [ # str
                  str
                ],
                "base": str,
                "branch": str,
                "issue": [ # int | null
                  int
                ],
                "limit": int,
                "pull_request": [ # int | null
                  int
                ],
                "repository": [ # str | null
                  str
                ]
              }
            ]
          },
          "skills": [
            {
              "path": str,
              "repository": {
                "name": str,
                "owner": str,
                "ref": str
              }
            }
          ]
        },
        "trigger": { # null | ReactTrigger | CronTrigger
          "check_run": {
            "branch": [
              str
            ],
            "for": {
              "bots": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              },
              "teams": [
                str
              ],
              "users": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              }
            },
            "names": [
              str
            ],
            "on": [
              str
            ],
            "repositories": { # list[str]
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            }
          },
          "check_suite": {
            "apps": [
              str
            ],
            "branch": [
              str
            ],
            "for": {
              "bots": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              },
              "teams": [
                str
              ],
              "users": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              }
            },
            "on": [
              str
            ],
            "repositories": { # list[str]
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            }
          },
          "enabled": bool,
          "issue": {
            "for": {
              "bots": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              },
              "teams": [
                str
              ],
              "users": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              }
            },
            "labels": [
              str
            ],
            "on": [
              str
            ],
            "repositories": { # list[str]
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            }
          },
          "linear_issue": {
            "assignee": { # null | list[str] | str
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            },
            "changed": {
              "assignee": {
                "from": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                },
                "to": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                }
              },
              "labels": {
                "added": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                },
                "removed": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                }
              },
              "priority": {
                "from": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                },
                "to": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                }
              },
              "project": {
                "from": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                },
                "to": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                }
              },
              "state": {
                "from": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                },
                "to": { # null | list[str] | str
                  "exclude": [
                    str
                  ],
                  "include": [
                    str
                  ]
                }
              }
            },
            "for": {
              "bots": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              },
              "teams": [
                str
              ],
              "users": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              }
            },
            "labels": { # null | list[str] | str
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            },
            "on": [
              str
            ],
            "priority": { # null | list[str] | str
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            },
            "project": { # null | list[str] | str
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            },
            "state": { # null | list[str] | str
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            },
            "team": { # null | list[str] | str
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            }
          },
          "pull_request": {
            "base": [
              str
            ],
            "draft": bool,
            "for": {
              "bots": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              },
              "teams": [
                str
              ],
              "users": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              }
            },
            "head": [
              str
            ],
            "labels": [
              str
            ],
            "on": [
              str
            ],
            "paths": [
              str
            ],
            "repositories": { # list[str]
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            }
          },
          "push": {
            "branch": [
              str
            ],
            "for": {
              "bots": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              },
              "teams": [
                str
              ],
              "users": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              }
            },
            "paths": [
              str
            ],
            "repositories": { # list[str]
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            }
          },
          "release": {
            "for": {
              "bots": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              },
              "teams": [
                str
              ],
              "users": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              }
            },
            "on": [
              str
            ],
            "prerelease": bool,
            "repositories": { # list[str]
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            },
            "tag": [
              str
            ]
          },
          "sentry": {
            "on": [
              str
            ],
            "projects": [
              str
            ]
          },
          "slack_channel": {},
          "status": {
            "branch": [
              str
            ],
            "for": {
              "bots": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              },
              "teams": [
                str
              ],
              "users": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              }
            },
            "names": [
              str
            ],
            "on": [
              str
            ],
            "repositories": { # list[str]
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            }
          },
          "type": "react",
          "workflow_run": {
            "branch": [
              str
            ],
            "for": {
              "bots": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              },
              "teams": [
                str
              ],
              "users": { # bool | list[str]
                "exclude": [
                  str
                ],
                "include": [ # bool
                  str
                ]
              }
            },
            "names": [
              str
            ],
            "on": [
              str
            ],
            "repositories": { # list[str]
              "exclude": [
                str
              ],
              "include": [
                str
              ]
            }
          }
        }
      },
      "created_at": str,
      "display_name": str,
      "edited_by": {
        "avatar_url": str,
        "id": int,
        "login": str,
        "name": str,
        "type": str
      },
      "id": str,
      "kind": "agent",
      "last_session_created_at": str,
      "last_session_id": str,
      "last_sync_error": str,
      "last_synced_commit_sha": str,
      "managed_by": str,
      "name": str,
      "next_run_at": str,
      "pending_pull_request_url": str,
      "raw_yaml": str,
      "sha": str,
      "source_details": {
        "branch": str,
        "path": str,
        "repo_id": int
      },
      "updated_at": str,
      "url": str
    }
  ]
}
```

### Python

```python
import os

from ellipsis import Ellipsis

client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])

result = client.agents.list()
print(result)
```

### TypeScript

```typescript
import { Ellipsis } from '@ellipsis-dev/sdk';

const client = new Ellipsis({
  apiKey: process.env.ELLIPSIS_API_TOKEN!,
});

const result = await client.agents.list();
console.log(result);
```

### cURL

```bash
curl "https://api.ellipsis.dev/v1/agents" \
  -H "Authorization: Bearer $ELLIPSIS_API_TOKEN"
```

### Response schema

```json
{
  "properties": {
    "agents": {
      "items": {
        "oneOf": [
          {
            "properties": {
              "config": {
                "additionalProperties": false,
                "properties": {
                  "ellipsis": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "object"
                      },
                      "enabled": {
                        "type": "boolean"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "name": {
                        "type": "object"
                      },
                      "version": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "description",
                      "enabled",
                      "kind",
                      "metadata",
                      "name",
                      "version"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "AgentIdentity"
                  },
                  "input": {
                    "anyOf": [
                      {
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "session": {
                    "additionalProperties": false,
                    "allOf": [
                      {
                        "type": "object"
                      }
                    ],
                    "properties": {
                      "budget": {
                        "type": "object"
                      },
                      "claude_code": {
                        "type": "object"
                      },
                      "codex": {
                        "type": "object"
                      },
                      "conversation": {
                        "type": "object"
                      },
                      "environment": {
                        "type": "object"
                      },
                      "gemini": {
                        "type": "object"
                      },
                      "mcp": {
                        "type": "array"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "output": {
                        "type": "object"
                      },
                      "permissions": {
                        "type": "object"
                      },
                      "skills": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "budget",
                      "claude_code",
                      "codex",
                      "conversation",
                      "environment",
                      "gemini",
                      "mcp",
                      "metadata",
                      "output",
                      "permissions",
                      "skills"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "SessionConfig"
                  },
                  "trigger": {
                    "anyOf": [
                      {
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "ellipsis",
                  "input",
                  "session",
                  "trigger"
                ],
                "type": "object",
                "x-ellipsis-returned-form-of": "AgentConfig"
              },
              "created_at": {
                "format": "date-time",
                "type": "string"
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "edited_by": {
                "anyOf": [
                  {
                    "properties": {
                      "avatar_url": {
                        "type": "string"
                      },
                      "id": {
                        "type": "integer"
                      },
                      "login": {
                        "type": "string"
                      },
                      "name": {
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "avatar_url",
                      "id",
                      "login",
                      "name",
                      "type"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "type": "string"
              },
              "kind": {
                "const": "agent",
                "default": "agent",
                "type": "string",
                "x-ellipsis-enum": "AgentKind"
              },
              "last_session_created_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_session_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_sync_error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_synced_commit_sha": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "managed_by": {
                "enum": [
                  "github",
                  "api",
                  "ellipsis"
                ],
                "type": "string"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "next_run_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pending_pull_request_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw_yaml": {
                "type": "string"
              },
              "sha": {
                "type": "string"
              },
              "source_details": {
                "anyOf": [
                  {
                    "properties": {
                      "branch": {
                        "type": "string"
                      },
                      "path": {
                        "type": "string"
                      },
                      "repo_id": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "repo_id",
                      "path",
                      "branch"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "format": "date-time",
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "sha",
              "config",
              "url",
              "created_at",
              "updated_at",
              "managed_by",
              "raw_yaml"
            ],
            "type": "object"
          },
          {
            "properties": {
              "config": {
                "additionalProperties": false,
                "properties": {
                  "ellipsis": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "object"
                      },
                      "enabled": {
                        "type": "boolean"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "name": {
                        "type": "object"
                      },
                      "version": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "description",
                      "enabled",
                      "kind",
                      "metadata",
                      "name",
                      "version"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "SlackIdentity"
                  },
                  "session": {
                    "additionalProperties": false,
                    "allOf": [
                      {
                        "type": "object"
                      }
                    ],
                    "properties": {
                      "budget": {
                        "type": "object"
                      },
                      "claude_code": {
                        "type": "object"
                      },
                      "codex": {
                        "type": "object"
                      },
                      "environment": {
                        "type": "object"
                      },
                      "gemini": {
                        "type": "object"
                      },
                      "mcp": {
                        "type": "array"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "permissions": {
                        "type": "object"
                      },
                      "skills": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "budget",
                      "claude_code",
                      "codex",
                      "environment",
                      "gemini",
                      "mcp",
                      "metadata",
                      "permissions",
                      "skills"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "IntegrationSessionConfig"
                  },
                  "slack": {
                    "additionalProperties": false,
                    "properties": {
                      "channels": {
                        "type": "array"
                      },
                      "direct_messages": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "channels",
                      "direct_messages"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "SlackRoutes"
                  }
                },
                "required": [
                  "ellipsis",
                  "session",
                  "slack"
                ],
                "type": "object",
                "x-ellipsis-returned-form-of": "SlackConfig"
              },
              "created_at": {
                "format": "date-time",
                "type": "string"
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "edited_by": {
                "anyOf": [
                  {
                    "properties": {
                      "avatar_url": {
                        "type": "string"
                      },
                      "id": {
                        "type": "integer"
                      },
                      "login": {
                        "type": "string"
                      },
                      "name": {
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "avatar_url",
                      "id",
                      "login",
                      "name",
                      "type"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "type": "string"
              },
              "kind": {
                "const": "slack",
                "default": "slack",
                "type": "string",
                "x-ellipsis-enum": "AgentKind"
              },
              "last_session_created_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_session_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_sync_error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_synced_commit_sha": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "managed_by": {
                "enum": [
                  "github",
                  "api",
                  "ellipsis"
                ],
                "type": "string"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "next_run_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pending_pull_request_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw_yaml": {
                "type": "string"
              },
              "sha": {
                "type": "string"
              },
              "source_details": {
                "anyOf": [
                  {
                    "properties": {
                      "branch": {
                        "type": "string"
                      },
                      "path": {
                        "type": "string"
                      },
                      "repo_id": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "repo_id",
                      "path",
                      "branch"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "format": "date-time",
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "sha",
              "config",
              "url",
              "created_at",
              "updated_at",
              "managed_by",
              "raw_yaml"
            ],
            "type": "object"
          },
          {
            "properties": {
              "config": {
                "additionalProperties": false,
                "properties": {
                  "ellipsis": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "object"
                      },
                      "enabled": {
                        "type": "boolean"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "name": {
                        "type": "object"
                      },
                      "version": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "description",
                      "enabled",
                      "kind",
                      "metadata",
                      "name",
                      "version"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "GithubIdentity"
                  },
                  "github": {
                    "additionalProperties": false,
                    "properties": {
                      "mentions": {
                        "type": "object"
                      },
                      "repositories": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "mentions",
                      "repositories"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "GithubRoutes"
                  },
                  "session": {
                    "additionalProperties": false,
                    "allOf": [
                      {
                        "type": "object"
                      }
                    ],
                    "properties": {
                      "budget": {
                        "type": "object"
                      },
                      "claude_code": {
                        "type": "object"
                      },
                      "codex": {
                        "type": "object"
                      },
                      "environment": {
                        "type": "object"
                      },
                      "gemini": {
                        "type": "object"
                      },
                      "mcp": {
                        "type": "array"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "permissions": {
                        "type": "object"
                      },
                      "skills": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "budget",
                      "claude_code",
                      "codex",
                      "environment",
                      "gemini",
                      "mcp",
                      "metadata",
                      "permissions",
                      "skills"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "IntegrationSessionConfig"
                  }
                },
                "required": [
                  "ellipsis",
                  "github",
                  "session"
                ],
                "type": "object",
                "x-ellipsis-returned-form-of": "GithubConfig"
              },
              "created_at": {
                "format": "date-time",
                "type": "string"
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "edited_by": {
                "anyOf": [
                  {
                    "properties": {
                      "avatar_url": {
                        "type": "string"
                      },
                      "id": {
                        "type": "integer"
                      },
                      "login": {
                        "type": "string"
                      },
                      "name": {
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "avatar_url",
                      "id",
                      "login",
                      "name",
                      "type"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "type": "string"
              },
              "kind": {
                "const": "github",
                "default": "github",
                "type": "string",
                "x-ellipsis-enum": "AgentKind"
              },
              "last_session_created_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_session_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_sync_error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_synced_commit_sha": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "managed_by": {
                "enum": [
                  "github",
                  "api",
                  "ellipsis"
                ],
                "type": "string"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "next_run_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pending_pull_request_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw_yaml": {
                "type": "string"
              },
              "sha": {
                "type": "string"
              },
              "source_details": {
                "anyOf": [
                  {
                    "properties": {
                      "branch": {
                        "type": "string"
                      },
                      "path": {
                        "type": "string"
                      },
                      "repo_id": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "repo_id",
                      "path",
                      "branch"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "format": "date-time",
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "sha",
              "config",
              "url",
              "created_at",
              "updated_at",
              "managed_by",
              "raw_yaml"
            ],
            "type": "object"
          },
          {
            "properties": {
              "config": {
                "additionalProperties": false,
                "properties": {
                  "ellipsis": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "object"
                      },
                      "enabled": {
                        "type": "boolean"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "name": {
                        "type": "object"
                      },
                      "version": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "description",
                      "enabled",
                      "kind",
                      "metadata",
                      "name",
                      "version"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "LinearIdentity"
                  },
                  "linear": {
                    "additionalProperties": false,
                    "properties": {
                      "projects": {
                        "type": "array"
                      },
                      "teams": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "projects",
                      "teams"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "LinearRoutes"
                  },
                  "session": {
                    "additionalProperties": false,
                    "allOf": [
                      {
                        "type": "object"
                      }
                    ],
                    "properties": {
                      "budget": {
                        "type": "object"
                      },
                      "claude_code": {
                        "type": "object"
                      },
                      "codex": {
                        "type": "object"
                      },
                      "environment": {
                        "type": "object"
                      },
                      "gemini": {
                        "type": "object"
                      },
                      "mcp": {
                        "type": "array"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "permissions": {
                        "type": "object"
                      },
                      "skills": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "budget",
                      "claude_code",
                      "codex",
                      "environment",
                      "gemini",
                      "mcp",
                      "metadata",
                      "permissions",
                      "skills"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "IntegrationSessionConfig"
                  }
                },
                "required": [
                  "ellipsis",
                  "linear",
                  "session"
                ],
                "type": "object",
                "x-ellipsis-returned-form-of": "LinearConfig"
              },
              "created_at": {
                "format": "date-time",
                "type": "string"
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "edited_by": {
                "anyOf": [
                  {
                    "properties": {
                      "avatar_url": {
                        "type": "string"
                      },
                      "id": {
                        "type": "integer"
                      },
                      "login": {
                        "type": "string"
                      },
                      "name": {
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "avatar_url",
                      "id",
                      "login",
                      "name",
                      "type"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "type": "string"
              },
              "kind": {
                "const": "linear",
                "default": "linear",
                "type": "string",
                "x-ellipsis-enum": "AgentKind"
              },
              "last_session_created_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_session_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_sync_error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_synced_commit_sha": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "managed_by": {
                "enum": [
                  "github",
                  "api",
                  "ellipsis"
                ],
                "type": "string"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "next_run_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pending_pull_request_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw_yaml": {
                "type": "string"
              },
              "sha": {
                "type": "string"
              },
              "source_details": {
                "anyOf": [
                  {
                    "properties": {
                      "branch": {
                        "type": "string"
                      },
                      "path": {
                        "type": "string"
                      },
                      "repo_id": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "repo_id",
                      "path",
                      "branch"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "format": "date-time",
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "sha",
              "config",
              "url",
              "created_at",
              "updated_at",
              "managed_by",
              "raw_yaml"
            ],
            "type": "object"
          },
          {
            "properties": {
              "config": {
                "additionalProperties": false,
                "properties": {
                  "ellipsis": {
                    "additionalProperties": false,
                    "properties": {
                      "description": {
                        "type": "object"
                      },
                      "enabled": {
                        "type": "boolean"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "name": {
                        "type": "object"
                      },
                      "version": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "description",
                      "enabled",
                      "kind",
                      "metadata",
                      "name",
                      "version"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "SentryIdentity"
                  },
                  "sentry": {
                    "additionalProperties": false,
                    "properties": {
                      "on": {
                        "type": "array"
                      },
                      "organizations": {
                        "type": "array"
                      },
                      "projects": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "on",
                      "organizations",
                      "projects"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "SentryRoutes"
                  },
                  "session": {
                    "additionalProperties": false,
                    "allOf": [
                      {
                        "type": "object"
                      }
                    ],
                    "properties": {
                      "budget": {
                        "type": "object"
                      },
                      "claude_code": {
                        "type": "object"
                      },
                      "codex": {
                        "type": "object"
                      },
                      "environment": {
                        "type": "object"
                      },
                      "gemini": {
                        "type": "object"
                      },
                      "mcp": {
                        "type": "array"
                      },
                      "metadata": {
                        "type": "object"
                      },
                      "permissions": {
                        "type": "object"
                      },
                      "skills": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "budget",
                      "claude_code",
                      "codex",
                      "environment",
                      "gemini",
                      "mcp",
                      "metadata",
                      "permissions",
                      "skills"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "IntegrationSessionConfig"
                  }
                },
                "required": [
                  "ellipsis",
                  "sentry",
                  "session"
                ],
                "type": "object",
                "x-ellipsis-returned-form-of": "SentryConfig"
              },
              "created_at": {
                "format": "date-time",
                "type": "string"
              },
              "display_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "edited_by": {
                "anyOf": [
                  {
                    "properties": {
                      "avatar_url": {
                        "type": "string"
                      },
                      "id": {
                        "type": "integer"
                      },
                      "login": {
                        "type": "string"
                      },
                      "name": {
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "avatar_url",
                      "id",
                      "login",
                      "name",
                      "type"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "type": "string"
              },
              "kind": {
                "const": "sentry",
                "default": "sentry",
                "type": "string",
                "x-ellipsis-enum": "AgentKind"
              },
              "last_session_created_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_session_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_sync_error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "last_synced_commit_sha": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "managed_by": {
                "enum": [
                  "github",
                  "api",
                  "ellipsis"
                ],
                "type": "string"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "next_run_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pending_pull_request_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw_yaml": {
                "type": "string"
              },
              "sha": {
                "type": "string"
              },
              "source_details": {
                "anyOf": [
                  {
                    "properties": {
                      "branch": {
                        "type": "string"
                      },
                      "path": {
                        "type": "string"
                      },
                      "repo_id": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "repo_id",
                      "path",
                      "branch"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "format": "date-time",
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "sha",
              "config",
              "url",
              "created_at",
              "updated_at",
              "managed_by",
              "raw_yaml"
            ],
            "type": "object"
          }
        ]
      },
      "type": "array"
    }
  },
  "required": [
    "agents"
  ],
  "type": "object"
}
```
