orq-ai-sdk 4.3.0rc15__py3-none-any.whl → 4.3.0rc17__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.
- orq_ai_sdk/_version.py +2 -2
- orq_ai_sdk/models/agentstartedstreamingevent.py +6 -0
- orq_ai_sdk/models/conversationresponse.py +1 -1
- orq_ai_sdk/models/conversationwithmessagesresponse.py +1 -1
- orq_ai_sdk/models/createagentrequestop.py +12 -0
- orq_ai_sdk/models/createcontactop.py +1 -1
- orq_ai_sdk/models/createconversationop.py +1 -1
- orq_ai_sdk/models/createconversationresponseop.py +2 -2
- orq_ai_sdk/models/createdatasetitemop.py +4 -4
- orq_ai_sdk/models/createdatasetop.py +1 -1
- orq_ai_sdk/models/createdatasourceop.py +1 -1
- orq_ai_sdk/models/createevalop.py +14 -14
- orq_ai_sdk/models/createidentityop.py +1 -1
- orq_ai_sdk/models/createtoolop.py +6 -6
- orq_ai_sdk/models/filegetop.py +1 -1
- orq_ai_sdk/models/filelistop.py +1 -1
- orq_ai_sdk/models/fileuploadop.py +1 -1
- orq_ai_sdk/models/generateconversationnameop.py +1 -1
- orq_ai_sdk/models/getalltoolsop.py +6 -6
- orq_ai_sdk/models/getevalsop.py +14 -14
- orq_ai_sdk/models/listagentsop.py +6 -0
- orq_ai_sdk/models/listdatasetdatapointsop.py +4 -4
- orq_ai_sdk/models/listdatasetsop.py +1 -1
- orq_ai_sdk/models/listdatasourcesop.py +1 -1
- orq_ai_sdk/models/listidentitiesop.py +1 -1
- orq_ai_sdk/models/partdoneevent.py +1 -1
- orq_ai_sdk/models/reasoningpart.py +1 -1
- orq_ai_sdk/models/retrieveagentrequestop.py +6 -0
- orq_ai_sdk/models/retrievedatapointop.py +4 -4
- orq_ai_sdk/models/retrievedatasetop.py +1 -1
- orq_ai_sdk/models/retrievedatasourceop.py +1 -1
- orq_ai_sdk/models/retrieveidentityop.py +1 -1
- orq_ai_sdk/models/retrievetoolop.py +6 -6
- orq_ai_sdk/models/runagentop.py +7 -1
- orq_ai_sdk/models/streamrunagentop.py +7 -1
- orq_ai_sdk/models/updateagentop.py +12 -0
- orq_ai_sdk/models/updateconversationop.py +1 -1
- orq_ai_sdk/models/updatedatapointop.py +4 -4
- orq_ai_sdk/models/updatedatasetop.py +1 -1
- orq_ai_sdk/models/updatedatasourceop.py +1 -1
- orq_ai_sdk/models/updateevalop.py +14 -14
- orq_ai_sdk/models/updateidentityop.py +1 -1
- orq_ai_sdk/models/updatetoolop.py +7 -7
- {orq_ai_sdk-4.3.0rc15.dist-info → orq_ai_sdk-4.3.0rc17.dist-info}/METADATA +1 -1
- {orq_ai_sdk-4.3.0rc15.dist-info → orq_ai_sdk-4.3.0rc17.dist-info}/RECORD +47 -47
- {orq_ai_sdk-4.3.0rc15.dist-info → orq_ai_sdk-4.3.0rc17.dist-info}/WHEEL +0 -0
- {orq_ai_sdk-4.3.0rc15.dist-info → orq_ai_sdk-4.3.0rc17.dist-info}/top_level.txt +0 -0
|
@@ -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
|
-
"
|
|
40
|
+
"reasoning_01kgezrc0djwzvxy61g4vh2tcs"
|
|
41
41
|
)
|
|
42
42
|
r"""Unique identifier for the part. Format: reasoning_{ulid} (e.g., reasoning_01hxyz...)"""
|
|
43
43
|
|
|
@@ -256,6 +256,8 @@ class RetrieveAgentRequestSettingsTypedDict(TypedDict):
|
|
|
256
256
|
r"""Maximum iterations(llm calls) before the agent will stop executing."""
|
|
257
257
|
max_execution_time: NotRequired[int]
|
|
258
258
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
259
|
+
max_cost: NotRequired[float]
|
|
260
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
259
261
|
tool_approval_required: NotRequired[RetrieveAgentRequestToolApprovalRequired]
|
|
260
262
|
r"""If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools."""
|
|
261
263
|
tools: NotRequired[List[RetrieveAgentRequestToolsTypedDict]]
|
|
@@ -272,6 +274,9 @@ class RetrieveAgentRequestSettings(BaseModel):
|
|
|
272
274
|
max_execution_time: Optional[int] = 600
|
|
273
275
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
274
276
|
|
|
277
|
+
max_cost: Optional[float] = 0
|
|
278
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
279
|
+
|
|
275
280
|
tool_approval_required: Optional[RetrieveAgentRequestToolApprovalRequired] = (
|
|
276
281
|
"respect_tool"
|
|
277
282
|
)
|
|
@@ -291,6 +296,7 @@ class RetrieveAgentRequestSettings(BaseModel):
|
|
|
291
296
|
[
|
|
292
297
|
"max_iterations",
|
|
293
298
|
"max_execution_time",
|
|
299
|
+
"max_cost",
|
|
294
300
|
"tool_approval_required",
|
|
295
301
|
"tools",
|
|
296
302
|
"evaluators",
|
|
@@ -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-02-
|
|
741
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T10:53:13.671Z")
|
|
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-02-
|
|
809
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T10:53:13.670Z")
|
|
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-02-
|
|
877
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T10:53:13.669Z")
|
|
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-02-
|
|
980
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T10:53:00.225Z")
|
|
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-02-
|
|
84
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T10:53:00.225Z")
|
|
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
|
-
"
|
|
93
|
+
"01KGEZRCYKWRQTJ4V6H49MRAND"
|
|
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-02-
|
|
106
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T10:53:00.225Z")
|
|
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
|
-
"
|
|
174
|
+
"tool_01KGEZRCTXRNZZNWBNDH7C1SF4"
|
|
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] = "
|
|
305
|
+
id: Optional[str] = "01KGEZRCTWNP3MY3ZYNXT7FQE2"
|
|
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
|
-
"
|
|
436
|
+
"tool_01KGEZRCTTDZ1KZRTNF02V11TW"
|
|
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
|
-
"
|
|
737
|
+
"tool_01KGEZRCTQJ03E23D3W8S270GY"
|
|
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
|
-
"
|
|
932
|
+
"tool_01KGEZRCTN9DB34PF7D4TAJAPW"
|
|
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
|
-
"
|
|
1131
|
+
"tool_01KGEZRCTKQR9BB7S9GX8N3JYQ"
|
|
1132
1132
|
)
|
|
1133
1133
|
|
|
1134
1134
|
display_name: Optional[str] = None
|
orq_ai_sdk/models/runagentop.py
CHANGED
|
@@ -2093,7 +2093,7 @@ class RunAgentAgentToolInputRunTools(BaseModel):
|
|
|
2093
2093
|
|
|
2094
2094
|
schema_: Annotated[AgentToolInputRunSchema, pydantic.Field(alias="schema")]
|
|
2095
2095
|
|
|
2096
|
-
id: Optional[str] = "
|
|
2096
|
+
id: Optional[str] = "01KGEZRC6HQQSSX8VH4HXE7J9P"
|
|
2097
2097
|
|
|
2098
2098
|
description: Optional[str] = None
|
|
2099
2099
|
|
|
@@ -3410,6 +3410,8 @@ class RunAgentSettingsTypedDict(TypedDict):
|
|
|
3410
3410
|
r"""Maximum iterations(llm calls) before the agent will stop executing."""
|
|
3411
3411
|
max_execution_time: NotRequired[int]
|
|
3412
3412
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
3413
|
+
max_cost: NotRequired[float]
|
|
3414
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
3413
3415
|
evaluators: NotRequired[List[RunAgentEvaluatorsTypedDict]]
|
|
3414
3416
|
r"""Configuration for an evaluator applied to the agent"""
|
|
3415
3417
|
guardrails: NotRequired[List[RunAgentGuardrailsTypedDict]]
|
|
@@ -3429,6 +3431,9 @@ class RunAgentSettings(BaseModel):
|
|
|
3429
3431
|
max_execution_time: Optional[int] = 600
|
|
3430
3432
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
3431
3433
|
|
|
3434
|
+
max_cost: Optional[float] = 0
|
|
3435
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
3436
|
+
|
|
3432
3437
|
evaluators: Optional[List[RunAgentEvaluators]] = None
|
|
3433
3438
|
r"""Configuration for an evaluator applied to the agent"""
|
|
3434
3439
|
|
|
@@ -3443,6 +3448,7 @@ class RunAgentSettings(BaseModel):
|
|
|
3443
3448
|
"tool_approval_required",
|
|
3444
3449
|
"max_iterations",
|
|
3445
3450
|
"max_execution_time",
|
|
3451
|
+
"max_cost",
|
|
3446
3452
|
"evaluators",
|
|
3447
3453
|
"guardrails",
|
|
3448
3454
|
]
|
|
@@ -2193,7 +2193,7 @@ class AgentToolInputRunTools(BaseModel):
|
|
|
2193
2193
|
StreamRunAgentAgentToolInputRunAgentsSchema, pydantic.Field(alias="schema")
|
|
2194
2194
|
]
|
|
2195
2195
|
|
|
2196
|
-
id: Optional[str] = "
|
|
2196
|
+
id: Optional[str] = "01KGEZRC9W94H55ZTK08S9DN2M"
|
|
2197
2197
|
|
|
2198
2198
|
description: Optional[str] = None
|
|
2199
2199
|
|
|
@@ -3551,6 +3551,8 @@ class StreamRunAgentSettingsTypedDict(TypedDict):
|
|
|
3551
3551
|
r"""Maximum iterations(llm calls) before the agent will stop executing."""
|
|
3552
3552
|
max_execution_time: NotRequired[int]
|
|
3553
3553
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
3554
|
+
max_cost: NotRequired[float]
|
|
3555
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
3554
3556
|
evaluators: NotRequired[List[StreamRunAgentEvaluatorsTypedDict]]
|
|
3555
3557
|
r"""Configuration for an evaluator applied to the agent"""
|
|
3556
3558
|
guardrails: NotRequired[List[StreamRunAgentGuardrailsTypedDict]]
|
|
@@ -3570,6 +3572,9 @@ class StreamRunAgentSettings(BaseModel):
|
|
|
3570
3572
|
max_execution_time: Optional[int] = 600
|
|
3571
3573
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
3572
3574
|
|
|
3575
|
+
max_cost: Optional[float] = 0
|
|
3576
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
3577
|
+
|
|
3573
3578
|
evaluators: Optional[List[StreamRunAgentEvaluators]] = None
|
|
3574
3579
|
r"""Configuration for an evaluator applied to the agent"""
|
|
3575
3580
|
|
|
@@ -3584,6 +3589,7 @@ class StreamRunAgentSettings(BaseModel):
|
|
|
3584
3589
|
"tool_approval_required",
|
|
3585
3590
|
"max_iterations",
|
|
3586
3591
|
"max_execution_time",
|
|
3592
|
+
"max_cost",
|
|
3587
3593
|
"evaluators",
|
|
3588
3594
|
"guardrails",
|
|
3589
3595
|
]
|
|
@@ -2565,6 +2565,8 @@ class UpdateAgentSettingsTypedDict(TypedDict):
|
|
|
2565
2565
|
r"""Maximum iterations(llm calls) before the agent will stop executing."""
|
|
2566
2566
|
max_execution_time: NotRequired[int]
|
|
2567
2567
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
2568
|
+
max_cost: NotRequired[float]
|
|
2569
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
2568
2570
|
tool_approval_required: NotRequired[UpdateAgentToolApprovalRequired]
|
|
2569
2571
|
r"""If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools."""
|
|
2570
2572
|
tools: NotRequired[List[UpdateAgentAgentToolInputCRUDTypedDict]]
|
|
@@ -2582,6 +2584,9 @@ class UpdateAgentSettings(BaseModel):
|
|
|
2582
2584
|
max_execution_time: Optional[int] = 600
|
|
2583
2585
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
2584
2586
|
|
|
2587
|
+
max_cost: Optional[float] = 0
|
|
2588
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
2589
|
+
|
|
2585
2590
|
tool_approval_required: Optional[UpdateAgentToolApprovalRequired] = "respect_tool"
|
|
2586
2591
|
r"""If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools."""
|
|
2587
2592
|
|
|
@@ -2600,6 +2605,7 @@ class UpdateAgentSettings(BaseModel):
|
|
|
2600
2605
|
[
|
|
2601
2606
|
"max_iterations",
|
|
2602
2607
|
"max_execution_time",
|
|
2608
|
+
"max_cost",
|
|
2603
2609
|
"tool_approval_required",
|
|
2604
2610
|
"tools",
|
|
2605
2611
|
"evaluators",
|
|
@@ -3011,6 +3017,8 @@ class UpdateAgentAgentsSettingsTypedDict(TypedDict):
|
|
|
3011
3017
|
r"""Maximum iterations(llm calls) before the agent will stop executing."""
|
|
3012
3018
|
max_execution_time: NotRequired[int]
|
|
3013
3019
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
3020
|
+
max_cost: NotRequired[float]
|
|
3021
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
3014
3022
|
tool_approval_required: NotRequired[UpdateAgentAgentsToolApprovalRequired]
|
|
3015
3023
|
r"""If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools."""
|
|
3016
3024
|
tools: NotRequired[List[UpdateAgentToolsTypedDict]]
|
|
@@ -3027,6 +3035,9 @@ class UpdateAgentAgentsSettings(BaseModel):
|
|
|
3027
3035
|
max_execution_time: Optional[int] = 600
|
|
3028
3036
|
r"""Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned."""
|
|
3029
3037
|
|
|
3038
|
+
max_cost: Optional[float] = 0
|
|
3039
|
+
r"""Maximum cost in USD for the agent execution. When the accumulated cost exceeds this limit, the agent will stop executing. Set to 0 for unlimited. Only supported in v3 responses"""
|
|
3040
|
+
|
|
3030
3041
|
tool_approval_required: Optional[UpdateAgentAgentsToolApprovalRequired] = (
|
|
3031
3042
|
"respect_tool"
|
|
3032
3043
|
)
|
|
@@ -3046,6 +3057,7 @@ class UpdateAgentAgentsSettings(BaseModel):
|
|
|
3046
3057
|
[
|
|
3047
3058
|
"max_iterations",
|
|
3048
3059
|
"max_execution_time",
|
|
3060
|
+
"max_cost",
|
|
3049
3061
|
"tool_approval_required",
|
|
3050
3062
|
"tools",
|
|
3051
3063
|
"evaluators",
|
|
@@ -231,7 +231,7 @@ class UpdateConversationResponseBody(BaseModel):
|
|
|
231
231
|
r"""Unix timestamp in milliseconds when the conversation was last modified."""
|
|
232
232
|
|
|
233
233
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
234
|
-
"
|
|
234
|
+
"conv_01kgezrccbe7zf8j49ssww1be1"
|
|
235
235
|
)
|
|
236
236
|
r"""Unique conversation identifier with `conv_` prefix."""
|
|
237
237
|
|
|
@@ -1445,7 +1445,7 @@ class UpdateDatapointEvaluations3(BaseModel):
|
|
|
1445
1445
|
|
|
1446
1446
|
source: Optional[UpdateDatapointEvaluationsDatasetsResponseSource] = "orq"
|
|
1447
1447
|
|
|
1448
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-02-
|
|
1448
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T10:53:13.728Z")
|
|
1449
1449
|
r"""The date and time the item was reviewed"""
|
|
1450
1450
|
|
|
1451
1451
|
@model_serializer(mode="wrap")
|
|
@@ -1513,7 +1513,7 @@ class UpdateDatapointEvaluations2(BaseModel):
|
|
|
1513
1513
|
|
|
1514
1514
|
source: Optional[UpdateDatapointEvaluationsDatasetsSource] = "orq"
|
|
1515
1515
|
|
|
1516
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-02-
|
|
1516
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T10:53:13.728Z")
|
|
1517
1517
|
r"""The date and time the item was reviewed"""
|
|
1518
1518
|
|
|
1519
1519
|
@model_serializer(mode="wrap")
|
|
@@ -1581,7 +1581,7 @@ class UpdateDatapointEvaluations1(BaseModel):
|
|
|
1581
1581
|
|
|
1582
1582
|
source: Optional[UpdateDatapointEvaluationsSource] = "orq"
|
|
1583
1583
|
|
|
1584
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-02-
|
|
1584
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T10:53:13.728Z")
|
|
1585
1585
|
r"""The date and time the item was reviewed"""
|
|
1586
1586
|
|
|
1587
1587
|
@model_serializer(mode="wrap")
|
|
@@ -1684,7 +1684,7 @@ class UpdateDatapointResponseBody(BaseModel):
|
|
|
1684
1684
|
created: Optional[datetime] = None
|
|
1685
1685
|
r"""The date and time the resource was created"""
|
|
1686
1686
|
|
|
1687
|
-
updated: Optional[datetime] = parse_datetime("2026-02-
|
|
1687
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T10:53:00.225Z")
|
|
1688
1688
|
r"""The date and time the resource was last updated"""
|
|
1689
1689
|
|
|
1690
1690
|
@model_serializer(mode="wrap")
|
|
@@ -154,7 +154,7 @@ class UpdateDatasetResponseBody(BaseModel):
|
|
|
154
154
|
created: Optional[datetime] = None
|
|
155
155
|
r"""The date and time the resource was created"""
|
|
156
156
|
|
|
157
|
-
updated: Optional[datetime] = parse_datetime("2026-02-
|
|
157
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T10:53:00.225Z")
|
|
158
158
|
r"""The date and time the resource was last updated"""
|
|
159
159
|
|
|
160
160
|
@model_serializer(mode="wrap")
|
|
@@ -104,7 +104,7 @@ class UpdateDatasourceResponseBody(BaseModel):
|
|
|
104
104
|
r"""The number of chunks in the datasource"""
|
|
105
105
|
|
|
106
106
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
107
|
-
"
|
|
107
|
+
"01KGEZRCYP9WYHEQ5K1X6VTY1K"
|
|
108
108
|
)
|
|
109
109
|
r"""The unique identifier of the data source"""
|
|
110
110
|
|
|
@@ -959,9 +959,9 @@ class ResponseBodyTypescript(BaseModel):
|
|
|
959
959
|
|
|
960
960
|
key: str
|
|
961
961
|
|
|
962
|
-
created: Optional[str] = "2026-02-
|
|
962
|
+
created: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
963
963
|
|
|
964
|
-
updated: Optional[str] = "2026-02-
|
|
964
|
+
updated: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
965
965
|
|
|
966
966
|
guardrail_config: Optional[
|
|
967
967
|
UpdateEvalResponseBodyEvalsResponse200ApplicationJSON7GuardrailConfig
|
|
@@ -1155,9 +1155,9 @@ class ResponseBodyRagas(BaseModel):
|
|
|
1155
1155
|
|
|
1156
1156
|
model: str
|
|
1157
1157
|
|
|
1158
|
-
created: Optional[str] = "2026-02-
|
|
1158
|
+
created: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
1159
1159
|
|
|
1160
|
-
updated: Optional[str] = "2026-02-
|
|
1160
|
+
updated: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
1161
1161
|
|
|
1162
1162
|
guardrail_config: Optional[
|
|
1163
1163
|
UpdateEvalResponseBodyEvalsResponse200ApplicationJSON6GuardrailConfig
|
|
@@ -1852,9 +1852,9 @@ class ResponseBodyFunction(BaseModel):
|
|
|
1852
1852
|
|
|
1853
1853
|
key: str
|
|
1854
1854
|
|
|
1855
|
-
created: Optional[str] = "2026-02-
|
|
1855
|
+
created: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
1856
1856
|
|
|
1857
|
-
updated: Optional[str] = "2026-02-
|
|
1857
|
+
updated: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
1858
1858
|
|
|
1859
1859
|
guardrail_config: Optional[
|
|
1860
1860
|
UpdateEvalResponseBodyEvalsResponse200ApplicationJSONGuardrailConfig
|
|
@@ -2029,9 +2029,9 @@ class UpdateEvalResponseBodyPython(BaseModel):
|
|
|
2029
2029
|
|
|
2030
2030
|
key: str
|
|
2031
2031
|
|
|
2032
|
-
created: Optional[str] = "2026-02-
|
|
2032
|
+
created: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
2033
2033
|
|
|
2034
|
-
updated: Optional[str] = "2026-02-
|
|
2034
|
+
updated: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
2035
2035
|
|
|
2036
2036
|
guardrail_config: Optional[
|
|
2037
2037
|
UpdateEvalResponseBodyEvalsResponse200GuardrailConfig
|
|
@@ -2213,9 +2213,9 @@ class UpdateEvalResponseBodyHTTP(BaseModel):
|
|
|
2213
2213
|
|
|
2214
2214
|
key: str
|
|
2215
2215
|
|
|
2216
|
-
created: Optional[str] = "2026-02-
|
|
2216
|
+
created: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
2217
2217
|
|
|
2218
|
-
updated: Optional[str] = "2026-02-
|
|
2218
|
+
updated: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
2219
2219
|
|
|
2220
2220
|
guardrail_config: Optional[UpdateEvalResponseBodyEvalsResponseGuardrailConfig] = (
|
|
2221
2221
|
None
|
|
@@ -2368,9 +2368,9 @@ class UpdateEvalResponseBodyJSON(BaseModel):
|
|
|
2368
2368
|
|
|
2369
2369
|
key: str
|
|
2370
2370
|
|
|
2371
|
-
created: Optional[str] = "2026-02-
|
|
2371
|
+
created: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
2372
2372
|
|
|
2373
|
-
updated: Optional[str] = "2026-02-
|
|
2373
|
+
updated: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
2374
2374
|
|
|
2375
2375
|
guardrail_config: Optional[UpdateEvalResponseBodyEvalsGuardrailConfig] = None
|
|
2376
2376
|
|
|
@@ -2522,9 +2522,9 @@ class UpdateEvalResponseBodyLLM(BaseModel):
|
|
|
2522
2522
|
|
|
2523
2523
|
model: str
|
|
2524
2524
|
|
|
2525
|
-
created: Optional[str] = "2026-02-
|
|
2525
|
+
created: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
2526
2526
|
|
|
2527
|
-
updated: Optional[str] = "2026-02-
|
|
2527
|
+
updated: Optional[str] = "2026-02-02T10:53:02.028Z"
|
|
2528
2528
|
|
|
2529
2529
|
guardrail_config: Optional[UpdateEvalResponseBodyGuardrailConfig] = None
|
|
2530
2530
|
|
|
@@ -194,7 +194,7 @@ class UpdateIdentityResponseBody(BaseModel):
|
|
|
194
194
|
created: Optional[datetime] = None
|
|
195
195
|
r"""The date and time the resource was created"""
|
|
196
196
|
|
|
197
|
-
updated: Optional[datetime] = parse_datetime("2026-02-
|
|
197
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T10:53:00.225Z")
|
|
198
198
|
r"""The date and time the resource was last updated"""
|
|
199
199
|
|
|
200
200
|
@model_serializer(mode="wrap")
|
|
@@ -259,7 +259,7 @@ class RequestBodyTools(BaseModel):
|
|
|
259
259
|
|
|
260
260
|
schema_: Annotated[UpdateToolRequestBodyToolsSchema, pydantic.Field(alias="schema")]
|
|
261
261
|
|
|
262
|
-
id: Optional[str] = "
|
|
262
|
+
id: Optional[str] = "01KGEZRCSYZA0YX4CSDF3N3C1J"
|
|
263
263
|
|
|
264
264
|
description: Optional[str] = None
|
|
265
265
|
|
|
@@ -1214,7 +1214,7 @@ class UpdateToolResponseBodyCodeExecutionTool(BaseModel):
|
|
|
1214
1214
|
code_tool: UpdateToolResponseBodyCodeTool
|
|
1215
1215
|
|
|
1216
1216
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
1217
|
-
"
|
|
1217
|
+
"tool_01KGEZRCSRGMJZFYHVS0FJ1E7K"
|
|
1218
1218
|
)
|
|
1219
1219
|
|
|
1220
1220
|
display_name: Optional[str] = None
|
|
@@ -1345,7 +1345,7 @@ class UpdateToolResponseBodyTools(BaseModel):
|
|
|
1345
1345
|
UpdateToolResponseBodyToolsSchema, pydantic.Field(alias="schema")
|
|
1346
1346
|
]
|
|
1347
1347
|
|
|
1348
|
-
id: Optional[str] = "
|
|
1348
|
+
id: Optional[str] = "01KGEZRCSRGREJF1WGNS6K20BA"
|
|
1349
1349
|
|
|
1350
1350
|
description: Optional[str] = None
|
|
1351
1351
|
|
|
@@ -1476,7 +1476,7 @@ class UpdateToolResponseBodyMCPTool(BaseModel):
|
|
|
1476
1476
|
mcp: UpdateToolResponseBodyMcp
|
|
1477
1477
|
|
|
1478
1478
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
1479
|
-
"
|
|
1479
|
+
"tool_01KGEZRCSQ3PK8JGK23KAFC137"
|
|
1480
1480
|
)
|
|
1481
1481
|
|
|
1482
1482
|
display_name: Optional[str] = None
|
|
@@ -1777,7 +1777,7 @@ class UpdateToolResponseBodyHTTPTool(BaseModel):
|
|
|
1777
1777
|
http: UpdateToolResponseBodyHTTP
|
|
1778
1778
|
|
|
1779
1779
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
1780
|
-
"
|
|
1780
|
+
"tool_01KGEZRCSNCAVK7WHP5XD1N5J0"
|
|
1781
1781
|
)
|
|
1782
1782
|
|
|
1783
1783
|
display_name: Optional[str] = None
|
|
@@ -1972,7 +1972,7 @@ class UpdateToolResponseBodyJSONSchemaTool(BaseModel):
|
|
|
1972
1972
|
json_schema: UpdateToolResponseBodyJSONSchema
|
|
1973
1973
|
|
|
1974
1974
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
1975
|
-
"
|
|
1975
|
+
"tool_01KGEZRCSMYKM3DQF69JTRQSXA"
|
|
1976
1976
|
)
|
|
1977
1977
|
|
|
1978
1978
|
display_name: Optional[str] = None
|
|
@@ -2171,7 +2171,7 @@ class UpdateToolResponseBodyFunctionTool(BaseModel):
|
|
|
2171
2171
|
function: UpdateToolResponseBodyFunction
|
|
2172
2172
|
|
|
2173
2173
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
2174
|
-
"
|
|
2174
|
+
"tool_01KGEZRCSJFFN2XGYD9YTP4ZYK"
|
|
2175
2175
|
)
|
|
2176
2176
|
|
|
2177
2177
|
display_name: Optional[str] = None
|