The Aatman REST API allows you to programmatically interact with your dashboard, manage users, and retrieve usage analytics.
Authenticate your API requests by including your secret API key in the `Authorization` header.
/v1/components
Retrieves a list of all available UI components in your library.
/v1/generate
Generates a new component configuration based on the provided prompt.
curl https://api.aatman.ai/v1/components \
-H "Authorization: Bearer sk_test_12345" \
-H "Content-Type: application/json"
const Aatman = require('aatman-node');
const client = new Aatman('sk_test_12345');
const components = await client.components.list();
console.log(components);