AimableDocs
DocsAPI Reference
POST/v1/spaces

Create Space

Headers

NameTypeRequiredDescription
X-API-KeystringOptional

Request Body

application/jsonRequired
namestringRequired
descriptionobject
avatar_urlobject
avatar_keyobject
template_keyobject
enabled_toolsobject
apply_pii_pseudonymizationboolean
apply_oii_pseudonymizationboolean
apply_pii_to_knowledge_searchboolean
include_full_file_contentboolean
fast_pdf_extractionbooleanWhen enabled, PDFs uploaded in this space skip Docling and use fast pypdf text extraction. Much faster on large documents, but LOWER QUALITY than the default Docling route: no table structure and no layout/reading-order reconstruction. Scanned PDFs still use OCR/VLM.
system_prompt_templateobject
knowledge_search_guidelinesobject

Request

curl -X POST '/api-proxy/v1/spaces' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "description": {},
  "avatar_url": {},
  "avatar_key": {},
  "template_key": {},
  "enabled_tools": {},
  "apply_pii_pseudonymization": false,
  "apply_oii_pseudonymization": true,
  "apply_pii_to_knowledge_search": true,
  "include_full_file_content": false,
  "fast_pdf_extraction": false,
  "system_prompt_template": {},
  "knowledge_search_guidelines": {}
}'

Response

201

No response body documented

Error Responses