Agent

Agent Query

post/api/v1/agent/query

Request

  • Base URL: https://api.africadb.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.africadb.com/api/v1/agent/query
  • Auth: none declared

Request body

questionstring required

Plain-English question about African data. Examples: "What's the GDP of Kenya?" or "Compare inflation in Nigeria and South Africa" or "Which African country has the highest life expectancy?"

max_countriesinteger

Response

Successful Response

okboolean
questionstring required
answerstring required
citationsobject
groundedboolean
generated_atstring date-time
diagnosticsobject

Changes

No recorded changes to this operation across all 1 revision of this API.