{"openapi":"3.1.0","info":{"title":"InvokePort free tools API","version":"0.6.0","description":"Deterministic JSON, CSV, schema, webhook and OpenAPI tools. Data execution needs a scoped Bearer key and a unique Idempotency-Key. A repeated key is never executed again. Network errors and unconfirmed 5xx can mean an unknown outcome: keep the key and do not retry automatically with a new one. Discovery and Radar are public."},"servers":[{"url":"https://invokeport.com"}],"externalDocs":{"url":"https://invokeport.com/docs","description":"Developer docs"},"components":{"securitySchemes":{"scopedKey":{"type":"http","scheme":"bearer","description":"Scoped key (ivp_test_… or ag_test_…) issued by a human at /dashboard/connect with a tool allowlist and quota."}},"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$"},"description":"Unique, non-secret ID per intended call."}},"responses":{"Error":{"description":"Rejected or unknown outcome. 401/403 responses include a human connection action.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"requestId":{"type":"string"}},"required":["error"]}}}}}},"paths":{"/api/tools/json-repair":{"post":{"operationId":"jsonRepair","summary":"JSON Repair","description":"Repair malformed JSON from LLM outputs: missing quotes, trailing commas and code fences. Send only the JSON text: surrounding prose is kept as extra values. Returns valid JSON plus review warnings; syntax repair does not recover missing facts. Free; no payment or USDC. Requires a scoped key that allows json-repair.","tags":["Free tools"],"security":[{"scopedKey":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","maxLength":65536}},"required":["text"],"additionalProperties":false},"example":{"text":"{name: 'Alpha', active: True,}"}}}},"responses":{"200":{"description":"Completed. The tool result plus requestId, mode \"free-beta\" and builtin true.","content":{"application/json":{"schema":{"type":"object","properties":{"json":{"type":"string"},"value":{},"changed":{"type":"boolean"},"limitations":{"type":"array","items":{"type":"string"}}},"required":["json","value","changed","limitations"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"415":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/api/tools/json-csv":{"post":{"operationId":"jsonCsv","summary":"JSON to CSV","description":"Convert flat JSON records to quoted CSV for exporting agent results. Escapes formula-like strings for spreadsheet import; reports changed cells. No cleaning or deduplication. Free; no payment or USDC. Requires a scoped key that allows json-csv.","tags":["Free tools"],"security":[{"scopedKey":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"rows":{"type":"array","minItems":1,"maxItems":500,"items":{"type":"object"}}},"required":["rows"],"additionalProperties":false},"example":{"rows":[{"name":"Alpha","count":2},{"name":"Gamma, Inc.","count":3}]}}}},"responses":{"200":{"description":"Completed. The tool result plus requestId, mode \"free-beta\" and builtin true.","content":{"application/json":{"schema":{"type":"object","properties":{"csv":{"type":"string"},"columns":{"type":"array","items":{"type":"string"}},"rowCount":{"type":"integer"},"spreadsheetEscapedCells":{"type":"integer"},"limitations":{"type":"array","items":{"type":"string"}}},"required":["csv","columns","rowCount","spreadsheetEscapedCells","limitations"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"415":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/api/tools/json-types":{"post":{"operationId":"jsonTypes","summary":"JSON to TypeScript + Schema","description":"JSON to TypeScript and JSON Schema from examples, including optional fields and mixed types. Sample inference, not a verified contract. Free; no payment or USDC. Requires a scoped key that allows json-types.","tags":["Free tools"],"security":[{"scopedKey":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"samples":{"type":"array","minItems":1,"maxItems":100},"typeName":{"type":"string","maxLength":64}},"required":["samples"],"additionalProperties":false},"example":{"typeName":"Customer","samples":[{"id":1,"name":"Alpha","active":true},{"id":2,"name":"Beta"}]}}}},"responses":{"200":{"description":"Completed. The tool result plus requestId, mode \"free-beta\" and builtin true.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"415":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/api/tools/webhook-check":{"post":{"operationId":"webhookCheck","summary":"Webhook Payload Check","description":"Validate up to 100 supplied payloads against a bounded structural schema. Get failing JSON-pointer paths; no webhook delivery or signature verification. Free; no payment or USDC. Requires a scoped key that allows webhook-check.","tags":["Free tools"],"security":[{"scopedKey":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"schema":{"type":"object"},"payloads":{"type":"array","minItems":1,"maxItems":100}},"required":["schema","payloads"],"additionalProperties":false},"example":{"schema":{"type":"object","properties":{"event":{"type":"string"},"count":{"type":"integer","minimum":1}},"required":["event","count"],"additionalProperties":false},"payloads":[{"event":"order.created","count":2},{"event":"order.created","count":"2"},{"count":1}]}}}},"responses":{"200":{"description":"Completed. The tool result plus requestId, mode \"free-beta\" and builtin true.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"415":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/api/tools/openapi-security":{"post":{"operationId":"openapiSecurity","summary":"OpenAPI security check","description":"Built-in static check of OpenAPI 3.0/3.1 authentication and transport declarations. Free; no payment or USDC. Requires a scoped key that allows openapi-security.","tags":["Free tools"],"security":[{"scopedKey":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"openapi":{"type":"string"},"paths":{"type":"object"}},"required":["openapi","paths"]},"example":{"openapi":"3.1.0","paths":{"/health":{"get":{"responses":{"200":{"description":"OK"}}}}}}}}},"responses":{"200":{"description":"Completed. The tool result plus requestId, mode \"free-beta\" and builtin true.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"415":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/api/tools/json-schema":{"post":{"operationId":"jsonSchema","summary":"JSON Schema validation","description":"JSON Schema validation using a bounded structural subset; no code, regex, references, composition or network. Free; no payment or USDC. Requires a scoped key that allows json-schema.","tags":["Free tools"],"security":[{"scopedKey":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"schema":{"type":"object"},"value":{}},"required":["schema","value"],"additionalProperties":false},"example":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":1}},"required":["count"]},"value":{"count":2}}}}},"responses":{"200":{"description":"Completed. The tool result plus requestId, mode \"free-beta\" and builtin true.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"415":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/api/tools/csv-json":{"post":{"operationId":"csvJson","summary":"CSV to JSON","description":"Built-in comma-separated CSV conversion. Cells stay strings; quoted fields are supported. Free; no payment or USDC. Requires a scoped key that allows csv-json.","tags":["Free tools"],"security":[{"scopedKey":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csv":{"type":"string","maxLength":65536}},"required":["csv"],"additionalProperties":false},"example":{"csv":"name,count\nAlpha,2\nGamma,3"}}}},"responses":{"200":{"description":"Completed. The tool result plus requestId, mode \"free-beta\" and builtin true.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"415":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/api/tools/jsonl-check":{"post":{"operationId":"jsonlCheck","summary":"JSONL Validation","description":"Check saved JSON Lines or NDJSON from models, exports or pipelines. Return line numbers for invalid JSON, blank lines and optional schema failures before import. Free; no payment or USDC. Requires a scoped key that allows jsonl-check.","tags":["Free tools"],"security":[{"scopedKey":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"jsonl":{"type":"string","minLength":1,"maxLength":65536},"schema":{"type":"object"}},"required":["jsonl"],"additionalProperties":false},"example":{"jsonl":"{\"id\":\"A-01\"}\n{\"id\":2}\nnot JSON","schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}}},"responses":{"200":{"description":"Completed. The tool result plus requestId, mode \"free-beta\" and builtin true.","content":{"application/json":{"schema":{"type":"object","properties":{"valid":{"type":"boolean"},"checked":{"type":"integer"},"issues":{"type":"array","items":{"type":"object"}}},"required":["valid","checked","issues"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"415":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/api/tools/csv-import-check":{"post":{"operationId":"csvImportCheck","summary":"CSV Import Check","description":"Check a CSV before importing it into a CRM or spreadsheet. Flag missing headers, blank required cells and duplicate IDs without converting or exporting the data. Free; no payment or USDC. Requires a scoped key that allows csv-import-check.","tags":["Free tools"],"security":[{"scopedKey":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csv":{"type":"string","minLength":1,"maxLength":65536},"requiredColumns":{"type":"array","minItems":1,"maxItems":32,"items":{"type":"string","minLength":1,"maxLength":64}},"uniqueKey":{"type":"string","minLength":1,"maxLength":64}},"required":["csv","requiredColumns"],"additionalProperties":false},"example":{"csv":"order_id,email\n001,buyer@example.test\n001,\n002,owner@example.test","requiredColumns":["order_id","email"],"uniqueKey":"order_id"}}}},"responses":{"200":{"description":"Completed. The tool result plus requestId, mode \"free-beta\" and builtin true.","content":{"application/json":{"schema":{"type":"object","properties":{"valid":{"type":"boolean"},"checked":{"type":"integer"},"issues":{"type":"array","items":{"type":"object"}}},"required":["valid","checked","issues"]}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"415":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/api/catalog":{"get":{"operationId":"searchCatalog","summary":"Search the public tool catalog","tags":["Discovery"],"security":[],"parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Literal text search over public metadata."},{"name":"access","in":"query","schema":{"type":"string","enum":["free"]},"description":"Only free built-in tools."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"Catalog summaries with resource URIs and schema-presence flags."}}}},"/agents/discovery.json":{"get":{"operationId":"discoverWorkflow","summary":"Find a workflow and its human preview","tags":["Discovery"],"security":[],"parameters":[{"name":"task","in":"query","schema":{"type":"string","enum":["llm-json","json-contract","jsonl-import","csv-import","spreadsheet-export","api-release"]},"description":"Omit for the full directory. Supply a task ID only."}],"responses":{"200":{"description":"Workflow directory or selected workflow with preview and connection links."},"400":{"description":"Unknown task."}}}},"/radar/changes.json":{"get":{"operationId":"getRadarChanges","summary":"List detected MCP schema and x402 quote changes","tags":["Discovery"],"security":[],"parameters":[{"name":"since","in":"query","schema":{"type":"string"},"example":"2026-11-20T00:00:00Z","description":"ISO date or timestamp with timezone. The window is limited to 30 days."},{"name":"severity","in":"query","schema":{"type":"string","enum":["security","breaking","price","non_breaking"]}}],"responses":{"200":{"description":"Most recent matching events, up to 500.","content":{"application/json":{"schema":{"type":"object","required":["schemaVersion","source","windowDays","notice","changes"],"properties":{"schemaVersion":{"type":"integer","const":1},"source":{"type":"string","format":"uri"},"windowDays":{"type":"integer"},"notice":{"type":"string"},"changes":{"type":"array","items":{"type":"object","required":["sourceId","source","tool","kind","severity","path","before","after","detectedAt"],"properties":{"sourceId":{"type":"string"},"source":{"type":"string"},"tool":{"type":"string"},"kind":{"type":"string"},"severity":{"type":"string","enum":["security","breaking","price","non_breaking"]},"path":{"type":"string"},"before":{"type":["string","null"]},"after":{"type":["string","null"]},"detectedAt":{"type":"string","format":"date-time"}}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}}}}