33from __future__ import annotations
44
55from typing import Optional
6+ from typing_extensions import Literal
67
78import httpx
89
@@ -171,6 +172,9 @@ def list(
171172 * ,
172173 limit : int | Omit = omit ,
173174 offset : int | Omit = omit ,
175+ query : str | Omit = omit ,
176+ sort_by : Literal ["created_at" , "name" , "expires_at" ] | Omit = omit ,
177+ sort_direction : Literal ["asc" , "desc" ] | Omit = omit ,
174178 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
175179 # The extra values given here take precedence over values defined on the client or passed to this method.
176180 extra_headers : Headers | None = None ,
@@ -187,6 +191,13 @@ def list(
187191
188192 offset: Number of results to skip
189193
194+ query: Case-insensitive substring match against API key name, creator, and project. API
195+ key identifiers and masked keys match by exact value or prefix.
196+
197+ sort_by: Field to sort API keys by.
198+
199+ sort_direction: Sort direction for API keys.
200+
190201 extra_headers: Send extra headers
191202
192203 extra_query: Add additional query parameters to the request
@@ -207,6 +218,9 @@ def list(
207218 {
208219 "limit" : limit ,
209220 "offset" : offset ,
221+ "query" : query ,
222+ "sort_by" : sort_by ,
223+ "sort_direction" : sort_direction ,
210224 },
211225 api_key_list_params .APIKeyListParams ,
212226 ),
@@ -395,6 +409,9 @@ def list(
395409 * ,
396410 limit : int | Omit = omit ,
397411 offset : int | Omit = omit ,
412+ query : str | Omit = omit ,
413+ sort_by : Literal ["created_at" , "name" , "expires_at" ] | Omit = omit ,
414+ sort_direction : Literal ["asc" , "desc" ] | Omit = omit ,
398415 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
399416 # The extra values given here take precedence over values defined on the client or passed to this method.
400417 extra_headers : Headers | None = None ,
@@ -411,6 +428,13 @@ def list(
411428
412429 offset: Number of results to skip
413430
431+ query: Case-insensitive substring match against API key name, creator, and project. API
432+ key identifiers and masked keys match by exact value or prefix.
433+
434+ sort_by: Field to sort API keys by.
435+
436+ sort_direction: Sort direction for API keys.
437+
414438 extra_headers: Send extra headers
415439
416440 extra_query: Add additional query parameters to the request
@@ -431,6 +455,9 @@ def list(
431455 {
432456 "limit" : limit ,
433457 "offset" : offset ,
458+ "query" : query ,
459+ "sort_by" : sort_by ,
460+ "sort_direction" : sort_direction ,
434461 },
435462 api_key_list_params .APIKeyListParams ,
436463 ),
0 commit comments