This endpoint retrieves a summary of all collections in your Tallyfy Answers account. Collections are sorted by creation date in descending order (newest first), making it easy to find recently created collections.
API endpoint
GET /v1/collections
Query parameters
Parameter
Type
Required
Default
Description
limit
integer
No
20
Maximum number of collections to return (1-100)
offset
integer
No
0
Number of collections to skip (for pagination)
Response
A successful request returns a 200 OK status code and a JSON response containing:
{
"collections":[
{
"name":"products",
"description":"Collection of product information",
The GET endpoint retrieves detailed collection information including metadata schema and object counts by using a unique collection name while returning a JSON response with appropriate status codes and error handling.
Collections in Tallyfy Answers serve as organizational containers that group similar objects together while enabling operations like searching filtering and managing data through dynamic schemas and efficient organization methods.
Collections must be created with unique names before adding objects to Tallyfy Answers which automatically detects data types like strings and string lists when indexing through a POST API endpoint.
The DELETE endpoint permanently removes collections and their objects through a straightforward API call while offering best practices and alternatives to mitigate risks of irreversible data loss.