diff --git a/openapi/seclai.openapi.json b/openapi/seclai.openapi.json index 3d86fdc..058d09e 100644 --- a/openapi/seclai.openapi.json +++ b/openapi/seclai.openapi.json @@ -25255,7 +25255,7 @@ } }, { - "description": "Filter to specific content versions, repeatable. Pass the `content_version_id` values returned by the upload endpoints to poll exactly the items you uploaded in a single request. At most 500 ids per request \u2014 beyond that, page through the unfiltered listing or split the poll.", + "description": "Filter to specific content versions, repeatable. Pass the `content_version_id` values returned by the upload endpoints to poll exactly the items you uploaded in a single request. The ids travel in the query string, so keep a request to about 100: a URL longer than 8,192 bytes is rejected before it reaches the API. The API itself accepts at most 500 \u2014 beyond either limit, split the poll or page through the unfiltered listing.", "in": "query", "name": "content_version_id", "required": false, @@ -25272,7 +25272,7 @@ "type": "null" } ], - "description": "Filter to specific content versions, repeatable. Pass the `content_version_id` values returned by the upload endpoints to poll exactly the items you uploaded in a single request. At most 500 ids per request \u2014 beyond that, page through the unfiltered listing or split the poll.", + "description": "Filter to specific content versions, repeatable. Pass the `content_version_id` values returned by the upload endpoints to poll exactly the items you uploaded in a single request. The ids travel in the query string, so keep a request to about 100: a URL longer than 8,192 bytes is rejected before it reaches the API. The API itself accepts at most 500 \u2014 beyond either limit, split the poll or page through the unfiltered listing.", "title": "Content Version Id" } }, diff --git a/seclai/_generated/api/sources/list_source_contents_api_sources_source_connection_id_contents_get.py b/seclai/_generated/api/sources/list_source_contents_api_sources_source_connection_id_contents_get.py index b2d41a4..e5ad496 100644 --- a/seclai/_generated/api/sources/list_source_contents_api_sources_source_connection_id_contents_get.py +++ b/seclai/_generated/api/sources/list_source_contents_api_sources_source_connection_id_contents_get.py @@ -172,8 +172,10 @@ def sync_detailed( not be indexed. content_version_id (list[UUID] | None | Unset): Filter to specific content versions, repeatable. Pass the `content_version_id` values returned by the upload endpoints to poll - exactly the items you uploaded in a single request. At most 500 ids per request — beyond - that, page through the unfiltered listing or split the poll. + exactly the items you uploaded in a single request. The ids travel in the query string, so + keep a request to about 100: a URL longer than 8,192 bytes is rejected before it reaches + the API. The API itself accepts at most 500 — beyond either limit, split the poll or page + through the unfiltered listing. x_account_id (UUID | Unset): seclai_version (str | Unset): @@ -259,8 +261,10 @@ def sync( not be indexed. content_version_id (list[UUID] | None | Unset): Filter to specific content versions, repeatable. Pass the `content_version_id` values returned by the upload endpoints to poll - exactly the items you uploaded in a single request. At most 500 ids per request — beyond - that, page through the unfiltered listing or split the poll. + exactly the items you uploaded in a single request. The ids travel in the query string, so + keep a request to about 100: a URL longer than 8,192 bytes is rejected before it reaches + the API. The API itself accepts at most 500 — beyond either limit, split the poll or page + through the unfiltered listing. x_account_id (UUID | Unset): seclai_version (str | Unset): @@ -338,8 +342,10 @@ async def asyncio_detailed( not be indexed. content_version_id (list[UUID] | None | Unset): Filter to specific content versions, repeatable. Pass the `content_version_id` values returned by the upload endpoints to poll - exactly the items you uploaded in a single request. At most 500 ids per request — beyond - that, page through the unfiltered listing or split the poll. + exactly the items you uploaded in a single request. The ids travel in the query string, so + keep a request to about 100: a URL longer than 8,192 bytes is rejected before it reaches + the API. The API itself accepts at most 500 — beyond either limit, split the poll or page + through the unfiltered listing. x_account_id (UUID | Unset): seclai_version (str | Unset): @@ -423,8 +429,10 @@ async def asyncio( not be indexed. content_version_id (list[UUID] | None | Unset): Filter to specific content versions, repeatable. Pass the `content_version_id` values returned by the upload endpoints to poll - exactly the items you uploaded in a single request. At most 500 ids per request — beyond - that, page through the unfiltered listing or split the poll. + exactly the items you uploaded in a single request. The ids travel in the query string, so + keep a request to about 100: a URL longer than 8,192 bytes is rejected before it reaches + the API. The API itself accepts at most 500 — beyond either limit, split the poll or page + through the unfiltered listing. x_account_id (UUID | Unset): seclai_version (str | Unset): diff --git a/seclai/seclai.py b/seclai/seclai.py index 5fe4377..8a1ab8e 100644 --- a/seclai/seclai.py +++ b/seclai/seclai.py @@ -3245,7 +3245,9 @@ def list_source_contents( ``failed``. content_version_ids: Keep only these items — the ``content_version_id`` values the upload methods return — to - poll a batch of uploads in one request. At most 500. + poll a batch of uploads in one request. Keep it to about 100: + the ids travel in the query string, and a URL over 8,192 bytes + is rejected with a 414. The API itself accepts at most 500. Returns: ``{"data": [...], "pagination": {...}}`` on every API version. An @@ -7503,7 +7505,9 @@ async def list_source_contents( ``failed``. content_version_ids: Keep only these items — the ``content_version_id`` values the upload methods return — to - poll a batch of uploads in one request. At most 500. + poll a batch of uploads in one request. Keep it to about 100: + the ids travel in the query string, and a URL over 8,192 bytes + is rejected with a 414. The API itself accepts at most 500. Returns: ``{"data": [...], "pagination": {...}}`` on every API version. An