{"info":{"title":"Urlbox Public API (spike)","version":"0.0.0-spike","description":"Public, org-API-key-authenticated oRPC API (spike/orpc-pg-writes)."},"servers":[{"url":"/v2"}],"security":[{"apiKey":[]},{"cookieAuth":[]}],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Organisation-scoped API key (better-auth apiKey plugin). Each key belongs to an organisation and carries its own permission set."},"cookieAuth":{"type":"apiKey","in":"cookie","name":"urlbox.session_token","description":"better-auth session cookie — used same-site by the dashboard (sent automatically by the browser). External API consumers should use the x-api-key header instead."}}},"openapi":"3.1.1","paths":{"/organisation/{org}/render-reports":{"post":{"operationId":"organisation.renderReports.create","summary":"Report a problem with a render","tags":["public","render-reports"],"parameters":[{"name":"org","in":"path","required":true,"schema":{"type":"string","description":"Organisation public id (org_…)"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"renderId":{"type":"string","minLength":1,"maxLength":255},"category":{"enum":["bot-detection","login-required","missing-content","cookie-banner-or-popup","render-failed","other"],"type":"string"},"comment":{"type":"string","minLength":1,"maxLength":2000},"rects":{"type":"array","maxItems":5,"items":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"w":{"type":"number","minimum":0,"maximum":1},"h":{"type":"number","minimum":0,"maximum":1},"label":{"type":"string","maxLength":200}},"required":["x","y","w","h"]},"default":[]}},"required":["renderId","category","comment"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"renderId":{"type":"string"},"category":{"enum":["bot-detection","login-required","missing-content","cookie-banner-or-popup","render-failed","other"],"type":"string"},"comment":{"type":"string"},"rects":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"w":{"type":"number","minimum":0,"maximum":1},"h":{"type":"number","minimum":0,"maximum":1},"label":{"type":"string","maxLength":200}},"required":["x","y","w","h"]}},"state":{"enum":["open","in_review","resolved"],"type":"string"},"outputUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"outputFormat":{"anyOf":[{"type":"string"},{"type":"null"}]},"resolutionMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"resolutionExampleOptions":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"resolutionExampleUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasUnseenResolution":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","renderId","category","comment","rects","state","outputUrl","outputFormat","resolutionMessage","resolutionExampleOptions","resolutionExampleUrl","hasUnseenResolution","createdAt"]}}}}}},"get":{"operationId":"organisation.renderReports.list","summary":"List render issue reports","tags":["public","render-reports"],"parameters":[{"name":"org","in":"path","required":true,"schema":{"type":"string","description":"Organisation public id (org_…)"}},{"name":"renderId","in":"query","schema":{"type":"string","minLength":1,"maxLength":255},"allowEmptyValue":true,"allowReserved":true},{"name":"state","in":"query","schema":{"enum":["open","in_review","resolved"],"type":"string"},"allowEmptyValue":true,"allowReserved":true},{"name":"category","in":"query","schema":{"enum":["bot-detection","login-required","missing-content","cookie-banner-or-popup","render-failed","other"],"type":"string"},"allowEmptyValue":true,"allowReserved":true},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"default":1},"allowEmptyValue":true,"allowReserved":true},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"allowEmptyValue":true,"allowReserved":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"renderReports":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"renderId":{"type":"string"},"category":{"enum":["bot-detection","login-required","missing-content","cookie-banner-or-popup","render-failed","other"],"type":"string"},"comment":{"type":"string"},"rects":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"w":{"type":"number","minimum":0,"maximum":1},"h":{"type":"number","minimum":0,"maximum":1},"label":{"type":"string","maxLength":200}},"required":["x","y","w","h"]}},"state":{"enum":["open","in_review","resolved"],"type":"string"},"outputUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"outputFormat":{"anyOf":[{"type":"string"},{"type":"null"}]},"resolutionMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"resolutionExampleOptions":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"resolutionExampleUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasUnseenResolution":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","renderId","category","comment","rects","state","outputUrl","outputFormat","resolutionMessage","resolutionExampleOptions","resolutionExampleUrl","hasUnseenResolution","createdAt"]}},"page":{"type":"number"},"totalPages":{"type":"number"}},"required":["renderReports","page","totalPages"]}}}}}}},"/organisation":{"get":{"operationId":"public.organisation.get","summary":"Get the current organisation (basics + plan-derived limits)","tags":["public","organisation"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"role":{"type":"string"},"members":{"type":"object","properties":{"count":{"type":"number"},"limit":{"type":"number"}},"required":["count","limit"]},"features":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"boolean"}},"accountBlocked":{"anyOf":[{"type":"object","properties":{"by":{"type":"string"},"at":{"type":"string"},"reason":{"const":"trial_abuse"},"response":{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}}}},"required":["by","at","reason"]},{"type":"null"}]},"accountMode":{"enum":["legacy","migrated","pg_only"],"type":"string"}},"required":["id","name","role","members","features","accountBlocked","accountMode"]}}}}}}},"/usage":{"get":{"operationId":"public.usage.get","summary":"Get the current-period usage summary","tags":["public","usage"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"rendersUsed":{"type":"number"},"renderQuota":{"type":"number"},"period":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"]}},"required":["rendersUsed","renderQuota","period"]}}}}}}},"/projects":{"get":{"operationId":"public.projects.list","summary":"List projects (public API)","tags":["public"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"projects":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"mongoProjectId":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"enabled":{"type":"boolean"},"tokenless":{"type":"boolean"},"engineVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"storageCredentialId":{"anyOf":[{"type":"string"},{"type":"null"}]},"llmCredentialId":{"anyOf":[{"type":"string"},{"type":"null"}]},"proxyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","mongoProjectId","name","enabled","tokenless","engineVersion","storageCredentialId","llmCredentialId","proxyId","createdAt"]}}},"required":["projects"]}}}}}},"post":{"operationId":"public.projects.create","summary":"Create a project (public API)","tags":["public"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"mongoProjectId":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"enabled":{"type":"boolean"},"tokenless":{"type":"boolean"},"engineVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"storageCredentialId":{"anyOf":[{"type":"string"},{"type":"null"}]},"llmCredentialId":{"anyOf":[{"type":"string"},{"type":"null"}]},"proxyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","mongoProjectId","name","enabled","tokenless","engineVersion","storageCredentialId","llmCredentialId","proxyId","createdAt"]}}}}}}},"/projects/{project}/render-defaults":{"patch":{"operationId":"public.projects.updateRenderDefaults","summary":"Set or clear a project's default render options (public API)","tags":["public","projects"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"options":{"anyOf":[{"type":"object","properties":{"html":{"type":"string"},"url":{"type":"string"},"color_profile":{"enum":["default","srgb","dp3","rec2020","scrgblinear","hdr10","colorspingamma24"],"type":"string"},"engine_version":{"enum":["stable","latest","lts","experimental"],"type":"string"},"frame_selection_mode":{"enum":["visible","all"],"type":"string"},"format":{"enum":["png","jpg","jpeg","pdf","avif","mp4","webm","webp","html","mhtml","svg","md"],"type":"string"},"full_page_mode":{"enum":["native","stitch"],"type":"string"},"img_fit":{"enum":["cover","contain","fill","inside","outside"],"type":"string","description":"ImgFit"},"img_position":{"enum":["top","right top","right","right bottom","bottom","left bottom","left","left top","center","centre","north","northeast","east","southeast","south","southwest","west","northwest","entropy","attention"],"type":"string"},"llm_md_mode":{"enum":["Compact","Extractive","Full","compact","extractive","full"],"type":"string"},"llm_md_tables":{"enum":["Drop","Full","Summary","drop","full","summary"],"type":"string"},"llm_output":{"enum":["object","array","enum"],"type":"string"},"media":{"enum":["print","screen"],"type":"string"},"metadata_engine":{"enum":["Legacy","Structured","legacy","structured"],"type":"string"},"pdf_margin":{"enum":["default","none","minimum"],"type":"string"},"pdf_orientation":{"enum":["portrait","landscape"],"type":"string"},"pdf_page_size":{"enum":["a0","a1","a2","a3","a4","a5","a6","legal","ledger","letter","tabloid","A0","A1","A2","A3","A4","A5","A6","Legal","Ledger","Letter","Tabloid"],"type":"string"},"request_interception_method":{"enum":["puppeteer","cdp"],"type":"string"},"response_type":{"enum":["json","jsondebug","binary","base64","none"],"type":"string"},"s3_storageclass":{"enum":["STANDARD","REDUCED_REDUNDANCY","STANDARD_IA","ONEZONE_IA","INTELLIGENT_TIERING","GLACIER","DEEP_ARCHIVE","OUTPOSTS","standard","reduced_redundancy","standard_ia","onezone_ia","intelligent_tiering","glacier","deep_archive","outposts"],"type":"string"},"v":{"enum":["stable","latest","lts","experimental"],"type":"string"},"wait_until":{"enum":["domloaded","mostrequestsfinished","requestsfinished","loaded"],"type":"string"},"accept_cookies":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"add_cors":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"allow_coin":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"allow_infinite":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"auto_crop":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_ads":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_data_urls":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_fetch":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_fonts":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_frames":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_images":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_injections":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_manifests":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_medias":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_other":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_pings":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_scripts":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_sockets":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_styles":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"block_xhr":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"certify":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"click_accept":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"cloudrun":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"continue_on_nav_error":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"dark_mode":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"debug":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"detect_full_height":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"disable_animations":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"disable_js":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"disable_ligatures":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"disable_web_security":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"display_p3":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fail_if_captcha":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fail_if_cf_turnstile":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fail_if_selector_missing":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fail_if_selector_present":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fail_on_3xx":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fail_on_4xx":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fail_on_5xx":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fail_on_metadata_error":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fail_on_retry_conditions":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"finalRetry":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fix_full_height":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"flash":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"force":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"force_dpr":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"fragment":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"freeze_fixed":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"from_html":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"full_html":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"full_page":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"full_page_slices":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"full_width":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"gpu":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"hdr10":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"headless":{"anyOf":[{"const":"shell"},{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]}]},"hide_cookie_banners":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"hide_headless":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"https_upgrade":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"ignore_load_errors":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"json":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"kill_popups":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"lazyload":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"lightweight":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"llm_full_response":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"metadata":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"mock":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"mock_cost":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"no_suffix":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"no_upload":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"pdf_auto_crop":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"pdf_background":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"pdf_fit_to_page":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"pdf_outline":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"pdf_show_footer":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"pdf_show_header":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"pdf_tagged":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"press_escape":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"proxy_same_domain":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"readable":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"rec2020":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"reduce_proxy":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"reduced_motion":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"refresh":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"refresh_after_scroll":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"reload":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"reload_after_scroll":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"retina":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"retry_on_nav_error":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"revisit":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"revisit_after_scroll":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"s3_force_path_style":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"s3_object_lock":{"type":"boolean"},"s3_private_bucket":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_clicks":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_cookies":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_headers":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_headings":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_html":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_http_headers":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_links":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_markdown":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_metadata":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_mhtml":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_resource_info":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_structured_data":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"save_tables":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"scrgb_linear":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"secure_mode":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"sharp_stitch":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"show_certificate_errors":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"show_seams":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"show_sections":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"show_timestamp":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"show_url":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"skip_final_delay":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"skip_scroll":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"skip_webhooks":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"solve_captchas":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"solve_cf_turnstile":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"thumbnails_object":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"transparent":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"turbo":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"use_azure":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"use_chrome":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"use_chromium":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"use_llm":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"use_proxy":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"use_s3":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"use_stealth":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"use_tailwind":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"viewport_clip":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"watermark":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"web_bot_auth":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"web_bot_auth_optional":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"accept_lang":{"type":"string"},"authorization":{"type":"string"},"browser":{"type":"string"},"debug_url":{"type":"string"},"unique":{"type":"string"},"user_agent":{"type":"string"},"platform":{"type":"string"},"wrap":{"type":"string"},"bg_color":{"type":"string"},"hide_selector":{"type":"string"},"hide_selector_x":{"type":"string"},"highlight":{"type":"string"},"highlightfg":{"type":"string"},"highlightbg":{"type":"string"},"selector":{"type":"string"},"css":{"type":"string"},"js":{"type":"string"},"s3_key":{"type":"string"},"s3_secret":{"type":"string"},"s3_bucket":{"type":"string"},"s3_path":{"type":"string"},"s3_region":{"type":"string"},"s3_endpoint":{"type":"string"},"s3_presigned_url":{"type":"string"},"s3_presigned_url_html":{"type":"string"},"s3_presigned_url_mhtml":{"type":"string"},"s3_presigned_url_markdown":{"type":"string"},"s3_presigned_url_metadata":{"type":"string"},"s3_presigned_url_resource_info":{"type":"string"},"cdn_host":{"type":"string"},"azure_account_name":{"type":"string"},"azure_container_name":{"type":"string"},"azure_sas_token":{"type":"string"},"azure_path":{"type":"string"},"wait_for":{"type":"string"},"wait_for_state":{"enum":["attached","visible"],"type":"string"},"wait_for_x":{"type":"string"},"wait_to_leave":{"type":"string"},"wait_to_leave_state":{"enum":["detached","hidden"],"type":"string"},"wait_to_leave_pierce":{"type":"boolean"},"wait_to_leave_x":{"type":"string"},"webhook_url":{"type":"string"},"base_url":{"type":"string"},"width_from":{"type":"string"},"height_from":{"type":"string"},"blend_mode":{"type":"string"},"proxy":{"type":"string"},"pov":{"type":"string"},"point_of_view":{"type":"string"},"pov_country":{"type":"string"},"point_of_view_country":{"type":"string"},"clip":{"type":"string"},"tz":{"type":"string"},"custom_data_variable":{"type":"string"},"pdf_header":{"type":"string"},"pdf_footer":{"type":"string"},"pdf_page_range":{"anyOf":[{"type":"string"},{"type":"number"}]},"pdf_title":{"type":"string"},"pdf_subject":{"type":"string"},"pdf_author":{"type":"string"},"pdf_keywords":{"type":"string"},"pdf_creator":{"type":"string"},"img_pad":{"anyOf":[{"type":"string"},{"type":"number"}]},"auto_crop_bg":{"type":"string"},"render_queue":{"type":"string"},"urlbox_proxy":{"type":"string"},"img_bg":{"type":"string"},"download":{"type":"string"},"cache_ignore":{"type":"string"},"llm_prompt":{"type":"string"},"llm_system_prompt":{"type":"string"},"llm_key":{"type":"string"},"llm_provider":{"enum":["anthropic","openai","google","azure","mistral","cohere","amazon-bedrock","google-vertex","groq","xai","deepseek","perplexity","togetherai","fireworks","cerebras","openrouter"],"type":"string"},"llm_model":{"type":"string"},"llm_schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"},{"type":"object","additionalProperties":{}}]},"llm_base_url":{"type":"string"},"llm_azure_resource_name":{"type":"string"},"llm_azure_api_version":{"type":"string"},"llm_azure_use_deployment_urls":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"llm_azure_api_protocol":{"enum":["openai","anthropic"],"type":"string"},"llm_aws_region":{"type":"string"},"llm_aws_access_key_id":{"type":"string"},"llm_aws_secret_access_key":{"type":"string"},"llm_aws_session_token":{"type":"string"},"llm_gcp_project":{"type":"string"},"llm_gcp_location":{"type":"string"},"llm_gcp_service_account_json":{"type":"string"},"region":{"type":"string"},"click_at":{"type":"string"},"quality":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"delay":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"timeout":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"scroll_delay":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"scroll_height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"scroll_to":{"anyOf":[{"type":"string"},{"type":"number"}]},"scroll_to_x":{"anyOf":[{"type":"string"},{"type":"number"}]},"width":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"thumb_width":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"thumb_height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"dpr":{"anyOf":[{"type":"string"},{"type":"number"}]},"crop_width":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"minidelay":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"max_height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"max_width":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"max_section_height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"max_section_width":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"max_sections":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"max_xsections":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"max_scroll_page_time":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"ttl":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"wait_timeout":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"redirect_after":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"scroll_increment":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"pdf_page_width":{"anyOf":[{"type":"string"},{"type":"number"}]},"pdf_page_height":{"anyOf":[{"type":"string"},{"type":"number"}]},"pdf_scale":{"anyOf":[{"type":"string"},{"type":"number"}]},"pdf_dpi":{"anyOf":[{"type":"string"},{"type":"number"}]},"pdf_margin_top":{"anyOf":[{"type":"string"},{"type":"number"}]},"pdf_margin_bottom":{"anyOf":[{"type":"string"},{"type":"number"}]},"pdf_margin_left":{"anyOf":[{"type":"string"},{"type":"number"}]},"pdf_margin_right":{"anyOf":[{"type":"string"},{"type":"number"}]},"longitude":{"anyOf":[{"type":"string"},{"type":"number"}]},"latitude":{"anyOf":[{"type":"string"},{"type":"number"}]},"accuracy":{"anyOf":[{"type":"string"},{"type":"number"}]},"auto_crop_threshold":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"s3_part_size":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"llm_temperature":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"llm_max_tokens":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"llm_md_budget":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"llm_height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"llm_width":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"max_retries":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"max_attempts":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"retry_delay_ms":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"min_size_bytes":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"full_page_slice_height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"full_page_slice_overlap_height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"block_url_keywords":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"block_urls":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"click":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"click_all":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"click_all_x":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"click_x":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"cookie":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"cookies":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"fail_on":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"fail_on_except":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"header":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"headers":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"hover":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"hover_x":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"proxy_hosts":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"proxy_resources":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"retry_on":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"tag":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"thumbnails":{"type":"array","maxItems":5,"items":{"type":"object","properties":{"key":{"type":"string","maxLength":10},"preset":{"enum":["xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","1/2","1/4","3/4"],"type":"string"},"size":{"anyOf":[{"type":"string"},{"type":"number","exclusiveMinimum":0}]},"width":{"anyOf":[{"type":"string"},{"type":"number","exclusiveMinimum":0}]},"height":{"anyOf":[{"type":"string"},{"type":"number","exclusiveMinimum":0}]},"fit":{"enum":["cover","contain","fill","inside","outside"],"type":"string","description":"ImgFit"},"bg":{"type":"string"},"position":{"enum":["top","right top","right","right bottom","bottom","left bottom","left","left top","center","centre","north","northeast","east","southeast","south","southwest","west","northwest","entropy","attention"],"type":"string"},"suffix":{"type":"string"},"presigned_url":{"type":"string"}}}},"video_method":{"enum":["screencast","psr","extension","modern"],"type":"string"},"video_width":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_quality":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_preset":{"enum":["ultrafast","superfast","veryfast","faster","fast","medium","slow","slower","veryslow"],"type":"string"},"video_bitrate":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_bits_per_second":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_time":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_duration":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_aspect":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_fps":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_ease":{"enum":["linear.none","quadratic.in","quadratic.out","quadratic.inout","cubic.in","cubic.out","cubic.inout","quartic.in","quartic.out","quartic.inout","quintic.in","quintic.out","quintic.inout","sinusoidal.in","sinusoidal.out","sinusoidal.inout","exponential.in","exponential.out","exponential.inout","circular.in","circular.out","circular.inout","elastic.in","elastic.out","elastic.inout","back.in","back.out","back.inout","bounce.in","bounce.out","bounce.inout"],"type":"string"},"video_ease_end":{"enum":["linear.none","quadratic.in","quadratic.out","quadratic.inout","cubic.in","cubic.out","cubic.inout","quartic.in","quartic.out","quartic.inout","quintic.in","quintic.out","quintic.inout","sinusoidal.in","sinusoidal.out","sinusoidal.inout","exponential.in","exponential.out","exponential.inout","circular.in","circular.out","circular.inout","elastic.in","elastic.out","elastic.inout","back.in","back.out","back.inout","bounce.in","bounce.out","bounce.inout"],"type":"string"},"video_prescroll_duration":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_scroll_duration":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_rest_duration":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_scroll_back_duration":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_postscroll_duration":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_scroll_distance":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_use_iscroll":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"video_scroll":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"video_scroll_to":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","properties":{"selector":{"type":"string","minLength":1},"text":{"type":"string","minLength":1},"wait":{"anyOf":[{"type":"string"},{"type":"number"}]},"duration":{"anyOf":[{"type":"string"},{"type":"number"}]},"ease":{"enum":["linear.none","quadratic.in","quadratic.out","quadratic.inout","cubic.in","cubic.out","cubic.inout","quartic.in","quartic.out","quartic.inout","quintic.in","quintic.out","quintic.inout","sinusoidal.in","sinusoidal.out","sinusoidal.inout","exponential.in","exponential.out","exponential.inout","circular.in","circular.out","circular.inout","elastic.in","elastic.out","elastic.inout","back.in","back.out","back.inout","bounce.in","bounce.out","bounce.inout"],"type":"string"},"offset":{"type":"number"}},"additionalProperties":false}},"video_scroll_offset":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_scroll_require_sections":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"video_warmup":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"video_chrome_height":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_crop_w":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"debug_video":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"video_jitter":{"anyOf":[{"type":"string"},{"type":"number"}]},"video_seek":{"anyOf":[{"type":"string"},{"type":"number"}]},"video_refs":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"video_ffmpeg":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"video_scroll_back":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"video_codec":{"enum":["h264","vp9","vp8"],"type":"string"},"video_sections":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"markdown_options":{"type":"object","properties":{"autolinks":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"brInTables":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"bullets":{"type":"string"},"codeBlockStyle":{"enum":["Backticks","Indented","Tildes","backticks","indented","tildes"],"type":"string"},"codeLanguage":{"type":"string"},"convertAsInline":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"debug":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"defaultTitle":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"encoding":{"type":"string"},"escapeAscii":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"escapeAsterisks":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"escapeMisc":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"escapeUnderscores":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"extractMetadata":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"headingStyle":{"enum":["Atx","AtxClosed","Underlined","atx","atx_closed","atxclosed","underlined"],"type":"string"},"highlightStyle":{"enum":["Bold","DoubleEqual","Html","None","bold","double_equal","doubleequal","html","none"],"type":"string"},"hocrSpatialTables":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"keepInlineImagesIn":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"listIndentType":{"enum":["Spaces","Tabs","spaces","tabs"],"type":"string"},"listIndentWidth":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"newlineStyle":{"enum":["Backslash","Spaces","backslash","spaces"],"type":"string"},"outputFormat":{"enum":["Djot","Markdown","Plain","djot","markdown","plain"],"type":"string"},"preprocessing":{"type":"object","properties":{"enabled":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"preset":{"enum":["Aggressive","Minimal","Standard","aggressive","minimal","standard"],"type":"string"},"removeForms":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"removeNavigation":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]}}},"preserveTags":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"skipImages":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"stripNewlines":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"stripTags":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"strongEmSymbol":{"enum":["*","_"],"type":"string"},"subSymbol":{"type":"string"},"supSymbol":{"type":"string"},"whitespaceMode":{"enum":["Normalized","Strict","normalized","strict"],"type":"string"},"wrap":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"wrapWidth":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}}},"retry_with":{"anyOf":[{"type":"object","properties":{"proxy":{"anyOf":[{"type":"string"},{"type":"null"}]},"use_proxy":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"urlbox_proxy":{"anyOf":[{"type":"string"},{"type":"null"}]},"reduce_proxy":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"proxy_same_domain":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"proxy_resources":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"proxy_hosts":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}]},"pov":{"anyOf":[{"type":"string"},{"type":"null"}]},"point_of_view":{"anyOf":[{"type":"string"},{"type":"null"}]},"pov_country":{"anyOf":[{"type":"string"},{"type":"null"}]},"point_of_view_country":{"anyOf":[{"type":"string"},{"type":"null"}]},"use_stealth":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"hide_headless":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"block_ads":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"block_urls":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"block_url_keywords":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"hide_cookie_banners":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"click_accept":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"click":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"click_all":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"hover":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"wait_until":{"anyOf":[{"enum":["networkidle0","networkidle2","load","domcontentloaded"],"type":"string"},{"type":"null"}]},"wait_for":{"anyOf":[{"type":"string"},{"type":"null"}]},"delay":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},{"type":"null"}]},"width":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},{"type":"null"}]},"height":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},{"type":"null"}]},"retina":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"viewport_clip":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"js":{"anyOf":[{"type":"string"},{"type":"null"}]},"css":{"anyOf":[{"type":"string"},{"type":"null"}]},"hide_selector":{"anyOf":[{"type":"string"},{"type":"null"}]},"header":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"cookie":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"authorization":{"anyOf":[{"type":"string"},{"type":"null"}]},"accept_lang":{"anyOf":[{"type":"string"},{"type":"null"}]},"media":{"anyOf":[{"enum":["screen","print"],"type":"string"},{"type":"null"}]},"ignore_https_errors":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"disable_web_security":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"timeout":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},{"type":"null"}]},"debug":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"headless":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]}}},{"type":"array","items":{"type":"object","properties":{"proxy":{"anyOf":[{"type":"string"},{"type":"null"}]},"use_proxy":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"urlbox_proxy":{"anyOf":[{"type":"string"},{"type":"null"}]},"reduce_proxy":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"proxy_same_domain":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"proxy_resources":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"proxy_hosts":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}]},"pov":{"anyOf":[{"type":"string"},{"type":"null"}]},"point_of_view":{"anyOf":[{"type":"string"},{"type":"null"}]},"pov_country":{"anyOf":[{"type":"string"},{"type":"null"}]},"point_of_view_country":{"anyOf":[{"type":"string"},{"type":"null"}]},"use_stealth":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"hide_headless":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"block_ads":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"block_urls":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"block_url_keywords":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"hide_cookie_banners":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"click_accept":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"click":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"click_all":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"hover":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"wait_until":{"anyOf":[{"enum":["networkidle0","networkidle2","load","domcontentloaded"],"type":"string"},{"type":"null"}]},"wait_for":{"anyOf":[{"type":"string"},{"type":"null"}]},"delay":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},{"type":"null"}]},"width":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},{"type":"null"}]},"height":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},{"type":"null"}]},"retina":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"viewport_clip":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"js":{"anyOf":[{"type":"string"},{"type":"null"}]},"css":{"anyOf":[{"type":"string"},{"type":"null"}]},"hide_selector":{"anyOf":[{"type":"string"},{"type":"null"}]},"header":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"cookie":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"authorization":{"anyOf":[{"type":"string"},{"type":"null"}]},"accept_lang":{"anyOf":[{"type":"string"},{"type":"null"}]},"media":{"anyOf":[{"enum":["screen","print"],"type":"string"},{"type":"null"}]},"ignore_https_errors":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"disable_web_security":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"timeout":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},{"type":"null"}]},"debug":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]},"headless":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},{"type":"null"}]}}}}]},"md_code_blocks":{"enum":["Backticks","Indented","Tildes","backticks","indented","tildes"],"type":"string"},"md_heading":{"enum":["Atx","AtxClosed","Underlined","atx","atx_closed","atxclosed","closed","underlined"],"type":"string"},"md_highlight":{"enum":["Bold","DoubleEqual","Html","None","bold","double_equal","doubleequal","html","marker","none","plain"],"type":"string"},"md_list_indent":{"enum":["Spaces","Tabs","spaces","tabs"],"type":"string"},"md_newline":{"enum":["Backslash","Spaces","backslash","spaces"],"type":"string"},"md_output":{"enum":["Djot","Markdown","Plain","djot","markdown","plain"],"type":"string"},"md_preset":{"enum":["Aggressive","Minimal","Standard","aggressive","minimal","standard"],"type":"string"},"md_whitespace":{"enum":["Normalized","Strict","normalized","strict"],"type":"string"},"md_autolinks":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_br_tables":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_debug":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_default_title":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_escape_ascii":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_escape_asterisks":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_escape_misc":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_escape_underscores":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_extract_metadata":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_hocr_tables":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_inline":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_pre_forms":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_pre_nav":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_preprocess":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_skip_images":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_strip_newlines":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_wrap":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"md_bullets":{"type":"string"},"md_code_lang":{"type":"string"},"md_em":{"enum":["*","_"],"type":"string"},"md_encoding":{"type":"string"},"md_sub":{"type":"string"},"md_sup":{"type":"string"},"md_list_width":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"md_wrap_width":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"md_keep_images_in":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"md_preserve_tags":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"md_strip_tags":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"additionalProperties":{}},{"type":"null"}]}},"required":["options"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"mongoProjectId":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"enabled":{"type":"boolean"},"tokenless":{"type":"boolean"},"engineVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"storageCredentialId":{"anyOf":[{"type":"string"},{"type":"null"}]},"llmCredentialId":{"anyOf":[{"type":"string"},{"type":"null"}]},"proxyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","mongoProjectId","name","enabled","tokenless","engineVersion","storageCredentialId","llmCredentialId","proxyId","createdAt"]}}}}}}},"/llm-credentials":{"get":{"operationId":"public.llmCredentials.list","summary":"List LLM credentials (public API)","tags":["public","llm-credentials"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"llmCredentials":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"provider":{"enum":["anthropic","openai","google","azure","mistral","cohere","amazon-bedrock","google-vertex","groq","xai","deepseek","perplexity","togetherai","fireworks","cerebras","openrouter"],"type":"string"},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"maxTokens":{"anyOf":[{"type":"number"},{"type":"null"}]},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}]},"output":{"anyOf":[{"type":"string"},{"type":"null"}]},"schema":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"baseUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureResourceName":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureApiVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureUseDeploymentUrls":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"azureApiProtocol":{"anyOf":[{"enum":["openai","anthropic"],"type":"string"},{"type":"null"}]},"awsRegion":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpProject":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpLocation":{"anyOf":[{"type":"string"},{"type":"null"}]},"apiKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsAccessKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsSecretAccessKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsSessionToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpServiceAccountJson":{"anyOf":[{"type":"string"},{"type":"null"}]},"assignedProjectIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}},"required":["id","name","provider","model","prompt","systemPrompt","maxTokens","temperature","output","schema","baseUrl","azureResourceName","azureApiVersion","azureUseDeploymentUrls","azureApiProtocol","awsRegion","gcpProject","gcpLocation","apiKey","awsAccessKeyId","awsSecretAccessKey","awsSessionToken","gcpServiceAccountJson","assignedProjectIds","createdAt"]}}},"required":["llmCredentials"]}}}}}},"post":{"operationId":"public.llmCredentials.create","summary":"Create an LLM credential (public API)","tags":["public","llm-credentials"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"provider":{"enum":["anthropic","openai","google","azure","mistral","cohere","amazon-bedrock","google-vertex","groq","xai","deepseek","perplexity","togetherai","fireworks","cerebras","openrouter"],"type":"string"},"model":{"type":"string"},"prompt":{"type":"string"},"systemPrompt":{"type":"string"},"maxTokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"temperature":{"type":"number"},"output":{"type":"string"},"schema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"baseUrl":{"type":"string"},"azureResourceName":{"type":"string"},"azureApiVersion":{"type":"string"},"azureUseDeploymentUrls":{"type":"boolean"},"azureApiProtocol":{"enum":["openai","anthropic"],"type":"string"},"awsRegion":{"type":"string"},"awsAccessKeyId":{"type":"string"},"awsSecretAccessKey":{"type":"string"},"awsSessionToken":{"type":"string"},"gcpProject":{"type":"string"},"gcpLocation":{"type":"string"},"gcpServiceAccountJson":{"type":"string"},"apiKey":{"type":"string"}},"required":["name","provider"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"provider":{"enum":["anthropic","openai","google","azure","mistral","cohere","amazon-bedrock","google-vertex","groq","xai","deepseek","perplexity","togetherai","fireworks","cerebras","openrouter"],"type":"string"},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"maxTokens":{"anyOf":[{"type":"number"},{"type":"null"}]},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}]},"output":{"anyOf":[{"type":"string"},{"type":"null"}]},"schema":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"baseUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureResourceName":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureApiVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureUseDeploymentUrls":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"azureApiProtocol":{"anyOf":[{"enum":["openai","anthropic"],"type":"string"},{"type":"null"}]},"awsRegion":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpProject":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpLocation":{"anyOf":[{"type":"string"},{"type":"null"}]},"apiKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsAccessKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsSecretAccessKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsSessionToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpServiceAccountJson":{"anyOf":[{"type":"string"},{"type":"null"}]},"assignedProjectIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}},"required":["id","name","provider","model","prompt","systemPrompt","maxTokens","temperature","output","schema","baseUrl","azureResourceName","azureApiVersion","azureUseDeploymentUrls","azureApiProtocol","awsRegion","gcpProject","gcpLocation","apiKey","awsAccessKeyId","awsSecretAccessKey","awsSessionToken","gcpServiceAccountJson","assignedProjectIds","createdAt"]}}}}}}},"/llm-credentials/{cred}":{"get":{"operationId":"public.llmCredentials.get","summary":"Get an LLM credential (public API)","tags":["public","llm-credentials"],"parameters":[{"name":"cred","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"provider":{"enum":["anthropic","openai","google","azure","mistral","cohere","amazon-bedrock","google-vertex","groq","xai","deepseek","perplexity","togetherai","fireworks","cerebras","openrouter"],"type":"string"},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"maxTokens":{"anyOf":[{"type":"number"},{"type":"null"}]},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}]},"output":{"anyOf":[{"type":"string"},{"type":"null"}]},"schema":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"baseUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureResourceName":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureApiVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureUseDeploymentUrls":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"azureApiProtocol":{"anyOf":[{"enum":["openai","anthropic"],"type":"string"},{"type":"null"}]},"awsRegion":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpProject":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpLocation":{"anyOf":[{"type":"string"},{"type":"null"}]},"apiKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsAccessKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsSecretAccessKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsSessionToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpServiceAccountJson":{"anyOf":[{"type":"string"},{"type":"null"}]},"assignedProjectIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}},"required":["id","name","provider","model","prompt","systemPrompt","maxTokens","temperature","output","schema","baseUrl","azureResourceName","azureApiVersion","azureUseDeploymentUrls","azureApiProtocol","awsRegion","gcpProject","gcpLocation","apiKey","awsAccessKeyId","awsSecretAccessKey","awsSessionToken","gcpServiceAccountJson","assignedProjectIds","createdAt"]}}}}}},"patch":{"operationId":"public.llmCredentials.update","summary":"Update an LLM credential (public API)","tags":["public","llm-credentials"],"parameters":[{"name":"cred","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"model":{"type":"string"},"prompt":{"type":"string"},"systemPrompt":{"type":"string"},"maxTokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"temperature":{"type":"number"},"output":{"type":"string"},"schema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"baseUrl":{"type":"string"},"azureResourceName":{"type":"string"},"azureApiVersion":{"type":"string"},"azureUseDeploymentUrls":{"type":"boolean"},"azureApiProtocol":{"enum":["openai","anthropic"],"type":"string"},"awsRegion":{"type":"string"},"awsAccessKeyId":{"type":"string"},"awsSecretAccessKey":{"type":"string"},"awsSessionToken":{"type":"string"},"gcpProject":{"type":"string"},"gcpLocation":{"type":"string"},"gcpServiceAccountJson":{"type":"string"},"apiKey":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"provider":{"enum":["anthropic","openai","google","azure","mistral","cohere","amazon-bedrock","google-vertex","groq","xai","deepseek","perplexity","togetherai","fireworks","cerebras","openrouter"],"type":"string"},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"maxTokens":{"anyOf":[{"type":"number"},{"type":"null"}]},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}]},"output":{"anyOf":[{"type":"string"},{"type":"null"}]},"schema":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"baseUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureResourceName":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureApiVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"azureUseDeploymentUrls":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"azureApiProtocol":{"anyOf":[{"enum":["openai","anthropic"],"type":"string"},{"type":"null"}]},"awsRegion":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpProject":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpLocation":{"anyOf":[{"type":"string"},{"type":"null"}]},"apiKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsAccessKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsSecretAccessKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"awsSessionToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"gcpServiceAccountJson":{"anyOf":[{"type":"string"},{"type":"null"}]},"assignedProjectIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}},"required":["id","name","provider","model","prompt","systemPrompt","maxTokens","temperature","output","schema","baseUrl","azureResourceName","azureApiVersion","azureUseDeploymentUrls","azureApiProtocol","awsRegion","gcpProject","gcpLocation","apiKey","awsAccessKeyId","awsSecretAccessKey","awsSessionToken","gcpServiceAccountJson","assignedProjectIds","createdAt"]}}}}}},"delete":{"operationId":"public.llmCredentials.delete","summary":"Delete an LLM credential (public API)","tags":["public","llm-credentials"],"parameters":[{"name":"cred","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"const":true}},"required":["id","deleted"]}}}}}}},"/llm-credentials/{cred}/test":{"post":{"operationId":"public.llmCredentials.test","summary":"Test an LLM credential's connection (public API)","tags":["public","llm-credentials"],"parameters":[{"name":"cred","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"azureApiProtocol":{"enum":["openai","anthropic"],"type":"string"}},"required":["ok"]}}}}}}},"/llm-credentials/{cred}/models":{"post":{"operationId":"public.llmCredentials.models","summary":"List a provider's models for an LLM credential (public API)","tags":["public","llm-credentials"],"parameters":[{"name":"cred","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"models":{"type":"array","items":{"type":"string"}}},"required":["models"]}}}}}}},"/llm-credentials/probe":{"post":{"operationId":"public.llmCredentials.probe","summary":"Test a draft LLM config + list its models (public API)","tags":["public","llm-credentials"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"enum":["anthropic","openai","google","azure","mistral","cohere","amazon-bedrock","google-vertex","groq","xai","deepseek","perplexity","togetherai","fireworks","cerebras","openrouter"],"type":"string"},"apiKey":{"type":"string"},"model":{"type":"string"},"baseUrl":{"type":"string"},"azureResourceName":{"type":"string"},"azureApiVersion":{"type":"string"},"azureApiProtocol":{"enum":["openai","anthropic"],"type":"string"}},"required":["provider"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"azureApiProtocol":{"enum":["openai","anthropic"],"type":"string"},"models":{"type":"array","items":{"type":"string"}}},"required":["ok","models"]}}}}}}},"/proxies":{"get":{"operationId":"public.proxies.list","summary":"List proxy pools (public API)","tags":["public","proxies"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"proxies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"proxies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"}},"required":["id","name","url"]}},"assignedProjectIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}},"required":["id","name","proxies","assignedProjectIds","createdAt"]}}},"required":["proxies"]}}}}}},"post":{"operationId":"public.proxies.create","summary":"Create a proxy pool (public API)","tags":["public","proxies"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"proxies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}},"required":["url"]}}},"required":["name","proxies"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"proxies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"}},"required":["id","name","url"]}},"assignedProjectIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}},"required":["id","name","proxies","assignedProjectIds","createdAt"]}}}}}}},"/proxies/{proxy}":{"get":{"operationId":"public.proxies.get","summary":"Get a proxy pool (public API)","tags":["public","proxies"],"parameters":[{"name":"proxy","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"proxies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"}},"required":["id","name","url"]}},"assignedProjectIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}},"required":["id","name","proxies","assignedProjectIds","createdAt"]}}}}}},"patch":{"operationId":"public.proxies.update","summary":"Update a proxy pool (public API)","tags":["public","proxies"],"parameters":[{"name":"proxy","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"proxies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}},"required":["url"]}}},"required":["name","proxies"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"proxies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"}},"required":["id","name","url"]}},"assignedProjectIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}},"required":["id","name","proxies","assignedProjectIds","createdAt"]}}}}}},"delete":{"operationId":"public.proxies.delete","summary":"Delete a proxy pool (public API)","tags":["public","proxies"],"parameters":[{"name":"proxy","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"const":true}},"required":["id","deleted"]}}}}}}},"/proxies/probe":{"post":{"operationId":"public.proxies.probe","summary":"Test draft proxy URLs (pre-save, public API)","tags":["public","proxies"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"proxies":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}},"required":["proxies"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"url":{"type":"string"},"ok":{"const":true},"ip":{"type":"string"},"country":{"type":"string"},"latencyMs":{"type":"number"}},"required":["url","ok","ip","latencyMs"]},{"type":"object","properties":{"url":{"type":"string"},"ok":{"const":false},"error":{"type":"string"}},"required":["url","ok","error"]}]}}},"required":["results"]}}}}}}},"/projects/{project}/api-credentials":{"get":{"operationId":"public.apiCredentials.list","summary":"List a project's API credentials (public API)","tags":["public","api-credentials"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"apiCredentials":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"apiKey":{"type":"string"},"apiSecret":{"type":"string"},"revoked":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","apiKey","apiSecret","revoked","createdAt"]}}},"required":["apiCredentials"]}}}}}},"post":{"operationId":"public.apiCredentials.issue","summary":"Issue a new API credential for a project (public API)","tags":["public","api-credentials"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"apiKey":{"type":"string"},"apiSecret":{"type":"string"},"revoked":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","apiKey","apiSecret","revoked","createdAt"]}}}}}}},"/projects/{project}/api-credentials/{cred}/rotate":{"post":{"operationId":"public.apiCredentials.rotate","summary":"Rotate a credential's key + secret (public API)","tags":["public","api-credentials"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}},{"name":"cred","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"apiKey":{"type":"string"},"apiSecret":{"type":"string"},"revoked":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","apiKey","apiSecret","revoked","createdAt"]}}}}}}},"/projects/{project}/api-credentials/{cred}":{"delete":{"operationId":"public.apiCredentials.revoke","summary":"Revoke an API credential (public API)","tags":["public","api-credentials"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}},{"name":"cred","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"apiKey":{"type":"string"},"apiSecret":{"type":"string"},"revoked":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","apiKey","apiSecret","revoked","createdAt"]}}}}}}},"/projects/{project}/webhooks":{"get":{"operationId":"public.webhooks.list","summary":"List a project's webhook endpoints (public API)","tags":["public","webhooks"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"webhooks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"firesOn":{"type":"array","items":{"type":"string"}},"src":{"type":"string"},"enabled":{"type":"boolean"},"signingSecrets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}},"required":["id","label","expiresAt","hasSecret"]}},"createdAt":{"type":"string"}},"required":["id","url","events","firesOn","src","enabled","signingSecrets","createdAt"]}}},"required":["webhooks"]}}}}}},"post":{"operationId":"public.webhooks.create","summary":"Create a webhook endpoint (public API)","tags":["public","webhooks"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"enum":["render.succeeded","render.failed"],"type":"string"}},"firesOn":{"type":"array","items":{"enum":["GET","POST","HEAD"],"type":"string"}},"src":{"type":"string"},"enabled":{"type":"boolean"},"filter":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["url"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"firesOn":{"type":"array","items":{"type":"string"}},"src":{"type":"string"},"enabled":{"type":"boolean"},"signingSecrets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}},"required":["id","label","expiresAt","hasSecret"]}},"createdAt":{"type":"string"},"signingSecret":{"type":"object","properties":{"id":{"type":"string"},"secret":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","secret","label","expiresAt"]}},"required":["id","url","events","firesOn","src","enabled","signingSecrets","createdAt","signingSecret"]}}}}}}},"/projects/{project}/webhooks/{webhook}":{"get":{"operationId":"public.webhooks.get","summary":"Get a webhook endpoint (public API)","tags":["public","webhooks"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"firesOn":{"type":"array","items":{"type":"string"}},"src":{"type":"string"},"enabled":{"type":"boolean"},"signingSecrets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}},"required":["id","label","expiresAt","hasSecret"]}},"createdAt":{"type":"string"}},"required":["id","url","events","firesOn","src","enabled","signingSecrets","createdAt"]}}}}}},"patch":{"operationId":"public.webhooks.update","summary":"Update a webhook endpoint (public API)","tags":["public","webhooks"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"enum":["render.succeeded","render.failed"],"type":"string"}},"firesOn":{"type":"array","items":{"enum":["GET","POST","HEAD"],"type":"string"}},"src":{"type":"string"},"enabled":{"type":"boolean"},"filter":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"firesOn":{"type":"array","items":{"type":"string"}},"src":{"type":"string"},"enabled":{"type":"boolean"},"signingSecrets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}},"required":["id","label","expiresAt","hasSecret"]}},"createdAt":{"type":"string"}},"required":["id","url","events","firesOn","src","enabled","signingSecrets","createdAt"]}}}}}},"delete":{"operationId":"public.webhooks.delete","summary":"Delete a webhook endpoint (public API)","tags":["public","webhooks"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"const":true}},"required":["id","deleted"]}}}}}}},"/projects/{project}/webhooks/{webhook}/secrets":{"post":{"operationId":"public.webhooks.addSecret","summary":"Add a signing secret to an endpoint (public API)","tags":["public","webhooks"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string"},"expiresAt":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"secret":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","secret","label","expiresAt"]}}}}}}},"/projects/{project}/webhooks/{webhook}/secrets/{secret}/rotate":{"post":{"operationId":"public.webhooks.rotateSecret","summary":"Rotate a signing secret (public API)","tags":["public","webhooks"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string"},"expiresAt":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"secret":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","secret","label","expiresAt"]}}}}}}},"/projects/{project}/webhooks/{webhook}/secrets/{secret}":{"delete":{"operationId":"public.webhooks.revokeSecret","summary":"Revoke (delete) a signing secret (public API)","tags":["public","webhooks"],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook","in":"path","required":true,"schema":{"type":"string"}},{"name":"secret","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"const":true}},"required":["id","deleted"]}}}}}}},"/support/message":{"post":{"operationId":"public.support.send","summary":"Send a support message (Crisp widget fallback)","tags":["public"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":2000},"email":{"type":"string","format":"email"}},"required":["message"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}}}}}}}