Skip to content

Commit d9a026d

Browse files
feat(api): api update
1 parent 3884afe commit d9a026d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 38
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-155e4761d62255841349c0f8a01b0a9c463ea1d1f2d6c4fd8d1a75c8bef6f226.yml
3-
openapi_spec_hash: ab91f77e7c9d992400cbc7fc8a9e76c1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-8a92cb064637006331b2910caedca8512290c1d8cc75eb91218393cc1581e59c.yml
3+
openapi_spec_hash: c811ec47143ad01cdbcbd8324caa4eda
44
config_hash: bff282047fafdad771fb7ec685f56944

‎src/context/dev/resources/web.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2056,6 +2056,7 @@ def web_scrape_md(
20562056
| 401 / 403 | No | Invalid/disabled key, insufficient permissions, or credits exhausted; inspect error_code |
20572057
| 404 | No | Target page returned or fingerprinted as not found |
20582058
| 408 | No | Request timed out |
2059+
| 413 | No | Target content exceeds the maximum supported size (20 MB) |
20592060
| 415 | No | Unsupported content type |
20602061
| 429 | No | Per-minute rate limit exceeded; honor Retry-After |
20612062
| 500 | No | Internal error |
@@ -4256,6 +4257,7 @@ async def web_scrape_md(
42564257
| 401 / 403 | No | Invalid/disabled key, insufficient permissions, or credits exhausted; inspect error_code |
42574258
| 404 | No | Target page returned or fingerprinted as not found |
42584259
| 408 | No | Request timed out |
4260+
| 413 | No | Target content exceeds the maximum supported size (20 MB) |
42594261
| 415 | No | Unsupported content type |
42604262
| 429 | No | Per-minute rate limit exceeded; honor Retry-After |
42614263
| 500 | No | Internal error |

0 commit comments

Comments
 (0)