Typescript
import { Agentset } from "agentset"; const agentset = new Agentset({ apiKey: 'agentset_xxx' }); const namespaces = await agentset.namespaces.list(); console.log(namespaces);
{ "success": true, "data": [ { "id": "<string>", "name": "<string>", "slug": "<string>", "organizationId": "<string>", "createdAt": "<string>", "embeddingConfig": { "provider": "<string>", "model": "text-embedding-3-small", "apiKey": "<string>" }, "vectorStoreConfig": { "provider": "<string>" } } ] }
Retrieve a list of namespaces for the authenticated organization.
Default authentication mechanism
The retrieved namespaces
Show child attributes