Retrieve the info for a namespace.
TypeScript
import { Agentset } from "agentset"; const agentset = new Agentset({ apiKey: 'agentset_xxx' }); const namespace = await agentset.namespaces.get("ns_xxx"); console.log(namespace);
{ "success": true, "data": { "id": "<string>", "name": "<string>", "slug": "<string>", "organizationId": "<string>", "createdAt": "<string>", "embeddingConfig": { "provider": "<string>", "apiKey": "<string>" }, "vectorStoreConfig": { "provider": "<string>" } } }
Documentation IndexFetch the complete documentation index at: https://docs.agentset.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.agentset.ai/llms.txt
Use this file to discover all available pages before exploring further.
Default authentication mechanism
The id of the namespace (prefixed with ns_)
"ns_123"
The retrieved namespace
Show child attributes