Axelered AI
API Workspace

Create Workspace

POST
/w

Create a new workspace with the specified name and optional configuration.

Request Body

application/json

Response Body

application/json

application/json

{  "data": {    "config": {      "chat": {        "llmOverrides": {},        "retrieve": {          "blocksLimit": 10,          "docsLimit": 10,          "includeVector": false,          "scoreThreshold": 0.5        }      },      "search": {        "llmOverrides": {},        "retrieve": {          "blocksLimit": 10,          "docsLimit": 10,          "includeVector": false,          "scoreThreshold": 0.5        }      }    },    "createdAt": "2026-05-20T10:14:00.000Z",    "id": "018f8e02-4b2a-7c9d-8d4e-123456789abc",    "name": "production-core",    "searchLlmId": "018f8e02-4b2a-7c9d-8d4e-111122223333",    "updatedAt": "2026-05-20T10:14:00.000Z"  },  "status": "ok"}
{  "detail": [    {      "loc": [        "path",        "workspace_id"      ],      "msg": "Input should be a valid UUID",      "type": "uuid_parsing",      "input": "not-a-uuid"    },    {      "loc": [        "body",        "name"      ],      "msg": "Field required",      "type": "missing"    }  ]}