UBIK Agent will launch soon, join the waitlist to get access!
import requests
url = "https://app.ubik-agent.com/api/v1/workspaces"
payload = {
"name": "New Project Workspace",
"description": "Workspace for the new project.",
"is_default": False
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"document_count": 123,
"description": "<string>",
"is_default": false,
"workspace_metadata": {}
}Creates a new personal workspace for the user.
import requests
url = "https://app.ubik-agent.com/api/v1/workspaces"
payload = {
"name": "New Project Workspace",
"description": "Workspace for the new project.",
"is_default": False
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"document_count": 123,
"description": "<string>",
"is_default": false,
"workspace_metadata": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.ubik-agent.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
The unique identifier for the workspace.
The name of the workspace.
The timestamp when the workspace was created.
The timestamp when the workspace was last updated.
The number of documents contained within the workspace.
A brief description of the workspace's purpose.
Indicates if this is the default workspace for the user.
Metadata for the workspace.
Was this page helpful?