TheDocumentation Index
Fetch the complete documentation index at: https://docs.tybritelabs.com/llms.txt
Use this file to discover all available pages before exploring further.
SystemService class provides health checks and basic metadata about the Tybrite API. These methods are public and do not require authentication apart from getStoreInfo.
Access this service via client.system.
getStoreInfo
Retrieve comprehensive store metadata, configuration, and catalog statistics in a single API call. This endpoint is specifically optimized for initial data synchronizations, AI agent context setting, and dashboard overviews.
- Caching: Responses are cached for 5 minutes by default.
- Selective Loading: Use the
sectionsparameter to tailor the response and reduce payload size by up to 80%.
| Section | Description |
|---|---|
catalog | Products, categories, collections, and brand counts. |
pricing | Dynamic pricing flags and customer tier configurations. |
promotions | Active discounts and campaign summaries. |
payments | Merchant’s active payment providers and methods. |
shipping | Delivery zones and fee thresholds. |
cms | Number of published posts and lookbooks. |
features | Platform capability flags (AI, Currency, etc.). |
The
store section (ID, Name, Timezone, Currencies) is always included regardless of the filtered sections.getApiInfo
Retrieve basic information about the API, including the current version and list of available endpoint prefixes.
healthCheck
Verify the operational status of the Tybrite API gateway. This is useful for monitoring or connectivity troubleshooting.
Edge caching:
getStoreInfo responses are cached for 5 minutes (300s) at the Cloudflare edge. Repeat calls from the same region typically hit the edge cache and never reach the origin worker. Pass cache: false to bypass.Response Codes
getApiInfo (GET /) and healthCheck (GET /v1/health)
| Code | Meaning |
|---|---|
200 | Service is reachable. |
401, 403, or 429 is emitted.
getStoreInfo (GET /v1/store/info)
Requires authentication. Both publishable and secret keys are accepted.
| Code | Meaning |
|---|---|
200 | Store info returned (possibly served from edge cache). |
400 | Invalid sections parameter (unknown section name). |
401 | Invalid or missing API key. |
403 | Forbidden (e.g., key disabled or store suspended). |
429 | Rate limit exceeded. |
500 | Internal server error. |

