Retrieve Agent Data Summary
Retrieve a summary data available to an agent.
GET /agents/data-summary
Headers
Section titled “Headers”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);{ "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."}