·
Last changedVersion:
This version passed the hardening gate. The skill content was retained without changes. Classified findings before hardening: 1. Classified findings closed: 0. Classified findings remaining: 1. Unclassified scanner findings remaining: 0. Review findings closed: 0. Review findings remaining: 11.
1
1
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
SKILL.md | Sensitive Data & Secret Exposure | Data exfiltration | Medium | Open |
1 finding
| Use Case | Skill | Why |
|---|---|---|
Quick factual answer (raw context) |
| Single search, returns raw context for YOUR LLM |
Fast AI answer with citations |
| streaming, citations |
Thorough multi-search deep research |
| Iterative deep research, synthesized cited answer |
This endpoint (/res/v1/chat/completions) supports two modes:
enable_citations.enable_research=true): Multi-iteration deep research with progress events and synthesized cited answer.Authentication: X-Subscription-Token: <API_KEY> header (or Authorization: Bearer <API_KEY>)
SDK Compatible: Works with OpenAI SDK via base_url="https://api.search.brave.com/res/v1"
| Feature | Single-Search (default) | Research (enable_research=true) |
|---|---|---|
Speed | Fast | Slow |
Searches | 1 | Multiple (iterative) |
Streaming | Optional ( | Required ( |
Citations |
| Built-in (in |
Progress events | No | Yes ( |
Blocking response | Yes ( | No |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| array | Yes | - | Single user message (exactly 1 message) |
| bool | No | true | Enable SSE streaming |
| string | No | "US" | Search country (2-letter country code or |
| string | No | "en" | Response language |
| string | No | "moderate" | Search safety level ( |
| int | No | null | Upper bound on completion tokens |
| bool | No | false | Include inline citation tags (single-search streaming only) |
| object | No | null | OpenAI-compatible; |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| bool | No |
| Enable research mode |
| bool | No |
| Enable extended thinking |
| int | No |
| Max tokens per query (1024-16384) |
| int | No |
| Max total search queries (1-50) |
| int | No |
| Max research iterations (1-5) |
| int | No |
| Time budget in seconds (1-300) |
| int | No |
| Results per search query (1-60) |
| Constraint | Error |
|---|---|
| "Blocking response doesn't support 'enable_research' option" |
| "Research mode doesn't support 'enable_citations' option" |
| "Blocking response doesn't support 'enable_citations' option" |
stream=false, single-search only)Standard OpenAI-compatible JSON:
SSE response with OpenAI-compatible chunks:
enable_citations=true)| Tag | Purpose |
|---|---|
| Inline citation references |
| JSON cost/billing data |
| Tag | Purpose | Keep? |
|---|---|---|
| Generated search queries | Debug |
| URL counts (verbose) | Debug |
| URL selection reasoning | Debug |
| Stats: time, iterations, queries, URLs analyzed, tokens | Monitor |
| Knowledge gaps identified | Yes |
| Final synthesized answer (only the final answer is emitted; intermediate drafts are dropped) | Yes |
| JSON cost/billing data (included at end of streaming response) | Yes |
The <usage> tag contains JSON-stringified cost and token data:
base_url="https://api.search.brave.com/res/v1".enable_research=true) for complex questions needing multi-source synthesis (e.g., "Compare approaches to nuclear fusion").base_url and api_key. Works with both sync and async clients.enable_citations=true in single-search mode for inline citation tags, or use research mode which automatically includes citations in its answer.messages array must contain exactly 1 user message<usage> tag from streaming responses to track costsGet started with chainctlchainctl skill install public/brave/answers:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.cgr.dev/public/github.com/brave/skills/answers:latest
MIT
HARDENING.md
LICENSE
SKILL.md