{"openapi":"3.1.0","info":{"title":"Code Deb Public Tools API","version":"1.0.0","description":"Bounded public utilities from Code Deb Pvt. Ltd. Nepal. No account, secret or private-file submission. Browser-only operations are listed for discovery, not executed by this API."},"servers":[{"url":"https://www.codedeb.com/tools-api/v1"}],"security":[],"paths":{"/catalog":{"get":{"operationId":"list_tool_catalog","summary":"Find Code Deb tools and execution modes","parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":120}},{"name":"category","in":"query","schema":{"type":"string","maxLength":40}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"maximum":1000}}],"responses":{"200":{"description":"Paginated catalog","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"Invalid query"}}}},"/catalog/{slug}":{"get":{"operationId":"describe_tool_page","summary":"Read exact capabilities and execution requirements","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Tool capability record","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"404":{"description":"Unknown tool"}}}},"/operations/{name}":{"get":{"operationId":"describe_tool_operation","summary":"Read exact operation schema","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Operation descriptor","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"404":{"description":"Unknown operation"}}}},"/execute/find_media_tool":{"post":{"operationId":"find_media_tool","summary":"find media tool","description":"Return the canonical Code Deb website tool for authorized media and its limitations. Does not retrieve media or start a download.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["provider"],"properties":{"provider":{"type":"string","enum":["facebook","instagram","youtube","youtube-audio","tiktok","pinterest"]}}}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_find_tools":{"post":{"operationId":"codedeb_find_tools","summary":"codedeb find tools","description":"Find canonical Code Deb tools by task or category; returns compact execution status. Use codedeb_tool_information for details.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","description":"Task or keyword; empty lists all","maxLength":120},"category":{"type":"string","description":"Optional category ID","maxLength":40},"offset":{"type":"integer","description":"Page offset","minimum":0,"maximum":1000}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_tool_information":{"post":{"operationId":"codedeb_tool_information","summary":"codedeb tool information","description":"Read tool capabilities, executable operation names and canonical URL.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string","description":"Tool slug","maxLength":100}},"required":["slug"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_operation_schema":{"post":{"operationId":"codedeb_operation_schema","summary":"codedeb operation schema","description":"Read the exact input schema for one named operation, including browser-only actions. Does not run the operation.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Operation name from catalog","maxLength":100}},"required":["name"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_compare_csv":{"post":{"operationId":"codedeb_compare_csv","summary":"codedeb compare csv","description":"Compare two small, non-sensitive CSV datasets by identifier columns. Reports changes and duplicates; does not accept Excel binaries.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"left":{"type":"string","description":"CSV text including headers","maxLength":4000},"right":{"type":"string","description":"CSV text including headers","maxLength":4000},"leftKey":{"type":"string","description":"First identifier column","maxLength":140},"rightKey":{"type":"string","description":"Second identifier column","maxLength":140}},"required":["left","right","leftKey","rightKey"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_consolidate_csv":{"post":{"operationId":"codedeb_consolidate_csv","summary":"codedeb consolidate csv","description":"Combine two small CSV tables by matching headers; non-sensitive data only.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"left":{"type":"string","description":"CSV text including headers","maxLength":4000},"right":{"type":"string","description":"CSV text including headers","maxLength":4000}},"required":["left","right"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_generate_sql_import":{"post":{"operationId":"codedeb_generate_sql_import","summary":"codedeb generate sql import","description":"Generate PostgreSQL SQL import text from small CSV input. Does not connect to or modify any database.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csv":{"type":"string","description":"CSV text including headers","maxLength":4000},"table":{"type":"string","description":"SQL table identifier","maxLength":63}},"required":["csv","table"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_generate_mock_data":{"post":{"operationId":"codedeb_generate_mock_data","summary":"codedeb generate mock data","description":"Generate synthetic CSV records from field:type lines (id, name, email, integer, decimal, date, boolean, uuid, sku).","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"schema":{"type":"string","description":"Field definitions","maxLength":1000},"count":{"type":"integer","description":"Number of records","minimum":1,"maximum":100},"seed":{"type":"integer","description":"Reproducible seed","minimum":0,"maximum":4294967295}},"required":["schema","count","seed"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_review_openapi":{"post":{"operationId":"codedeb_review_openapi","summary":"codedeb review openapi","description":"Inspect supported OpenAPI JSON operations and response codes, or compare two documents. No external references resolved.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"document":{"type":"string","description":"JSON text","maxLength":4000},"compare":{"type":"string","description":"JSON text","maxLength":4000}},"required":["document"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_design_database":{"post":{"operationId":"codedeb_design_database","summary":"codedeb design database","description":"Generate PostgreSQL DDL from a JSON object containing tables and columns. Does not execute SQL.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"json":{"type":"string","description":"JSON text","maxLength":4000}},"required":["json"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_generate_docker_config":{"post":{"operationId":"codedeb_generate_docker_config","summary":"codedeb generate docker config","description":"Generate Dockerfile and Compose starter text. Does not build images or deploy containers.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Service name","maxLength":50},"runtime":{"type":"string","description":"Runtime","enum":["node","python","static"]},"port":{"type":"integer","description":"Container listening port","minimum":1,"maximum":65535}},"required":["name","runtime","port"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_infer_json_schema":{"post":{"operationId":"codedeb_infer_json_schema","summary":"codedeb infer json schema","description":"Infer a JSON Schema and TypeScript type from a small JSON example. Does not certify schema validation.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"json":{"type":"string","description":"JSON text","maxLength":4000}},"required":["json"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_reconcile_bank_csv":{"post":{"operationId":"codedeb_reconcile_bank_csv","summary":"codedeb reconcile bank csv","description":"Compare synthetic or anonymized bank/ledger CSV amounts by reference. No bank connection.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"left":{"type":"string","description":"CSV text including headers","maxLength":4000},"right":{"type":"string","description":"CSV text including headers","maxLength":4000},"leftKey":{"type":"string","description":"First reference column","maxLength":140},"rightKey":{"type":"string","description":"Second reference column","maxLength":140},"leftAmount":{"type":"string","description":"First amount column","maxLength":140},"rightAmount":{"type":"string","description":"Second amount column","maxLength":140}},"required":["left","right","leftKey","rightKey","leftAmount","rightAmount"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_reconcile_inventory_csv":{"post":{"operationId":"codedeb_reconcile_inventory_csv","summary":"codedeb reconcile inventory csv","description":"Reconcile non-sensitive inventory quantities by SKU. Does not change inventory records.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"left":{"type":"string","description":"CSV text including headers","maxLength":4000},"right":{"type":"string","description":"CSV text including headers","maxLength":4000},"leftKey":{"type":"string","description":"First SKU column","maxLength":140},"rightKey":{"type":"string","description":"Second SKU column","maxLength":140},"leftAmount":{"type":"string","description":"First quantity column","maxLength":140},"rightAmount":{"type":"string","description":"Second quantity column","maxLength":140}},"required":["left","right","leftKey","rightKey","leftAmount","rightAmount"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_parse_statement_text":{"post":{"operationId":"codedeb_parse_statement_text","summary":"codedeb parse statement text","description":"Parse synthetic or redacted statement lines: YYYY-MM-DD description signed-amount closing-balance. Reports unmatched lines. No bank connection.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Redacted statement text","maxLength":4000}},"required":["text"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_calculate_invoice":{"post":{"operationId":"codedeb_calculate_invoice","summary":"codedeb calculate invoice","description":"Calculate invoice totals from CSV columns description,quantity,price with explicit tax and discount. No invoice issuance.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csv":{"type":"string","description":"CSV text including headers","maxLength":4000},"taxRate":{"type":"string","description":"Tax percentage","maxLength":16},"discount":{"type":"string","description":"Fixed discount amount","maxLength":16}},"required":["csv","taxRate","discount"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_calculate_payslip":{"post":{"operationId":"codedeb_calculate_payslip","summary":"codedeb calculate payslip","description":"Calculate illustrative gross and net pay using anonymous amounts and supplied deductions. No employee records or statutory tax determination.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"basic":{"type":"string","description":"Basic pay","maxLength":16},"allowances":{"type":"string","description":"Allowances","maxLength":16},"deductions":{"type":"string","description":"Deductions","maxLength":16},"tds":{"type":"string","description":"Withholding","maxLength":16}},"required":["basic","allowances","deductions","tds"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_plan_compliance_dates":{"post":{"operationId":"codedeb_plan_compliance_dates","summary":"codedeb plan compliance dates","description":"Generate illustrative Nepal monthly VAT, TDS or SSF planning dates from the existing calendar; confirm authority deadlines and extensions.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"year":{"type":"integer","description":"BS year","minimum":2083,"maximum":2084},"month":{"type":"integer","description":"BS month","minimum":1,"maximum":12},"count":{"type":"integer","description":"Months","minimum":1,"maximum":12},"type":{"type":"string","description":"Obligation","enum":["VAT","TDS","SSF"]}},"required":["year","month","count","type"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_export_compliance_ics":{"post":{"operationId":"codedeb_export_compliance_ics","summary":"codedeb export compliance ics","description":"Export illustrative Nepal monthly planning reminders as iCalendar text.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"year":{"type":"integer","description":"BS year","minimum":2083,"maximum":2084},"month":{"type":"integer","description":"BS month","minimum":1,"maximum":12},"count":{"type":"integer","description":"Months","minimum":1,"maximum":12},"type":{"type":"string","description":"Obligation","enum":["VAT","TDS","SSF"]}},"required":["year","month","count","type"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_inspect_sanitized_har":{"post":{"operationId":"codedeb_inspect_sanitized_har","summary":"codedeb inspect sanitized har","description":"Analyze a small synthetic or sanitized HAR. No live traffic or network access. Never submit cookies, authorization headers or private URLs.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"json":{"type":"string","description":"JSON text","maxLength":4000}},"required":["json"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_convert_land_area":{"post":{"operationId":"codedeb_convert_land_area","summary":"codedeb convert land area","description":"Convert Nepal traditional land units and metric area using conventional conversion factors. Not a survey.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"area":{"type":"number","description":"Area in selected unit","minimum":0,"maximum":1000000000000},"unit":{"type":"string","enum":["ropani","aana","paisa","daam","bigha","kattha","dhur","sqft","sqm","acre","hectare"],"description":"Source area unit"}},"required":["area","unit"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_loan_amortization":{"post":{"operationId":"codedeb_loan_amortization","summary":"codedeb loan amortization","description":"Calculate fixed nominal interest monthly repayment and complete amortization schedule. No fees or floating rates.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"principal":{"type":"number","description":"Loan principal","minimum":1,"maximum":1000000000000},"annualRate":{"type":"number","description":"Annual nominal rate percent","minimum":0,"maximum":100},"months":{"type":"integer","description":"Whole term months","minimum":1,"maximum":600},"extra":{"type":"number","description":"Extra monthly principal payment","minimum":0,"maximum":1000000000000}},"required":["principal","annualRate","months"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_asset_depreciation":{"post":{"operationId":"codedeb_asset_depreciation","summary":"codedeb asset depreciation","description":"Calculate illustrative book depreciation, not statutory Nepal tax depreciation.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cost":{"type":"number","description":"Asset cost","minimum":0,"maximum":1000000000000},"residual":{"type":"number","description":"Residual value","minimum":0,"maximum":1000000000000},"years":{"type":"integer","description":"Useful life in whole years","minimum":1,"maximum":100},"method":{"type":"string","enum":["straight","declining"],"description":"Depreciation method"},"rate":{"type":"number","description":"Declining balance annual percent","minimum":0,"maximum":100}},"required":["cost","residual","years","method"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_break_even":{"post":{"operationId":"codedeb_break_even","summary":"codedeb break even","description":"Compute single-product break-even sales, contribution and modeled operating profit, excluding tax and finance.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fixed":{"type":"number","description":"Fixed costs","minimum":0,"maximum":1000000000000},"price":{"type":"number","description":"Selling price per unit","minimum":0,"maximum":1000000000000},"variable":{"type":"number","description":"Variable cost per unit","minimum":0,"maximum":1000000000000},"quantity":{"type":"integer","description":"Whole sales volume","minimum":0,"maximum":1000000000},"target":{"type":"number","description":"Target operating profit","minimum":0,"maximum":1000000000000}},"required":["fixed","price","variable","quantity"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_ipv4_subnet":{"post":{"operationId":"codedeb_ipv4_subnet","summary":"codedeb ipv4 subnet","description":"Calculate IPv4 network, mask, host range and address counts. No network requests or scanning.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cidr":{"type":"string","description":"IPv4 CIDR, e.g. 192.168.1.10/24","maxLength":24}},"required":["cidr"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/build_campaign_url":{"post":{"operationId":"build_campaign_url","summary":"build campaign url","description":"Build a UTM campaign URL. Does not fetch the destination.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"HTTP(S) URL","maxLength":2000},"source":{"type":"string","description":"Source","maxLength":100},"medium":{"type":"string","description":"Medium","maxLength":100},"campaign":{"type":"string","description":"Campaign","maxLength":100},"term":{"type":"string","description":"Term","maxLength":100},"content":{"type":"string","description":"Content","maxLength":100}},"required":["url","source","medium","campaign"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_ad_to_bs":{"post":{"operationId":"codedeb_ad_to_bs","summary":"codedeb ad to bs","description":"Convert AD YYYY-MM-DD to BS with evidence.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"date":{"type":"string","description":"Gregorian date","maxLength":10}},"required":["date"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_bs_to_ad":{"post":{"operationId":"codedeb_bs_to_ad","summary":"codedeb bs to ad","description":"Convert BS year, month, day to Gregorian date.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"year":{"type":"integer","description":"BS year","minimum":1975,"maximum":2100},"month":{"type":"integer","description":"BS month","minimum":1,"maximum":12},"day":{"type":"integer","description":"BS day","minimum":1,"maximum":32}},"required":["year","month","day"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_convert_nepali_text":{"post":{"operationId":"codedeb_convert_nepali_text","summary":"codedeb convert nepali text","description":"Convert Preeti legacy font text to Unicode or back.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text","maxLength":4000},"direction":{"type":"string","description":"Conversion direction","enum":["unicode","preeti"]}},"required":["text","direction"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_format_json":{"post":{"operationId":"codedeb_format_json","summary":"codedeb format json","description":"Format or minify JSON.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"json":{"type":"string","description":"JSON text","maxLength":4000},"mode":{"type":"string","description":"Output format","enum":["pretty","compact"]}},"required":["json","mode"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_count_text":{"post":{"operationId":"codedeb_count_text","summary":"codedeb count text","description":"Count words, characters, lines and sentences.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text","maxLength":4000}},"required":["text"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_clean_text":{"post":{"operationId":"codedeb_clean_text","summary":"codedeb clean text","description":"Remove duplicate lines, blank lines or excess spaces.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text","maxLength":4000},"mode":{"type":"string","description":"Cleaning mode","enum":["spaces","blanks","unique"]}},"required":["text","mode"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_url_encode":{"post":{"operationId":"codedeb_url_encode","summary":"codedeb url encode","description":"Encode or decode URL component text.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text","maxLength":4000},"mode":{"type":"string","description":"Operation","enum":["encode","decode"]}},"required":["text","mode"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_convert_table":{"post":{"operationId":"codedeb_convert_table","summary":"codedeb convert table","description":"Convert JSON records to safe CSV, or CSV to JSON. Does not accept XLSX binaries.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Source text","maxLength":4000},"direction":{"type":"string","description":"Conversion","enum":["json_to_csv","csv_to_json"]}},"required":["text","direction"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_clean_csv":{"post":{"operationId":"codedeb_clean_csv","summary":"codedeb clean csv","description":"Trim cells and remove empty or duplicate rows.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csv":{"type":"string","description":"CSV text including headers","maxLength":4000}},"required":["csv"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_profile_csv":{"post":{"operationId":"codedeb_profile_csv","summary":"codedeb profile csv","description":"Profile CSV columns with local data analysis.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csv":{"type":"string","description":"CSV text including headers","maxLength":4000}},"required":["csv"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_hash_text":{"post":{"operationId":"codedeb_hash_text","summary":"codedeb hash text","description":"Compute SHA digest of non-sensitive UTF-8 text. Never submit passwords or secrets to a remote client.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Non-sensitive text","maxLength":4000},"algorithm":{"type":"string","description":"SHA digest","enum":["SHA-256","SHA-384","SHA-512"]}},"required":["text","algorithm"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_check_csp":{"post":{"operationId":"codedeb_check_csp","summary":"codedeb check csp","description":"Inspect a supplied CSP header. Does not scan a website.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"header":{"type":"string","description":"Content Security Policy header","maxLength":4000}},"required":["header"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_validate_schema":{"post":{"operationId":"codedeb_validate_schema","summary":"codedeb validate schema","description":"Validate pasted JSON-LD syntax and entity types, not Google eligibility.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"json":{"type":"string","description":"JSON text","maxLength":4000}},"required":["json"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_check_robots":{"post":{"operationId":"codedeb_check_robots","summary":"codedeb check robots","description":"Evaluate a supplied robots.txt against one crawler and path. No network requests.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Robots.txt","maxLength":2000},"agent":{"type":"string","description":"Crawler user agent","maxLength":100},"path":{"type":"string","description":"URL path","maxLength":1000}},"required":["text","agent","path"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_serp_preview":{"post":{"operationId":"codedeb_serp_preview","summary":"codedeb serp preview","description":"Estimate a search snippet; does not predict rankings.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Page title","maxLength":200},"description":{"type":"string","description":"Description","maxLength":500},"url":{"type":"string","description":"Page URL","maxLength":1000}},"required":["title","description","url"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}},"/execute/codedeb_email_signature":{"post":{"operationId":"codedeb_email_signature","summary":"codedeb email signature","description":"Generate an escaped HTML email signature. No email is sent.","parameters":[{"name":"download","in":"query","description":"Return result as an attachment instead of a JSON envelope; resubmit same arguments. No stored file URL.","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Display name","maxLength":100},"title":{"type":"string","description":"Job title","maxLength":100},"company":{"type":"string","description":"Company","maxLength":100},"email":{"type":"string","description":"Public contact email","maxLength":200},"phone":{"type":"string","description":"Public phone","maxLength":50},"website":{"type":"string","description":"Website","maxLength":500},"location":{"type":"string","description":"Location","maxLength":100},"color":{"type":"string","description":"Hex color","maxLength":7}},"required":["name","company"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured result or downloadable attachment","content":{"application/json":{"schema":{"type":"object","required":["ok","operation","result"],"properties":{"ok":{"const":true},"operation":{"type":"string"},"result":{"type":"object","additionalProperties":true},"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"bytes":{"type":"integer"},"download":{"type":"string"}}}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid input or result too large"},"403":{"description":"Origin denied"},"404":{"description":"Operation not available"}}}}}}