orq-ai-sdk 4.2.17__py3-none-any.whl → 4.3.0rc0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. orq_ai_sdk/_hooks/globalhook.py +1 -0
  2. orq_ai_sdk/_version.py +3 -3
  3. orq_ai_sdk/agents.py +186 -186
  4. orq_ai_sdk/completions.py +1 -107
  5. orq_ai_sdk/edits.py +1 -107
  6. orq_ai_sdk/embeddings.py +1 -107
  7. orq_ai_sdk/generations.py +1 -99
  8. orq_ai_sdk/models/__init__.py +0 -405
  9. orq_ai_sdk/models/conversationresponse.py +1 -1
  10. orq_ai_sdk/models/conversationwithmessagesresponse.py +1 -1
  11. orq_ai_sdk/models/createagentrequestop.py +0 -24
  12. orq_ai_sdk/models/createchatcompletionop.py +0 -6
  13. orq_ai_sdk/models/createcompletionop.py +30 -218
  14. orq_ai_sdk/models/createcontactop.py +1 -1
  15. orq_ai_sdk/models/createconversationop.py +1 -1
  16. orq_ai_sdk/models/createconversationresponseop.py +2 -2
  17. orq_ai_sdk/models/createdatasetitemop.py +4 -4
  18. orq_ai_sdk/models/createdatasetop.py +1 -1
  19. orq_ai_sdk/models/createdatasourceop.py +1 -1
  20. orq_ai_sdk/models/createembeddingop.py +26 -221
  21. orq_ai_sdk/models/createevalop.py +14 -14
  22. orq_ai_sdk/models/createidentityop.py +1 -1
  23. orq_ai_sdk/models/createimageeditop.py +31 -242
  24. orq_ai_sdk/models/createimageop.py +22 -210
  25. orq_ai_sdk/models/createimagevariationop.py +31 -251
  26. orq_ai_sdk/models/createpromptop.py +0 -12
  27. orq_ai_sdk/models/creatererankop.py +26 -218
  28. orq_ai_sdk/models/createspeechop.py +24 -174
  29. orq_ai_sdk/models/createtoolop.py +6 -6
  30. orq_ai_sdk/models/createtranscriptionop.py +10 -180
  31. orq_ai_sdk/models/createtranslationop.py +10 -172
  32. orq_ai_sdk/models/filegetop.py +1 -1
  33. orq_ai_sdk/models/filelistop.py +1 -1
  34. orq_ai_sdk/models/fileuploadop.py +1 -1
  35. orq_ai_sdk/models/generateconversationnameop.py +1 -1
  36. orq_ai_sdk/models/getallpromptsop.py +0 -6
  37. orq_ai_sdk/models/getalltoolsop.py +6 -6
  38. orq_ai_sdk/models/getevalsop.py +14 -14
  39. orq_ai_sdk/models/getonepromptop.py +0 -6
  40. orq_ai_sdk/models/getpromptversionop.py +0 -6
  41. orq_ai_sdk/models/listagentsop.py +0 -12
  42. orq_ai_sdk/models/listdatasetdatapointsop.py +4 -4
  43. orq_ai_sdk/models/listdatasetsop.py +1 -1
  44. orq_ai_sdk/models/listdatasourcesop.py +1 -1
  45. orq_ai_sdk/models/listidentitiesop.py +1 -1
  46. orq_ai_sdk/models/listpromptversionsop.py +0 -6
  47. orq_ai_sdk/models/partdoneevent.py +1 -1
  48. orq_ai_sdk/models/reasoningpart.py +1 -1
  49. orq_ai_sdk/models/retrieveagentrequestop.py +0 -12
  50. orq_ai_sdk/models/retrievedatapointop.py +4 -4
  51. orq_ai_sdk/models/retrievedatasetop.py +1 -1
  52. orq_ai_sdk/models/retrievedatasourceop.py +1 -1
  53. orq_ai_sdk/models/retrieveidentityop.py +1 -1
  54. orq_ai_sdk/models/retrievetoolop.py +6 -6
  55. orq_ai_sdk/models/runagentop.py +1 -13
  56. orq_ai_sdk/models/streamrunagentop.py +1 -13
  57. orq_ai_sdk/models/updateagentop.py +0 -24
  58. orq_ai_sdk/models/updateconversationop.py +1 -1
  59. orq_ai_sdk/models/updatedatapointop.py +4 -4
  60. orq_ai_sdk/models/updatedatasetop.py +1 -1
  61. orq_ai_sdk/models/updatedatasourceop.py +1 -1
  62. orq_ai_sdk/models/updateevalop.py +14 -14
  63. orq_ai_sdk/models/updateidentityop.py +1 -1
  64. orq_ai_sdk/models/updatepromptop.py +0 -12
  65. orq_ai_sdk/models/updatetoolop.py +7 -7
  66. orq_ai_sdk/orq_completions.py +0 -6
  67. orq_ai_sdk/rerank.py +0 -98
  68. orq_ai_sdk/speech.py +1 -83
  69. orq_ai_sdk/transcriptions.py +0 -90
  70. orq_ai_sdk/translations.py +1 -87
  71. orq_ai_sdk/variations.py +1 -111
  72. {orq_ai_sdk-4.2.17.dist-info → orq_ai_sdk-4.3.0rc0.dist-info}/METADATA +202 -202
  73. {orq_ai_sdk-4.2.17.dist-info → orq_ai_sdk-4.3.0rc0.dist-info}/RECORD +75 -75
  74. {orq_ai_sdk-4.2.17.dist-info → orq_ai_sdk-4.3.0rc0.dist-info}/WHEEL +1 -1
  75. {orq_ai_sdk-4.2.17.dist-info → orq_ai_sdk-4.3.0rc0.dist-info}/top_level.txt +0 -0
@@ -221,9 +221,9 @@ class DataTypescript(BaseModel):
221
221
 
222
222
  key: str
223
223
 
224
- created: Optional[str] = "2026-01-28T18:42:34.656Z"
224
+ created: Optional[str] = "2026-01-24T23:05:33.746Z"
225
225
 
226
- updated: Optional[str] = "2026-01-28T18:42:34.656Z"
226
+ updated: Optional[str] = "2026-01-24T23:05:33.746Z"
227
227
 
228
228
  guardrail_config: Optional[
229
229
  GetEvalsDataEvalsResponse200ApplicationJSONGuardrailConfig
@@ -397,9 +397,9 @@ class DataRagas(BaseModel):
397
397
 
398
398
  model: str
399
399
 
400
- created: Optional[str] = "2026-01-28T18:42:34.656Z"
400
+ created: Optional[str] = "2026-01-24T23:05:33.746Z"
401
401
 
402
- updated: Optional[str] = "2026-01-28T18:42:34.656Z"
402
+ updated: Optional[str] = "2026-01-24T23:05:33.746Z"
403
403
 
404
404
  guardrail_config: Optional[GetEvalsDataEvalsResponse200GuardrailConfig] = None
405
405
 
@@ -1072,9 +1072,9 @@ class DataFunction(BaseModel):
1072
1072
 
1073
1073
  key: str
1074
1074
 
1075
- created: Optional[str] = "2026-01-28T18:42:34.656Z"
1075
+ created: Optional[str] = "2026-01-24T23:05:33.746Z"
1076
1076
 
1077
- updated: Optional[str] = "2026-01-28T18:42:34.656Z"
1077
+ updated: Optional[str] = "2026-01-24T23:05:33.746Z"
1078
1078
 
1079
1079
  guardrail_config: Optional[GetEvalsDataEvalsResponseGuardrailConfig] = None
1080
1080
 
@@ -1227,9 +1227,9 @@ class DataPython(BaseModel):
1227
1227
 
1228
1228
  key: str
1229
1229
 
1230
- created: Optional[str] = "2026-01-28T18:42:34.656Z"
1230
+ created: Optional[str] = "2026-01-24T23:05:33.746Z"
1231
1231
 
1232
- updated: Optional[str] = "2026-01-28T18:42:34.656Z"
1232
+ updated: Optional[str] = "2026-01-24T23:05:33.746Z"
1233
1233
 
1234
1234
  guardrail_config: Optional[GetEvalsDataEvalsGuardrailConfig] = None
1235
1235
 
@@ -1392,9 +1392,9 @@ class DataHTTP(BaseModel):
1392
1392
 
1393
1393
  key: str
1394
1394
 
1395
- created: Optional[str] = "2026-01-28T18:42:34.656Z"
1395
+ created: Optional[str] = "2026-01-24T23:05:33.746Z"
1396
1396
 
1397
- updated: Optional[str] = "2026-01-28T18:42:34.656Z"
1397
+ updated: Optional[str] = "2026-01-24T23:05:33.746Z"
1398
1398
 
1399
1399
  guardrail_config: Optional[GetEvalsDataGuardrailConfig] = None
1400
1400
 
@@ -1603,9 +1603,9 @@ class DataJSON(BaseModel):
1603
1603
 
1604
1604
  key: str
1605
1605
 
1606
- created: Optional[str] = "2026-01-28T18:42:34.656Z"
1606
+ created: Optional[str] = "2026-01-24T23:05:33.746Z"
1607
1607
 
1608
- updated: Optional[str] = "2026-01-28T18:42:34.656Z"
1608
+ updated: Optional[str] = "2026-01-24T23:05:33.746Z"
1609
1609
 
1610
1610
  guardrail_config: Optional[DataGuardrailConfig] = None
1611
1611
 
@@ -1735,9 +1735,9 @@ class DataLLM(BaseModel):
1735
1735
 
1736
1736
  model: str
1737
1737
 
1738
- created: Optional[str] = "2026-01-28T18:42:34.656Z"
1738
+ created: Optional[str] = "2026-01-24T23:05:33.746Z"
1739
1739
 
1740
- updated: Optional[str] = "2026-01-28T18:42:34.656Z"
1740
+ updated: Optional[str] = "2026-01-24T23:05:33.746Z"
1741
1741
 
1742
1742
  guardrail_config: Optional[
1743
1743
  GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig
@@ -1921,8 +1921,6 @@ GetOnePromptPromptsMessages = Annotated[
1921
1921
  class GetOnePromptPromptFieldTypedDict(TypedDict):
1922
1922
  r"""Prompt configuration with model and messages. Use this instead of prompt_config."""
1923
1923
 
1924
- name: NotRequired[str]
1925
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1926
1924
  audio: NotRequired[Nullable[GetOnePromptAudioTypedDict]]
1927
1925
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1928
1926
  frequency_penalty: NotRequired[Nullable[float]]
@@ -1997,9 +1995,6 @@ class GetOnePromptPromptFieldTypedDict(TypedDict):
1997
1995
  class GetOnePromptPromptField(BaseModel):
1998
1996
  r"""Prompt configuration with model and messages. Use this instead of prompt_config."""
1999
1997
 
2000
- name: Optional[str] = None
2001
- r"""The name to display on the trace. If not specified, the default system name will be used."""
2002
-
2003
1998
  audio: OptionalNullable[GetOnePromptAudio] = UNSET
2004
1999
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
2005
2000
 
@@ -2103,7 +2098,6 @@ class GetOnePromptPromptField(BaseModel):
2103
2098
  def serialize_model(self, handler):
2104
2099
  optional_fields = set(
2105
2100
  [
2106
- "name",
2107
2101
  "audio",
2108
2102
  "frequency_penalty",
2109
2103
  "max_tokens",
@@ -1968,8 +1968,6 @@ GetPromptVersionPromptsMessages = Annotated[
1968
1968
  class GetPromptVersionPromptFieldTypedDict(TypedDict):
1969
1969
  r"""Prompt configuration with model and messages. Use this instead of prompt_config."""
1970
1970
 
1971
- name: NotRequired[str]
1972
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1973
1971
  audio: NotRequired[Nullable[GetPromptVersionAudioTypedDict]]
1974
1972
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1975
1973
  frequency_penalty: NotRequired[Nullable[float]]
@@ -2044,9 +2042,6 @@ class GetPromptVersionPromptFieldTypedDict(TypedDict):
2044
2042
  class GetPromptVersionPromptField(BaseModel):
2045
2043
  r"""Prompt configuration with model and messages. Use this instead of prompt_config."""
2046
2044
 
2047
- name: Optional[str] = None
2048
- r"""The name to display on the trace. If not specified, the default system name will be used."""
2049
-
2050
2045
  audio: OptionalNullable[GetPromptVersionAudio] = UNSET
2051
2046
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
2052
2047
 
@@ -2150,7 +2145,6 @@ class GetPromptVersionPromptField(BaseModel):
2150
2145
  def serialize_model(self, handler):
2151
2146
  optional_fields = set(
2152
2147
  [
2153
- "name",
2154
2148
  "audio",
2155
2149
  "frequency_penalty",
2156
2150
  "max_tokens",
@@ -819,8 +819,6 @@ class ListAgentsTimeout(BaseModel):
819
819
  class ListAgentsParametersTypedDict(TypedDict):
820
820
  r"""Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults."""
821
821
 
822
- name: NotRequired[str]
823
- r"""The name to display on the trace. If not specified, the default system name will be used."""
824
822
  audio: NotRequired[Nullable[ListAgentsAudioTypedDict]]
825
823
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
826
824
  frequency_penalty: NotRequired[Nullable[float]]
@@ -890,9 +888,6 @@ class ListAgentsParametersTypedDict(TypedDict):
890
888
  class ListAgentsParameters(BaseModel):
891
889
  r"""Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults."""
892
890
 
893
- name: Optional[str] = None
894
- r"""The name to display on the trace. If not specified, the default system name will be used."""
895
-
896
891
  audio: OptionalNullable[ListAgentsAudio] = UNSET
897
892
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
898
893
 
@@ -988,7 +983,6 @@ class ListAgentsParameters(BaseModel):
988
983
  def serialize_model(self, handler):
989
984
  optional_fields = set(
990
985
  [
991
- "name",
992
986
  "audio",
993
987
  "frequency_penalty",
994
988
  "max_tokens",
@@ -1606,8 +1600,6 @@ class ListAgentsFallbackModelConfigurationTimeout(BaseModel):
1606
1600
  class ListAgentsFallbackModelConfigurationParametersTypedDict(TypedDict):
1607
1601
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1608
1602
 
1609
- name: NotRequired[str]
1610
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1611
1603
  audio: NotRequired[Nullable[ListAgentsFallbackModelConfigurationAudioTypedDict]]
1612
1604
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1613
1605
  frequency_penalty: NotRequired[Nullable[float]]
@@ -1687,9 +1679,6 @@ class ListAgentsFallbackModelConfigurationParametersTypedDict(TypedDict):
1687
1679
  class ListAgentsFallbackModelConfigurationParameters(BaseModel):
1688
1680
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1689
1681
 
1690
- name: Optional[str] = None
1691
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1692
-
1693
1682
  audio: OptionalNullable[ListAgentsFallbackModelConfigurationAudio] = UNSET
1694
1683
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1695
1684
 
@@ -1791,7 +1780,6 @@ class ListAgentsFallbackModelConfigurationParameters(BaseModel):
1791
1780
  def serialize_model(self, handler):
1792
1781
  optional_fields = set(
1793
1782
  [
1794
- "name",
1795
1783
  "audio",
1796
1784
  "frequency_penalty",
1797
1785
  "max_tokens",
@@ -776,7 +776,7 @@ class ListDatasetDatapointsEvaluations3(BaseModel):
776
776
 
777
777
  source: Optional[ListDatasetDatapointsEvaluationsDatasetsSource] = "orq"
778
778
 
779
- reviewed_at: Optional[datetime] = parse_datetime("2026-01-28T18:42:46.876Z")
779
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-24T23:05:46.007Z")
780
780
  r"""The date and time the item was reviewed"""
781
781
 
782
782
  @model_serializer(mode="wrap")
@@ -846,7 +846,7 @@ class ListDatasetDatapointsEvaluations2(BaseModel):
846
846
 
847
847
  source: Optional[ListDatasetDatapointsEvaluationsSource] = "orq"
848
848
 
849
- reviewed_at: Optional[datetime] = parse_datetime("2026-01-28T18:42:46.875Z")
849
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-24T23:05:45.999Z")
850
850
  r"""The date and time the item was reviewed"""
851
851
 
852
852
  @model_serializer(mode="wrap")
@@ -914,7 +914,7 @@ class ListDatasetDatapointsEvaluations1(BaseModel):
914
914
 
915
915
  source: Optional[ListDatasetDatapointsEvaluationsDatasetsResponseSource] = "orq"
916
916
 
917
- reviewed_at: Optional[datetime] = parse_datetime("2026-01-28T18:42:46.875Z")
917
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-24T23:05:45.999Z")
918
918
  r"""The date and time the item was reviewed"""
919
919
 
920
920
  @model_serializer(mode="wrap")
@@ -1013,7 +1013,7 @@ class ListDatasetDatapointsData(BaseModel):
1013
1013
  created: Optional[datetime] = None
1014
1014
  r"""The date and time the resource was created"""
1015
1015
 
1016
- updated: Optional[datetime] = parse_datetime("2026-01-28T18:42:32.879Z")
1016
+ updated: Optional[datetime] = parse_datetime("2026-01-24T23:05:31.950Z")
1017
1017
  r"""The date and time the resource was last updated"""
1018
1018
 
1019
1019
  @model_serializer(mode="wrap")
@@ -113,7 +113,7 @@ class ListDatasetsData(BaseModel):
113
113
  created: Optional[datetime] = None
114
114
  r"""The date and time the resource was created"""
115
115
 
116
- updated: Optional[datetime] = parse_datetime("2026-01-28T18:42:32.879Z")
116
+ updated: Optional[datetime] = parse_datetime("2026-01-24T23:05:31.950Z")
117
117
  r"""The date and time the resource was last updated"""
118
118
 
119
119
  @model_serializer(mode="wrap")
@@ -148,7 +148,7 @@ class ListDatasourcesData(BaseModel):
148
148
  r"""The number of chunks in the datasource"""
149
149
 
150
150
  id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
151
- "01KG2YMJW817YFEQWS8GVBYJN3"
151
+ "01KFS438634JTAPHJVBACA3QTT"
152
152
  )
153
153
  r"""The unique identifier of the data source"""
154
154
 
@@ -208,7 +208,7 @@ class ListIdentitiesData(BaseModel):
208
208
  created: Optional[datetime] = None
209
209
  r"""The date and time the resource was created"""
210
210
 
211
- updated: Optional[datetime] = parse_datetime("2026-01-28T18:42:32.879Z")
211
+ updated: Optional[datetime] = parse_datetime("2026-01-24T23:05:31.950Z")
212
212
  r"""The date and time the resource was last updated"""
213
213
 
214
214
  @model_serializer(mode="wrap")
@@ -1980,8 +1980,6 @@ ListPromptVersionsPromptsMessages = Annotated[
1980
1980
  class ListPromptVersionsPromptFieldTypedDict(TypedDict):
1981
1981
  r"""Prompt configuration with model and messages. Use this instead of prompt_config."""
1982
1982
 
1983
- name: NotRequired[str]
1984
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1985
1983
  audio: NotRequired[Nullable[ListPromptVersionsAudioTypedDict]]
1986
1984
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1987
1985
  frequency_penalty: NotRequired[Nullable[float]]
@@ -2056,9 +2054,6 @@ class ListPromptVersionsPromptFieldTypedDict(TypedDict):
2056
2054
  class ListPromptVersionsPromptField(BaseModel):
2057
2055
  r"""Prompt configuration with model and messages. Use this instead of prompt_config."""
2058
2056
 
2059
- name: Optional[str] = None
2060
- r"""The name to display on the trace. If not specified, the default system name will be used."""
2061
-
2062
2057
  audio: OptionalNullable[ListPromptVersionsAudio] = UNSET
2063
2058
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
2064
2059
 
@@ -2162,7 +2157,6 @@ class ListPromptVersionsPromptField(BaseModel):
2162
2157
  def serialize_model(self, handler):
2163
2158
  optional_fields = set(
2164
2159
  [
2165
- "name",
2166
2160
  "audio",
2167
2161
  "frequency_penalty",
2168
2162
  "max_tokens",
@@ -40,7 +40,7 @@ class PartReasoningPart(BaseModel):
40
40
  r"""The reasoning or thought process behind the response. Used for chain-of-thought or extended thinking."""
41
41
 
42
42
  id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
43
- "reasoning_01kg2ymj13y48gtm7z6kqygcsw"
43
+ "reasoning_01kfs437ax55nf872ac6x5jbkc"
44
44
  )
45
45
  r"""Unique identifier for the part. Format: reasoning_{ulid} (e.g., reasoning_01hxyz...)"""
46
46
 
@@ -37,7 +37,7 @@ class ReasoningPart(BaseModel):
37
37
  r"""The reasoning or thought process behind the response. Used for chain-of-thought or extended thinking."""
38
38
 
39
39
  id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
40
- "reasoning_01kg2ymj0v8wr5yzw6y501qkez"
40
+ "reasoning_01kfs437akmrgyhz6dhgserjba"
41
41
  )
42
42
  r"""Unique identifier for the part. Format: reasoning_{ulid} (e.g., reasoning_01hxyz...)"""
43
43
 
@@ -817,8 +817,6 @@ class RetrieveAgentRequestTimeout(BaseModel):
817
817
  class RetrieveAgentRequestParametersTypedDict(TypedDict):
818
818
  r"""Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults."""
819
819
 
820
- name: NotRequired[str]
821
- r"""The name to display on the trace. If not specified, the default system name will be used."""
822
820
  audio: NotRequired[Nullable[RetrieveAgentRequestAudioTypedDict]]
823
821
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
824
822
  frequency_penalty: NotRequired[Nullable[float]]
@@ -888,9 +886,6 @@ class RetrieveAgentRequestParametersTypedDict(TypedDict):
888
886
  class RetrieveAgentRequestParameters(BaseModel):
889
887
  r"""Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults."""
890
888
 
891
- name: Optional[str] = None
892
- r"""The name to display on the trace. If not specified, the default system name will be used."""
893
-
894
889
  audio: OptionalNullable[RetrieveAgentRequestAudio] = UNSET
895
890
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
896
891
 
@@ -986,7 +981,6 @@ class RetrieveAgentRequestParameters(BaseModel):
986
981
  def serialize_model(self, handler):
987
982
  optional_fields = set(
988
983
  [
989
- "name",
990
984
  "audio",
991
985
  "frequency_penalty",
992
986
  "max_tokens",
@@ -1617,8 +1611,6 @@ class RetrieveAgentRequestFallbackModelConfigurationTimeout(BaseModel):
1617
1611
  class RetrieveAgentRequestFallbackModelConfigurationParametersTypedDict(TypedDict):
1618
1612
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1619
1613
 
1620
- name: NotRequired[str]
1621
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1622
1614
  audio: NotRequired[
1623
1615
  Nullable[RetrieveAgentRequestFallbackModelConfigurationAudioTypedDict]
1624
1616
  ]
@@ -1712,9 +1704,6 @@ class RetrieveAgentRequestFallbackModelConfigurationParametersTypedDict(TypedDic
1712
1704
  class RetrieveAgentRequestFallbackModelConfigurationParameters(BaseModel):
1713
1705
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1714
1706
 
1715
- name: Optional[str] = None
1716
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1717
-
1718
1707
  audio: OptionalNullable[RetrieveAgentRequestFallbackModelConfigurationAudio] = UNSET
1719
1708
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1720
1709
 
@@ -1826,7 +1815,6 @@ class RetrieveAgentRequestFallbackModelConfigurationParameters(BaseModel):
1826
1815
  def serialize_model(self, handler):
1827
1816
  optional_fields = set(
1828
1817
  [
1829
- "name",
1830
1818
  "audio",
1831
1819
  "frequency_penalty",
1832
1820
  "max_tokens",
@@ -738,7 +738,7 @@ class RetrieveDatapointEvaluations3(BaseModel):
738
738
 
739
739
  source: Optional[RetrieveDatapointEvaluationsDatasetsResponseSource] = "orq"
740
740
 
741
- reviewed_at: Optional[datetime] = parse_datetime("2026-01-28T18:42:46.884Z")
741
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-24T23:05:46.017Z")
742
742
  r"""The date and time the item was reviewed"""
743
743
 
744
744
  @model_serializer(mode="wrap")
@@ -806,7 +806,7 @@ class RetrieveDatapointEvaluations2(BaseModel):
806
806
 
807
807
  source: Optional[RetrieveDatapointEvaluationsDatasetsSource] = "orq"
808
808
 
809
- reviewed_at: Optional[datetime] = parse_datetime("2026-01-28T18:42:46.883Z")
809
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-24T23:05:46.016Z")
810
810
  r"""The date and time the item was reviewed"""
811
811
 
812
812
  @model_serializer(mode="wrap")
@@ -874,7 +874,7 @@ class RetrieveDatapointEvaluations1(BaseModel):
874
874
 
875
875
  source: Optional[RetrieveDatapointEvaluationsSource] = "orq"
876
876
 
877
- reviewed_at: Optional[datetime] = parse_datetime("2026-01-28T18:42:46.883Z")
877
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-24T23:05:46.016Z")
878
878
  r"""The date and time the item was reviewed"""
879
879
 
880
880
  @model_serializer(mode="wrap")
@@ -977,7 +977,7 @@ class RetrieveDatapointResponseBody(BaseModel):
977
977
  created: Optional[datetime] = None
978
978
  r"""The date and time the resource was created"""
979
979
 
980
- updated: Optional[datetime] = parse_datetime("2026-01-28T18:42:32.879Z")
980
+ updated: Optional[datetime] = parse_datetime("2026-01-24T23:05:31.950Z")
981
981
  r"""The date and time the resource was last updated"""
982
982
 
983
983
  @model_serializer(mode="wrap")
@@ -81,7 +81,7 @@ class RetrieveDatasetResponseBody(BaseModel):
81
81
  created: Optional[datetime] = None
82
82
  r"""The date and time the resource was created"""
83
83
 
84
- updated: Optional[datetime] = parse_datetime("2026-01-28T18:42:32.879Z")
84
+ updated: Optional[datetime] = parse_datetime("2026-01-24T23:05:31.950Z")
85
85
  r"""The date and time the resource was last updated"""
86
86
 
87
87
  @model_serializer(mode="wrap")
@@ -90,7 +90,7 @@ class RetrieveDatasourceResponseBody(BaseModel):
90
90
  r"""The number of chunks in the datasource"""
91
91
 
92
92
  id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
93
- "01KG2YMJWBX2C833664NG530TA"
93
+ "01KFS438669J5YV1VHAEDVAFFP"
94
94
  )
95
95
  r"""The unique identifier of the data source"""
96
96
 
@@ -103,7 +103,7 @@ class RetrieveIdentityResponseBody(BaseModel):
103
103
  created: Optional[datetime] = None
104
104
  r"""The date and time the resource was created"""
105
105
 
106
- updated: Optional[datetime] = parse_datetime("2026-01-28T18:42:32.879Z")
106
+ updated: Optional[datetime] = parse_datetime("2026-01-24T23:05:31.950Z")
107
107
  r"""The date and time the resource was last updated"""
108
108
 
109
109
  @model_serializer(mode="wrap")
@@ -171,7 +171,7 @@ class RetrieveToolResponseBodyCodeExecutionTool(BaseModel):
171
171
  code_tool: RetrieveToolResponseBodyCodeTool
172
172
 
173
173
  id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
174
- "tool_01KG2YMJREXTBP0XYSWYWW4SC9"
174
+ "tool_01KFS4382G6JM74X0GTDEGS0BQ"
175
175
  )
176
176
 
177
177
  display_name: Optional[str] = None
@@ -302,7 +302,7 @@ class RetrieveToolResponseBodyTools(BaseModel):
302
302
  RetrieveToolResponseBodyToolsSchema, pydantic.Field(alias="schema")
303
303
  ]
304
304
 
305
- id: Optional[str] = "01KG2YMJRCXH8A4GKN0SB845XE"
305
+ id: Optional[str] = "01KFS4382FJAEMKE95QFVX8XE1"
306
306
 
307
307
  description: Optional[str] = None
308
308
 
@@ -433,7 +433,7 @@ class RetrieveToolResponseBodyMCPTool(BaseModel):
433
433
  mcp: RetrieveToolResponseBodyMcp
434
434
 
435
435
  id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
436
- "tool_01KG2YMJRBTQ4CT6576J4JE4KR"
436
+ "tool_01KFS4382D3WFEQW7KPHYRYK0K"
437
437
  )
438
438
 
439
439
  display_name: Optional[str] = None
@@ -734,7 +734,7 @@ class RetrieveToolResponseBodyHTTPTool(BaseModel):
734
734
  http: RetrieveToolResponseBodyHTTP
735
735
 
736
736
  id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
737
- "tool_01KG2YMJR85HMA873WF4ZRC330"
737
+ "tool_01KFS4382AQQ0TDARMENNAEVY2"
738
738
  )
739
739
 
740
740
  display_name: Optional[str] = None
@@ -929,7 +929,7 @@ class RetrieveToolResponseBodyJSONSchemaTool(BaseModel):
929
929
  json_schema: RetrieveToolResponseBodyJSONSchema
930
930
 
931
931
  id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
932
- "tool_01KG2YMJR61NYQAWVX9WT2S4RZ"
932
+ "tool_01KFS43828BNAP205W1651TTM6"
933
933
  )
934
934
 
935
935
  display_name: Optional[str] = None
@@ -1128,7 +1128,7 @@ class RetrieveToolResponseBodyFunctionTool(BaseModel):
1128
1128
  function: RetrieveToolResponseBodyFunction
1129
1129
 
1130
1130
  id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
1131
- "tool_01KG2YMJR4AJWCSY00E43ZX0SG"
1131
+ "tool_01KFS43826GNYKC787PT9TR3ZZ"
1132
1132
  )
1133
1133
 
1134
1134
  display_name: Optional[str] = None
@@ -539,8 +539,6 @@ class RunAgentModelConfigurationTimeout(BaseModel):
539
539
  class RunAgentModelConfigurationParametersTypedDict(TypedDict):
540
540
  r"""Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation."""
541
541
 
542
- name: NotRequired[str]
543
- r"""The name to display on the trace. If not specified, the default system name will be used."""
544
542
  audio: NotRequired[Nullable[RunAgentModelConfigurationAudioTypedDict]]
545
543
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
546
544
  frequency_penalty: NotRequired[Nullable[float]]
@@ -612,9 +610,6 @@ class RunAgentModelConfigurationParametersTypedDict(TypedDict):
612
610
  class RunAgentModelConfigurationParameters(BaseModel):
613
611
  r"""Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation."""
614
612
 
615
- name: Optional[str] = None
616
- r"""The name to display on the trace. If not specified, the default system name will be used."""
617
-
618
613
  audio: OptionalNullable[RunAgentModelConfigurationAudio] = UNSET
619
614
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
620
615
 
@@ -710,7 +705,6 @@ class RunAgentModelConfigurationParameters(BaseModel):
710
705
  def serialize_model(self, handler):
711
706
  optional_fields = set(
712
707
  [
713
- "name",
714
708
  "audio",
715
709
  "frequency_penalty",
716
710
  "max_tokens",
@@ -1387,8 +1381,6 @@ class RunAgentFallbackModelConfigurationTimeout(BaseModel):
1387
1381
  class RunAgentFallbackModelConfigurationParametersTypedDict(TypedDict):
1388
1382
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1389
1383
 
1390
- name: NotRequired[str]
1391
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1392
1384
  audio: NotRequired[Nullable[RunAgentFallbackModelConfigurationAudioTypedDict]]
1393
1385
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1394
1386
  frequency_penalty: NotRequired[Nullable[float]]
@@ -1464,9 +1456,6 @@ class RunAgentFallbackModelConfigurationParametersTypedDict(TypedDict):
1464
1456
  class RunAgentFallbackModelConfigurationParameters(BaseModel):
1465
1457
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1466
1458
 
1467
- name: Optional[str] = None
1468
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1469
-
1470
1459
  audio: OptionalNullable[RunAgentFallbackModelConfigurationAudio] = UNSET
1471
1460
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1472
1461
 
@@ -1566,7 +1555,6 @@ class RunAgentFallbackModelConfigurationParameters(BaseModel):
1566
1555
  def serialize_model(self, handler):
1567
1556
  optional_fields = set(
1568
1557
  [
1569
- "name",
1570
1558
  "audio",
1571
1559
  "frequency_penalty",
1572
1560
  "max_tokens",
@@ -2093,7 +2081,7 @@ class RunAgentAgentToolInputRunTools(BaseModel):
2093
2081
 
2094
2082
  schema_: Annotated[AgentToolInputRunSchema, pydantic.Field(alias="schema")]
2095
2083
 
2096
- id: Optional[str] = "01KG2YMJ6NDPD060C6XPXAZ905"
2084
+ id: Optional[str] = "01KFS437GCHBD37DVRD3BR5RTA"
2097
2085
 
2098
2086
  description: Optional[str] = None
2099
2087
 
@@ -606,8 +606,6 @@ class StreamRunAgentModelConfigurationTimeout(BaseModel):
606
606
  class StreamRunAgentModelConfigurationParametersTypedDict(TypedDict):
607
607
  r"""Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation."""
608
608
 
609
- name: NotRequired[str]
610
- r"""The name to display on the trace. If not specified, the default system name will be used."""
611
609
  audio: NotRequired[Nullable[StreamRunAgentModelConfigurationAudioTypedDict]]
612
610
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
613
611
  frequency_penalty: NotRequired[Nullable[float]]
@@ -681,9 +679,6 @@ class StreamRunAgentModelConfigurationParametersTypedDict(TypedDict):
681
679
  class StreamRunAgentModelConfigurationParameters(BaseModel):
682
680
  r"""Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation."""
683
681
 
684
- name: Optional[str] = None
685
- r"""The name to display on the trace. If not specified, the default system name will be used."""
686
-
687
682
  audio: OptionalNullable[StreamRunAgentModelConfigurationAudio] = UNSET
688
683
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
689
684
 
@@ -783,7 +778,6 @@ class StreamRunAgentModelConfigurationParameters(BaseModel):
783
778
  def serialize_model(self, handler):
784
779
  optional_fields = set(
785
780
  [
786
- "name",
787
781
  "audio",
788
782
  "frequency_penalty",
789
783
  "max_tokens",
@@ -1465,8 +1459,6 @@ class StreamRunAgentFallbackModelConfigurationTimeout(BaseModel):
1465
1459
  class StreamRunAgentFallbackModelConfigurationParametersTypedDict(TypedDict):
1466
1460
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1467
1461
 
1468
- name: NotRequired[str]
1469
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1470
1462
  audio: NotRequired[Nullable[StreamRunAgentFallbackModelConfigurationAudioTypedDict]]
1471
1463
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1472
1464
  frequency_penalty: NotRequired[Nullable[float]]
@@ -1552,9 +1544,6 @@ class StreamRunAgentFallbackModelConfigurationParametersTypedDict(TypedDict):
1552
1544
  class StreamRunAgentFallbackModelConfigurationParameters(BaseModel):
1553
1545
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1554
1546
 
1555
- name: Optional[str] = None
1556
- r"""The name to display on the trace. If not specified, the default system name will be used."""
1557
-
1558
1547
  audio: OptionalNullable[StreamRunAgentFallbackModelConfigurationAudio] = UNSET
1559
1548
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1560
1549
 
@@ -1660,7 +1649,6 @@ class StreamRunAgentFallbackModelConfigurationParameters(BaseModel):
1660
1649
  def serialize_model(self, handler):
1661
1650
  optional_fields = set(
1662
1651
  [
1663
- "name",
1664
1652
  "audio",
1665
1653
  "frequency_penalty",
1666
1654
  "max_tokens",
@@ -2193,7 +2181,7 @@ class AgentToolInputRunTools(BaseModel):
2193
2181
  StreamRunAgentAgentToolInputRunAgentsSchema, pydantic.Field(alias="schema")
2194
2182
  ]
2195
2183
 
2196
- id: Optional[str] = "01KG2YMJ9SAD7ZW0GZ5AHTA7FX"
2184
+ id: Optional[str] = "01KFS437JZ79F2A8WS33BG36DA"
2197
2185
 
2198
2186
  description: Optional[str] = None
2199
2187