orq-ai-sdk 4.2.8__py3-none-any.whl → 4.2.10__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 (73) hide show
  1. orq_ai_sdk/_version.py +2 -2
  2. orq_ai_sdk/completions.py +107 -1
  3. orq_ai_sdk/edits.py +107 -1
  4. orq_ai_sdk/embeddings.py +107 -1
  5. orq_ai_sdk/generations.py +99 -1
  6. orq_ai_sdk/models/__init__.py +405 -0
  7. orq_ai_sdk/models/conversationresponse.py +1 -1
  8. orq_ai_sdk/models/conversationwithmessagesresponse.py +1 -1
  9. orq_ai_sdk/models/createagentrequestop.py +24 -0
  10. orq_ai_sdk/models/createchatcompletionop.py +6 -0
  11. orq_ai_sdk/models/createcompletionop.py +218 -30
  12. orq_ai_sdk/models/createcontactop.py +1 -1
  13. orq_ai_sdk/models/createconversationop.py +1 -1
  14. orq_ai_sdk/models/createconversationresponseop.py +2 -2
  15. orq_ai_sdk/models/createdatasetitemop.py +4 -4
  16. orq_ai_sdk/models/createdatasetop.py +1 -1
  17. orq_ai_sdk/models/createdatasourceop.py +1 -1
  18. orq_ai_sdk/models/createembeddingop.py +221 -26
  19. orq_ai_sdk/models/createevalop.py +14 -14
  20. orq_ai_sdk/models/createidentityop.py +1 -1
  21. orq_ai_sdk/models/createimageeditop.py +242 -31
  22. orq_ai_sdk/models/createimageop.py +210 -22
  23. orq_ai_sdk/models/createimagevariationop.py +251 -31
  24. orq_ai_sdk/models/createpromptop.py +12 -0
  25. orq_ai_sdk/models/creatererankop.py +218 -26
  26. orq_ai_sdk/models/createspeechop.py +174 -24
  27. orq_ai_sdk/models/createtoolop.py +6 -6
  28. orq_ai_sdk/models/createtranscriptionop.py +180 -10
  29. orq_ai_sdk/models/createtranslationop.py +172 -10
  30. orq_ai_sdk/models/filegetop.py +1 -1
  31. orq_ai_sdk/models/filelistop.py +1 -1
  32. orq_ai_sdk/models/fileuploadop.py +1 -1
  33. orq_ai_sdk/models/generateconversationnameop.py +1 -1
  34. orq_ai_sdk/models/getallpromptsop.py +6 -0
  35. orq_ai_sdk/models/getalltoolsop.py +6 -6
  36. orq_ai_sdk/models/getevalsop.py +14 -14
  37. orq_ai_sdk/models/getonepromptop.py +6 -0
  38. orq_ai_sdk/models/getpromptversionop.py +6 -0
  39. orq_ai_sdk/models/listagentsop.py +12 -0
  40. orq_ai_sdk/models/listdatasetdatapointsop.py +4 -4
  41. orq_ai_sdk/models/listdatasetsop.py +1 -1
  42. orq_ai_sdk/models/listdatasourcesop.py +1 -1
  43. orq_ai_sdk/models/listidentitiesop.py +1 -1
  44. orq_ai_sdk/models/listpromptversionsop.py +6 -0
  45. orq_ai_sdk/models/partdoneevent.py +1 -1
  46. orq_ai_sdk/models/reasoningpart.py +1 -1
  47. orq_ai_sdk/models/retrieveagentrequestop.py +12 -0
  48. orq_ai_sdk/models/retrievedatapointop.py +4 -4
  49. orq_ai_sdk/models/retrievedatasetop.py +1 -1
  50. orq_ai_sdk/models/retrievedatasourceop.py +1 -1
  51. orq_ai_sdk/models/retrieveidentityop.py +1 -1
  52. orq_ai_sdk/models/retrievetoolop.py +6 -6
  53. orq_ai_sdk/models/runagentop.py +13 -1
  54. orq_ai_sdk/models/streamrunagentop.py +13 -1
  55. orq_ai_sdk/models/updateagentop.py +24 -0
  56. orq_ai_sdk/models/updateconversationop.py +1 -1
  57. orq_ai_sdk/models/updatedatapointop.py +4 -4
  58. orq_ai_sdk/models/updatedatasetop.py +1 -1
  59. orq_ai_sdk/models/updatedatasourceop.py +1 -1
  60. orq_ai_sdk/models/updateevalop.py +14 -14
  61. orq_ai_sdk/models/updateidentityop.py +1 -1
  62. orq_ai_sdk/models/updatepromptop.py +12 -0
  63. orq_ai_sdk/models/updatetoolop.py +7 -7
  64. orq_ai_sdk/orq_completions.py +6 -0
  65. orq_ai_sdk/rerank.py +98 -0
  66. orq_ai_sdk/speech.py +83 -1
  67. orq_ai_sdk/transcriptions.py +90 -0
  68. orq_ai_sdk/translations.py +87 -1
  69. orq_ai_sdk/variations.py +111 -1
  70. {orq_ai_sdk-4.2.8.dist-info → orq_ai_sdk-4.2.10.dist-info}/METADATA +1 -1
  71. {orq_ai_sdk-4.2.8.dist-info → orq_ai_sdk-4.2.10.dist-info}/RECORD +73 -73
  72. {orq_ai_sdk-4.2.8.dist-info → orq_ai_sdk-4.2.10.dist-info}/WHEEL +1 -1
  73. {orq_ai_sdk-4.2.8.dist-info → orq_ai_sdk-4.2.10.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-25T21:56:23.421Z"
224
+ created: Optional[str] = "2026-01-26T13:54:25.779Z"
225
225
 
226
- updated: Optional[str] = "2026-01-25T21:56:23.421Z"
226
+ updated: Optional[str] = "2026-01-26T13:54:25.779Z"
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-25T21:56:23.421Z"
400
+ created: Optional[str] = "2026-01-26T13:54:25.779Z"
401
401
 
402
- updated: Optional[str] = "2026-01-25T21:56:23.421Z"
402
+ updated: Optional[str] = "2026-01-26T13:54:25.779Z"
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-25T21:56:23.421Z"
1075
+ created: Optional[str] = "2026-01-26T13:54:25.779Z"
1076
1076
 
1077
- updated: Optional[str] = "2026-01-25T21:56:23.421Z"
1077
+ updated: Optional[str] = "2026-01-26T13:54:25.779Z"
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-25T21:56:23.421Z"
1230
+ created: Optional[str] = "2026-01-26T13:54:25.779Z"
1231
1231
 
1232
- updated: Optional[str] = "2026-01-25T21:56:23.421Z"
1232
+ updated: Optional[str] = "2026-01-26T13:54:25.779Z"
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-25T21:56:23.421Z"
1395
+ created: Optional[str] = "2026-01-26T13:54:25.779Z"
1396
1396
 
1397
- updated: Optional[str] = "2026-01-25T21:56:23.421Z"
1397
+ updated: Optional[str] = "2026-01-26T13:54:25.779Z"
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-25T21:56:23.421Z"
1606
+ created: Optional[str] = "2026-01-26T13:54:25.779Z"
1607
1607
 
1608
- updated: Optional[str] = "2026-01-25T21:56:23.421Z"
1608
+ updated: Optional[str] = "2026-01-26T13:54:25.779Z"
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-25T21:56:23.421Z"
1738
+ created: Optional[str] = "2026-01-26T13:54:25.779Z"
1739
1739
 
1740
- updated: Optional[str] = "2026-01-25T21:56:23.421Z"
1740
+ updated: Optional[str] = "2026-01-26T13:54:25.779Z"
1741
1741
 
1742
1742
  guardrail_config: Optional[
1743
1743
  GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyGuardrailConfig
@@ -1921,6 +1921,8 @@ 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."""
1924
1926
  audio: NotRequired[Nullable[GetOnePromptAudioTypedDict]]
1925
1927
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1926
1928
  frequency_penalty: NotRequired[Nullable[float]]
@@ -1995,6 +1997,9 @@ class GetOnePromptPromptFieldTypedDict(TypedDict):
1995
1997
  class GetOnePromptPromptField(BaseModel):
1996
1998
  r"""Prompt configuration with model and messages. Use this instead of prompt_config."""
1997
1999
 
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
+
1998
2003
  audio: OptionalNullable[GetOnePromptAudio] = UNSET
1999
2004
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
2000
2005
 
@@ -2098,6 +2103,7 @@ class GetOnePromptPromptField(BaseModel):
2098
2103
  def serialize_model(self, handler):
2099
2104
  optional_fields = set(
2100
2105
  [
2106
+ "name",
2101
2107
  "audio",
2102
2108
  "frequency_penalty",
2103
2109
  "max_tokens",
@@ -1968,6 +1968,8 @@ 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."""
1971
1973
  audio: NotRequired[Nullable[GetPromptVersionAudioTypedDict]]
1972
1974
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1973
1975
  frequency_penalty: NotRequired[Nullable[float]]
@@ -2042,6 +2044,9 @@ class GetPromptVersionPromptFieldTypedDict(TypedDict):
2042
2044
  class GetPromptVersionPromptField(BaseModel):
2043
2045
  r"""Prompt configuration with model and messages. Use this instead of prompt_config."""
2044
2046
 
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
+
2045
2050
  audio: OptionalNullable[GetPromptVersionAudio] = UNSET
2046
2051
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
2047
2052
 
@@ -2145,6 +2150,7 @@ class GetPromptVersionPromptField(BaseModel):
2145
2150
  def serialize_model(self, handler):
2146
2151
  optional_fields = set(
2147
2152
  [
2153
+ "name",
2148
2154
  "audio",
2149
2155
  "frequency_penalty",
2150
2156
  "max_tokens",
@@ -819,6 +819,8 @@ 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."""
822
824
  audio: NotRequired[Nullable[ListAgentsAudioTypedDict]]
823
825
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
824
826
  frequency_penalty: NotRequired[Nullable[float]]
@@ -888,6 +890,9 @@ class ListAgentsParametersTypedDict(TypedDict):
888
890
  class ListAgentsParameters(BaseModel):
889
891
  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
892
 
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
+
891
896
  audio: OptionalNullable[ListAgentsAudio] = UNSET
892
897
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
893
898
 
@@ -983,6 +988,7 @@ class ListAgentsParameters(BaseModel):
983
988
  def serialize_model(self, handler):
984
989
  optional_fields = set(
985
990
  [
991
+ "name",
986
992
  "audio",
987
993
  "frequency_penalty",
988
994
  "max_tokens",
@@ -1600,6 +1606,8 @@ class ListAgentsFallbackModelConfigurationTimeout(BaseModel):
1600
1606
  class ListAgentsFallbackModelConfigurationParametersTypedDict(TypedDict):
1601
1607
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1602
1608
 
1609
+ name: NotRequired[str]
1610
+ r"""The name to display on the trace. If not specified, the default system name will be used."""
1603
1611
  audio: NotRequired[Nullable[ListAgentsFallbackModelConfigurationAudioTypedDict]]
1604
1612
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1605
1613
  frequency_penalty: NotRequired[Nullable[float]]
@@ -1679,6 +1687,9 @@ class ListAgentsFallbackModelConfigurationParametersTypedDict(TypedDict):
1679
1687
  class ListAgentsFallbackModelConfigurationParameters(BaseModel):
1680
1688
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1681
1689
 
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
+
1682
1693
  audio: OptionalNullable[ListAgentsFallbackModelConfigurationAudio] = UNSET
1683
1694
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1684
1695
 
@@ -1780,6 +1791,7 @@ class ListAgentsFallbackModelConfigurationParameters(BaseModel):
1780
1791
  def serialize_model(self, handler):
1781
1792
  optional_fields = set(
1782
1793
  [
1794
+ "name",
1783
1795
  "audio",
1784
1796
  "frequency_penalty",
1785
1797
  "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-25T21:56:35.320Z")
779
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-26T13:54:37.665Z")
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-25T21:56:35.320Z")
849
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-26T13:54:37.665Z")
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-25T21:56:35.319Z")
917
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-26T13:54:37.664Z")
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-25T21:56:21.657Z")
1016
+ updated: Optional[datetime] = parse_datetime("2026-01-26T13:54:24.067Z")
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-25T21:56:21.657Z")
116
+ updated: Optional[datetime] = parse_datetime("2026-01-26T13:54:24.067Z")
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
- "01KFVJH9RV7F89GKBYP3TJ5RRW"
151
+ "01KFX9BGWBPRKQGMGFEV7MS305"
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-25T21:56:21.657Z")
211
+ updated: Optional[datetime] = parse_datetime("2026-01-26T13:54:24.067Z")
212
212
  r"""The date and time the resource was last updated"""
213
213
 
214
214
  @model_serializer(mode="wrap")
@@ -1980,6 +1980,8 @@ 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."""
1983
1985
  audio: NotRequired[Nullable[ListPromptVersionsAudioTypedDict]]
1984
1986
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1985
1987
  frequency_penalty: NotRequired[Nullable[float]]
@@ -2054,6 +2056,9 @@ class ListPromptVersionsPromptFieldTypedDict(TypedDict):
2054
2056
  class ListPromptVersionsPromptField(BaseModel):
2055
2057
  r"""Prompt configuration with model and messages. Use this instead of prompt_config."""
2056
2058
 
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
+
2057
2062
  audio: OptionalNullable[ListPromptVersionsAudio] = UNSET
2058
2063
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
2059
2064
 
@@ -2157,6 +2162,7 @@ class ListPromptVersionsPromptField(BaseModel):
2157
2162
  def serialize_model(self, handler):
2158
2163
  optional_fields = set(
2159
2164
  [
2165
+ "name",
2160
2166
  "audio",
2161
2167
  "frequency_penalty",
2162
2168
  "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_01kfvjh8z9kz74c7e8sqvt8hv7"
43
+ "reasoning_01kfx9bg0dqg1vhc2y0skpcra8"
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_01kfvjh8ypsdzthnnzzqm98cve"
40
+ "reasoning_01kfx9bg0505zw5jstty1kaewy"
41
41
  )
42
42
  r"""Unique identifier for the part. Format: reasoning_{ulid} (e.g., reasoning_01hxyz...)"""
43
43
 
@@ -817,6 +817,8 @@ 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."""
820
822
  audio: NotRequired[Nullable[RetrieveAgentRequestAudioTypedDict]]
821
823
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
822
824
  frequency_penalty: NotRequired[Nullable[float]]
@@ -886,6 +888,9 @@ class RetrieveAgentRequestParametersTypedDict(TypedDict):
886
888
  class RetrieveAgentRequestParameters(BaseModel):
887
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."""
888
890
 
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
+
889
894
  audio: OptionalNullable[RetrieveAgentRequestAudio] = UNSET
890
895
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
891
896
 
@@ -981,6 +986,7 @@ class RetrieveAgentRequestParameters(BaseModel):
981
986
  def serialize_model(self, handler):
982
987
  optional_fields = set(
983
988
  [
989
+ "name",
984
990
  "audio",
985
991
  "frequency_penalty",
986
992
  "max_tokens",
@@ -1611,6 +1617,8 @@ class RetrieveAgentRequestFallbackModelConfigurationTimeout(BaseModel):
1611
1617
  class RetrieveAgentRequestFallbackModelConfigurationParametersTypedDict(TypedDict):
1612
1618
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1613
1619
 
1620
+ name: NotRequired[str]
1621
+ r"""The name to display on the trace. If not specified, the default system name will be used."""
1614
1622
  audio: NotRequired[
1615
1623
  Nullable[RetrieveAgentRequestFallbackModelConfigurationAudioTypedDict]
1616
1624
  ]
@@ -1704,6 +1712,9 @@ class RetrieveAgentRequestFallbackModelConfigurationParametersTypedDict(TypedDic
1704
1712
  class RetrieveAgentRequestFallbackModelConfigurationParameters(BaseModel):
1705
1713
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1706
1714
 
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
+
1707
1718
  audio: OptionalNullable[RetrieveAgentRequestFallbackModelConfigurationAudio] = UNSET
1708
1719
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1709
1720
 
@@ -1815,6 +1826,7 @@ class RetrieveAgentRequestFallbackModelConfigurationParameters(BaseModel):
1815
1826
  def serialize_model(self, handler):
1816
1827
  optional_fields = set(
1817
1828
  [
1829
+ "name",
1818
1830
  "audio",
1819
1831
  "frequency_penalty",
1820
1832
  "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-25T21:56:35.343Z")
741
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-26T13:54:37.673Z")
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-25T21:56:35.342Z")
809
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-26T13:54:37.673Z")
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-25T21:56:35.341Z")
877
+ reviewed_at: Optional[datetime] = parse_datetime("2026-01-26T13:54:37.672Z")
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-25T21:56:21.657Z")
980
+ updated: Optional[datetime] = parse_datetime("2026-01-26T13:54:24.067Z")
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-25T21:56:21.657Z")
84
+ updated: Optional[datetime] = parse_datetime("2026-01-26T13:54:24.067Z")
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
- "01KFVJH9RWAM28YN49NWEJAHP0"
93
+ "01KFX9BGWCF906X8TVV7KYFKYW"
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-25T21:56:21.657Z")
106
+ updated: Optional[datetime] = parse_datetime("2026-01-26T13:54:24.067Z")
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_01KFVJH9NM9TBCZP05BS07WFKD"
174
+ "tool_01KFX9BGQZ7JXM2FBVXF6JXBZV"
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] = "01KFVJH9NKSWGN2S84VCEJCKTT"
305
+ id: Optional[str] = "01KFX9BGQYJW4GGR15N6R6PK6C"
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_01KFVJH9NH5NGQ6V1VBPDT6BEN"
436
+ "tool_01KFX9BGQWHWDGF9TDQT683067"
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_01KFVJH9NEQV2B07C4WARR5MV3"
737
+ "tool_01KFX9BGQS6YRVMKY94AA73M1Y"
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_01KFVJH9N4YRNDD3HZGRB37YK2"
932
+ "tool_01KFX9BGQQM4KWG920AEPK5EW7"
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_01KFVJH9N2A0DXTGZ91F2WJEAQ"
1131
+ "tool_01KFX9BGQNATP7A1YJVB2EGA83"
1132
1132
  )
1133
1133
 
1134
1134
  display_name: Optional[str] = None
@@ -539,6 +539,8 @@ 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."""
542
544
  audio: NotRequired[Nullable[RunAgentModelConfigurationAudioTypedDict]]
543
545
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
544
546
  frequency_penalty: NotRequired[Nullable[float]]
@@ -610,6 +612,9 @@ class RunAgentModelConfigurationParametersTypedDict(TypedDict):
610
612
  class RunAgentModelConfigurationParameters(BaseModel):
611
613
  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."""
612
614
 
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
+
613
618
  audio: OptionalNullable[RunAgentModelConfigurationAudio] = UNSET
614
619
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
615
620
 
@@ -705,6 +710,7 @@ class RunAgentModelConfigurationParameters(BaseModel):
705
710
  def serialize_model(self, handler):
706
711
  optional_fields = set(
707
712
  [
713
+ "name",
708
714
  "audio",
709
715
  "frequency_penalty",
710
716
  "max_tokens",
@@ -1381,6 +1387,8 @@ class RunAgentFallbackModelConfigurationTimeout(BaseModel):
1381
1387
  class RunAgentFallbackModelConfigurationParametersTypedDict(TypedDict):
1382
1388
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1383
1389
 
1390
+ name: NotRequired[str]
1391
+ r"""The name to display on the trace. If not specified, the default system name will be used."""
1384
1392
  audio: NotRequired[Nullable[RunAgentFallbackModelConfigurationAudioTypedDict]]
1385
1393
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1386
1394
  frequency_penalty: NotRequired[Nullable[float]]
@@ -1456,6 +1464,9 @@ class RunAgentFallbackModelConfigurationParametersTypedDict(TypedDict):
1456
1464
  class RunAgentFallbackModelConfigurationParameters(BaseModel):
1457
1465
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1458
1466
 
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
+
1459
1470
  audio: OptionalNullable[RunAgentFallbackModelConfigurationAudio] = UNSET
1460
1471
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1461
1472
 
@@ -1555,6 +1566,7 @@ class RunAgentFallbackModelConfigurationParameters(BaseModel):
1555
1566
  def serialize_model(self, handler):
1556
1567
  optional_fields = set(
1557
1568
  [
1569
+ "name",
1558
1570
  "audio",
1559
1571
  "frequency_penalty",
1560
1572
  "max_tokens",
@@ -2081,7 +2093,7 @@ class RunAgentAgentToolInputRunTools(BaseModel):
2081
2093
 
2082
2094
  schema_: Annotated[AgentToolInputRunSchema, pydantic.Field(alias="schema")]
2083
2095
 
2084
- id: Optional[str] = "01KFVJH94Q8YZF61362F7YDNKB"
2096
+ id: Optional[str] = "01KFX9BG64GG4ATXX74ES00WW6"
2085
2097
 
2086
2098
  description: Optional[str] = None
2087
2099
 
@@ -606,6 +606,8 @@ 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."""
609
611
  audio: NotRequired[Nullable[StreamRunAgentModelConfigurationAudioTypedDict]]
610
612
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
611
613
  frequency_penalty: NotRequired[Nullable[float]]
@@ -679,6 +681,9 @@ class StreamRunAgentModelConfigurationParametersTypedDict(TypedDict):
679
681
  class StreamRunAgentModelConfigurationParameters(BaseModel):
680
682
  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."""
681
683
 
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
+
682
687
  audio: OptionalNullable[StreamRunAgentModelConfigurationAudio] = UNSET
683
688
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
684
689
 
@@ -778,6 +783,7 @@ class StreamRunAgentModelConfigurationParameters(BaseModel):
778
783
  def serialize_model(self, handler):
779
784
  optional_fields = set(
780
785
  [
786
+ "name",
781
787
  "audio",
782
788
  "frequency_penalty",
783
789
  "max_tokens",
@@ -1459,6 +1465,8 @@ class StreamRunAgentFallbackModelConfigurationTimeout(BaseModel):
1459
1465
  class StreamRunAgentFallbackModelConfigurationParametersTypedDict(TypedDict):
1460
1466
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1461
1467
 
1468
+ name: NotRequired[str]
1469
+ r"""The name to display on the trace. If not specified, the default system name will be used."""
1462
1470
  audio: NotRequired[Nullable[StreamRunAgentFallbackModelConfigurationAudioTypedDict]]
1463
1471
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1464
1472
  frequency_penalty: NotRequired[Nullable[float]]
@@ -1544,6 +1552,9 @@ class StreamRunAgentFallbackModelConfigurationParametersTypedDict(TypedDict):
1544
1552
  class StreamRunAgentFallbackModelConfigurationParameters(BaseModel):
1545
1553
  r"""Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used."""
1546
1554
 
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
+
1547
1558
  audio: OptionalNullable[StreamRunAgentFallbackModelConfigurationAudio] = UNSET
1548
1559
  r"""Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more."""
1549
1560
 
@@ -1649,6 +1660,7 @@ class StreamRunAgentFallbackModelConfigurationParameters(BaseModel):
1649
1660
  def serialize_model(self, handler):
1650
1661
  optional_fields = set(
1651
1662
  [
1663
+ "name",
1652
1664
  "audio",
1653
1665
  "frequency_penalty",
1654
1666
  "max_tokens",
@@ -2181,7 +2193,7 @@ class AgentToolInputRunTools(BaseModel):
2181
2193
  StreamRunAgentAgentToolInputRunAgentsSchema, pydantic.Field(alias="schema")
2182
2194
  ]
2183
2195
 
2184
- id: Optional[str] = "01KFVJH97C7YHM7X8CSBB7AGQ1"
2196
+ id: Optional[str] = "01KFX9BG9GQXCX41PHQGG785RD"
2185
2197
 
2186
2198
  description: Optional[str] = None
2187
2199