The Tallyfy Answers API endpoint retrieves complete individual object data from collections using unique identifiers through a GET request that returns full object properties including system-generated timestamps.
Get a collection
This endpoint allows you to fetch detailed information about a specific collection in Tallyfy Answers using its unique name. The response includes collection metadata, schema information, and object counts.
GET /v1/collections/{collection_name}
Parameter | Type | Required | Description |
---|---|---|---|
collection_name | string | Yes | Name of the collection to retrieve |
A successful request returns a 200 OK
status code and a JSON response containing:
{ "name": "products", "description": "Collection of product information", "schema": { "name": { "type": "string" }, "description": { "type": "string" }, "price": { "type": "number" }, "categories": { "type": "string[]" } }, "object_count": 142, "created_at": "2023-08-15T14:32:21Z", "updated_at": "2023-09-01T09:45:33Z"}
Field | Type | Description |
---|---|---|
name | string | The collection’s unique identifier |
description | string | Optional description of the collection |
schema | object | Auto-detected schema based on indexed objects1 |
object_count | number | Total number of objects in the collection |
created_at | string | ISO timestamp when the collection was created |
updated_at | string | ISO timestamp when the collection was last modified |
Status | Description |
---|---|
404 | Collection not found |
400 | Invalid collection name format |
curl -X GET https://go.tallyfy.com/api/collections/products \ -H "X-Answers-API-Key: your_api_key"
- Checking a collection’s current schema
- Verifying the number of objects in a collection
- Retrieving collection metadata before performing operations
- Confirming a collection exists before adding objects
Collections > Create a collection
To create collections in Tallyfy Answers you must first make a POST request to the /v1/collections endpoint with a unique collection name and optional description before adding any objects to the collection.
Collections > Get all collections
The GET /v1/collections endpoint retrieves a summary of all collections in your Tallyfy Answers account sorted by creation date with optional pagination parameters for limit and offset.
Collections > Update a collection
The PATCH endpoint allows modifying existing collection properties like descriptions in Tallyfy Answers while maintaining limitations such as unchangeable collection names and automatic schema detection.
-
Schema types are inferred from first 100 objects; explicit schemas can override auto-detection ↩
About Tallyfy
- 2025 Tallyfy, Inc.
- Privacy Policy
- Terms of Use
- Report Issue
- Trademarks