{"files":{"SKILL.md":"---\nname: urlbox-api\ndescription: \"Urlbox API skill. Use when working with Urlbox for render. Covers 1 endpoint.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Urlbox API\nAPI version: v1\n\n## Auth\nBearer bearer\n\n## Base URL\nhttps://api.urlbox.io\n\n## Setup\n1. Set Authorization header with Bearer token\n2. Verify API access with a test request\n3. POST /v1/render/sync -- create first sync\n\n## Endpoints\n1 endpoint across 1 group. See references/api-spec.lap for full details.\n\n### Render\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /v1/render/sync | Render a URL as an image or video |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a sync?\" -> POST /v1/render/sync\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Urlbox API\n@base https://api.urlbox.io\n@version v1\n@auth Bearer bearer\n@endpoints 1\n@toc render(1)\n\n@endpoint POST /v1/render/sync\n@desc Render a URL as an image or video\n@optional {format: str(png/jpg/pdf/svg/mp4/webp/webm/html) # The format of the rendered output, url: str # The URL to render as an image or video, html: str # The raw HTML to render as an image or video, width: int # The viewport width of the rendered output, height: int # The viewport height of the rendered output, block_ads: bool # Whether to block ads on the rendered page, hide_cookie_banners: bool # Whether to hide cookie banners on the rendered page, click_accept: bool # Whether to automatically click accept buttons on the rendered page, gpu: bool # Whether to enable GPU rendering, retina: bool # Whether to render the image in retina quality, thumb_width: int # The width of the thumbnail image, thumb_height: int # The height of the thumbnail image, full_page: bool # Whether to capture the full page, selector: str # The CSS selector of an element you would like to capture, delay: str # The amount of milliseconds to delay before taking a screenshot, wait_until: str(requestsfinished/mostrequestsfinished/loaded/domloaded) # When, metadata: bool # Whether to return metadata about the URL, wait_for: str # CSS selector of an element to wait to be present in the web page before rendering, wait_to_leave: str # CSS selector of an element, such as a loading spinner, to wait to leave the web page before rendering}\n@returns(200) {renderUrl: str(uri), size: int(int64)} # Successful operation\n@errors {307: Temporary Redirect, 400: Bad request, 401: Unauthorized, 500: Internal server error}\n\n@end\n"}}