Update Workspace
Update workspace settings.
PATCH /v1/workspaces/:id
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Workspace ID |
Request Body
| Field | Type | Description |
|---|---|---|
name | string | Workspace name |
description | string | Workspace description |
settings | object | Workspace settings |
Example Request
curl -X PATCH https://api.inherent.systems/v1/workspaces/ws_abc123 \
-H "Authorization: Bearer $INHERENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Production Knowledge Base v2",
"settings": {
"default_chunking": "paragraphs"
}
}'
Response
{
"id": "ws_abc123",
"name": "Production Knowledge Base v2",
"description": "Main production documentation and guides",
"settings": {
"default_chunking": "paragraphs",
"embedding_model": "text-embedding-3-small"
},
"updated_at": "2024-01-18T14:20:00Z"
}
Errors
| Code | Description |
|---|---|
404 | Workspace not found |
409 | Workspace name already exists |