Namespaces
Retrieve a list of namespaces
Retrieve a list of namespaces for the authenticated organization.
GET
/
v1
/
namespace
curl --request GET \
--url https://api.agentset.ai/v1/namespace \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": [
{
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"organizationId": "<string>",
"createdAt": "<string>",
"embeddingConfig": {
"provider": "OPENAI",
"model": "text-embedding-3-small",
"apiKey": "<string>"
},
"vectorStoreConfig": {
"provider": "PINECONE",
"apiKey": "<string>",
"indexHost": "https://example.svc.aped-1234-a56b.pinecone.io"
}
}
]
}
Authorizations
Default authentication mechanism
Response
200
application/json
The retrieved namespaces
The response is of type object
.
curl --request GET \
--url https://api.agentset.ai/v1/namespace \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": [
{
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"organizationId": "<string>",
"createdAt": "<string>",
"embeddingConfig": {
"provider": "OPENAI",
"model": "text-embedding-3-small",
"apiKey": "<string>"
},
"vectorStoreConfig": {
"provider": "PINECONE",
"apiKey": "<string>",
"indexHost": "https://example.svc.aped-1234-a56b.pinecone.io"
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.