{"name":"Deskflow API","version":"1.0.0","description":"Document processing API with Temporal workflows - Multi-tenant SaaS","endpoints":{"health":"GET /health","docs":"GET /docs (Swagger UI)","documents":{"list":"GET /documents?tenantId={uuid}","get":"GET /documents/:id","create":"POST /documents","process":"POST /documents/:id/process","delete":"DELETE /documents/:id"},"upload":{"upload":"POST /api/upload","fromUrl":"POST /api/upload/from-url","status":"GET /api/upload/:id/status"},"webhooks":{"list":"GET /api/webhooks?tenantId={id}","create":"POST /api/webhooks","update":"PUT /api/webhooks/:id","delete":"DELETE /api/webhooks/:id","deliveries":"GET /api/webhooks/:id/deliveries"},"documentTypes":{"list":"GET /api/document-types?tenantId={uuid}","get":"GET /api/document-types/:id","getByCode":"GET /api/document-types/code/:code?tenantId={uuid}","create":"POST /api/document-types","update":"PUT /api/document-types/:id?tenantId={uuid}","delete":"DELETE /api/document-types/:id?tenantId={uuid}","categories":"GET /api/document-types/categories/list?tenantId={uuid}","byCategory":"GET /api/document-types/by-category/:categoryId?tenantId={uuid}","forClassification":"GET /api/document-types/for-classification/list?tenantId={uuid}","extractionSchema":"GET /api/document-types/extraction-schema/:code?tenantId={uuid}"},"apiKeys":{"list":"GET /api/keys?tenantId={uuid}","create":"POST /api/keys","revoke":"DELETE /api/keys/:id"},"transactions":{"list":"GET /api/transactions","get":"GET /api/transactions/:id","create":"POST /api/transactions","update":"PATCH /api/transactions/:id","delete":"DELETE /api/transactions/:id","addDocument":"POST /api/transactions/:id/documents","removeDocument":"DELETE /api/transactions/:id/documents/:documentId","evaluate":"POST /api/transactions/:id/evaluate"},"tenants":{"get":"GET /api/tenants/me","update":"PATCH /api/tenants/me"},"workflows":{"list":"GET /api/workflows","get":"GET /api/workflows/:id","create":"POST /api/workflows","update":"PATCH /api/workflows/:id","delete":"DELETE /api/workflows/:id","validate":"POST /api/workflows/validate"},"executions":{"list":"GET /api/executions","get":"GET /api/executions/:id","byDocument":"GET /api/executions/document/:documentId"}}}