Namespaces
Delete a namespace.
Namespaces
Delete a namespace.
Delete a namespace for the authenticated organization. This will delete all the data associated with the namespace.
DELETE
/
v1
/
namespace
/
{namespaceId}
curl --request DELETE \
--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 delete.
Response
204
application/json
The deleted 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 DELETE \
--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"
}
}
}