API Reference
- Session Management
- User Management
- Content Management
- Space Management
- Memory Management
- Integrations
API Reference
Content Management
Memory Management
Session Management
User Management
Space Management
Integrations
Space Management
Create Space
Creates a new space.
POST
/
spaces
/
create
Copy
curl --request POST \
--url https://ragapi.sno.ai/v1/spaces/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"spaceName": "<string>",
"isPublic": false
}'
Copy
{
"message": "<string>",
"space": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"isPublic": true,
"isFavorite": true,
"owner": {
"firstName": "<string>",
"lastName": "<string>"
},
"accessType": "read",
"createdAt": "2023-11-07T05:31:56Z"
}
}
Authorizations
Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'
Body
application/json
Response
200
application/json
Space created successfully
The response is of type object
.
Copy
curl --request POST \
--url https://ragapi.sno.ai/v1/spaces/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"spaceName": "<string>",
"isPublic": false
}'
Copy
{
"message": "<string>",
"space": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"isPublic": true,
"isFavorite": true,
"owner": {
"firstName": "<string>",
"lastName": "<string>"
},
"accessType": "read",
"createdAt": "2023-11-07T05:31:56Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.