Search knowledge base
Knowledge base articles that match a phrase, with category and tags.
GET https://cotlet.dev/api/v1/jitbit/kbs/search
read
Searches article subjects, bodies and tags and returns the matches with ID, subject, category and tags. Only articles your Jitbit user may see are returned. Use get_kb_article to read one. The official Jitbit MCP offers the same search.
Parameters
| Name | Type | Description |
|---|---|---|
| query string required | string | Words to find in the article subject, body and tags. |
| limit integer | integer | How many to return. Default: 25. |
Request
curl "https://cotlet.dev/api/v1/jitbit/kbs/search?query=query" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("jitbit", "search_kb", {"query":"query"}) const result = await cotlet.call('jitbit', 'search_kb', {"query":"query"}); cotlet call jitbit search_kb --data '{"query":"query"}' Example response
{
"articles": [
{
"article_id": 87,
"subject": "Reset your password",
"category": "Accounts",
"tags": [
"password",
"login"
]
}
]
}