### Health GET http://127.0.0.1:8080/health ### Plans GET http://127.0.0.1:8080/plans ### Portal auth config GET http://127.0.0.1:8080/auth/config ### LY SSO login POST http://127.0.0.1:8080/auth/ly-sso/login Content-Type: application/json { "username": "ly-xujian1", "password": "replace-with-env-password" } ### Google login POST http://127.0.0.1:8080/auth/google/login Content-Type: application/json { "id_token": "replace-with-google-id-token" } ### Demo bootstrap POST http://127.0.0.1:8080/demo/bootstrap Content-Type: application/json { "tenant_name": "Aurask Demo", "email": "owner@example.com" } ### Set API key after bootstrap @api_key = ak_replace_me ### Set session token after portal login @session_token = sess_replace_me ### Session profile GET http://127.0.0.1:8080/auth/session Authorization: Bearer {{session_token}} ### Logout POST http://127.0.0.1:8080/auth/logout Authorization: Bearer {{session_token}} ### Quota GET http://127.0.0.1:8080/quota Authorization: Bearer {{api_key}} ### Workflow templates GET http://127.0.0.1:8080/workflow-templates Authorization: Bearer {{api_key}} ### List workspaces GET http://127.0.0.1:8080/workspaces Authorization: Bearer {{api_key}} ### Create workspace POST http://127.0.0.1:8080/workspaces Authorization: Bearer {{api_key}} Content-Type: application/json { "name": "Support KB" } ### Upload document metadata POST http://127.0.0.1:8080/documents Authorization: Bearer {{api_key}} Content-Type: application/json { "workspace_id": "ws_replace_me", "filename": "support-guide.pdf", "size_bytes": 1048576, "content_type": "application/pdf", "content_preview": "Support guide hash input" } ### Run workflow POST http://127.0.0.1:8080/workflow-runs Authorization: Bearer {{api_key}} Content-Type: application/json { "template_id": "tpl_knowledge_qa", "workspace_id": "ws_replace_me", "inputs": { "question": "How can Aurask help my support team?" } } ### Create TBU order POST http://127.0.0.1:8080/orders Authorization: Bearer {{api_key}} Content-Type: application/json { "product_code": "tbu_1000", "quantity": 1 } ### Match USDT-TRC20 payment POST http://127.0.0.1:8080/payments/match Authorization: Bearer {{api_key}} Content-Type: application/json { "order_id": "order_replace_me", "tx_hash": "tron_tx_hash_replace_me", "amount_usdt": 21.87, "confirmations": 20 } ### Admin bridge status GET http://127.0.0.1:8080/admin/bridge-status Authorization: Bearer {{api_key}}