UBIK Agent will launch soon, join the waitlist to get access!
import requests
url = "https://app.ubik-agent.com/api/v1/workspaces"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"name": "My Project Workspace",
"description": "Contains all documents related to the Q1 sales report.",
"is_default": true,
"created_at": "2025-09-28T10:00:00Z",
"updated_at": "2025-09-28T11:00:00Z",
"document_count": 42
}
],
"total": 1,
"page": 1,
"limit": 20,
"has_more": false
}Retrieves a paginated list of all workspaces accessible to the user. This includes personal workspaces and shared company workspaces.
import requests
url = "https://app.ubik-agent.com/api/v1/workspaces"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"name": "My Project Workspace",
"description": "Contains all documents related to the Q1 sales report.",
"is_default": true,
"created_at": "2025-09-28T10:00:00Z",
"updated_at": "2025-09-28T11:00:00Z",
"document_count": 42
}
],
"total": 1,
"page": 1,
"limit": 20,
"has_more": false
}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.
x >= 11 <= x <= 100Successful Response
Hide child attributes
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.
Total number of workspaces available.
The current page number.
The number of items per page.
Indicates if there are more pages available.
Was this page helpful?