---
title: "List collections"
method: GET
path: "/hub/collections"
tags: ["Collections"]
---

# List collections

`GET /hub/collections`

Retrieves a list of collections

## Query parameters

- `collection_type` 'node' | 'workflow'

## Response `200`

Collection retrieved successfully

- object
  - `results` object, required
    - `results` GetCollectionResponse[] — Array of results
      - `name` string, required — Name of the collection
      - `collection_type` string — Type of the collection (node or workflow)
      - `topic` string, required — Hash of the collection name
      - `description` string — Description of the collection
      - `subject` string, required — Subject identifier for the collection
      - `sequence` integer, required — The sequence number of the last message for this collection on the stream
      - `modified` integer, required — Timestamp of last modification
      - `type` 'created' | 'updated', required — Last event type - created or updated
    - `results_total` integer — Number of results

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway-3.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway-3/versions/872d6eb3b682/schema)
