{"openapi":"3.1.0","info":{"title":"GeekVault API","description":"Catalog of utilities (network, documents, images, dev, web) paid per call via the x402 protocol (HTTP 402 + USDC on Base). This spec describes api-core, the origin behind the payment Worker at api.geekvault.dev — the parameters, formats, and responses are exactly what the agent sees after paying.","contact":{"name":"GeekVault","email":"info@geekvault.dev"},"license":{"name":""},"version":"1.0.0"},"paths":{"/ai-tools/v1/embed":{"post":{"tags":["ai-tools"],"summary":"Vectorizes text with Qwen3-Embedding (Workers AI). The Neuron is always spent\nafter the x402 payment gate (api-core is only reached via\nforwardToOrigin, which runs post-settlement in the Worker).","operationId":"ai_tools_embed","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedRequest"}}},"required":true},"responses":{"200":{"description":"Embedding computed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedResponse"}}}},"400":{"description":"text empty or exceeds 2000 characters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_tools.ErrorResponse"}}}},"502":{"description":"Workers AI / Cloudflare error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_tools.ErrorResponse"}}}}}}},"/ai-tools/v1/image-caption":{"post":{"tags":["ai-tools"],"summary":"Generates a description of an image with Llama 3.2-11B-Vision (Workers AI).","operationId":"ai_tools_image_caption","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageCaptionRequest"}}},"required":true},"responses":{"200":{"description":"Caption generated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageCaptionResponse"}}}},"400":{"description":"Missing image or prompt too long","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_tools.ErrorResponse"}}}},"413":{"description":"Image exceeds 10MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_tools.ErrorResponse"}}}},"502":{"description":"Workers AI / Cloudflare error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_tools.ErrorResponse"}}}}}}},"/ai-tools/v1/transcribe":{"post":{"tags":["ai-tools"],"summary":"Transcribes audio with Whisper (Workers AI). Accepts multipart with a `file` field.","operationId":"ai_tools_transcribe","requestBody":{"description":"Campo 'file' con el audio (max. 10MB)","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ai_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Transcribed text","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscribeResponse"}}}},"400":{"description":"Missing file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_tools.ErrorResponse"}}}},"413":{"description":"File exceeds 10MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_tools.ErrorResponse"}}}},"502":{"description":"Workers AI / Cloudflare error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/base64":{"get":{"tags":["dev-tools"],"summary":"Encodes or decodes text in standard Base64.","operationId":"dev_tools_base64","parameters":[{"name":"text","in":"query","description":"Texto de entrada.","required":true,"schema":{"type":"string"}},{"name":"mode","in":"query","description":"`encode` o `decode`. Por defecto `encode`.","required":false,"schema":{"type":["string","null"]},"example":"encode"}],"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Base64Response"}}}},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/calculate":{"get":{"tags":["dev-tools"],"summary":"Evaluates an arithmetic expression (+, -, *, /, ^, parentheses, and basic functions).","operationId":"dev_tools_calculate","parameters":[{"name":"expression","in":"query","description":"Expresión aritmética a evaluar.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Calculated result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculateResponse"}}}},"400":{"description":"Invalid expression","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/cidr-calculate":{"get":{"tags":["dev-tools"],"summary":"Calculates the details of an IPv4 CIDR block.","operationId":"dev_tools_cidr_calculate","parameters":[{"name":"cidr","in":"query","description":"CIDR IPv4, ej. `192.168.1.0/24`.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CIDR details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CidrResponse"}}}},"400":{"description":"Invalid CIDR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/cron-explain":{"get":{"tags":["dev-tools"],"summary":"Explains a 5-field cron expression in natural language.","operationId":"dev_tools_cron_explain","parameters":[{"name":"expr","in":"query","description":"Expresión cron de 5 campos: minuto hora dia-del-mes mes dia-de-semana.","required":true,"schema":{"type":"string"},"example":"*/15 9-17 * * 1-5"}],"responses":{"200":{"description":"Explanation generated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronExplainResponse"}}}},"400":{"description":"Not 5 space-separated fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/hash":{"get":{"tags":["dev-tools"],"summary":"Hashes text with MD5 or SHA-256.","operationId":"dev_tools_hash","parameters":[{"name":"text","in":"query","description":"Texto a hashear.","required":true,"schema":{"type":"string"}},{"name":"algo","in":"query","description":"Algoritmo a usar. Por defecto `sha256`.","required":false,"schema":{"type":["string","null"]},"example":"sha256"}],"responses":{"200":{"description":"Hash computed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HashResponse"}}}},"400":{"description":"`algo` other than 'md5'/'sha256'","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/hex":{"get":{"tags":["dev-tools"],"summary":"Encodes or decodes text in hexadecimal.","operationId":"dev_tools_hex","parameters":[{"name":"text","in":"query","description":"Texto de entrada.","required":true,"schema":{"type":"string"}},{"name":"mode","in":"query","description":"`encode` o `decode`. Por defecto `encode`.","required":false,"schema":{"type":["string","null"]},"example":"encode"}],"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HexResponse"}}}},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/hmac":{"get":{"tags":["dev-tools"],"summary":"Calculates an HMAC with SHA-1, SHA-256, or SHA-512.","operationId":"dev_tools_hmac","parameters":[{"name":"key","in":"query","description":"Clave secreta.","required":true,"schema":{"type":"string"}},{"name":"message","in":"query","description":"Mensaje a autenticar.","required":true,"schema":{"type":"string"}},{"name":"algo","in":"query","description":"Algoritmo de hash. Por defecto `sha256`.","required":false,"schema":{"type":["string","null"]},"example":"sha256"}],"responses":{"200":{"description":"HMAC computed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HmacResponse"}}}},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/json-format":{"post":{"tags":["dev-tools"],"summary":"Reformats (pretty-prints) an arbitrary JSON with 2-space indentation.\nThe body is the raw JSON, not a wrapper object — it's sent as-is.","operationId":"dev_tools_json_format","requestBody":{"description":"JSON arbitrario a formatear","content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"Formatted JSON (plain text, content-type application/json)","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid JSON","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/json-validate":{"post":{"tags":["dev-tools"],"summary":"Validates whether a text is syntactically correct JSON. Always responds 200;\nthe result goes in the `valid` field (true/false), it never produces an HTTP error.","operationId":"dev_tools_json_validate","requestBody":{"description":"JSON arbitrario a validar","content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonValidateResponse"}}}}}}},"/dev-tools/v1/jwt-decode":{"get":{"tags":["dev-tools"],"summary":"Decodes a JWT (header + payload). It does NOT verify the signature — it's only\ninspection, not cryptographic validation.","operationId":"dev_tools_jwt_decode","parameters":[{"name":"token","in":"query","description":"JWT completo (header.payload.signature).","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Decoded header and payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtDecodeResponse"}}}},"400":{"description":"Not 3 dot-separated parts, or invalid base64/JSON","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/loan-calculate":{"get":{"tags":["dev-tools"],"summary":"Calculates the fixed monthly payment of a loan with standard amortization.","operationId":"dev_tools_loan_calculate","parameters":[{"name":"principal","in":"query","required":true,"schema":{"type":"number","format":"double"}},{"name":"annual_rate_percent","in":"query","required":true,"schema":{"type":"number","format":"double"}},{"name":"term_months","in":"query","required":true,"schema":{"type":"integer","format":"int32","minimum":0}}],"responses":{"200":{"description":"Payment calculated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoanResponse"}}}},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/password-generate":{"get":{"tags":["dev-tools"],"summary":"Generates random passwords using the operating system's RNG.","operationId":"dev_tools_password_generate","parameters":[{"name":"length","in":"query","description":"Longitud de cada contraseña (8-128). Default: 16.","required":false,"schema":{"type":["integer","null"],"format":"int32","minimum":0}},{"name":"symbols","in":"query","description":"Incluir símbolos. Default: true.","required":false,"schema":{"type":["boolean","null"]}},{"name":"numbers","in":"query","description":"Incluir números. Default: true.","required":false,"schema":{"type":["boolean","null"]}},{"name":"uppercase","in":"query","description":"Incluir mayúsculas. Default: true.","required":false,"schema":{"type":["boolean","null"]}},{"name":"count","in":"query","description":"Cuántas contraseñas generar (1-20). Default: 1.","required":false,"schema":{"type":["integer","null"],"format":"int32","minimum":0}}],"responses":{"200":{"description":"Passwords generated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResponse"}}}}}}},"/dev-tools/v1/regex-test":{"post":{"tags":["dev-tools"],"summary":"Tests a regex pattern against a text and returns all matches.","operationId":"dev_tools_regex_test","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegexTestRequest"}}},"required":true},"responses":{"200":{"description":"Match result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegexTestResponse"}}}},"400":{"description":"Invalid regex pattern","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/statistics":{"get":{"tags":["dev-tools"],"summary":"Calculates descriptive statistics for a list of numbers.","operationId":"dev_tools_statistics","parameters":[{"name":"values","in":"query","description":"Lista de números separados por coma.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Statistics calculated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatisticsResponse"}}}},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/totp":{"get":{"tags":["dev-tools"],"summary":"Generates a TOTP code per RFC 6238.","operationId":"dev_tools_totp","parameters":[{"name":"secret","in":"query","description":"Secreto Base32 RFC4648 (formato Google Authenticator).","required":true,"schema":{"type":"string"}},{"name":"digits","in":"query","description":"Cantidad de dígitos del código (6-8). Default: 6.","required":false,"schema":{"type":["integer","null"],"format":"int32","minimum":0}},{"name":"period","in":"query","description":"Período en segundos (15-300). Default: 30.","required":false,"schema":{"type":["integer","null"],"format":"int64","minimum":0}},{"name":"algo","in":"query","description":"Algoritmo de hash. Default: `sha1`.","required":false,"schema":{"type":["string","null"]},"example":"sha1"}],"responses":{"200":{"description":"TOTP code","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TotpResponse"}}}},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/ulid-generate":{"get":{"tags":["dev-tools"],"summary":"Generates between 1 and 100 ULIDs (timestamp + cryptographic randomness).","operationId":"dev_tools_ulid_generate","parameters":[{"name":"count","in":"query","description":"Cuántos ULIDs generar (1-100). Default: 1.","required":false,"schema":{"type":["integer","null"],"format":"int32","minimum":0}}],"responses":{"200":{"description":"Generated ULIDs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UlidResponse"}}}}}}},"/dev-tools/v1/unit-convert":{"get":{"tags":["dev-tools"],"summary":"Converts a value between units of the same category.","operationId":"dev_tools_unit_convert","parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"number","format":"double"}},{"name":"from","in":"query","required":true,"schema":{"type":"string"}},{"name":"to","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Conversion performed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitConvertResponse"}}}},"400":{"description":"Invalid units","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dev_tools.ErrorResponse"}}}}}}},"/dev-tools/v1/uuid-generate":{"get":{"tags":["dev-tools"],"summary":"Generates between 1 and 100 random UUID v4s.","operationId":"dev_tools_uuid_generate","parameters":[{"name":"count","in":"query","description":"Cuántos UUIDs generar (1-100). Default: 1.","required":false,"schema":{"type":["integer","null"],"format":"int32","minimum":0}}],"responses":{"200":{"description":"Generated UUIDs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidResponse"}}}}}}},"/docs-tools/v1/ocr":{"post":{"tags":["docs-tools"],"summary":"Extracts text from an image via OCR (tesseract, detects the format by content).","operationId":"docs_tools_ocr","requestBody":{"description":"Campo 'file' con la imagen (máx. 10MB)","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/docs_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Recognized text","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OcrResponse"}}}},"400":{"description":"Missing file, or exceeds 10MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/docs_tools.ErrorResponse"}}}},"422":{"description":"tesseract could not process the image (30s timeout)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/docs_tools.ErrorResponse"}}}}}}},"/docs-tools/v1/pdf-metadata":{"post":{"tags":["docs-tools"],"summary":"Reads a PDF's metadata (title, author, pages, etc.) via `pdfinfo`. Read-only, doesn't modify the file.","operationId":"docs_tools_pdf_metadata","requestBody":{"description":"Campo 'file' con el PDF (máx. 10MB)","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/docs_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Metadata fields found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfMetadataResponse"}}}},"400":{"description":"Missing file, or exceeds 10MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/docs_tools.ErrorResponse"}}}},"422":{"description":"pdfinfo could not read the file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/docs_tools.ErrorResponse"}}}}}}},"/docs-tools/v1/to-markdown":{"post":{"tags":["docs-tools"],"summary":"Converts a document (PDF, DOCX, etc. — the format is detected by content,\nnot by extension) to Markdown, via `anydoc`.","operationId":"docs_tools_to_markdown","requestBody":{"description":"Campo 'file' con el documento (máx. 10MB)","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/docs_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Document converted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToMarkdownResponse"}}}},"400":{"description":"Missing file, or exceeds 10MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/docs_tools.ErrorResponse"}}}},"422":{"description":"Format not recognized or conversion failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/docs_tools.ErrorResponse"}}}}}}},"/img-tools/v1/convert":{"post":{"tags":["img-tools"],"summary":"Converts an image to another format (png, jpg, webp, bmp, gif, tiff).","operationId":"img_tools_convert","parameters":[{"name":"format","in":"query","description":"Formato destino: png, jpg/jpeg, webp, bmp, gif o tiff.","required":true,"schema":{"type":"string"},"example":"webp"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Image converted","content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}}},"400":{"description":"Unsupported format, or missing file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}},"422":{"description":"Could not read the image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}}}}},"/img-tools/v1/crop":{"post":{"tags":["img-tools"],"summary":"Crops a rectangle from the image. Always returns PNG.","operationId":"img_tools_crop","parameters":[{"name":"x","in":"query","description":"Esquina superior izquierda del recorte.","required":true,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"y","in":"query","required":true,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"width","in":"query","description":"Dimensiones del recorte — `x+width` y `y+height` no pueden superar el tamaño de la imagen.","required":true,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"height","in":"query","required":true,"schema":{"type":"integer","format":"int32","minimum":0}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Cropped image (image/png)","content":{"image/png":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}}},"400":{"description":"The crop area is outside the image bounds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}},"422":{"description":"Could not read the image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}}}}},"/img-tools/v1/dominant-colors":{"post":{"tags":["img-tools"],"summary":"Extracts the 5 dominant colors from an image (grouped in buckets of 32, per RGB channel).","operationId":"img_tools_dominant_colors","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Top 5 colors by frequency","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DominantColorsResponse"}}}},"400":{"description":"Missing file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}},"422":{"description":"Could not read the image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}}}}},"/img-tools/v1/metadata":{"post":{"tags":["img-tools"],"summary":"Reads dimensions, format, and EXIF fields of an image, without modifying it.","operationId":"img_tools_metadata","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Extracted metadata (exif empty if it has none)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.MetadataResponse"}}}},"400":{"description":"Missing file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}},"422":{"description":"Could not read the image or its dimensions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}}}}},"/img-tools/v1/qr-decode":{"post":{"tags":["img-tools"],"summary":"Decodes all QR codes present in an image (there can be more than one).","operationId":"img_tools_qr_decode","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Codes found (found=0 if none)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QrDecodeResponse"}}}},"400":{"description":"Missing file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}},"422":{"description":"Could not read the image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}}}}},"/img-tools/v1/qr-generate":{"get":{"tags":["img-tools"],"summary":"Generates a QR code as SVG from a text.","operationId":"img_tools_qr_generate","parameters":[{"name":"text","in":"query","description":"Texto a codificar (1-2000 caracteres).","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"QR generated (image/svg+xml, 400x400 minimum)","content":{"image/svg+xml":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}}},"400":{"description":"text empty or longer than 2000 characters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}},"422":{"description":"Could not generate the QR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}}}}},"/img-tools/v1/resize":{"post":{"tags":["img-tools"],"summary":"Resizes an image (Lanczos3 filter). Always returns PNG regardless\nof the input format.","operationId":"img_tools_resize","parameters":[{"name":"width","in":"query","required":true,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"height","in":"query","required":true,"schema":{"type":"integer","format":"int32","minimum":0}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Resized image (image/png)","content":{"image/png":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}}},"400":{"description":"width/height outside 1..8000, or total pixels exceeds the limit, or missing file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}},"422":{"description":"Could not read the image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}}}}},"/img-tools/v1/rotate":{"post":{"tags":["img-tools"],"summary":"Rotates an image in multiples of 90°. Always returns PNG.","operationId":"img_tools_rotate","parameters":[{"name":"degrees","in":"query","description":"Debe ser 90, 180 o 270.","required":true,"schema":{"type":"integer","format":"int32","minimum":0}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Rotated image (image/png)","content":{"image/png":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}}},"400":{"description":"degrees other than 90/180/270","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}},"422":{"description":"Could not read the image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}}}}},"/img-tools/v1/strip-exif":{"post":{"tags":["img-tools"],"summary":"Removes all EXIF/XMP metadata by re-encoding the image from the decoded pixel buffer.","operationId":"img_tools_strip_exif","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}},"required":true},"responses":{"200":{"description":"Image without metadata (image/png)","content":{"image/png":{"schema":{"$ref":"#/components/schemas/img_tools.MultipartFile"}}}},"400":{"description":"Missing file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}},"422":{"description":"Could not read the image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/img_tools.ErrorResponse"}}}}}}},"/net-tools/v1/asn-lookup":{"get":{"tags":["net-tools"],"summary":"Resolves the ASN, prefix, country, and organization name owning an IP/host, via Team Cymru (whois-over-DNS).","operationId":"net_tools_asn_lookup","parameters":[{"name":"host","in":"query","description":"Hostname o IPv4. Si es hostname, se resuelve a IP primero (registro A).","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ASN data (fields null if Cymru doesn't respond)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsnLookupResponse"}}}},"400":{"description":"Invalid host","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"422":{"description":"Could not resolve the host to an IP","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/blacklist-check":{"get":{"tags":["net-tools"],"summary":"Checks whether an IPv4 is on the Spamhaus ZEN blacklist (DNSBL).","operationId":"net_tools_blacklist_check","parameters":[{"name":"ip","in":"query","description":"Dirección IPv4 (IPv6 no soportado).","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Result (listed=false if not found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlacklistResponse"}}}},"400":{"description":"Not a valid IPv4","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/cdn-fingerprint":{"get":{"tags":["net-tools"],"summary":"Detects CDN/WAF (Cloudflare, Akamai, CloudFront, Fastly, Vercel, Sucuri, Imperva,\nnginx/OpenResty, Varnish) from HTTP headers (HEAD, with fallback to GET).","operationId":"net_tools_cdn_fingerprint","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Detected providers and relevant headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CdnFingerprintResponse"}}}},"400":{"description":"Invalid URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"502":{"description":"Could not access the URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/dns-lookup":{"get":{"tags":["net-tools"],"summary":"Resolves a DNS record for a host, via `dig`. Rejects hosts with\ncharacters outside [a-zA-Z0-9.-] (protection against flag injection).","operationId":"net_tools_dns_lookup","parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","description":"Tipo de registro: A, AAAA, MX, TXT, NS, CNAME o SOA. Por defecto A.","required":false,"schema":{"type":["string","null"]},"example":"A"}],"responses":{"200":{"description":"Records found (empty if none)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DnsLookupResponse"}}}},"400":{"description":"Invalid host or unsupported record type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"504":{"description":"Query timeout (8s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/email-auth-check":{"get":{"tags":["net-tools"],"summary":"Looks up a domain's SPF and DMARC records via TXT lookup. Doesn't include DKIM\n(its selector is specific to each mail provider, it has no fixed location).","operationId":"net_tools_email_auth_check","parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"SPF/DMARC found (null if they don't exist)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailAuthResponse"}}}},"400":{"description":"Invalid host","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/headers-audit":{"get":{"tags":["net-tools"],"summary":"Audits 6 common security headers (HSTS, CSP, X-Frame-Options,\nX-Content-Type-Options, Referrer-Policy, Permissions-Policy) on a URL.","operationId":"net_tools_headers_audit","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Present/absent headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeadersAuditResponse"}}}},"400":{"description":"Invalid URL (must start with http:// or https://)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"502":{"description":"Could not access the URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/ping":{"get":{"tags":["net-tools"],"summary":"Sends 4 ICMP pings to a host and returns whether it responded plus the raw output.","operationId":"net_tools_ping","parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Ping result (reachable can be false without being an error)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PingResponse"}}}},"400":{"description":"Invalid host","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"504":{"description":"Timeout (8s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/port-scan":{"get":{"tags":["net-tools"],"summary":"Scans TCP ports on a host (direct connection, 3s timeout per port, in parallel).","operationId":"net_tools_port_scan","parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"}},{"name":"ports","in":"query","description":"Lista de puertos separados por coma (máx. 50). Si se omite, escanea un set de puertos comunes.","required":false,"schema":{"type":["string","null"]},"example":"22,80,443"}],"responses":{"200":{"description":"Result per port","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortScanResponse"}}}},"400":{"description":"Invalid host, or more than 50 ports, or malformed list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/redirect-trace":{"get":{"tags":["net-tools"],"summary":"Follows the HTTP redirect chain of a URL (max. 15 hops), without\nfollowing them automatically — each hop is reported with its status.","operationId":"net_tools_redirect_trace","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Redirect chain and final URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectTraceResponse"}}}},"400":{"description":"Invalid URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"502":{"description":"Error following redirects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/ssl-check":{"get":{"tags":["net-tools"],"summary":"Gets the subject/issuer/validity dates of a host's TLS certificate, via openssl.","operationId":"net_tools_ssl_check","parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"}},{"name":"port","in":"query","description":"Puerto TLS a consultar. Por defecto 443.","required":false,"schema":{"type":["integer","null"],"format":"int32","minimum":0}}],"responses":{"200":{"description":"Certificate data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SslCheckResponse"}}}},"400":{"description":"Invalid host","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"502":{"description":"Host unreachable or without TLS","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"504":{"description":"Timeout (10s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/traceroute":{"get":{"tags":["net-tools"],"summary":"Real traceroute (max. 20 hops, 2s wait per hop, 20s total).","operationId":"net_tools_traceroute","parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Hops found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracerouteResponse"}}}},"400":{"description":"Invalid host","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"504":{"description":"Timeout (20s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/net-tools/v1/whois-lookup":{"get":{"tags":["net-tools"],"summary":"WHOIS lookup for a domain. Returns the raw registry output, unparsed.","operationId":"net_tools_whois_lookup","parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Raw whois output","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhoisResponse"}}}},"400":{"description":"Invalid host","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}},"504":{"description":"Timeout (10s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net_tools.ErrorResponse"}}}}}}},"/web-tools/v1/broken-links":{"get":{"tags":["web-tools"],"summary":"Extracts up to 30 `<a href>` links from a page and checks which ones respond with an error (HEAD request to each).\nOnly returns the broken links, not the full list of links found.","operationId":"web_tools_broken_links","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Broken links found (broken=[] if all work)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrokenLinksResponse"}}}},"400":{"description":"Invalid URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}},"502":{"description":"Could not access the URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}}}}},"/web-tools/v1/extract-article":{"get":{"tags":["web-tools"],"summary":"Extracts the main content of an article/page (Readability algorithm) and converts it to Markdown.","operationId":"web_tools_extract_article","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Title and content in Markdown","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtractArticleResponse"}}}},"400":{"description":"Invalid URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}},"502":{"description":"Could not extract the article","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}}}}},"/web-tools/v1/metadata":{"get":{"tags":["web-tools"],"summary":"Extracts HTML metadata (title, meta description, canonical, favicon, Open Graph) from a page.","operationId":"web_tools_metadata","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Metadata found (fields null if they don't exist)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.MetadataResponse"}}}},"400":{"description":"Invalid URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}},"502":{"description":"Could not access the URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}}}}},"/web-tools/v1/pdf-export":{"get":{"tags":["web-tools"],"summary":"Exports a real page to PDF (with backgrounds), via headless browser (CDP `Page.printToPDF`).","operationId":"web_tools_pdf_export","parameters":[{"name":"url","in":"query","description":"URL completa (http:// o https://), máx. 2000 caracteres.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"PDF generated","content":{"application/pdf":{"schema":{"$ref":"#/components/schemas/web_tools.BinaryFile"}}}},"400":{"description":"Invalid URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}},"502":{"description":"Could not export the page (timeout, browser unavailable)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}}}}},"/web-tools/v1/screenshot":{"get":{"tags":["web-tools"],"summary":"Captures a PNG screenshot of a real page, via a headless browser\n(Chromium over the CDP protocol). Waits ~2s after navigating before capturing.","operationId":"web_tools_screenshot","parameters":[{"name":"url","in":"query","description":"URL completa (http:// o https://), máx. 2000 caracteres.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Capture (image/png)","content":{"image/png":{"schema":{"$ref":"#/components/schemas/web_tools.BinaryFile"}}}},"400":{"description":"Invalid URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}},"502":{"description":"Could not capture the page (timeout, browser unavailable)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}}}}},"/web-tools/v1/tech-detect":{"get":{"tags":["web-tools"],"summary":"Detects web technology (WordPress, Shopify, Next.js, React, Angular, Vue,\nAstro, Drupal, Joomla, Laravel, Django, etc.) via signatures in headers and HTML.","operationId":"web_tools_tech_detect","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Detected technologies (can be an empty list)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechDetectResponse"}}}},"400":{"description":"Invalid URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}},"502":{"description":"Could not access the URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web_tools.ErrorResponse"}}}}}}}},"components":{"schemas":{"AsnLookupResponse":{"type":"object","required":["host","resolved_ip"],"properties":{"as_name":{"type":["string","null"]},"asn":{"type":["string","null"]},"country":{"type":["string","null"]},"host":{"type":"string"},"prefix":{"type":["string","null"]},"registry":{"type":["string","null"]},"resolved_ip":{"type":"string"}}},"Base64Response":{"type":"object","required":["mode","output"],"properties":{"mode":{"type":"string"},"output":{"type":"string"}}},"BlacklistResponse":{"type":"object","required":["ip","listed","detail"],"properties":{"detail":{"type":"array","items":{"type":"string"}},"ip":{"type":"string"},"listed":{"type":"boolean"}}},"BrokenLinksResponse":{"type":"object","required":["checked","broken"],"properties":{"broken":{"type":"array","items":{"$ref":"#/components/schemas/LinkResult"}},"checked":{"type":"integer","minimum":0}}},"CalculateResponse":{"type":"object","required":["expression","result"],"properties":{"expression":{"type":"string"},"result":{"type":"number","format":"double"}}},"CdnFingerprintResponse":{"type":"object","required":["detected","relevant_headers"],"properties":{"detected":{"type":"array","items":{"type":"string"}},"relevant_headers":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}},"server_header":{"type":["string","null"]}}},"CidrResponse":{"type":"object","required":["cidr","network","broadcast","netmask","wildcard_mask","first_host","last_host","total_addresses","usable_hosts"],"properties":{"broadcast":{"type":"string"},"cidr":{"type":"string"},"first_host":{"type":"string"},"last_host":{"type":"string"},"netmask":{"type":"string"},"network":{"type":"string"},"total_addresses":{"type":"integer","format":"int64","minimum":0},"usable_hosts":{"type":"integer","format":"int64","minimum":0},"wildcard_mask":{"type":"string"}}},"ColorEntry":{"type":"object","required":["hex","count"],"properties":{"count":{"type":"integer","format":"int32","minimum":0},"hex":{"type":"string"}}},"CronExplainResponse":{"type":"object","required":["expr","explanation"],"properties":{"explanation":{"type":"string"},"expr":{"type":"string"}}},"DnsLookupResponse":{"type":"object","required":["host","record_type","records"],"properties":{"host":{"type":"string"},"record_type":{"type":"string"},"records":{"type":"array","items":{"type":"string"}}}},"DominantColorsResponse":{"type":"object","required":["colors"],"properties":{"colors":{"type":"array","items":{"$ref":"#/components/schemas/ColorEntry"}}}},"EmailAuthResponse":{"type":"object","required":["host","note"],"properties":{"dmarc":{"type":["string","null"]},"host":{"type":"string"},"note":{"type":"string"},"spf":{"type":["string","null"]}}},"EmbedRequest":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to vectorize (1..2000 characters)."}}},"EmbedResponse":{"type":"object","required":["model","embedding","dimensions"],"properties":{"dimensions":{"type":"integer","minimum":0},"embedding":{"type":"array","items":{"type":"number","format":"float"}},"model":{"type":"string"}}},"ExtractArticleResponse":{"type":"object","required":["title","markdown"],"properties":{"markdown":{"type":"string"},"title":{"type":"string"}}},"HashResponse":{"type":"object","required":["algo","hash"],"properties":{"algo":{"type":"string"},"hash":{"type":"string"}}},"HeadersAuditResponse":{"type":"object","required":["present","missing"],"properties":{"missing":{"type":"array","items":{"type":"string"}},"present":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}}}},"HexResponse":{"type":"object","required":["mode","output"],"properties":{"mode":{"type":"string"},"output":{"type":"string"}}},"HmacResponse":{"type":"object","required":["algo","hmac"],"properties":{"algo":{"type":"string"},"hmac":{"type":"string"}}},"Hop":{"type":"object","required":["url","status"],"properties":{"status":{"type":"integer","format":"int32","minimum":0},"url":{"type":"string"}}},"ImageCaptionRequest":{"type":"object","required":["image"],"properties":{"image":{"type":"string","description":"Image in base64 or data URL (max. 10MB in binary)."},"prompt":{"type":"string","description":"Optional prompt; defaults to \"Describe this image in one sentence.\""}}},"ImageCaptionResponse":{"type":"object","required":["model","caption"],"properties":{"caption":{"type":"string"},"model":{"type":"string"}}},"JsonValidateResponse":{"type":"object","required":["valid"],"properties":{"error":{"type":["string","null"]},"valid":{"type":"boolean"}}},"JwtDecodeResponse":{"type":"object","required":["header","payload","note"],"properties":{"header":{"type":"object"},"note":{"type":"string"},"payload":{"type":"object"}}},"LinkResult":{"type":"object","required":["url","ok"],"properties":{"ok":{"type":"boolean"},"status":{"type":["integer","null"],"format":"int32","minimum":0},"url":{"type":"string"}}},"LoanResponse":{"type":"object","required":["principal","annual_rate_percent","term_months","monthly_payment","total_paid","total_interest"],"properties":{"annual_rate_percent":{"type":"number","format":"double"},"monthly_payment":{"type":"number","format":"double"},"principal":{"type":"number","format":"double"},"term_months":{"type":"integer","format":"int32","minimum":0},"total_interest":{"type":"number","format":"double"},"total_paid":{"type":"number","format":"double"}}},"OcrResponse":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}},"PasswordResponse":{"type":"object","required":["passwords"],"properties":{"passwords":{"type":"array","items":{"type":"string"}}}},"PdfMetadataResponse":{"type":"object","required":["fields"],"properties":{"fields":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}}}},"PingResponse":{"type":"object","required":["host","reachable","raw_output"],"properties":{"host":{"type":"string"},"raw_output":{"type":"string"},"reachable":{"type":"boolean"}}},"PortResult":{"type":"object","required":["port","open"],"properties":{"open":{"type":"boolean"},"port":{"type":"integer","format":"int32","minimum":0}}},"PortScanResponse":{"type":"object","required":["host","results"],"properties":{"host":{"type":"string"},"results":{"type":"array","items":{"$ref":"#/components/schemas/PortResult"}}}},"QrDecodeResponse":{"type":"object","required":["found","codes"],"properties":{"codes":{"type":"array","items":{"type":"string"}},"found":{"type":"integer","minimum":0}}},"RedirectTraceResponse":{"type":"object","required":["hops","final_url"],"properties":{"final_url":{"type":"string"},"hops":{"type":"array","items":{"$ref":"#/components/schemas/Hop"}}}},"RegexTestRequest":{"type":"object","required":["pattern","text"],"properties":{"pattern":{"type":"string","description":"Regex syntax from the Rust `regex` crate (similar to RE2/PCRE, no backreferences or lookaround)."},"text":{"type":"string"}}},"RegexTestResponse":{"type":"object","required":["is_match","matches","truncated"],"properties":{"is_match":{"type":"boolean"},"matches":{"type":"array","items":{"type":"string"}},"truncated":{"type":"boolean","description":"true if there were more than MAX_MATCHES matches and they were truncated."}}},"SslCheckResponse":{"type":"object","required":["host","port","subject","issuer","not_before","not_after"],"properties":{"host":{"type":"string"},"issuer":{"type":"string"},"not_after":{"type":"string"},"not_before":{"type":"string"},"port":{"type":"integer","format":"int32","minimum":0},"subject":{"type":"string"}}},"StatisticsResponse":{"type":"object","required":["count","sum","mean","median","mode","min","max","variance","stdev"],"properties":{"count":{"type":"integer","format":"int64","minimum":0},"max":{"type":"number","format":"double"},"mean":{"type":"number","format":"double"},"median":{"type":"number","format":"double"},"min":{"type":"number","format":"double"},"mode":{"type":"number","format":"double"},"stdev":{"type":"number","format":"double"},"sum":{"type":"number","format":"double"},"variance":{"type":"number","format":"double"}}},"TechDetectResponse":{"type":"object","required":["detected"],"properties":{"detected":{"type":"array","items":{"type":"string"}},"powered_by_header":{"type":["string","null"]},"server_header":{"type":["string","null"]}}},"ToMarkdownResponse":{"type":"object","required":["markdown"],"properties":{"markdown":{"type":"string"}}},"TotpResponse":{"type":"object","required":["code","period","valid_for_seconds"],"properties":{"code":{"type":"string"},"period":{"type":"integer","format":"int64","minimum":0},"valid_for_seconds":{"type":"integer","format":"int64","minimum":0}}},"TracerouteResponse":{"type":"object","required":["host","hops"],"properties":{"hops":{"type":"array","items":{"type":"string"}},"host":{"type":"string"}}},"TranscribeResponse":{"type":"object","required":["model","text"],"properties":{"model":{"type":"string"},"text":{"type":"string"}}},"UlidResponse":{"type":"object","required":["ulids"],"properties":{"ulids":{"type":"array","items":{"type":"string"}}}},"UnitConvertResponse":{"type":"object","required":["value","from","to","result","category"],"properties":{"category":{"type":"string"},"from":{"type":"string"},"result":{"type":"number","format":"double"},"to":{"type":"string"},"value":{"type":"number","format":"double"}}},"UuidResponse":{"type":"object","required":["uuids"],"properties":{"uuids":{"type":"array","items":{"type":"string"}}}},"WhoisResponse":{"type":"object","required":["host","raw"],"properties":{"host":{"type":"string"},"raw":{"type":"string"}}},"ai_tools.ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"ai_tools.MultipartFile":{"type":"object","description":"Multipart/form-data body with a single `file` field (the audio).\nOnly used to document the OpenAPI schema, never instantiated.","required":["file"],"properties":{"file":{"type":"array","items":{"type":"integer","format":"binary","minimum":0},"contentMediaType":"application/octet-stream"}}},"dev_tools.ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"docs_tools.ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"docs_tools.MultipartFile":{"type":"object","description":"Multipart/form-data body with a single `file` field (the document).\nOnly used to document the OpenAPI schema, never instantiated.","required":["file"],"properties":{"file":{"type":"array","items":{"type":"integer","format":"binary","minimum":0},"contentMediaType":"application/octet-stream"}}},"img_tools.ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"img_tools.MetadataResponse":{"type":"object","required":["width","height","format","exif"],"properties":{"exif":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}},"format":{"type":"string"},"height":{"type":"integer","format":"int32","minimum":0},"width":{"type":"integer","format":"int32","minimum":0}}},"img_tools.MultipartFile":{"type":"object","description":"Multipart/form-data body with a single `file` field (the image).\nOnly used to document the OpenAPI schema, never instantiated.","required":["file"],"properties":{"file":{"type":"array","items":{"type":"integer","format":"binary","minimum":0},"contentMediaType":"application/octet-stream"}}},"net_tools.ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"web_tools.BinaryFile":{"type":"object","description":"Binary body (generated image or PDF). Only used to document the\nOpenAPI schema for responses, never instantiated.","required":["data"],"properties":{"data":{"type":"array","items":{"type":"integer","format":"binary","minimum":0},"contentMediaType":"application/octet-stream"}}},"web_tools.ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"web_tools.MetadataResponse":{"type":"object","properties":{"canonical":{"type":["string","null"]},"description":{"type":["string","null"]},"favicon":{"type":["string","null"]},"og_description":{"type":["string","null"]},"og_image":{"type":["string","null"]},"og_title":{"type":["string","null"]},"title":{"type":["string","null"]}}}}},"tags":[{"name":"ai-tools","description":"IA: embeddings, transcripción y caption de imágenes vía Cloudflare Workers AI."},{"name":"dev-tools","description":"Utilidades CPU-only, instantáneas: hash, UUID, JSON, JWT, regex, cron."},{"name":"docs-tools","description":"Documentos: metadata de PDF, OCR, conversión a Markdown."},{"name":"img-tools","description":"Imágenes: resize, convert, crop, rotate, QR, EXIF, color dominante."},{"name":"net-tools","description":"Red: DNS, WHOIS, SSL, ping, traceroute, port scan, blacklist, ASN, CDN fingerprint."},{"name":"web-tools","description":"Web: screenshots, PDF export, extracción de artículos, tech detection, broken links."}]}