import Charcoal from 'charcoal';const client = new Charcoal({ apiKey: process.env['CHARCOAL_API_KEY'], // This is the default and can be omitted});const namespaces = await client.namespaces.list();console.log(namespaces.results);
Lists all namespaces for the authenticated company.
GET
/
v1beta
/
namespaces
JavaScript
Copy
import Charcoal from 'charcoal';const client = new Charcoal({ apiKey: process.env['CHARCOAL_API_KEY'], // This is the default and can be omitted});const namespaces = await client.namespaces.list();console.log(namespaces.results);