Namespaces
Retrieve a namespace
Namespaces
Retrieve a namespace
Retrieve the info for a namespace.
GET
/
v1
/
namespace
/
{namespaceId}
curl --request GET \
--url https://api.agentset.ai/v1/namespace/{namespaceId} \
--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
Path Parameters
The id of the namespace to retrieve.
Response
200
application/json
The retrieved namespace
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/{namespaceId} \
--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"
}
}
}