---
title: "Read Teams"
method: GET
path: "/api/v1/teams"
tags: ["teams"]
---

# Read Teams

`GET /api/v1/teams`

## Request

- Base URL: `https://api.gnosari.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gnosari.com/api/v1/teams`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-AUTH-TOKEN`

Retrieve teams for current user's account.

Args:
    sort_by: Field to sort by (updated_at, created_at, name). Default: updated_at
    sort_order: Sort order (asc, desc). Default: desc

## Query parameters

- `sort_by` string
- `sort_order` string
- `skip` integer: Number of items to skip
- `limit` integer: Maximum items to return

## Response `200`

Successful Response

- PaginatedResponseTeam
  - `data` Team[], required
    - `name` string, required
    - `description` string, nullable
    - `identifier` string, nullable
    - `parameters` unknown[], nullable
      - unknown
    - `image` string, nullable
    - `version` string
    - `tags` string[]
    - `config` object, nullable
    - `components_include` string[], nullable
    - `components_exclude` string[], nullable
    - `created_by` string, nullable
    - `access_level` 'PRIVATE' | 'PASSWORD_PROTECTED' | 'PUBLIC'
    - `access_password` string, nullable
    - `suggested_prompts` SuggestedPromptsConfigSchema: Schema for suggested prompts configuration. Used in Agent and Team create/update operations. Provides a complete configuration including enabled state and the list of prompts.
      - `enabled` boolean: Whether to show suggested prompts in chat
      - `prompts` CoreSchemasSuggestedPromptSuggestedPromptSchema[]: List of suggested prompts (max 8)
        - `id` union, required: Unique identifier for the prompt
          - integer
          - string
        - `icon` string: Heroicons icon name (e.g., 'i-heroicons-light-bulb')
        - `title` string, required: Short title displayed on the prompt button
        - `text` string, required: The actual prompt text sent when clicked
    - `id` integer, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, nullable
    - `agents` Agent[]
  - `pagination` PaginationMeta, required
    - `total` integer, required
    - `skip` integer, required
    - `limit` integer, required
    - `has_more` boolean, required

## Other responses

- `422`: Validation Error

---

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