Skip to main content

Collections

What Are Collections?

A Collection is a group of API requests organized under folders, often representing a module or feature of an application. Each collection can contain REST, GraphQL, WebSocket, and Socket.IO requests.

Collections are the primary units for API testing and documentation.

Key Features

  • Actively Sync Swagger URLs
  • Nested folder structure (up to 1 level)
  • Request-level metadata and documentation
  • Supports REST, GraphQL, WebSocket, Socket.IO and AI Request
  • Collection-level authentication
  • AI-powered generation for cURL, docs, and mock data

Benefits

  • Easy to organize and group folders and APIs
  • Enables versioning and modular reuse
  • Standardizes test coverage and documentation

How Sparrow Implements It

  • Collections can be created manually, imported (Postman, Swagger), or synced via Active Sync
  • Requests inherit environment and auth settings from the collection level
  • Smart search, AI debugging, and test flows operate at the collection level

Ideal Use Cases

  • Creating test suites per API module
  • Sharing API bundles with frontend or third parties
  • Connecting live Swagger docs via Active Sync