Integration FAQ: Webhooks, Idempotency & Autonomy
Tutorials

Integration FAQ: Webhooks, Idempotency & Autonomy

Frequently asked questions about building robust, autonomous integrations with the BrandBard Council of Providers.

BrandBard AI BrandBard AI
•

Integration FAQ

This FAQ addresses common engineering questions when building automated integrations with the BrandBard Council of Providers.

How do I handle duplicate requests (Idempotency)?

  • Answer: BrandBard supports the idempotency_key header in analysis requests.
  • Example: If your agent experiences a network timeout while dispatching an analysis, it can retry the request with the identical idempotency_key: key_12345. BrandBard will safely recognize the key, avoid double-charging your account, and return the existing record.

What is the typical latency?

  • Answer: A full Council analysis involves web crawling, cleaning, multiple parallel LLM dispatches, and statistical consensus calculation. This typically takes between 30 and 60 seconds. We recommend setting your client connection timeouts to 90 seconds, although Webhooks are the preferred architectural solution.

How secure are the webhooks?

  • Answer: Every webhook is signed with an HMAC SHA-256 signature passed in the X-BrandBard-Signature header. You verify this using your signing secret from the API Keys Hub. Detailed code snippets for signature validation are available in the Agentic Implementation Guide.

Can I select specific models?

  • Answer: Yes. The /api/v1/analysis endpoint accepts a models array. You can list specific keys (e.g., ['openai', 'anthropic']) to customize your panel. You can read the list of available providers using the GET /api/v1/providers endpoint.

How is Perception Variance calculated?

  • Answer: Perception Variance is the statistical standard deviation of the scores assigned by each Council member across our three pillars (Clarity, Differentiation, Resonance).
  • Example: If OpenAI scores a landing page at 9.0, Anthropic at 8.8, and Google at 9.2, the variance is very low (~0.16), indicating high consensus. If OpenAI scores it at 9.0 but Anthropic scores it at 4.0, the variance is very high (~2.5), warning you of severe positioning disagreements. Read more in our guide: What Is Perception Variance?.

What happens if a model provider is down?

  • Answer: BrandBard uses a resilient orchestration layer. If a specific provider is down or rate-limited, our system will retry the request with exponential backoff. If it still fails, the Council will proceed with the remaining active models to ensure you get your results as quickly as possible. Your account is only charged for the models that successfully responded.

For complete API schemas and endpoint documentation, refer directly to our API Reference or read about how we handle errors in the API Error Governance Guide. Still have questions? Reach out to our technical team at [email protected].