Skip to content

Retrieve Agent Data Summary

Retrieve a summary data available to an agent.

GET /agents/data-summary


Authorization string Required

Bearer token for authentication. The agent is determined from the API key.


Request
import Inconvo from "@inconvoai/node";
const inconvo = new Inconvo({
apiKey: process.env.INCONVO_API_KEY
});
const summary = await inconvo.agents.dataSummary.retrieve();
console.log(summary);
Response
{
"dataSummary": "• organisations - Stores information about organizations including their name and creation date. • users - Contains user details such as contact info, location, and association with an organization. • products - Holds product data including category, price, stock level, and linked organization. • orders - Records purchase transactions linking users, products, and organizations with pricing details. • reviews - Captures user ratings and comments on products within organizations."
}
curl -X GET "https://app.inconvo.ai/api/v1/agents/data-summary" \
-H "Authorization: Bearer $INCONVO_API_KEY" \
-H "Accept: application/json"
Response
{
"dataSummary": "• organisations - Stores information about organizations including their name and creation date. • users - Contains user details such as contact info, location, and association with an organization. • products - Holds product data including category, price, stock level, and linked organization. • orders - Records purchase transactions linking users, products, and organizations with pricing details. • reviews - Captures user ratings and comments on products within organizations."
}