API Reference
Knowledge base
The company context that powers signal detection and outreach drafting. Manage its sections and read the workspace company profile.
List sections
GET
/knowledge-baseReturns knowledge base sections ordered by position.
Response
{
"data": [
{
"id": "...",
"type": "value_prop",
"title": "Why teams switch to us",
"content_md": "We cut ramp time by...",
"source_url": null,
"is_ai_generated": true,
"position": 3,
"created_at": "2026-06-01T..."
}
]
}Add a section
POST
/knowledge-baseBody fields
titlestringrequiredSection heading.
content_mdstringrequiredSection body, Markdown.
typestringoptionalSection type, e.g. overview, product, value_prop, icp, pricing, competitor, custom. Defaults to custom.
positionintegeroptionalSort position. Defaults to the end.
Request
curl -X POST https://usehunch.co/api/v1/knowledge-base \
-H "Authorization: Bearer hunch_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "type": "product", "title": "Core product", "content_md": "Hunch is..." }'Update a section
PATCH
/knowledge-base/:idPatchable fields:
titlestringoptionalSection heading.
content_mdstringoptionalSection body, Markdown.
typestringoptionalSection type.
positionintegeroptionalSort position.
Delete a section
DELETE
/knowledge-base/:idResponse
{ "data": { "id": "...", "deleted": true } }Get the company profile
GET
/company-profileReturns the workspace company profile that seeds the knowledge base.
Response
{
"data": {
"name": "Hunch",
"domain": "usehunch.co",
"logo_url": "...",
"business_context": "Hunch surfaces buying signals for B2B sales teams...",
"scraped_meta": { "...": "..." },
"updated_at": "2026-06-20T..."
}
}