Namespaces
Retrieve a list of namespaces
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 unique ID of the namespace.
The name of the namespace.
The slug of the namespace.
The ID of the organization that owns the namespace.
The date and time the namespace was created.
The embedding model config. If not provided, our managed embedding model will be used. Note: You can't change the embedding model config after the namespace is created.
The vector store config. If not provided, our managed vector store will be used. Note: You can't change the vector store config after the namespace is created.
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"
}
}
]
}