> ## Documentation Index
> Fetch the complete documentation index at: https://productlasso.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Seznam schémat

> Načtení stránkovaného seznamu vašich produktových schémat.

## Query parametry

<ParamField query="page" type="integer" default="1">
  Číslo stránky pro stránkování.
</ParamField>

<ParamField query="limit" type="integer" default="25">
  Počet položek na stránku (max 100).
</ParamField>

## Odpověď

<ResponseField name="data" type="array">
  <Expandable title="Objekt souhrnu schématu">
    <ResponseField name="id" type="string">Jedinečný identifikátor schématu.</ResponseField>
    <ResponseField name="name" type="string">Název schématu.</ResponseField>
    <ResponseField name="description" type="string | null">Popis schématu.</ResponseField>
    <ResponseField name="is_default" type="boolean">Zda je toto výchozí schéma.</ResponseField>
    <ResponseField name="columns_count" type="integer">Počet definovaných sloupců.</ResponseField>
    <ResponseField name="created_at" type="string">Časové razítko ISO 8601.</ResponseField>
    <ResponseField name="updated_at" type="string">Časové razítko ISO 8601.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="pagination" type="object">
  <Expandable title="Metadata stránkování">
    <ResponseField name="page" type="integer">Aktuální stránka.</ResponseField>
    <ResponseField name="limit" type="integer">Položek na stránku.</ResponseField>
    <ResponseField name="total" type="integer">Celkový počet schémat.</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```typescript TypeScript theme={null}
  const result = await client.schemas.list({ page: 1, limit: 10 });

  for (const schema of result.data) {
    console.log(`${schema.name} (${schema.columns_count} columns)`);
  }
  ```

  ```python Python theme={null}
  result = client.schemas.list(page=1, limit=10)

  for schema in result["data"]:
      print(f"{schema['name']} ({schema['columns_count']} columns)")
  ```

  ```bash cURL theme={null}
  curl -X GET "https://hub.banditshq.com/api/v1/schemas?page=1&limit=10" \
    -H "Authorization: Bearer lasso_..."
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "data": [
      {
        "id": "schema_abc123",
        "name": "Electronics Catalog",
        "description": "Schema for consumer electronics",
        "is_default": false,
        "columns_count": 6,
        "created_at": "2025-03-01T10:00:00.000Z",
        "updated_at": "2025-03-05T12:00:00.000Z"
      }
    ],
    "pagination": { "page": 1, "limit": 10, "total": 4 }
  }
  ```
</ResponseExample>
