2pdf-site 1.0.0 PDF CONVERSION API Instructions for agents and LLMs. USAGE - Send POST /v1/pdf with Content-Type: application/json. - Include Authorization: Bearer . - Missing or invalid keys return HTTP 401 with code UNAUTHORIZED. - Body: {"url":"https://example.com"} - Use a publicly available HTTP or HTTPS web page URL. - Local files, other protocols, and embedded credentials are rejected. - Pages are converted to PDF and uploaded to S3. - Successful JARPC response: {"ok":true,"data":{"url":"https://.../document.pdf"}} - Failed JARPC response: {"ok":false,"code":"invalid_url","message":"..."} - Error codes: invalid_url, conversion_failed, upload_failed. - An optional request id is echoed in the response. ATTRIBUTION Created by Tekki AS: https://tekki.no