API reference / Developers
AI agent and MCP API
AI-agent routes expose tool metadata and MCP descriptors for configured products.
Endpoint
/api/public/ai-agents/products/{productSlug}/toolsReturns public-safe tool metadata for an agent-ready 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/ai-agents/products/{productSlug}/toolsconst response = await fetch('https://zentrafoundry.com/api/public/ai-agents/products/{productSlug}/tools', {
method: 'GET',
headers: { 'Accept': 'application/json' }
});
const payload = await response.json();import requests
response = requests.get('https://zentrafoundry.com/api/public/ai-agents/products/{productSlug}/tools', headers={'Accept': 'application/json'})
payload = response.json()Purpose
AI-agent routes expose tool metadata and MCP descriptors for configured products.
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.