curl https://app.tryafk.com/api/v1/recall \
-H "Authorization: Bearer $KIP_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "Oklo pricing"}'
{
"brains": [
{
"scope": "personal",
"reachable": true,
"results": [
{ "path": "projects/oklo.md", "title": "Oklo", "snippet": "Revised pricing promised by Friday ..." }
]
},
{ "scope": "company", "reachable": true, "results": [] }
]
}
API reference
Recall
Search a person’s memory and get the matching pages back.
POST
/
api
/
v1
/
recall
curl https://app.tryafk.com/api/v1/recall \
-H "Authorization: Bearer $KIP_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "Oklo pricing"}'
{
"brains": [
{
"scope": "personal",
"reachable": true,
"results": [
{ "path": "projects/oklo.md", "title": "Oklo", "snippet": "Revised pricing promised by Friday ..." }
]
},
{ "scope": "company", "reachable": true, "results": [] }
]
}
The fast way into memory: a search across the person’s own brain and their company’s, with the best matching pages. Open a page in full with Read memory. Use Ask instead when you want Kip to research and write the answer.
Each recall is one credit. Credentials, card numbers and similar values are redacted from snippets, and a query asking for them is refused with
Authorization
Authorization: Bearer kipm_..., the person’s key.
Body
string
required
Words to look for: names, topics, projects, phrases. Up to 500 characters.
"all" | "personal" | "company"
default:"all"
Which memory to search.
company needs a company account.Response
object[]
One entry per brain searched, personal first:
scope:personalorcompanyreachable: false when that brain did not answer; its results are then emptyresults: up to 12{ path, title, snippet }, best first
curl https://app.tryafk.com/api/v1/recall \
-H "Authorization: Bearer $KIP_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "Oklo pricing"}'
{
"brains": [
{
"scope": "personal",
"reachable": true,
"results": [
{ "path": "projects/oklo.md", "title": "Oklo", "snippet": "Revised pricing promised by Friday ..." }
]
},
{ "scope": "company", "reachable": true, "results": [] }
]
}
403 sensitive_request.
