---
title: "GET /api/agents/workspace/{workspace_id}/"
method: GET
path: "/api/agents/workspace/{workspace_id}/"
tags: ["Agents"]
---

# GET /api/agents/workspace/{workspace_id}/

`GET /api/agents/workspace/{workspace_id}/`

## Request

- Base URL: `https://api.baserow.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.baserow.io/api/agents/workspace/{workspace_id}/`
- Auth: HTTP bearer

Lists the agents in a workspace.

## Path parameters

- `workspace_id` integer, required

## Query parameters

- `page` integer
- `search` string
- `size` integer
- `sorts` string

## Response `200`

- AgentPaginationAgent
  - `count` integer, required: The total amount of results.
  - `next` string, uri, nullable, required: URL to the next page.
  - `previous` string, uri, nullable, required: URL to the previous page.
  - `results` Agent[], required
    - `id` integer, required
    - `workspace_id` integer, required
    - `name` string, required
    - `role_uid` string
    - `last_active` string, date-time, nullable
    - `created_on` string, date-time, required
    - `updated_on` string, date-time, required
    - `teams` AgentTeamSummary[], required
      - `id` integer, required
      - `name` string, required

## Changes

- **2026-09-30** `e81714236040`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/baserow/apis/baserow-api-spec/changes/api/agents/workspace/:workspace_id/get.md)

---

[API](https://skmtc.dev/baserow/apis/baserow-api-spec.md) - [All operations](https://skmtc.dev/baserow/apis/baserow-api-spec/llms.txt) - [OpenAPI document](https://skmtc.dev/baserow/apis/baserow-api-spec/revisions/a3756c326fe1?raw)
