My employer created a new Kagi account to make some tests with the API. Created an API token and added some credits.
This is the request I'm sending:
curl -s -H "Authorization: Bot $TOKEN" -H "Content-Type: application/json" --data '{"query": "Skedia Arquitectura"}' https://kagi.com/api/v0/fastgpt | jq
And the response:
{
"meta": {
"id": "7d9bee57163b02f10ba07854d66f48da",
"node": "us-central1",
"ms": 0,
"api_balance": 9.97
},
"data": {
"output": null,
"tokens": 0
},
"error": [
{
"code": 0,
"msg": "Sorry, a problem occurred while processing your request. Please try again later.",
"ref": null
}
]
}
Is the API down or do I need to configure something else?
Expected successful output with results, according to docs: https://help.kagi.com/kagi/api/fastgpt.html#answer-query