Skip to main content

List Workspaces

List all workspaces in your organization.

GET /v1/workspaces

Example Request

curl https://api.inherent.systems/v1/workspaces \
-H "Authorization: Bearer $INHERENT_API_KEY"

Response

{
"workspaces": [
{
"id": "ws_abc123",
"name": "Production",
"description": "Production knowledge base",
"stats": {
"documents": 156,
"chunks": 4200
},
"created_at": "2024-01-15T10:30:00Z"
},
{
"id": "ws_def456",
"name": "Development",
"description": "Development and testing",
"stats": {
"documents": 42,
"chunks": 1100
},
"created_at": "2024-01-10T09:00:00Z"
}
]
}