Repository Public
1{2 "components": {3 "schemas": {4 "BatchItem": {5 "additionalProperties": false,6 "properties": {7 "kind": {8 "enum": [9 "scrape",10 "screenshot",11 "extract",12 "deep_capture"13 ],14 "title": "Kind",15 "type": "string"16 },17 "request": {18 "additionalProperties": true,19 "title": "Request",20 "type": "object"21 }22 },23 "required": [24 "kind",25 "request"26 ],27 "title": "BatchItem",28 "type": "object"29 },30 "BatchRequest": {31 "additionalProperties": false,32 "properties": {33 "items": {34 "items": {35 "$ref": "#/components/schemas/BatchItem"36 },37 "maxItems": 500,38 "minItems": 1,39 "title": "Items",40 "type": "array"41 }42 },43 "required": [44 "items"45 ],46 "title": "BatchRequest",47 "type": "object"48 },49 "Budgets": {50 "additionalProperties": false,51 "properties": {52 "max_actions_per_page": {53 "default": 40,54 "maximum": 400.0,55 "minimum": 0.0,56 "title": "Max Actions Per Page",57 "type": "integer"58 },59 "max_bytes": {60 "default": 2000000000,61 "maximum": 200000000000.0,62 "minimum": 1000.0,63 "title": "Max Bytes",64 "type": "integer"65 },66 "max_depth": {67 "default": 5,68 "maximum": 50.0,69 "minimum": 0.0,70 "title": "Max Depth",71 "type": "integer"72 },73 "max_duration_s": {74 "default": 3600,75 "maximum": 86400.0,76 "minimum": 5.0,77 "title": "Max Duration S",78 "type": "integer"79 },80 "max_pages": {81 "default": 100,82 "maximum": 100000.0,83 "minimum": 1.0,84 "title": "Max Pages",85 "type": "integer"86 },87 "max_states_per_page": {88 "default": 20,89 "maximum": 200.0,90 "minimum": 0.0,91 "title": "Max States Per Page",92 "type": "integer"93 },94 "max_urls_per_pattern": {95 "default": 100,96 "description": "cap per URL shape (trap bounding)",97 "maximum": 100000.0,98 "minimum": 1.0,99 "title": "Max Urls Per Pattern",100 "type": "integer"101 }102 },103 "title": "Budgets",104 "type": "object"105 },106 "CaptureOptions": {107 "additionalProperties": false,108 "properties": {109 "device_scale_factor": {110 "anyOf": [111 {112 "maximum": 3.0,113 "minimum": 1.0,114 "type": "number"115 },116 {117 "type": "null"118 }119 ],120 "title": "Device Scale Factor"121 },122 "elements": {123 "description": "CSS selectors",124 "items": {125 "type": "string"126 },127 "maxItems": 50,128 "title": "Elements",129 "type": "array"130 },131 "engine": {132 "default": "chromium",133 "enum": [134 "chromium",135 "webkit"136 ],137 "title": "Engine",138 "type": "string"139 },140 "full_page": {141 "default": true,142 "title": "Full Page",143 "type": "boolean"144 },145 "interactive_states": {146 "default": false,147 "title": "Interactive States",148 "type": "boolean"149 },150 "locale": {151 "default": "en-US",152 "title": "Locale",153 "type": "string"154 },155 "pdf": {156 "default": false,157 "title": "Pdf",158 "type": "boolean"159 },160 "profiles": {161 "items": {162 "enum": [163 "desktop",164 "mobile",165 "tablet"166 ],167 "type": "string"168 },169 "maxItems": 3,170 "minItems": 1,171 "title": "Profiles",172 "type": "array"173 },174 "sections": {175 "default": false,176 "title": "Sections",177 "type": "boolean"178 },179 "tile_height": {180 "default": 1600,181 "description": "CSS px",182 "maximum": 8000.0,183 "minimum": 200.0,184 "title": "Tile Height",185 "type": "integer"186 },187 "tile_overlap": {188 "default": 120,189 "description": "CSS px",190 "maximum": 1000.0,191 "minimum": 0.0,192 "title": "Tile Overlap",193 "type": "integer"194 },195 "tile_width": {196 "anyOf": [197 {198 "maximum": 8000.0,199 "minimum": 200.0,200 "type": "integer"201 },202 {203 "type": "null"204 }205 ],206 "description": "CSS px; default = viewport width",207 "title": "Tile Width"208 },209 "tiles": {210 "default": false,211 "title": "Tiles",212 "type": "boolean"213 },214 "timezone": {215 "default": "UTC",216 "title": "Timezone",217 "type": "string"218 },219 "viewport": {220 "default": true,221 "title": "Viewport",222 "type": "boolean"223 },224 "webp_derivatives": {225 "default": true,226 "title": "Webp Derivatives",227 "type": "boolean"228 }229 },230 "title": "CaptureOptions",231 "type": "object"232 },233 "ConnectorBody": {234 "additionalProperties": false,235 "properties": {236 "domain": {237 "maxLength": 253,238 "minLength": 1,239 "title": "Domain",240 "type": "string"241 },242 "fixtures": {243 "description": "[{html, base_url, expected: {field: value}}]",244 "items": {245 "additionalProperties": true,246 "type": "object"247 },248 "maxItems": 50,249 "title": "Fixtures",250 "type": "array"251 },252 "name": {253 "maxLength": 120,254 "minLength": 1,255 "title": "Name",256 "type": "string"257 },258 "owner": {259 "default": "",260 "maxLength": 120,261 "title": "Owner",262 "type": "string"263 },264 "rules": {265 "additionalProperties": true,266 "title": "Rules",267 "type": "object"268 },269 "schema_id": {270 "anyOf": [271 {272 "type": "string"273 },274 {275 "type": "null"276 }277 ],278 "title": "Schema Id"279 }280 },281 "required": [282 "name",283 "domain",284 "rules"285 ],286 "title": "ConnectorBody",287 "type": "object"288 },289 "CrawlRequest": {290 "additionalProperties": false,291 "properties": {292 "budgets": {293 "$ref": "#/components/schemas/Budgets"294 },295 "capture": {296 "anyOf": [297 {298 "$ref": "#/components/schemas/CaptureOptions"299 },300 {301 "type": "null"302 }303 ]304 },305 "extract": {306 "$ref": "#/components/schemas/ExtractOptions"307 },308 "max_depth": {309 "anyOf": [310 {311 "type": "integer"312 },313 {314 "type": "null"315 }316 ],317 "title": "Max Depth"318 },319 "max_pages": {320 "anyOf": [321 {322 "type": "integer"323 },324 {325 "type": "null"326 }327 ],328 "title": "Max Pages"329 },330 "max_states_per_page": {331 "anyOf": [332 {333 "type": "integer"334 },335 {336 "type": "null"337 }338 ],339 "title": "Max States Per Page"340 },341 "metadata": {342 "additionalProperties": {343 "type": "string"344 },345 "title": "Metadata",346 "type": "object"347 },348 "policy": {349 "$ref": "#/components/schemas/PolicyOptions"350 },351 "priority": {352 "default": 5,353 "maximum": 9.0,354 "minimum": 0.0,355 "title": "Priority",356 "type": "integer"357 },358 "render": {359 "default": "auto",360 "enum": [361 "auto",362 "http",363 "browser"364 ],365 "title": "Render",366 "type": "string"367 },368 "sitemap": {369 "anyOf": [370 {371 "type": "string"372 },373 {374 "type": "null"375 }376 ],377 "title": "Sitemap"378 },379 "strategy": {380 "default": "bfs",381 "enum": [382 "bfs",383 "dfs",384 "priority"385 ],386 "title": "Strategy",387 "type": "string"388 },389 "url": {390 "anyOf": [391 {392 "type": "string"393 },394 {395 "type": "null"396 }397 ],398 "title": "Url"399 },400 "urls": {401 "items": {402 "type": "string"403 },404 "maxItems": 10000,405 "title": "Urls",406 "type": "array"407 },408 "use_sitemaps": {409 "default": true,410 "title": "Use Sitemaps",411 "type": "boolean"412 },413 "webhook": {414 "anyOf": [415 {416 "$ref": "#/components/schemas/WebhookOptions"417 },418 {419 "type": "null"420 }421 ]422 }423 },424 "title": "CrawlRequest",425 "type": "object"426 },427 "DeepCaptureRequest": {428 "additionalProperties": false,429 "properties": {430 "budgets": {431 "$ref": "#/components/schemas/Budgets"432 },433 "capture": {434 "$ref": "#/components/schemas/CaptureOptions"435 },436 "extract": {437 "$ref": "#/components/schemas/ExtractOptions"438 },439 "metadata": {440 "additionalProperties": {441 "type": "string"442 },443 "title": "Metadata",444 "type": "object"445 },446 "policy": {447 "$ref": "#/components/schemas/PolicyOptions"448 },449 "priority": {450 "default": 5,451 "maximum": 9.0,452 "minimum": 0.0,453 "title": "Priority",454 "type": "integer"455 },456 "timeout_s": {457 "default": 180,458 "maximum": 1800.0,459 "minimum": 5.0,460 "title": "Timeout S",461 "type": "integer"462 },463 "url": {464 "title": "Url",465 "type": "string"466 },467 "webhook": {468 "anyOf": [469 {470 "$ref": "#/components/schemas/WebhookOptions"471 },472 {473 "type": "null"474 }475 ]476 }477 },478 "required": [479 "url"480 ],481 "title": "DeepCaptureRequest",482 "type": "object"483 },484 "DiffRequest": {485 "additionalProperties": false,486 "properties": {487 "ignore_selectors": {488 "items": {489 "type": "string"490 },491 "maxItems": 50,492 "title": "Ignore Selectors",493 "type": "array"494 },495 "snapshot_a": {496 "title": "Snapshot A",497 "type": "string"498 },499 "snapshot_b": {500 "title": "Snapshot B",501 "type": "string"502 },503 "visual": {504 "default": true,505 "title": "Visual",506 "type": "boolean"507 }508 },509 "required": [510 "snapshot_a",511 "snapshot_b"512 ],513 "title": "DiffRequest",514 "type": "object"515 },516 "ExtractOptions": {517 "additionalProperties": false,518 "properties": {519 "connector_id": {520 "anyOf": [521 {522 "type": "string"523 },524 {525 "type": "null"526 }527 ],528 "title": "Connector Id"529 },530 "formats": {531 "items": {532 "enum": [533 "markdown",534 "json",535 "text",536 "html",537 "links",538 "tables",539 "structured",540 "media"541 ],542 "type": "string"543 },544 "title": "Formats",545 "type": "array"546 },547 "include_evidence": {548 "default": true,549 "title": "Include Evidence",550 "type": "boolean"551 },552 "ocr": {553 "default": false,554 "title": "Ocr",555 "type": "boolean"556 },557 "ocr_languages": {558 "items": {559 "type": "string"560 },561 "maxItems": 6,562 "title": "Ocr Languages",563 "type": "array"564 },565 "rules": {566 "anyOf": [567 {568 "additionalProperties": true,569 "type": "object"570 },571 {572 "type": "null"573 }574 ],575 "description": "Declarative field rules: {field: {css|xpath, attr?}}",576 "title": "Rules"577 },578 "schema": {579 "anyOf": [580 {581 "additionalProperties": true,582 "type": "object"583 },584 {585 "type": "null"586 }587 ],588 "title": "Schema"589 },590 "schema_id": {591 "anyOf": [592 {593 "type": "string"594 },595 {596 "type": "null"597 }598 ],599 "title": "Schema Id"600 },601 "vision": {602 "default": "off",603 "enum": [604 "off",605 "on_conflict",606 "always"607 ],608 "title": "Vision",609 "type": "string"610 }611 },612 "title": "ExtractOptions",613 "type": "object"614 },615 "ExtractRequest": {616 "additionalProperties": false,617 "properties": {618 "extract": {619 "$ref": "#/components/schemas/ExtractOptions"620 },621 "metadata": {622 "additionalProperties": {623 "type": "string"624 },625 "title": "Metadata",626 "type": "object"627 },628 "policy": {629 "$ref": "#/components/schemas/PolicyOptions"630 },631 "priority": {632 "default": 5,633 "maximum": 9.0,634 "minimum": 0.0,635 "title": "Priority",636 "type": "integer"637 },638 "render": {639 "default": "auto",640 "enum": [641 "auto",642 "http",643 "browser"644 ],645 "title": "Render",646 "type": "string"647 },648 "snapshot_id": {649 "anyOf": [650 {651 "type": "string"652 },653 {654 "type": "null"655 }656 ],657 "title": "Snapshot Id"658 },659 "url": {660 "anyOf": [661 {662 "type": "string"663 },664 {665 "type": "null"666 }667 ],668 "title": "Url"669 },670 "webhook": {671 "anyOf": [672 {673 "$ref": "#/components/schemas/WebhookOptions"674 },675 {676 "type": "null"677 }678 ]679 }680 },681 "required": [682 "extract"683 ],684 "title": "ExtractRequest",685 "type": "object"686 },687 "HTTPValidationError": {688 "properties": {689 "detail": {690 "items": {691 "$ref": "#/components/schemas/ValidationError"692 },693 "title": "Detail",694 "type": "array"695 }696 },697 "title": "HTTPValidationError",698 "type": "object"699 },700 "KeyCreate": {701 "additionalProperties": false,702 "properties": {703 "kind": {704 "default": "client",705 "pattern": "^(client|worker)$",706 "title": "Kind",707 "type": "string"708 },709 "name": {710 "maxLength": 120,711 "minLength": 1,712 "title": "Name",713 "type": "string"714 },715 "scopes": {716 "items": {717 "type": "string"718 },719 "title": "Scopes",720 "type": "array"721 },722 "ttl_days": {723 "anyOf": [724 {725 "maximum": 3650.0,726 "minimum": 1.0,727 "type": "integer"728 },729 {730 "type": "null"731 }732 ],733 "title": "Ttl Days"734 }735 },736 "required": [737 "name"738 ],739 "title": "KeyCreate",740 "type": "object"741 },742 "MapRequest": {743 "additionalProperties": false,744 "properties": {745 "budgets": {746 "$ref": "#/components/schemas/Budgets"747 },748 "metadata": {749 "additionalProperties": {750 "type": "string"751 },752 "title": "Metadata",753 "type": "object"754 },755 "policy": {756 "$ref": "#/components/schemas/PolicyOptions"757 },758 "priority": {759 "default": 5,760 "maximum": 9.0,761 "minimum": 0.0,762 "title": "Priority",763 "type": "integer"764 },765 "render": {766 "default": "http",767 "enum": [768 "http",769 "browser"770 ],771 "title": "Render",772 "type": "string"773 },774 "url": {775 "title": "Url",776 "type": "string"777 },778 "use_sitemaps": {779 "default": true,780 "title": "Use Sitemaps",781 "type": "boolean"782 },783 "webhook": {784 "anyOf": [785 {786 "$ref": "#/components/schemas/WebhookOptions"787 },788 {789 "type": "null"790 }791 ]792 }793 },794 "required": [795 "url"796 ],797 "title": "MapRequest",798 "type": "object"799 },800 "MonitorRequest": {801 "additionalProperties": false,802 "properties": {803 "cooldown_s": {804 "default": 3600,805 "maximum": 2592000.0,806 "minimum": 0.0,807 "title": "Cooldown S",808 "type": "integer"809 },810 "enabled": {811 "default": true,812 "title": "Enabled",813 "type": "boolean"814 },815 "ignore_selectors": {816 "items": {817 "type": "string"818 },819 "maxItems": 50,820 "title": "Ignore Selectors",821 "type": "array"822 },823 "interval_s": {824 "default": 86400,825 "maximum": 2678400.0,826 "minimum": 300.0,827 "title": "Interval S",828 "type": "integer"829 },830 "name": {831 "maxLength": 120,832 "minLength": 1,833 "title": "Name",834 "type": "string"835 },836 "request": {837 "$ref": "#/components/schemas/ScrapeRequest"838 },839 "watch": {840 "items": {841 "enum": [842 "content",843 "layout",844 "fields",845 "visual"846 ],847 "type": "string"848 },849 "title": "Watch",850 "type": "array"851 }852 },853 "required": [854 "name",855 "request"856 ],857 "title": "MonitorRequest",858 "type": "object"859 },860 "OcrRequest": {861 "additionalProperties": false,862 "properties": {863 "artifact_id": {864 "title": "Artifact Id",865 "type": "string"866 },867 "fast": {868 "default": false,869 "title": "Fast",870 "type": "boolean"871 },872 "languages": {873 "items": {874 "type": "string"875 },876 "maxItems": 6,877 "title": "Languages",878 "type": "array"879 }880 },881 "required": [882 "artifact_id"883 ],884 "title": "OcrRequest",885 "type": "object"886 },887 "PolicyBody": {888 "additionalProperties": false,889 "properties": {890 "domain": {891 "description": "hostname, or * for every source",892 "maxLength": 253,893 "minLength": 1,894 "title": "Domain",895 "type": "string"896 },897 "kill_switch": {898 "default": false,899 "title": "Kill Switch",900 "type": "boolean"901 },902 "min_delay_ms": {903 "anyOf": [904 {905 "maximum": 600000.0,906 "minimum": 250.0,907 "type": "integer"908 },909 {910 "type": "null"911 }912 ],913 "title": "Min Delay Ms"914 },915 "notes": {916 "default": "",917 "maxLength": 1000,918 "title": "Notes",919 "type": "string"920 }921 },922 "required": [923 "domain"924 ],925 "title": "PolicyBody",926 "type": "object"927 },928 "PolicyOptions": {929 "additionalProperties": false,930 "properties": {931 "allow_domains": {932 "items": {933 "type": "string"934 },935 "maxItems": 200,936 "title": "Allow Domains",937 "type": "array"938 },939 "exclude_paths": {940 "description": "regexes on path+query",941 "items": {942 "type": "string"943 },944 "maxItems": 200,945 "title": "Exclude Paths",946 "type": "array"947 },948 "include_paths": {949 "items": {950 "type": "string"951 },952 "maxItems": 200,953 "title": "Include Paths",954 "type": "array"955 },956 "include_subdomains": {957 "default": false,958 "title": "Include Subdomains",959 "type": "boolean"960 },961 "min_delay_ms": {962 "default": 1000,963 "description": "per-host delay, global to all workers",964 "maximum": 600000.0,965 "minimum": 250.0,966 "title": "Min Delay Ms",967 "type": "integer"968 },969 "respect_robots_txt": {970 "default": true,971 "title": "Respect Robots Txt",972 "type": "boolean"973 },974 "same_origin_only": {975 "default": true,976 "title": "Same Origin Only",977 "type": "boolean"978 },979 "stop_on_access_denied": {980 "default": true,981 "title": "Stop On Access Denied",982 "type": "boolean"983 }984 },985 "title": "PolicyOptions",986 "type": "object"987 },988 "SchemaBody": {989 "additionalProperties": false,990 "properties": {991 "json_schema": {992 "additionalProperties": true,993 "title": "Json Schema",994 "type": "object"995 },996 "name": {997 "maxLength": 120,998 "minLength": 1,999 "title": "Name",1000 "type": "string"1001 }1002 },1003 "required": [1004 "name",1005 "json_schema"1006 ],1007 "title": "SchemaBody",1008 "type": "object"1009 },1010 "ScrapeRequest": {1011 "additionalProperties": false,1012 "properties": {1013 "capture": {1014 "anyOf": [1015 {1016 "$ref": "#/components/schemas/CaptureOptions"1017 },1018 {1019 "type": "null"1020 }1021 ]1022 },1023 "extract": {1024 "$ref": "#/components/schemas/ExtractOptions"1025 },1026 "metadata": {1027 "additionalProperties": {1028 "type": "string"1029 },1030 "title": "Metadata",1031 "type": "object"1032 },1033 "policy": {1034 "$ref": "#/components/schemas/PolicyOptions"1035 },1036 "priority": {1037 "default": 5,1038 "maximum": 9.0,1039 "minimum": 0.0,1040 "title": "Priority",1041 "type": "integer"1042 },1043 "render": {1044 "default": "auto",1045 "enum": [1046 "auto",1047 "http",1048 "browser"1049 ],1050 "title": "Render",1051 "type": "string"1052 },1053 "timeout_s": {1054 "default": 60,1055 "maximum": 600.0,1056 "minimum": 5.0,1057 "title": "Timeout S",1058 "type": "integer"1059 },1060 "url": {1061 "title": "Url",1062 "type": "string"1063 },1064 "webhook": {1065 "anyOf": [1066 {1067 "$ref": "#/components/schemas/WebhookOptions"1068 },1069 {1070 "type": "null"1071 }1072 ]1073 }1074 },1075 "required": [1076 "url"1077 ],1078 "title": "ScrapeRequest",1079 "type": "object"1080 },1081 "ScreenshotRequest": {1082 "additionalProperties": false,1083 "properties": {1084 "capture": {1085 "$ref": "#/components/schemas/CaptureOptions"1086 },1087 "metadata": {1088 "additionalProperties": {1089 "type": "string"1090 },1091 "title": "Metadata",1092 "type": "object"1093 },1094 "policy": {1095 "$ref": "#/components/schemas/PolicyOptions"1096 },1097 "priority": {1098 "default": 5,1099 "maximum": 9.0,1100 "minimum": 0.0,1101 "title": "Priority",1102 "type": "integer"1103 },1104 "timeout_s": {1105 "default": 60,1106 "maximum": 600.0,1107 "minimum": 5.0,1108 "title": "Timeout S",1109 "type": "integer"1110 },1111 "url": {1112 "title": "Url",1113 "type": "string"1114 },1115 "webhook": {1116 "anyOf": [1117 {1118 "$ref": "#/components/schemas/WebhookOptions"1119 },1120 {1121 "type": "null"1122 }1123 ]1124 }1125 },1126 "required": [1127 "url"1128 ],1129 "title": "ScreenshotRequest",1130 "type": "object"1131 },1132 "SearchRequest": {1133 "additionalProperties": false,1134 "properties": {1135 "cursor": {1136 "anyOf": [1137 {1138 "type": "string"1139 },1140 {1141 "type": "null"1142 }1143 ],1144 "title": "Cursor"1145 },1146 "domain": {1147 "anyOf": [1148 {1149 "type": "string"1150 },1151 {1152 "type": "null"1153 }1154 ],1155 "title": "Domain"1156 },1157 "limit": {1158 "default": 20,1159 "maximum": 100.0,1160 "minimum": 1.0,1161 "title": "Limit",1162 "type": "integer"1163 },1164 "query": {1165 "maxLength": 400,1166 "minLength": 1,1167 "title": "Query",1168 "type": "string"1169 },1170 "since": {1171 "anyOf": [1172 {1173 "type": "string"1174 },1175 {1176 "type": "null"1177 }1178 ],1179 "title": "Since"1180 },1181 "site_id": {1182 "anyOf": [1183 {1184 "type": "string"1185 },1186 {1187 "type": "null"1188 }1189 ],1190 "title": "Site Id"1191 },1192 "until": {1193 "anyOf": [1194 {1195 "type": "string"1196 },1197 {1198 "type": "null"1199 }1200 ],1201 "title": "Until"1202 }1203 },1204 "required": [1205 "query"1206 ],1207 "title": "SearchRequest",1208 "type": "object"1209 },1210 "ValidationError": {1211 "properties": {1212 "ctx": {1213 "title": "Context",1214 "type": "object"1215 },1216 "input": {1217 "title": "Input"1218 },1219 "loc": {1220 "items": {1221 "anyOf": [1222 {1223 "type": "string"1224 },1225 {1226 "type": "integer"1227 }1228 ]1229 },1230 "title": "Location",1231 "type": "array"1232 },1233 "msg": {1234 "title": "Message",1235 "type": "string"1236 },1237 "type": {1238 "title": "Error Type",1239 "type": "string"1240 }1241 },1242 "required": [1243 "loc",1244 "msg",1245 "type"1246 ],1247 "title": "ValidationError",1248 "type": "object"1249 },1250 "VisionRequest": {1251 "additionalProperties": false,1252 "properties": {1253 "artifact_ids": {1254 "items": {1255 "type": "string"1256 },1257 "maxItems": 4,1258 "minItems": 1,1259 "title": "Artifact Ids",1260 "type": "array"1261 },1262 "model": {1263 "anyOf": [1264 {1265 "type": "string"1266 },1267 {1268 "type": "null"1269 }1270 ],1271 "title": "Model"1272 },1273 "schema": {1274 "anyOf": [1275 {1276 "additionalProperties": true,1277 "type": "object"1278 },1279 {1280 "type": "null"1281 }1282 ],1283 "title": "Schema"1284 },1285 "task": {1286 "default": "describe",1287 "enum": [1288 "describe",1289 "fields"1290 ],1291 "title": "Task",1292 "type": "string"1293 }1294 },1295 "required": [1296 "artifact_ids"1297 ],1298 "title": "VisionRequest",1299 "type": "object"1300 },1301 "WebhookOptions": {1302 "additionalProperties": false,1303 "properties": {1304 "events": {1305 "items": {1306 "enum": [1307 "job.finished",1308 "job.progress",1309 "change.detected"1310 ],1311 "type": "string"1312 },1313 "title": "Events",1314 "type": "array"1315 },1316 "url": {1317 "title": "Url",1318 "type": "string"1319 }1320 },1321 "required": [1322 "url"1323 ],1324 "title": "WebhookOptions",1325 "type": "object"1326 }1327 }1328 },1329 "info": {1330 "description": "Private web crawling and web-intelligence API. Asynchronous jobs, per-field evidence, mandatory source policies (robots.txt, access denials) that clients cannot disable.",1331 "title": "SPIDER — Universal Web Intelligence Engine",1332 "version": "0.1.0"1333 },1334 "openapi": "3.1.0",1335 "paths": {1336 "/v1/artifacts/{artifact_id}": {1337 "get": {1338 "operationId": "artifact_v1_artifacts__artifact_id__get",1339 "parameters": [1340 {1341 "in": "path",1342 "name": "artifact_id",1343 "required": true,1344 "schema": {1345 "title": "Artifact Id",1346 "type": "string"1347 }1348 },1349 {1350 "in": "query",1351 "name": "exp",1352 "required": false,1353 "schema": {1354 "anyOf": [1355 {1356 "type": "string"1357 },1358 {1359 "type": "null"1360 }1361 ],1362 "title": "Exp"1363 }1364 },1365 {1366 "in": "query",1367 "name": "sig",1368 "required": false,1369 "schema": {1370 "anyOf": [1371 {1372 "type": "string"1373 },1374 {1375 "type": "null"1376 }1377 ],1378 "title": "Sig"1379 }1380 },1381 {1382 "in": "query",1383 "name": "render",1384 "required": false,1385 "schema": {1386 "default": false,1387 "title": "Render",1388 "type": "boolean"1389 }1390 }1391 ],1392 "responses": {1393 "200": {1394 "content": {1395 "application/json": {1396 "schema": {}1397 }1398 },1399 "description": "Successful Response"1400 },1401 "422": {1402 "content": {1403 "application/json": {1404 "schema": {1405 "$ref": "#/components/schemas/HTTPValidationError"1406 }1407 }1408 },1409 "description": "Validation Error"1410 }1411 },1412 "summary": "Artifact bytes (API key, session, or short-lived signed URL)",1413 "tags": [1414 "artifacts"1415 ]1416 }1417 },1418 "/v1/audit": {1419 "get": {1420 "operationId": "audit_log_v1_audit_get",1421 "parameters": [1422 {1423 "in": "query",1424 "name": "limit",1425 "required": false,1426 "schema": {1427 "default": 100,1428 "maximum": 500,1429 "minimum": 1,1430 "title": "Limit",1431 "type": "integer"1432 }1433 }1434 ],1435 "responses": {1436 "200": {1437 "content": {1438 "application/json": {1439 "schema": {}1440 }1441 },1442 "description": "Successful Response"1443 },1444 "422": {1445 "content": {1446 "application/json": {1447 "schema": {1448 "$ref": "#/components/schemas/HTTPValidationError"1449 }1450 }1451 },1452 "description": "Validation Error"1453 }1454 },1455 "summary": "Audit trail",1456 "tags": [1457 "admin"1458 ]1459 }1460 },1461 "/v1/batch": {1462 "post": {1463 "operationId": "batch_v1_batch_post",1464 "parameters": [1465 {1466 "in": "header",1467 "name": "idempotency-key",1468 "required": false,1469 "schema": {1470 "anyOf": [1471 {1472 "type": "string"1473 },1474 {1475 "type": "null"1476 }1477 ],1478 "title": "Idempotency-Key"1479 }1480 }1481 ],1482 "requestBody": {1483 "content": {1484 "application/json": {1485 "schema": {1486 "$ref": "#/components/schemas/BatchRequest"1487 }1488 }1489 },1490 "required": true1491 },1492 "responses": {1493 "202": {1494 "content": {1495 "application/json": {1496 "schema": {}1497 }1498 },1499 "description": "Job accepted; poll status_url or stream events_url"1500 },1501 "422": {1502 "content": {1503 "application/json": {1504 "schema": {1505 "$ref": "#/components/schemas/HTTPValidationError"1506 }1507 }1508 },1509 "description": "Validation Error"1510 }1511 },1512 "summary": "Batch of independent jobs",1513 "tags": [1514 "collect"1515 ]1516 }1517 },1518 "/v1/changes": {1519 "get": {1520 "operationId": "changes_v1_changes_get",1521 "parameters": [1522 {1523 "in": "query",1524 "name": "schedule_id",1525 "required": false,1526 "schema": {1527 "anyOf": [1528 {1529 "type": "string"1530 },1531 {1532 "type": "null"1533 }1534 ],1535 "title": "Schedule Id"1536 }1537 },1538 {1539 "in": "query",1540 "name": "limit",1541 "required": false,1542 "schema": {1543 "default": 50,1544 "maximum": 200,1545 "minimum": 1,1546 "title": "Limit",1547 "type": "integer"1548 }1549 }1550 ],1551 "responses": {1552 "200": {1553 "content": {1554 "application/json": {1555 "schema": {}1556 }1557 },1558 "description": "Successful Response"1559 },1560 "422": {1561 "content": {1562 "application/json": {1563 "schema": {1564 "$ref": "#/components/schemas/HTTPValidationError"1565 }1566 }1567 },1568 "description": "Validation Error"1569 }1570 },1571 "summary": "Change events detected by monitors",1572 "tags": [1573 "admin"1574 ]1575 }1576 },1577 "/v1/connectors": {1578 "get": {1579 "operationId": "connectors_v1_connectors_get",1580 "responses": {1581 "200": {1582 "content": {1583 "application/json": {1584 "schema": {}1585 }1586 },1587 "description": "Successful Response"1588 }1589 },1590 "summary": "Connector registry",1591 "tags": [1592 "admin"1593 ]1594 },1595 "post": {1596 "operationId": "connector_create_v1_connectors_post",1597 "requestBody": {1598 "content": {1599 "application/json": {1600 "schema": {1601 "$ref": "#/components/schemas/ConnectorBody"1602 }1603 }1604 },1605 "required": true1606 },1607 "responses": {1608 "201": {1609 "content": {1610 "application/json": {1611 "schema": {}1612 }1613 },1614 "description": "Successful Response"1615 },1616 "422": {1617 "content": {1618 "application/json": {1619 "schema": {1620 "$ref": "#/components/schemas/HTTPValidationError"1621 }1622 }1623 },1624 "description": "Validation Error"1625 }1626 },1627 "summary": "Register a connector version (status: proposed)",1628 "tags": [1629 "admin"1630 ]1631 }1632 },1633 "/v1/connectors/{connector_id}/status": {1634 "post": {1635 "operationId": "connector_status_v1_connectors__connector_id__status_post",1636 "parameters": [1637 {1638 "in": "path",1639 "name": "connector_id",1640 "required": true,1641 "schema": {1642 "title": "Connector Id",1643 "type": "string"1644 }1645 },1646 {1647 "in": "query",1648 "name": "status",1649 "required": true,1650 "schema": {1651 "pattern": "^(active|disabled)$",1652 "title": "Status",1653 "type": "string"1654 }1655 }1656 ],1657 "responses": {1658 "200": {1659 "content": {1660 "application/json": {1661 "schema": {}1662 }1663 },1664 "description": "Successful Response"1665 },1666 "422": {1667 "content": {1668 "application/json": {1669 "schema": {1670 "$ref": "#/components/schemas/HTTPValidationError"1671 }1672 }1673 },1674 "description": "Validation Error"1675 }1676 },1677 "summary": "Activate, disable or roll back a connector",1678 "tags": [1679 "admin"1680 ]1681 }1682 },1683 "/v1/connectors/{connector_id}/validate": {1684 "post": {1685 "operationId": "connector_validate_v1_connectors__connector_id__validate_post",1686 "parameters": [1687 {1688 "in": "path",1689 "name": "connector_id",1690 "required": true,1691 "schema": {1692 "title": "Connector Id",1693 "type": "string"1694 }1695 }1696 ],1697 "responses": {1698 "200": {1699 "content": {1700 "application/json": {1701 "schema": {}1702 }1703 },1704 "description": "Successful Response"1705 },1706 "422": {1707 "content": {1708 "application/json": {1709 "schema": {1710 "$ref": "#/components/schemas/HTTPValidationError"1711 }1712 }1713 },1714 "description": "Validation Error"1715 }1716 },1717 "summary": "Run the connector on its fixtures",1718 "tags": [1719 "admin"1720 ]1721 }1722 },1723 "/v1/crawl": {1724 "post": {1725 "operationId": "crawl_v1_crawl_post",1726 "parameters": [1727 {1728 "in": "header",1729 "name": "idempotency-key",1730 "required": false,1731 "schema": {1732 "anyOf": [1733 {1734 "type": "string"1735 },1736 {1737 "type": "null"1738 }1739 ],1740 "title": "Idempotency-Key"1741 }1742 }1743 ],1744 "requestBody": {1745 "content": {1746 "application/json": {1747 "schema": {1748 "$ref": "#/components/schemas/CrawlRequest"1749 }1750 }1751 },1752 "required": true1753 },1754 "responses": {1755 "202": {1756 "content": {1757 "application/json": {1758 "schema": {}1759 }1760 },1761 "description": "Job accepted; poll status_url or stream events_url"1762 },1763 "422": {1764 "content": {1765 "application/json": {1766 "schema": {1767 "$ref": "#/components/schemas/HTTPValidationError"1768 }1769 }1770 },1771 "description": "Validation Error"1772 }1773 },1774 "summary": "Multi-page exploration",1775 "tags": [1776 "collect"1777 ]1778 }1779 },1780 "/v1/deep-capture": {1781 "post": {1782 "operationId": "deep_capture_v1_deep_capture_post",1783 "parameters": [1784 {1785 "in": "header",1786 "name": "idempotency-key",1787 "required": false,1788 "schema": {1789 "anyOf": [1790 {1791 "type": "string"1792 },1793 {1794 "type": "null"1795 }1796 ],1797 "title": "Idempotency-Key"1798 }1799 }1800 ],1801 "requestBody": {1802 "content": {1803 "application/json": {1804 "schema": {1805 "$ref": "#/components/schemas/DeepCaptureRequest"1806 }1807 }1808 },1809 "required": true1810 },1811 "responses": {1812 "202": {1813 "content": {1814 "application/json": {1815 "schema": {}1816 }1817 },1818 "description": "Job accepted; poll status_url or stream events_url"1819 },1820 "422": {1821 "content": {1822 "application/json": {1823 "schema": {1824 "$ref": "#/components/schemas/HTTPValidationError"1825 }1826 }1827 },1828 "description": "Validation Error"1829 }1830 },1831 "summary": "Tiled capture and interactive state exploration",1832 "tags": [1833 "capture"1834 ]1835 }1836 },1837 "/v1/diff": {1838 "post": {1839 "operationId": "diff_v1_diff_post",1840 "requestBody": {1841 "content": {1842 "application/json": {1843 "schema": {1844 "$ref": "#/components/schemas/DiffRequest"1845 }1846 }1847 },1848 "required": true1849 },1850 "responses": {1851 "200": {1852 "content": {1853 "application/json": {1854 "schema": {}1855 }1856 },1857 "description": "Successful Response"1858 },1859 "422": {1860 "content": {1861 "application/json": {1862 "schema": {1863 "$ref": "#/components/schemas/HTTPValidationError"1864 }1865 }1866 },1867 "description": "Validation Error"1868 }1869 },1870 "summary": "Compare two snapshots (text, layout, fields, pixels)",1871 "tags": [1872 "watch"1873 ]1874 }1875 },1876 "/v1/extract": {1877 "post": {1878 "operationId": "extract_v1_extract_post",1879 "parameters": [1880 {1881 "in": "header",1882 "name": "idempotency-key",1883 "required": false,1884 "schema": {1885 "anyOf": [1886 {1887 "type": "string"1888 },1889 {1890 "type": "null"1891 }1892 ],1893 "title": "Idempotency-Key"1894 }1895 }1896 ],1897 "requestBody": {1898 "content": {1899 "application/json": {1900 "schema": {1901 "$ref": "#/components/schemas/ExtractRequest"1902 }1903 }1904 },1905 "required": true1906 },1907 "responses": {1908 "202": {1909 "content": {1910 "application/json": {1911 "schema": {}1912 }1913 },1914 "description": "Job accepted; poll status_url or stream events_url"1915 },1916 "422": {1917 "content": {1918 "application/json": {1919 "schema": {1920 "$ref": "#/components/schemas/HTTPValidationError"1921 }1922 }1923 },1924 "description": "Validation Error"1925 }1926 },1927 "summary": "Schema-driven extraction",1928 "tags": [1929 "extract"1930 ]1931 }1932 },1933 "/v1/health": {1934 "get": {1935 "operationId": "health_v1_health_get",1936 "responses": {1937 "200": {1938 "content": {1939 "application/json": {1940 "schema": {}1941 }1942 },1943 "description": "Successful Response"1944 }1945 },1946 "summary": "Minimal liveness and readiness",1947 "tags": [1948 "system"1949 ]1950 }1951 },1952 "/v1/jobs": {1953 "get": {1954 "operationId": "list_jobs_v1_jobs_get",1955 "parameters": [1956 {1957 "in": "query",1958 "name": "status",1959 "required": false,1960 "schema": {1961 "anyOf": [1962 {1963 "type": "string"1964 },1965 {1966 "type": "null"1967 }1968 ],1969 "title": "Status"1970 }1971 },1972 {1973 "in": "query",1974 "name": "kind",1975 "required": false,1976 "schema": {1977 "anyOf": [1978 {1979 "type": "string"1980 },1981 {1982 "type": "null"1983 }1984 ],1985 "title": "Kind"1986 }1987 },1988 {1989 "in": "query",1990 "name": "limit",1991 "required": false,1992 "schema": {1993 "default": 50,1994 "maximum": 200,1995 "minimum": 1,1996 "title": "Limit",1997 "type": "integer"1998 }1999 },2000 {2001 "in": "query",2002 "name": "cursor",2003 "required": false,2004 "schema": {2005 "anyOf": [2006 {2007 "type": "string"2008 },2009 {2010 "type": "null"2011 }2012 ],2013 "title": "Cursor"2014 }2015 }2016 ],2017 "responses": {2018 "200": {2019 "content": {2020 "application/json": {2021 "schema": {}2022 }2023 },2024 "description": "Successful Response"2025 },2026 "422": {2027 "content": {2028 "application/json": {2029 "schema": {2030 "$ref": "#/components/schemas/HTTPValidationError"2031 }2032 }2033 },2034 "description": "Validation Error"2035 }2036 },2037 "summary": "List jobs",2038 "tags": [2039 "jobs"2040 ]2041 }2042 },2043 "/v1/jobs/{job_id}": {2044 "delete": {2045 "operationId": "job_delete_v1_jobs__job_id__delete",2046 "parameters": [2047 {2048 "in": "path",2049 "name": "job_id",2050 "required": true,2051 "schema": {2052 "title": "Job Id",2053 "type": "string"2054 }2055 }2056 ],2057 "responses": {2058 "200": {2059 "content": {2060 "application/json": {2061 "schema": {}2062 }2063 },2064 "description": "Successful Response"2065 },2066 "422": {2067 "content": {2068 "application/json": {2069 "schema": {2070 "$ref": "#/components/schemas/HTTPValidationError"2071 }2072 }2073 },2074 "description": "Validation Error"2075 }2076 },2077 "summary": "Delete a finished job and its data",2078 "tags": [2079 "admin"2080 ]2081 },2082 "get": {2083 "operationId": "get_job_v1_jobs__job_id__get",2084 "parameters": [2085 {2086 "in": "path",2087 "name": "job_id",2088 "required": true,2089 "schema": {2090 "title": "Job Id",2091 "type": "string"2092 }2093 }2094 ],2095 "responses": {2096 "200": {2097 "content": {2098 "application/json": {2099 "schema": {}2100 }2101 },2102 "description": "Successful Response"2103 },2104 "422": {2105 "content": {2106 "application/json": {2107 "schema": {2108 "$ref": "#/components/schemas/HTTPValidationError"2109 }2110 }2111 },2112 "description": "Validation Error"2113 }2114 },2115 "summary": "Job status and progress",2116 "tags": [2117 "jobs"2118 ]2119 }2120 },2121 "/v1/jobs/{job_id}/cancel": {2122 "post": {2123 "operationId": "cancel_job_v1_jobs__job_id__cancel_post",2124 "parameters": [2125 {2126 "in": "path",2127 "name": "job_id",2128 "required": true,2129 "schema": {2130 "title": "Job Id",2131 "type": "string"2132 }2133 }2134 ],2135 "responses": {2136 "200": {2137 "content": {2138 "application/json": {2139 "schema": {}2140 }2141 },2142 "description": "Successful Response"2143 },2144 "422": {2145 "content": {2146 "application/json": {2147 "schema": {2148 "$ref": "#/components/schemas/HTTPValidationError"2149 }2150 }2151 },2152 "description": "Validation Error"2153 }2154 },2155 "summary": "Cancel a job",2156 "tags": [2157 "jobs"2158 ]2159 }2160 },2161 "/v1/jobs/{job_id}/events": {2162 "get": {2163 "operationId": "events_v1_jobs__job_id__events_get",2164 "parameters": [2165 {2166 "in": "path",2167 "name": "job_id",2168 "required": true,2169 "schema": {2170 "title": "Job Id",2171 "type": "string"2172 }2173 },2174 {2175 "in": "header",2176 "name": "last-event-id",2177 "required": false,2178 "schema": {2179 "anyOf": [2180 {2181 "type": "string"2182 },2183 {2184 "type": "null"2185 }2186 ],2187 "title": "Last-Event-Id"2188 }2189 }2190 ],2191 "responses": {2192 "200": {2193 "content": {2194 "application/json": {2195 "schema": {}2196 }2197 },2198 "description": "Successful Response"2199 },2200 "422": {2201 "content": {2202 "application/json": {2203 "schema": {2204 "$ref": "#/components/schemas/HTTPValidationError"2205 }2206 }2207 },2208 "description": "Validation Error"2209 }2210 },2211 "summary": "Server-sent events for a job",2212 "tags": [2213 "jobs"2214 ]2215 }2216 },2217 "/v1/jobs/{job_id}/export": {2218 "get": {2219 "operationId": "export_v1_jobs__job_id__export_get",2220 "parameters": [2221 {2222 "in": "path",2223 "name": "job_id",2224 "required": true,2225 "schema": {2226 "title": "Job Id",2227 "type": "string"2228 }2229 },2230 {2231 "in": "query",2232 "name": "format",2233 "required": false,2234 "schema": {2235 "default": "jsonl",2236 "pattern": "^(jsonl|csv|markdown|html|zip)$",2237 "title": "Format",2238 "type": "string"2239 }2240 },2241 {2242 "in": "query",2243 "name": "mask",2244 "required": false,2245 "schema": {2246 "anyOf": [2247 {2248 "pattern": "^pii$",2249 "type": "string"2250 },2251 {2252 "type": "null"2253 }2254 ],2255 "title": "Mask"2256 }2257 }2258 ],2259 "responses": {2260 "200": {2261 "content": {2262 "application/json": {2263 "schema": {}2264 }2265 },2266 "description": "Successful Response"2267 },2268 "422": {2269 "content": {2270 "application/json": {2271 "schema": {2272 "$ref": "#/components/schemas/HTTPValidationError"2273 }2274 }2275 },2276 "description": "Validation Error"2277 }2278 },2279 "summary": "Export results (jsonl, csv, markdown, html, zip)",2280 "tags": [2281 "jobs"2282 ]2283 }2284 },2285 "/v1/jobs/{job_id}/frontier": {2286 "get": {2287 "operationId": "frontier_v1_jobs__job_id__frontier_get",2288 "parameters": [2289 {2290 "in": "path",2291 "name": "job_id",2292 "required": true,2293 "schema": {2294 "title": "Job Id",2295 "type": "string"2296 }2297 },2298 {2299 "in": "query",2300 "name": "status",2301 "required": false,2302 "schema": {2303 "anyOf": [2304 {2305 "type": "string"2306 },2307 {2308 "type": "null"2309 }2310 ],2311 "title": "Status"2312 }2313 },2314 {2315 "in": "query",2316 "name": "limit",2317 "required": false,2318 "schema": {2319 "default": 200,2320 "maximum": 1000,2321 "minimum": 1,2322 "title": "Limit",2323 "type": "integer"2324 }2325 },2326 {2327 "in": "query",2328 "name": "after",2329 "required": false,2330 "schema": {2331 "default": 0,2332 "title": "After",2333 "type": "integer"2334 }2335 }2336 ],2337 "responses": {2338 "200": {2339 "content": {2340 "application/json": {2341 "schema": {}2342 }2343 },2344 "description": "Successful Response"2345 },2346 "422": {2347 "content": {2348 "application/json": {2349 "schema": {2350 "$ref": "#/components/schemas/HTTPValidationError"2351 }2352 }2353 },2354 "description": "Validation Error"2355 }2356 },2357 "summary": "Frontier of a job (URLs and their state)",2358 "tags": [2359 "admin"2360 ]2361 }2362 },2363 "/v1/jobs/{job_id}/pause": {2364 "post": {2365 "operationId": "pause_job_v1_jobs__job_id__pause_post",2366 "parameters": [2367 {2368 "in": "path",2369 "name": "job_id",2370 "required": true,2371 "schema": {2372 "title": "Job Id",2373 "type": "string"2374 }2375 },2376 {2377 "in": "query",2378 "name": "resume",2379 "required": false,2380 "schema": {2381 "default": false,2382 "title": "Resume",2383 "type": "boolean"2384 }2385 }2386 ],2387 "responses": {2388 "200": {2389 "content": {2390 "application/json": {2391 "schema": {}2392 }2393 },2394 "description": "Successful Response"2395 },2396 "422": {2397 "content": {2398 "application/json": {2399 "schema": {2400 "$ref": "#/components/schemas/HTTPValidationError"2401 }2402 }2403 },2404 "description": "Validation Error"2405 }2406 },2407 "summary": "Pause or resume leasing for a job",2408 "tags": [2409 "jobs"2410 ]2411 }2412 },2413 "/v1/jobs/{job_id}/results": {2414 "get": {2415 "operationId": "results_v1_jobs__job_id__results_get",2416 "parameters": [2417 {2418 "in": "path",2419 "name": "job_id",2420 "required": true,2421 "schema": {2422 "title": "Job Id",2423 "type": "string"2424 }2425 },2426 {2427 "in": "query",2428 "name": "limit",2429 "required": false,2430 "schema": {2431 "default": 20,2432 "maximum": 100,2433 "minimum": 1,2434 "title": "Limit",2435 "type": "integer"2436 }2437 },2438 {2439 "in": "query",2440 "name": "cursor",2441 "required": false,2442 "schema": {2443 "anyOf": [2444 {2445 "type": "string"2446 },2447 {2448 "type": "null"2449 }2450 ],2451 "title": "Cursor"2452 }2453 },2454 {2455 "in": "query",2456 "name": "include_evidence",2457 "required": false,2458 "schema": {2459 "default": true,2460 "title": "Include Evidence",2461 "type": "boolean"2462 }2463 },2464 {2465 "in": "query",2466 "name": "include_content",2467 "required": false,2468 "schema": {2469 "default": true,2470 "title": "Include Content",2471 "type": "boolean"2472 }2473 },2474 {2475 "in": "query",2476 "name": "mask",2477 "required": false,2478 "schema": {2479 "anyOf": [2480 {2481 "pattern": "^pii$",2482 "type": "string"2483 },2484 {2485 "type": "null"2486 }2487 ],2488 "title": "Mask"2489 }2490 }2491 ],2492 "responses": {2493 "200": {2494 "content": {2495 "application/json": {2496 "schema": {}2497 }2498 },2499 "description": "Successful Response"2500 },2501 "422": {2502 "content": {2503 "application/json": {2504 "schema": {2505 "$ref": "#/components/schemas/HTTPValidationError"2506 }2507 }2508 },2509 "description": "Validation Error"2510 }2511 },2512 "summary": "Paginated results (available while running)",2513 "tags": [2514 "jobs"2515 ]2516 }2517 },2518 "/v1/jobs/{job_id}/retry": {2519 "post": {2520 "operationId": "retry_job_v1_jobs__job_id__retry_post",2521 "parameters": [2522 {2523 "in": "path",2524 "name": "job_id",2525 "required": true,2526 "schema": {2527 "title": "Job Id",2528 "type": "string"2529 }2530 }2531 ],2532 "responses": {2533 "202": {2534 "content": {2535 "application/json": {2536 "schema": {}2537 }2538 },2539 "description": "Successful Response"2540 },2541 "422": {2542 "content": {2543 "application/json": {2544 "schema": {2545 "$ref": "#/components/schemas/HTTPValidationError"2546 }2547 }2548 },2549 "description": "Validation Error"2550 }2551 },2552 "summary": "Re-queue failed URLs of a finished job as a new job",2553 "tags": [2554 "jobs"2555 ]2556 }2557 },2558 "/v1/keys": {2559 "get": {2560 "operationId": "keys_v1_keys_get",2561 "responses": {2562 "200": {2563 "content": {2564 "application/json": {2565 "schema": {}2566 }2567 },2568 "description": "Successful Response"2569 }2570 },2571 "summary": "List API keys (never the secret)",2572 "tags": [2573 "admin"2574 ]2575 },2576 "post": {2577 "operationId": "key_create_v1_keys_post",2578 "requestBody": {2579 "content": {2580 "application/json": {2581 "schema": {2582 "$ref": "#/components/schemas/KeyCreate"2583 }2584 }2585 },2586 "required": true2587 },2588 "responses": {2589 "201": {2590 "content": {2591 "application/json": {2592 "schema": {}2593 }2594 },2595 "description": "Successful Response"2596 },2597 "422": {2598 "content": {2599 "application/json": {2600 "schema": {2601 "$ref": "#/components/schemas/HTTPValidationError"2602 }2603 }2604 },2605 "description": "Validation Error"2606 }2607 },2608 "summary": "Create an API key (shown once)",2609 "tags": [2610 "admin"2611 ]2612 }2613 },2614 "/v1/keys/{key_id}": {2615 "delete": {2616 "operationId": "key_revoke_v1_keys__key_id__delete",2617 "parameters": [2618 {2619 "in": "path",2620 "name": "key_id",2621 "required": true,2622 "schema": {2623 "title": "Key Id",2624 "type": "string"2625 }2626 }2627 ],2628 "responses": {2629 "200": {2630 "content": {2631 "application/json": {2632 "schema": {}2633 }2634 },2635 "description": "Successful Response"2636 },2637 "422": {2638 "content": {2639 "application/json": {2640 "schema": {2641 "$ref": "#/components/schemas/HTTPValidationError"2642 }2643 }2644 },2645 "description": "Validation Error"2646 }2647 },2648 "summary": "Revoke a key immediately",2649 "tags": [2650 "admin"2651 ]2652 }2653 },2654 "/v1/keys/{key_id}/rotate": {2655 "post": {2656 "operationId": "key_rotate_v1_keys__key_id__rotate_post",2657 "parameters": [2658 {2659 "in": "path",2660 "name": "key_id",2661 "required": true,2662 "schema": {2663 "title": "Key Id",2664 "type": "string"2665 }2666 }2667 ],2668 "responses": {2669 "201": {2670 "content": {2671 "application/json": {2672 "schema": {}2673 }2674 },2675 "description": "Successful Response"2676 },2677 "422": {2678 "content": {2679 "application/json": {2680 "schema": {2681 "$ref": "#/components/schemas/HTTPValidationError"2682 }2683 }2684 },2685 "description": "Validation Error"2686 }2687 },2688 "summary": "Rotate: new secret, old one revoked",2689 "tags": [2690 "admin"2691 ]2692 }2693 },2694 "/v1/map": {2695 "post": {2696 "operationId": "map__v1_map_post",2697 "parameters": [2698 {2699 "in": "header",2700 "name": "idempotency-key",2701 "required": false,2702 "schema": {2703 "anyOf": [2704 {2705 "type": "string"2706 },2707 {2708 "type": "null"2709 }2710 ],2711 "title": "Idempotency-Key"2712 }2713 }2714 ],2715 "requestBody": {2716 "content": {2717 "application/json": {2718 "schema": {2719 "$ref": "#/components/schemas/MapRequest"2720 }2721 }2722 },2723 "required": true2724 },2725 "responses": {2726 "202": {2727 "content": {2728 "application/json": {2729 "schema": {}2730 }2731 },2732 "description": "Job accepted; poll status_url or stream events_url"2733 },2734 "422": {2735 "content": {2736 "application/json": {2737 "schema": {2738 "$ref": "#/components/schemas/HTTPValidationError"2739 }2740 }2741 },2742 "description": "Validation Error"2743 }2744 },2745 "summary": "Discover the URL graph without storing page content",2746 "tags": [2747 "collect"2748 ]2749 }2750 },2751 "/v1/me": {2752 "get": {2753 "operationId": "me_v1_me_get",2754 "responses": {2755 "200": {2756 "content": {2757 "application/json": {2758 "schema": {}2759 }2760 },2761 "description": "Successful Response"2762 }2763 },2764 "summary": "Current principal",2765 "tags": [2766 "system"2767 ]2768 }2769 },2770 "/v1/metrics": {2771 "get": {2772 "operationId": "metrics_v1_metrics_get",2773 "responses": {2774 "200": {2775 "content": {2776 "application/json": {2777 "schema": {}2778 }2779 },2780 "description": "Successful Response"2781 }2782 },2783 "summary": "Prometheus metrics (scope: metrics)",2784 "tags": [2785 "system"2786 ]2787 }2788 },2789 "/v1/monitor": {2790 "post": {2791 "operationId": "monitor_v1_monitor_post",2792 "requestBody": {2793 "content": {2794 "application/json": {2795 "schema": {2796 "$ref": "#/components/schemas/MonitorRequest"2797 }2798 }2799 },2800 "required": true2801 },2802 "responses": {2803 "201": {2804 "content": {2805 "application/json": {2806 "schema": {}2807 }2808 },2809 "description": "Successful Response"2810 },2811 "422": {2812 "content": {2813 "application/json": {2814 "schema": {2815 "$ref": "#/components/schemas/HTTPValidationError"2816 }2817 }2818 },2819 "description": "Validation Error"2820 }2821 },2822 "summary": "Create a recurring watch",2823 "tags": [2824 "watch"2825 ]2826 }2827 },2828 "/v1/monitors": {2829 "get": {2830 "operationId": "monitors_v1_monitors_get",2831 "responses": {2832 "200": {2833 "content": {2834 "application/json": {2835 "schema": {}2836 }2837 },2838 "description": "Successful Response"2839 }2840 },2841 "summary": "Recurring watches",2842 "tags": [2843 "admin"2844 ]2845 }2846 },2847 "/v1/monitors/{schedule_id}/{action}": {2848 "post": {2849 "operationId": "monitor_action_v1_monitors__schedule_id___action__post",2850 "parameters": [2851 {2852 "in": "path",2853 "name": "schedule_id",2854 "required": true,2855 "schema": {2856 "title": "Schedule Id",2857 "type": "string"2858 }2859 },2860 {2861 "in": "path",2862 "name": "action",2863 "required": true,2864 "schema": {2865 "title": "Action",2866 "type": "string"2867 }2868 }2869 ],2870 "responses": {2871 "200": {2872 "content": {2873 "application/json": {2874 "schema": {}2875 }2876 },2877 "description": "Successful Response"2878 },2879 "422": {2880 "content": {2881 "application/json": {2882 "schema": {2883 "$ref": "#/components/schemas/HTTPValidationError"2884 }2885 }2886 },2887 "description": "Validation Error"2888 }2889 },2890 "summary": "enable | disable | run-now | delete",2891 "tags": [2892 "admin"2893 ]2894 }2895 },2896 "/v1/ocr": {2897 "post": {2898 "operationId": "ocr_v1_ocr_post",2899 "parameters": [2900 {2901 "in": "header",2902 "name": "idempotency-key",2903 "required": false,2904 "schema": {2905 "anyOf": [2906 {2907 "type": "string"2908 },2909 {2910 "type": "null"2911 }2912 ],2913 "title": "Idempotency-Key"2914 }2915 }2916 ],2917 "requestBody": {2918 "content": {2919 "application/json": {2920 "schema": {2921 "$ref": "#/components/schemas/OcrRequest"2922 }2923 }2924 },2925 "required": true2926 },2927 "responses": {2928 "202": {2929 "content": {2930 "application/json": {2931 "schema": {}2932 }2933 },2934 "description": "Job accepted; poll status_url or stream events_url"2935 },2936 "422": {2937 "content": {2938 "application/json": {2939 "schema": {2940 "$ref": "#/components/schemas/HTTPValidationError"2941 }2942 }2943 },2944 "description": "Validation Error"2945 }2946 },2947 "summary": "OCR of a stored image artifact",2948 "tags": [2949 "extract"2950 ]2951 }2952 },2953 "/v1/policies": {2954 "get": {2955 "operationId": "policies_v1_policies_get",2956 "responses": {2957 "200": {2958 "content": {2959 "application/json": {2960 "schema": {}2961 }2962 },2963 "description": "Successful Response"2964 }2965 },2966 "summary": "Source policies, kill switches and suspensions",2967 "tags": [2968 "admin"2969 ]2970 },2971 "put": {2972 "operationId": "policy_put_v1_policies_put",2973 "requestBody": {2974 "content": {2975 "application/json": {2976 "schema": {2977 "$ref": "#/components/schemas/PolicyBody"2978 }2979 }2980 },2981 "required": true2982 },2983 "responses": {2984 "200": {2985 "content": {2986 "application/json": {2987 "schema": {}2988 }2989 },2990 "description": "Successful Response"2991 },2992 "422": {2993 "content": {2994 "application/json": {2995 "schema": {2996 "$ref": "#/components/schemas/HTTPValidationError"2997 }2998 }2999 },3000 "description": "Validation Error"3001 }3002 },3003 "summary": "Create or update a source policy (kill switch, minimum delay)",3004 "tags": [3005 "admin"3006 ]3007 }3008 },3009 "/v1/policies/{policy_id}": {3010 "delete": {3011 "operationId": "policy_delete_v1_policies__policy_id__delete",3012 "parameters": [3013 {3014 "in": "path",3015 "name": "policy_id",3016 "required": true,3017 "schema": {3018 "title": "Policy Id",3019 "type": "string"3020 }3021 }3022 ],3023 "responses": {3024 "200": {3025 "content": {3026 "application/json": {3027 "schema": {}3028 }3029 },3030 "description": "Successful Response"3031 },3032 "422": {3033 "content": {3034 "application/json": {3035 "schema": {3036 "$ref": "#/components/schemas/HTTPValidationError"3037 }3038 }3039 },3040 "description": "Validation Error"3041 }3042 },3043 "summary": "Delete a source policy",3044 "tags": [3045 "admin"3046 ]3047 }3048 },3049 "/v1/queue": {3050 "get": {3051 "operationId": "queue_v1_queue_get",3052 "responses": {3053 "200": {3054 "content": {3055 "application/json": {3056 "schema": {}3057 }3058 },3059 "description": "Successful Response"3060 }3061 },3062 "summary": "Queue, leases, dead letters and host politeness state",3063 "tags": [3064 "admin"3065 ]3066 }3067 },3068 "/v1/schemas": {3069 "get": {3070 "operationId": "schemas_v1_schemas_get",3071 "responses": {3072 "200": {3073 "content": {3074 "application/json": {3075 "schema": {}3076 }3077 },3078 "description": "Successful Response"3079 }3080 },3081 "summary": "Stored extraction schemas",3082 "tags": [3083 "admin"3084 ]3085 },3086 "post": {3087 "operationId": "schema_create_v1_schemas_post",3088 "requestBody": {3089 "content": {3090 "application/json": {3091 "schema": {3092 "$ref": "#/components/schemas/SchemaBody"3093 }3094 }3095 },3096 "required": true3097 },3098 "responses": {3099 "201": {3100 "content": {3101 "application/json": {3102 "schema": {}3103 }3104 },3105 "description": "Successful Response"3106 },3107 "422": {3108 "content": {3109 "application/json": {3110 "schema": {3111 "$ref": "#/components/schemas/HTTPValidationError"3112 }3113 }3114 },3115 "description": "Validation Error"3116 }3117 },3118 "summary": "Store a new version of a JSON Schema",3119 "tags": [3120 "admin"3121 ]3122 }3123 },3124 "/v1/scrape": {3125 "post": {3126 "operationId": "scrape_v1_scrape_post",3127 "parameters": [3128 {3129 "in": "header",3130 "name": "idempotency-key",3131 "required": false,3132 "schema": {3133 "anyOf": [3134 {3135 "type": "string"3136 },3137 {3138 "type": "null"3139 }3140 ],3141 "title": "Idempotency-Key"3142 }3143 }3144 ],3145 "requestBody": {3146 "content": {3147 "application/json": {3148 "schema": {3149 "$ref": "#/components/schemas/ScrapeRequest"3150 }3151 }3152 },3153 "required": true3154 },3155 "responses": {3156 "202": {3157 "content": {3158 "application/json": {3159 "schema": {}3160 }3161 },3162 "description": "Job accepted; poll status_url or stream events_url"3163 },3164 "422": {3165 "content": {3166 "application/json": {3167 "schema": {3168 "$ref": "#/components/schemas/HTTPValidationError"3169 }3170 }3171 },3172 "description": "Validation Error"3173 }3174 },3175 "summary": "Collect one page",3176 "tags": [3177 "collect"3178 ]3179 }3180 },3181 "/v1/screenshot": {3182 "post": {3183 "operationId": "screenshot_v1_screenshot_post",3184 "parameters": [3185 {3186 "in": "header",3187 "name": "idempotency-key",3188 "required": false,3189 "schema": {3190 "anyOf": [3191 {3192 "type": "string"3193 },3194 {3195 "type": "null"3196 }3197 ],3198 "title": "Idempotency-Key"3199 }3200 }3201 ],3202 "requestBody": {3203 "content": {3204 "application/json": {3205 "schema": {3206 "$ref": "#/components/schemas/ScreenshotRequest"3207 }3208 }3209 },3210 "required": true3211 },3212 "responses": {3213 "202": {3214 "content": {3215 "application/json": {3216 "schema": {}3217 }3218 },3219 "description": "Job accepted; poll status_url or stream events_url"3220 },3221 "422": {3222 "content": {3223 "application/json": {3224 "schema": {3225 "$ref": "#/components/schemas/HTTPValidationError"3226 }3227 }3228 },3229 "description": "Validation Error"3230 }3231 },3232 "summary": "Targeted capture",3233 "tags": [3234 "capture"3235 ]3236 }3237 },3238 "/v1/search": {3239 "post": {3240 "operationId": "search_v1_search_post",3241 "requestBody": {3242 "content": {3243 "application/json": {3244 "schema": {3245 "$ref": "#/components/schemas/SearchRequest"3246 }3247 }3248 },3249 "required": true3250 },3251 "responses": {3252 "200": {3253 "content": {3254 "application/json": {3255 "schema": {}3256 }3257 },3258 "description": "Successful Response"3259 },3260 "422": {3261 "content": {3262 "application/json": {3263 "schema": {3264 "$ref": "#/components/schemas/HTTPValidationError"3265 }3266 }3267 },3268 "description": "Validation Error"3269 }3270 },3271 "summary": "Full-text search in the tenant's own corpus",3272 "tags": [3273 "search"3274 ]3275 }3276 },3277 "/v1/session": {3278 "delete": {3279 "operationId": "session_close_v1_session_delete",3280 "responses": {3281 "200": {3282 "content": {3283 "application/json": {3284 "schema": {}3285 }3286 },3287 "description": "Successful Response"3288 }3289 },3290 "summary": "Close the dashboard session",3291 "tags": [3292 "system"3293 ]3294 },3295 "post": {3296 "operationId": "session_open_v1_session_post",3297 "responses": {3298 "200": {3299 "content": {3300 "application/json": {3301 "schema": {}3302 }3303 },3304 "description": "Successful Response"3305 }3306 },3307 "summary": "Open a dashboard session from an API key",3308 "tags": [3309 "system"3310 ]3311 }3312 },3313 "/v1/sites": {3314 "get": {3315 "operationId": "sites_v1_sites_get",3316 "responses": {3317 "200": {3318 "content": {3319 "application/json": {3320 "schema": {}3321 }3322 },3323 "description": "Successful Response"3324 }3325 },3326 "summary": "Sites known to this tenant",3327 "tags": [3328 "sites"3329 ]3330 }3331 },3332 "/v1/sites/{site_id}/coverage": {3333 "get": {3334 "operationId": "coverage_v1_sites__site_id__coverage_get",3335 "parameters": [3336 {3337 "in": "path",3338 "name": "site_id",3339 "required": true,3340 "schema": {3341 "title": "Site Id",3342 "type": "string"3343 }3344 },3345 {3346 "in": "query",3347 "name": "job_id",3348 "required": false,3349 "schema": {3350 "anyOf": [3351 {3352 "type": "string"3353 },3354 {3355 "type": "null"3356 }3357 ],3358 "title": "Job Id"3359 }3360 }3361 ],3362 "responses": {3363 "200": {3364 "content": {3365 "application/json": {3366 "schema": {}3367 }3368 },3369 "description": "Successful Response"3370 },3371 "422": {3372 "content": {3373 "application/json": {3374 "schema": {3375 "$ref": "#/components/schemas/HTTPValidationError"3376 }3377 }3378 },3379 "description": "Validation Error"3380 }3381 },3382 "summary": "Coverage report of the latest (or given) crawl",3383 "tags": [3384 "sites"3385 ]3386 }3387 },3388 "/v1/sites/{site_id}/graph": {3389 "get": {3390 "operationId": "graph_v1_sites__site_id__graph_get",3391 "parameters": [3392 {3393 "in": "path",3394 "name": "site_id",3395 "required": true,3396 "schema": {3397 "title": "Site Id",3398 "type": "string"3399 }3400 },3401 {3402 "in": "query",3403 "name": "job_id",3404 "required": false,3405 "schema": {3406 "anyOf": [3407 {3408 "type": "string"3409 },3410 {3411 "type": "null"3412 }3413 ],3414 "title": "Job Id"3415 }3416 },3417 {3418 "in": "query",3419 "name": "limit",3420 "required": false,3421 "schema": {3422 "default": 1000,3423 "maximum": 5000,3424 "minimum": 1,3425 "title": "Limit",3426 "type": "integer"3427 }3428 },3429 {3430 "in": "query",3431 "name": "cursor",3432 "required": false,3433 "schema": {3434 "anyOf": [3435 {3436 "type": "string"3437 },3438 {3439 "type": "null"3440 }3441 ],3442 "title": "Cursor"3443 }3444 }3445 ],3446 "responses": {3447 "200": {3448 "content": {3449 "application/json": {3450 "schema": {}3451 }3452 },3453 "description": "Successful Response"3454 },3455 "422": {3456 "content": {3457 "application/json": {3458 "schema": {3459 "$ref": "#/components/schemas/HTTPValidationError"3460 }3461 }3462 },3463 "description": "Validation Error"3464 }3465 },3466 "summary": "URL graph of the latest (or given) crawl",3467 "tags": [3468 "sites"3469 ]3470 }3471 },3472 "/v1/snapshots": {3473 "get": {3474 "operationId": "snapshot_history_v1_snapshots_get",3475 "parameters": [3476 {3477 "in": "query",3478 "name": "url",3479 "required": true,3480 "schema": {3481 "title": "Url",3482 "type": "string"3483 }3484 },3485 {3486 "in": "query",3487 "name": "limit",3488 "required": false,3489 "schema": {3490 "default": 50,3491 "maximum": 200,3492 "minimum": 1,3493 "title": "Limit",3494 "type": "integer"3495 }3496 }3497 ],3498 "responses": {3499 "200": {3500 "content": {3501 "application/json": {3502 "schema": {}3503 }3504 },3505 "description": "Successful Response"3506 },3507 "422": {3508 "content": {3509 "application/json": {3510 "schema": {3511 "$ref": "#/components/schemas/HTTPValidationError"3512 }3513 }3514 },3515 "description": "Validation Error"3516 }3517 },3518 "summary": "Snapshot history of a URL (time machine)",3519 "tags": [3520 "artifacts"3521 ]3522 }3523 },3524 "/v1/snapshots/{snapshot_id}": {3525 "get": {3526 "operationId": "snapshot_v1_snapshots__snapshot_id__get",3527 "parameters": [3528 {3529 "in": "path",3530 "name": "snapshot_id",3531 "required": true,3532 "schema": {3533 "title": "Snapshot Id",3534 "type": "string"3535 }3536 }3537 ],3538 "responses": {3539 "200": {3540 "content": {3541 "application/json": {3542 "schema": {}3543 }3544 },3545 "description": "Successful Response"3546 },3547 "422": {3548 "content": {3549 "application/json": {3550 "schema": {3551 "$ref": "#/components/schemas/HTTPValidationError"3552 }3553 }3554 },3555 "description": "Validation Error"3556 }3557 },3558 "summary": "One snapshot with artifacts and evidence",3559 "tags": [3560 "artifacts"3561 ]3562 }3563 },3564 "/v1/storage": {3565 "get": {3566 "operationId": "storage_v1_storage_get",3567 "responses": {3568 "200": {3569 "content": {3570 "application/json": {3571 "schema": {}3572 }3573 },3574 "description": "Successful Response"3575 }3576 },3577 "summary": "Storage accounting for this tenant",3578 "tags": [3579 "admin"3580 ]3581 }3582 },3583 "/v1/storage/gc": {3584 "post": {3585 "operationId": "storage_gc_v1_storage_gc_post",3586 "responses": {3587 "200": {3588 "content": {3589 "application/json": {3590 "schema": {}3591 }3592 },3593 "description": "Successful Response"3594 }3595 },3596 "summary": "Run retention and garbage collection now",3597 "tags": [3598 "admin"3599 ]3600 }3601 },3602 "/v1/usage": {3603 "get": {3604 "operationId": "usage_v1_usage_get",3605 "parameters": [3606 {3607 "in": "query",3608 "name": "days",3609 "required": false,3610 "schema": {3611 "default": 30,3612 "maximum": 366,3613 "minimum": 1,3614 "title": "Days",3615 "type": "integer"3616 }3617 }3618 ],3619 "responses": {3620 "200": {3621 "content": {3622 "application/json": {3623 "schema": {}3624 }3625 },3626 "description": "Successful Response"3627 },3628 "422": {3629 "content": {3630 "application/json": {3631 "schema": {3632 "$ref": "#/components/schemas/HTTPValidationError"3633 }3634 }3635 },3636 "description": "Validation Error"3637 }3638 },3639 "summary": "Usage counters and quotas",3640 "tags": [3641 "admin"3642 ]3643 }3644 },3645 "/v1/vision": {3646 "post": {3647 "operationId": "vision_v1_vision_post",3648 "parameters": [3649 {3650 "in": "header",3651 "name": "idempotency-key",3652 "required": false,3653 "schema": {3654 "anyOf": [3655 {3656 "type": "string"3657 },3658 {3659 "type": "null"3660 }3661 ],3662 "title": "Idempotency-Key"3663 }3664 }3665 ],3666 "requestBody": {3667 "content": {3668 "application/json": {3669 "schema": {3670 "$ref": "#/components/schemas/VisionRequest"3671 }3672 }3673 },3674 "required": true3675 },3676 "responses": {3677 "202": {3678 "content": {3679 "application/json": {3680 "schema": {}3681 }3682 },3683 "description": "Job accepted; poll status_url or stream events_url"3684 },3685 "422": {3686 "content": {3687 "application/json": {3688 "schema": {3689 "$ref": "#/components/schemas/HTTPValidationError"3690 }3691 }3692 },3693 "description": "Validation Error"3694 }3695 },3696 "summary": "Local multimodal analysis of stored image artifacts",3697 "tags": [3698 "extract"3699 ]3700 }3701 },3702 "/v1/webhook-secret": {3703 "get": {3704 "operationId": "webhook_secret_v1_webhook_secret_get",3705 "responses": {3706 "200": {3707 "content": {3708 "application/json": {3709 "schema": {}3710 }3711 },3712 "description": "Successful Response"3713 }3714 },3715 "summary": "Secret used to verify webhook signatures for this tenant",3716 "tags": [3717 "admin"3718 ]3719 }3720 },3721 "/v1/workers": {3722 "get": {3723 "operationId": "workers_v1_workers_get",3724 "responses": {3725 "200": {3726 "content": {3727 "application/json": {3728 "schema": {}3729 }3730 },3731 "description": "Successful Response"3732 }3733 },3734 "summary": "Worker registry",3735 "tags": [3736 "admin"3737 ]3738 }3739 },3740 "/v1/workers/{worker_id}/drain": {3741 "post": {3742 "operationId": "drain_v1_workers__worker_id__drain_post",3743 "parameters": [3744 {3745 "in": "path",3746 "name": "worker_id",3747 "required": true,3748 "schema": {3749 "title": "Worker Id",3750 "type": "string"3751 }3752 },3753 {3754 "in": "query",3755 "name": "resume",3756 "required": false,3757 "schema": {3758 "default": false,3759 "title": "Resume",3760 "type": "boolean"3761 }3762 }3763 ],3764 "responses": {3765 "200": {3766 "content": {3767 "application/json": {3768 "schema": {}3769 }3770 },3771 "description": "Successful Response"3772 },3773 "422": {3774 "content": {3775 "application/json": {3776 "schema": {3777 "$ref": "#/components/schemas/HTTPValidationError"3778 }3779 }3780 },3781 "description": "Validation Error"3782 }3783 },3784 "summary": "Drain (no new leases) or resume a worker",3785 "tags": [3786 "admin"3787 ]3788 }3789 }3790 }3791}3792