API reference / Developers
Samples API
Read marketplace-gated product samples.
Endpoint
/api/public/products/{productSlug}/samplesReturns cached public sample records for an API/package product.
- Access
- Marketplace access may be required
- Freshness
- Cached public-safe artifact. Check product cadence for source refresh expectations.
curl -sS https://zentrafoundry.com/api/public/products/{productSlug}/samplesconst response = await fetch('https://zentrafoundry.com/api/public/products/{productSlug}/samples', {
method: 'GET',
headers: { 'Accept': 'application/json' }
});
const payload = await response.json();import requests
response = requests.get('https://zentrafoundry.com/api/public/products/{productSlug}/samples', headers={'Accept': 'application/json'})
payload = response.json()Purpose
Read marketplace-gated product samples.
Public and auth behavior
Foundry discovery endpoints are public and return cached public-safe payloads. Marketplace product APIs may require a configured marketplace access path such as bearer token, RapidAPI proxy secret, GitHub entitlement, or Zapier automation key.
Caching and freshness
Responses are backed by generated or cached artifacts. They are meant for stable public discovery and integration, not direct access to internal systems or live provider dashboards.
Errors
Expect standard JSON error responses for missing products, invalid input, rejected access, or throttled requests. Public Foundry API traffic is rate limited to the configured public limiter.
Security notes
Examples use sanitized slugs and do not expose internal database IDs, private run IDs, owner-only endpoints, provider credentials, or bucket names.