@vertesia/common 1.6.0-dev.20260923.085325Z → 1.6.0-dev.20261008.064737Z
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.
- package/lib/access-control-values.d.ts +2 -2
- package/lib/access-control-values.d.ts.map +1 -1
- package/lib/access-control-values.js +2 -2
- package/lib/access-control-values.js.map +1 -1
- package/lib/access-control.d.ts +7 -8
- package/lib/access-control.d.ts.map +1 -1
- package/lib/access-control.js +5 -0
- package/lib/access-control.js.map +1 -1
- package/lib/analytics.d.ts +6 -7
- package/lib/analytics.d.ts.map +1 -1
- package/lib/api-contract/components.generated.json +2553 -1046
- package/lib/api-contract/engine.d.ts +65 -0
- package/lib/api-contract/engine.d.ts.map +1 -0
- package/lib/api-contract/engine.js +569 -0
- package/lib/api-contract/engine.js.map +1 -0
- package/lib/api-contract/index.d.ts +21 -182
- package/lib/api-contract/index.d.ts.map +1 -1
- package/lib/api-contract/index.js +13 -551
- package/lib/api-contract/index.js.map +1 -1
- package/lib/api-schemas/access-control.d.ts +33 -10
- package/lib/api-schemas/access-control.d.ts.map +1 -1
- package/lib/api-schemas/access-control.js +7 -6
- package/lib/api-schemas/access-control.js.map +1 -1
- package/lib/api-schemas/account.d.ts +5 -9
- package/lib/api-schemas/account.d.ts.map +1 -1
- package/lib/api-schemas/account.js +0 -7
- package/lib/api-schemas/account.js.map +1 -1
- package/lib/api-schemas/agent-budget.d.ts +15 -0
- package/lib/api-schemas/agent-budget.d.ts.map +1 -0
- package/lib/api-schemas/agent-budget.js +55 -0
- package/lib/api-schemas/agent-budget.js.map +1 -0
- package/lib/api-schemas/agent-runs.d.ts +1525 -100
- package/lib/api-schemas/agent-runs.d.ts.map +1 -1
- package/lib/api-schemas/agent-runs.js +60 -28
- package/lib/api-schemas/agent-runs.js.map +1 -1
- package/lib/api-schemas/apikey.d.ts +11 -10
- package/lib/api-schemas/apikey.d.ts.map +1 -1
- package/lib/api-schemas/apikey.js.map +1 -1
- package/lib/api-schemas/app-lifecycle.d.ts +13 -0
- package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
- package/lib/api-schemas/app-lifecycle.js +4 -0
- package/lib/api-schemas/app-lifecycle.js.map +1 -1
- package/lib/api-schemas/app-runtime.d.ts +1821 -108
- package/lib/api-schemas/app-runtime.d.ts.map +1 -1
- package/lib/api-schemas/audit-trail.d.ts +275 -0
- package/lib/api-schemas/audit-trail.d.ts.map +1 -1
- package/lib/api-schemas/audit-trail.js +156 -1
- package/lib/api-schemas/audit-trail.js.map +1 -1
- package/lib/api-schemas/content.d.ts +665 -30
- package/lib/api-schemas/content.d.ts.map +1 -1
- package/lib/api-schemas/content.js +47 -0
- package/lib/api-schemas/content.js.map +1 -1
- package/lib/api-schemas/cost-analytics.d.ts +19 -0
- package/lib/api-schemas/cost-analytics.d.ts.map +1 -1
- package/lib/api-schemas/cost-analytics.js +38 -2
- package/lib/api-schemas/cost-analytics.js.map +1 -1
- package/lib/api-schemas/document-processing.d.ts +381 -18
- package/lib/api-schemas/document-processing.d.ts.map +1 -1
- package/lib/api-schemas/environment.d.ts +0 -5
- package/lib/api-schemas/environment.d.ts.map +1 -1
- package/lib/api-schemas/environment.js +0 -1
- package/lib/api-schemas/environment.js.map +1 -1
- package/lib/api-schemas/events.d.ts +1143 -54
- package/lib/api-schemas/events.d.ts.map +1 -1
- package/lib/api-schemas/group.d.ts +2 -1
- package/lib/api-schemas/group.d.ts.map +1 -1
- package/lib/api-schemas/group.js.map +1 -1
- package/lib/api-schemas/index.d.ts +2 -0
- package/lib/api-schemas/index.d.ts.map +1 -1
- package/lib/api-schemas/index.js +2 -0
- package/lib/api-schemas/index.js.map +1 -1
- package/lib/api-schemas/inference-profile.d.ts +5017 -0
- package/lib/api-schemas/inference-profile.d.ts.map +1 -0
- package/lib/api-schemas/inference-profile.js +135 -0
- package/lib/api-schemas/inference-profile.js.map +1 -0
- package/lib/api-schemas/integrations.d.ts +6 -6
- package/lib/api-schemas/interaction.d.ts +34391 -703
- package/lib/api-schemas/interaction.d.ts.map +1 -1
- package/lib/api-schemas/interaction.js +34 -1
- package/lib/api-schemas/interaction.js.map +1 -1
- package/lib/api-schemas/invites.d.ts +10 -9
- package/lib/api-schemas/invites.d.ts.map +1 -1
- package/lib/api-schemas/invites.js.map +1 -1
- package/lib/api-schemas/process.d.ts +653 -34
- package/lib/api-schemas/process.d.ts.map +1 -1
- package/lib/api-schemas/process.js +66 -0
- package/lib/api-schemas/process.js.map +1 -1
- package/lib/api-schemas/project-configuration.d.ts +1323 -62
- package/lib/api-schemas/project-configuration.d.ts.map +1 -1
- package/lib/api-schemas/project-configuration.js +15 -1
- package/lib/api-schemas/project-configuration.js.map +1 -1
- package/lib/api-schemas/project.d.ts +2031 -116
- package/lib/api-schemas/project.d.ts.map +1 -1
- package/lib/api-schemas/project.js +9 -1
- package/lib/api-schemas/project.js.map +1 -1
- package/lib/api-schemas/quota.d.ts +7 -6
- package/lib/api-schemas/quota.d.ts.map +1 -1
- package/lib/api-schemas/quota.js.map +1 -1
- package/lib/api-schemas/registry.d.ts +28171 -36096
- package/lib/api-schemas/registry.d.ts.map +1 -1
- package/lib/api-schemas/registry.js +77 -30
- package/lib/api-schemas/registry.js.map +1 -1
- package/lib/api-schemas/run-budget.d.ts +16 -0
- package/lib/api-schemas/run-budget.d.ts.map +1 -0
- package/lib/api-schemas/run-budget.js +22 -0
- package/lib/api-schemas/run-budget.js.map +1 -0
- package/lib/api-schemas/secrets.d.ts +0 -71
- package/lib/api-schemas/secrets.d.ts.map +1 -1
- package/lib/api-schemas/secrets.js +0 -73
- package/lib/api-schemas/secrets.js.map +1 -1
- package/lib/api-schemas/store.d.ts +6388 -338
- package/lib/api-schemas/store.d.ts.map +1 -1
- package/lib/api-schemas/store.js +11 -0
- package/lib/api-schemas/store.js.map +1 -1
- package/lib/api-schemas/user.d.ts +9 -8
- package/lib/api-schemas/user.d.ts.map +1 -1
- package/lib/api-schemas/user.js.map +1 -1
- package/lib/api-schemas/view-execution.d.ts +8 -0
- package/lib/api-schemas/view-execution.d.ts.map +1 -1
- package/lib/api-schemas/views.d.ts +14 -0
- package/lib/api-schemas/views.d.ts.map +1 -1
- package/lib/api-schemas/workflow-runs.d.ts +335 -12
- package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
- package/lib/api-schemas/workflow-runs.js +2 -0
- package/lib/api-schemas/workflow-runs.js.map +1 -1
- package/lib/apikey.d.ts +30 -25
- package/lib/apikey.d.ts.map +1 -1
- package/lib/apikey.js.map +1 -1
- package/lib/apps.d.ts +116 -121
- package/lib/apps.d.ts.map +1 -1
- package/lib/apps.js.map +1 -1
- package/lib/audit-trail.d.ts +30 -19
- package/lib/audit-trail.d.ts.map +1 -1
- package/lib/audit-trail.js +6 -0
- package/lib/audit-trail.js.map +1 -1
- package/lib/browser-credentials.d.ts +11 -12
- package/lib/browser-credentials.d.ts.map +1 -1
- package/lib/common.d.ts +17 -24
- package/lib/common.d.ts.map +1 -1
- package/lib/content-query.d.ts +3 -4
- package/lib/content-query.d.ts.map +1 -1
- package/lib/cost-analytics.d.ts +13 -21
- package/lib/cost-analytics.d.ts.map +1 -1
- package/lib/cost-analytics.js +0 -7
- package/lib/cost-analytics.js.map +1 -1
- package/lib/data-platform.d.ts +79 -88
- package/lib/data-platform.d.ts.map +1 -1
- package/lib/data-platform.js.map +1 -1
- package/lib/delegation.d.ts +4 -5
- package/lib/delegation.d.ts.map +1 -1
- package/lib/email.d.ts +15 -17
- package/lib/email.d.ts.map +1 -1
- package/lib/email.js.map +1 -1
- package/lib/embeddings.d.ts +25 -26
- package/lib/embeddings.d.ts.map +1 -1
- package/lib/environment.d.ts +16 -17
- package/lib/environment.d.ts.map +1 -1
- package/lib/environment.js.map +1 -1
- package/lib/facets.d.ts +3 -4
- package/lib/facets.d.ts.map +1 -1
- package/lib/group.d.ts +6 -7
- package/lib/group.d.ts.map +1 -1
- package/lib/group.js.map +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/inference-profile.d.ts +17 -0
- package/lib/inference-profile.d.ts.map +1 -0
- package/lib/inference-profile.js +2 -0
- package/lib/inference-profile.js.map +1 -0
- package/lib/integrations.d.ts +19 -20
- package/lib/integrations.d.ts.map +1 -1
- package/lib/integrations.js.map +1 -1
- package/lib/interaction.d.ts +68 -73
- package/lib/interaction.d.ts.map +1 -1
- package/lib/interaction.js.map +1 -1
- package/lib/meters.d.ts +4 -5
- package/lib/meters.d.ts.map +1 -1
- package/lib/oauth-server.d.ts +40 -41
- package/lib/oauth-server.d.ts.map +1 -1
- package/lib/oauth.d.ts +9 -10
- package/lib/oauth.d.ts.map +1 -1
- package/lib/payload.d.ts +11 -14
- package/lib/payload.d.ts.map +1 -1
- package/lib/pending-asks.d.ts +8 -13
- package/lib/pending-asks.d.ts.map +1 -1
- package/lib/pending-asks.js +0 -4
- package/lib/pending-asks.js.map +1 -1
- package/lib/platform-event.d.ts +48 -71
- package/lib/platform-event.d.ts.map +1 -1
- package/lib/platform-event.js.map +1 -1
- package/lib/principal-context.d.ts +3 -3
- package/lib/principal-context.d.ts.map +1 -1
- package/lib/project.d.ts +42 -43
- package/lib/project.d.ts.map +1 -1
- package/lib/project.js.map +1 -1
- package/lib/prompt.d.ts +14 -16
- package/lib/prompt.d.ts.map +1 -1
- package/lib/prompt.js.map +1 -1
- package/lib/query.d.ts +10 -13
- package/lib/query.d.ts.map +1 -1
- package/lib/rate-limiter.d.ts +7 -11
- package/lib/rate-limiter.d.ts.map +1 -1
- package/lib/refs.d.ts +2 -3
- package/lib/refs.d.ts.map +1 -1
- package/lib/refs.js.map +1 -1
- package/lib/roles/types.d.ts +5 -6
- package/lib/roles/types.d.ts.map +1 -1
- package/lib/roles/types.js.map +1 -1
- package/lib/run-budget.d.ts +4 -0
- package/lib/run-budget.d.ts.map +1 -0
- package/lib/run-budget.js +2 -0
- package/lib/run-budget.js.map +1 -0
- package/lib/runs.d.ts +9 -10
- package/lib/runs.d.ts.map +1 -1
- package/lib/secrets.d.ts +10 -21
- package/lib/secrets.d.ts.map +1 -1
- package/lib/store/agent-approval.d.ts +4 -5
- package/lib/store/agent-approval.d.ts.map +1 -1
- package/lib/store/agent-approval.js.map +1 -1
- package/lib/store/agent-run.d.ts +50 -52
- package/lib/store/agent-run.d.ts.map +1 -1
- package/lib/store/agent-run.js.map +1 -1
- package/lib/store/collections.d.ts +11 -12
- package/lib/store/collections.d.ts.map +1 -1
- package/lib/store/collections.js.map +1 -1
- package/lib/store/conversation-state.d.ts +14 -8
- package/lib/store/conversation-state.d.ts.map +1 -1
- package/lib/store/doc-analyzer.d.ts +7 -8
- package/lib/store/doc-analyzer.d.ts.map +1 -1
- package/lib/store/dsl-workflow.d.ts +10 -12
- package/lib/store/dsl-workflow.d.ts.map +1 -1
- package/lib/store/dsl-workflow.js.map +1 -1
- package/lib/store/duration.d.ts +12 -0
- package/lib/store/duration.d.ts.map +1 -0
- package/lib/store/duration.js +2 -0
- package/lib/store/duration.js.map +1 -0
- package/lib/store/grounded-extraction.d.ts +6 -7
- package/lib/store/grounded-extraction.d.ts.map +1 -1
- package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
- package/lib/store/intake-policy-schema.generated.js +143 -2
- package/lib/store/intake-policy-schema.generated.js.map +1 -1
- package/lib/store/process.d.ts +70 -69
- package/lib/store/process.d.ts.map +1 -1
- package/lib/store/process.js.map +1 -1
- package/lib/store/rendering.d.ts +6 -12
- package/lib/store/rendering.d.ts.map +1 -1
- package/lib/store/rendering.js +0 -5
- package/lib/store/rendering.js.map +1 -1
- package/lib/store/signals.d.ts +43 -0
- package/lib/store/signals.d.ts.map +1 -1
- package/lib/store/signals.js +6 -1
- package/lib/store/signals.js.map +1 -1
- package/lib/store/store.d.ts +92 -91
- package/lib/store/store.d.ts.map +1 -1
- package/lib/store/store.js.map +1 -1
- package/lib/store/task.d.ts +10 -14
- package/lib/store/task.d.ts.map +1 -1
- package/lib/store/workflow.d.ts +35 -41
- package/lib/store/workflow.d.ts.map +1 -1
- package/lib/store/workflow.js.map +1 -1
- package/lib/sts-token-types.d.ts +14 -19
- package/lib/sts-token-types.d.ts.map +1 -1
- package/lib/tools.d.ts +12 -13
- package/lib/tools.d.ts.map +1 -1
- package/lib/transient-tokens.d.ts +3 -3
- package/lib/transient-tokens.d.ts.map +1 -1
- package/lib/user.d.ts +16 -20
- package/lib/user.d.ts.map +1 -1
- package/lib/user.js.map +1 -1
- package/lib/vertesia-common.js +2 -2
- package/lib/vertesia-common.js.map +1 -1
- package/lib/views.d.ts +61 -64
- package/lib/views.d.ts.map +1 -1
- package/lib/views.js.map +1 -1
- package/lib/wire-types.generated.d.ts +11227 -0
- package/lib/wire-types.generated.d.ts.map +1 -0
- package/lib/wire-types.generated.js +4 -0
- package/lib/wire-types.generated.js.map +1 -0
- package/lib/workflow-analytics.d.ts +21 -19
- package/lib/workflow-analytics.d.ts.map +1 -1
- package/lib/workflow-analytics.js +2 -2
- package/lib/workflow-analytics.js.map +1 -1
- package/package.json +16 -11
- package/src/access-control-values.ts +2 -2
- package/src/access-control.ts +7 -15
- package/src/analytics.ts +6 -13
- package/src/api-contract/components.generated.json +2553 -1046
- package/src/api-contract/engine.ts +641 -0
- package/src/api-contract/index.ts +30 -661
- package/src/api-schemas/access-control.ts +18 -16
- package/src/api-schemas/account.ts +5 -12
- package/src/api-schemas/agent-budget.ts +60 -0
- package/src/api-schemas/agent-runs.ts +63 -27
- package/src/api-schemas/apikey.ts +11 -10
- package/src/api-schemas/app-lifecycle.ts +5 -0
- package/src/api-schemas/audit-trail.ts +175 -1
- package/src/api-schemas/content.ts +55 -0
- package/src/api-schemas/cost-analytics.ts +42 -2
- package/src/api-schemas/environment.ts +0 -1
- package/src/api-schemas/group.ts +2 -1
- package/src/api-schemas/index.ts +2 -0
- package/src/api-schemas/inference-profile.ts +151 -0
- package/src/api-schemas/interaction.ts +40 -1
- package/src/api-schemas/invites.ts +10 -9
- package/src/api-schemas/process.ts +78 -2
- package/src/api-schemas/project-configuration.ts +19 -1
- package/src/api-schemas/project.ts +19 -10
- package/src/api-schemas/quota.ts +7 -6
- package/src/api-schemas/registry.ts +164 -62
- package/src/api-schemas/run-budget.ts +23 -0
- package/src/api-schemas/secrets.ts +0 -84
- package/src/api-schemas/store.ts +12 -0
- package/src/api-schemas/user.ts +9 -8
- package/src/api-schemas/workflow-runs.ts +2 -0
- package/src/apikey.ts +30 -39
- package/src/apps.ts +116 -239
- package/src/audit-trail.ts +37 -35
- package/src/browser-credentials.ts +11 -23
- package/src/common.ts +17 -37
- package/src/content-query.ts +3 -4
- package/src/cost-analytics.ts +13 -35
- package/src/data-platform.ts +79 -168
- package/src/delegation.ts +4 -9
- package/src/email.ts +15 -29
- package/src/embeddings.ts +25 -51
- package/src/environment.ts +16 -33
- package/src/facets.ts +3 -4
- package/src/group.ts +6 -13
- package/src/index.ts +23 -0
- package/src/inference-profile.ts +20 -0
- package/src/integrations.ts +21 -41
- package/src/interaction.ts +68 -137
- package/src/meters.ts +4 -9
- package/src/oauth-server.ts +40 -81
- package/src/oauth.ts +9 -19
- package/src/payload.ts +11 -25
- package/src/pending-asks.ts +8 -22
- package/src/platform-event.ts +48 -122
- package/src/principal-context.ts +3 -3
- package/src/project.ts +43 -86
- package/src/prompt.ts +14 -31
- package/src/query.ts +10 -20
- package/src/rate-limiter.ts +7 -19
- package/src/refs.ts +2 -3
- package/src/roles/types.ts +5 -11
- package/src/run-budget.ts +4 -0
- package/src/runs.ts +9 -19
- package/src/secrets.ts +10 -42
- package/src/store/agent-approval.ts +4 -9
- package/src/store/agent-run.ts +53 -99
- package/src/store/collections.ts +11 -23
- package/src/store/conversation-state.ts +15 -15
- package/src/store/doc-analyzer.ts +7 -15
- package/src/store/dsl-workflow.ts +10 -23
- package/src/store/duration.ts +45 -0
- package/src/store/grounded-extraction.ts +6 -13
- package/src/store/intake-policy-schema.generated.ts +148 -2
- package/src/store/process.ts +70 -140
- package/src/store/rendering.ts +6 -19
- package/src/store/signals.ts +48 -0
- package/src/store/store.ts +92 -181
- package/src/store/task.ts +10 -24
- package/src/store/workflow.ts +35 -71
- package/src/sts-token-types.ts +14 -33
- package/src/tools.ts +12 -25
- package/src/transient-tokens.ts +3 -3
- package/src/user.ts +16 -40
- package/src/views.ts +61 -125
- package/src/wire-types.generated.ts +11888 -0
- package/src/workflow-analytics.ts +21 -19
- package/src/agent-resources.test.ts +0 -89
- package/src/api-contract/components.contract.test.ts +0 -99
- package/src/api-schemas/access-control.contract.test.ts +0 -209
- package/src/api-schemas/account-apikey.test.ts +0 -60
- package/src/api-schemas/account.contract.test.ts +0 -319
- package/src/api-schemas/adapter-edge-cases.test.ts +0 -499
- package/src/api-schemas/agent-communication.contract.test.ts +0 -90
- package/src/api-schemas/agent-history.contract.test.ts +0 -42
- package/src/api-schemas/agent-runs.contract.test.ts +0 -240
- package/src/api-schemas/api-discriminators.test.ts +0 -185
- package/src/api-schemas/apikey.contract.test.ts +0 -270
- package/src/api-schemas/app-delete-summary.contract.test.ts +0 -67
- package/src/api-schemas/bulk-operation.contract.test.ts +0 -39
- package/src/api-schemas/bundle-isolation.test.ts +0 -44
- package/src/api-schemas/commands.contract.test.ts +0 -51
- package/src/api-schemas/cost-analytics.contract.test.ts +0 -64
- package/src/api-schemas/dashboard.contract.test.ts +0 -138
- package/src/api-schemas/data-store.contract.test.ts +0 -97
- package/src/api-schemas/document-processing.contract.test.ts +0 -76
- package/src/api-schemas/emit-json-schema.test.ts +0 -36
- package/src/api-schemas/environment.contract.test.ts +0 -202
- package/src/api-schemas/group.contract.test.ts +0 -205
- package/src/api-schemas/indexing.contract.test.ts +0 -122
- package/src/api-schemas/interaction.contract.test.ts +0 -307
- package/src/api-schemas/invites.contract.test.ts +0 -268
- package/src/api-schemas/llumiverse.contract.test.ts +0 -179
- package/src/api-schemas/mcp-api-key.contract.test.ts +0 -125
- package/src/api-schemas/oauth.contract.test.ts +0 -181
- package/src/api-schemas/parameters.test.ts +0 -402
- package/src/api-schemas/process.contract.test.ts +0 -115
- package/src/api-schemas/project.contract.test.ts +0 -472
- package/src/api-schemas/pruning-limits.test.ts +0 -189
- package/src/api-schemas/quota.contract.test.ts +0 -147
- package/src/api-schemas/registry-groups.test.ts +0 -99
- package/src/api-schemas/response-pruning.test.ts +0 -260
- package/src/api-schemas/store.contract.test.ts +0 -378
- package/src/api-schemas/sts.contract.test.ts +0 -112
- package/src/api-schemas/user.contract.test.ts +0 -197
- package/src/api-schemas/views.contract.test.ts +0 -112
- package/src/api-schemas/zeno-response-contracts.test.ts +0 -380
- package/src/apps.test.ts +0 -89
- package/src/oauth-scopes.test.ts +0 -15
- package/src/roles.test.ts +0 -33
- package/src/schema-for-extraction.test.ts +0 -191
- package/src/store/agent-approval.test.ts +0 -18
- package/src/store/content-type-editing.test.ts +0 -17
- package/src/store/ms.d.ts +0 -42
- package/src/store/schedule.test.ts +0 -59
- package/src/store/workflow.test.ts +0 -640
- package/src/versions.test.ts +0 -13
|
@@ -1,4 +1,49 @@
|
|
|
1
1
|
{
|
|
2
|
+
"RunBudgetCapability": {
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"supported": {
|
|
6
|
+
"type": "boolean"
|
|
7
|
+
},
|
|
8
|
+
"source": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"enum": [
|
|
11
|
+
"provider",
|
|
12
|
+
"estimate",
|
|
13
|
+
"unavailable"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"reason": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"supported",
|
|
22
|
+
"source"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"RunBudgetCapabilityQuery": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"check_model": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"description": "False checks only whether estimates are enabled, without consulting model prices."
|
|
32
|
+
},
|
|
33
|
+
"model": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1
|
|
36
|
+
},
|
|
37
|
+
"service_tier": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": [
|
|
42
|
+
"model"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"description": "Selected model and requested serving tier for run budget admission."
|
|
46
|
+
},
|
|
2
47
|
"CreateDelegationGrantPayload": {
|
|
3
48
|
"type": "object",
|
|
4
49
|
"properties": {
|
|
@@ -126,20 +171,6 @@
|
|
|
126
171
|
"$ref": "#/components/schemas/DelegationGrant"
|
|
127
172
|
}
|
|
128
173
|
},
|
|
129
|
-
"AccountApiVersionPolicy": {
|
|
130
|
-
"type": "object",
|
|
131
|
-
"properties": {
|
|
132
|
-
"default_api_version": {
|
|
133
|
-
"type": "number",
|
|
134
|
-
"enum": [
|
|
135
|
-
20250925,
|
|
136
|
-
20260210,
|
|
137
|
-
20260319,
|
|
138
|
-
20260803
|
|
139
|
-
]
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
174
|
"AccountType": {
|
|
144
175
|
"type": "string",
|
|
145
176
|
"enum": [
|
|
@@ -1050,6 +1081,8 @@
|
|
|
1050
1081
|
"enum": [
|
|
1051
1082
|
"document",
|
|
1052
1083
|
"collection",
|
|
1084
|
+
"agent_run",
|
|
1085
|
+
"shared_content",
|
|
1053
1086
|
"task"
|
|
1054
1087
|
]
|
|
1055
1088
|
},
|
|
@@ -1066,7 +1099,7 @@
|
|
|
1066
1099
|
},
|
|
1067
1100
|
"scope": {
|
|
1068
1101
|
"$ref": "#/components/schemas/AbacScope",
|
|
1069
|
-
"description": "Kind of object the `resource_props` matches. Used to disambiguate which partition's roles apply (e.g. content roles vs
|
|
1102
|
+
"description": "Kind of object the `resource_props` matches. Used to disambiguate which partition's roles apply (e.g. content roles vs agent-run roles) and to form the JWT `content_security` key prefix (`{scope}:{verb}`). Absent → `'document'` (default; emits bare `read`/`write`/`delete` keys for backward compatibility)."
|
|
1070
1103
|
}
|
|
1071
1104
|
},
|
|
1072
1105
|
"additionalProperties": false,
|
|
@@ -1077,7 +1110,7 @@
|
|
|
1077
1110
|
"properties": {
|
|
1078
1111
|
"role": {
|
|
1079
1112
|
"type": "string",
|
|
1080
|
-
"description": "Role name. Typed as `string` because role names now span multiple partitions: `SystemRoles` enum values for system-domain roles, and bare strings for ABAC-domain roles (e.g. `'content:reader'`, `'content:writer'`, `'content:manager'`). Mongoose schema validates the value against the registered role catalog via `getAllRoleNames()`."
|
|
1113
|
+
"description": "Role name. Typed as `string` because role names now span multiple partitions: `SystemRoles` enum values for system-domain roles, and bare strings for ABAC-domain roles (e.g. `'content:reader'`, `'content:writer'`, `'content:manager'`, `'agent_runs:reader'`). Mongoose schema validates the value against the registered role catalog via `getAllRoleNames()`."
|
|
1081
1114
|
},
|
|
1082
1115
|
"resource_type": {
|
|
1083
1116
|
"$ref": "#/components/schemas/AccessControlResourceType"
|
|
@@ -1143,7 +1176,7 @@
|
|
|
1143
1176
|
"properties": {
|
|
1144
1177
|
"role": {
|
|
1145
1178
|
"type": "string",
|
|
1146
|
-
"description": "Role name. Typed as `string` because role names now span multiple partitions: `SystemRoles` enum values for system-domain roles, and bare strings for ABAC-domain roles (e.g. `'content:reader'`, `'content:writer'`, `'content:manager'`). Mongoose schema validates the value against the registered role catalog via `getAllRoleNames()`."
|
|
1179
|
+
"description": "Role name. Typed as `string` because role names now span multiple partitions: `SystemRoles` enum values for system-domain roles, and bare strings for ABAC-domain roles (e.g. `'content:reader'`, `'content:writer'`, `'content:manager'`, `'agent_runs:reader'`). Mongoose schema validates the value against the registered role catalog via `getAllRoleNames()`."
|
|
1147
1180
|
},
|
|
1148
1181
|
"resource_type": {
|
|
1149
1182
|
"$ref": "#/components/schemas/AccessControlResourceType"
|
|
@@ -1193,7 +1226,7 @@
|
|
|
1193
1226
|
"properties": {
|
|
1194
1227
|
"role": {
|
|
1195
1228
|
"type": "string",
|
|
1196
|
-
"description": "Role name. Typed as `string` because role names now span multiple partitions: `SystemRoles` enum values for system-domain roles, and bare strings for ABAC-domain roles (e.g. `'content:reader'`, `'content:writer'`, `'content:manager'`). Mongoose schema validates the value against the registered role catalog via `getAllRoleNames()`."
|
|
1229
|
+
"description": "Role name. Typed as `string` because role names now span multiple partitions: `SystemRoles` enum values for system-domain roles, and bare strings for ABAC-domain roles (e.g. `'content:reader'`, `'content:writer'`, `'content:manager'`, `'agent_runs:reader'`). Mongoose schema validates the value against the registered role catalog via `getAllRoleNames()`."
|
|
1197
1230
|
},
|
|
1198
1231
|
"resource_type": {
|
|
1199
1232
|
"$ref": "#/components/schemas/AccessControlResourceType"
|
|
@@ -1290,9 +1323,11 @@
|
|
|
1290
1323
|
"enum": [
|
|
1291
1324
|
"system",
|
|
1292
1325
|
"content",
|
|
1326
|
+
"agent_runs",
|
|
1327
|
+
"shared_content",
|
|
1293
1328
|
"tasks"
|
|
1294
1329
|
],
|
|
1295
|
-
"description": "Logical grouping of roles by the service area that owns them. One domain may declare roles applicable to multiple scopes (e.g. the `content` domain owns roles applicable to both `document` and `collection` scopes). The `system` domain owns the built-in foundational roles (currently exposed as `SystemRoles`) — registered first so domain partitions cannot shadow them."
|
|
1330
|
+
"description": "Logical grouping of roles by the service area that owns them. One domain may declare roles applicable to multiple scopes (e.g. the `content` domain owns roles applicable to both `document` and `collection` scopes, while `agent_runs` owns the `agent_run` scope). The `system` domain owns the built-in foundational roles (currently exposed as `SystemRoles`) — registered first so domain partitions cannot shadow them."
|
|
1296
1331
|
},
|
|
1297
1332
|
"RoleDefinitionArray": {
|
|
1298
1333
|
"type": "array",
|
|
@@ -2970,6 +3005,14 @@
|
|
|
2970
3005
|
"max"
|
|
2971
3006
|
]
|
|
2972
3007
|
},
|
|
3008
|
+
"thinking_mode": {
|
|
3009
|
+
"type": "string",
|
|
3010
|
+
"enum": [
|
|
3011
|
+
"adaptive",
|
|
3012
|
+
"between_tools"
|
|
3013
|
+
],
|
|
3014
|
+
"description": "Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved."
|
|
3015
|
+
},
|
|
2973
3016
|
"thinking_budget_tokens": {
|
|
2974
3017
|
"type": "number"
|
|
2975
3018
|
},
|
|
@@ -3486,6 +3529,14 @@
|
|
|
3486
3529
|
"top_k": {
|
|
3487
3530
|
"type": "number"
|
|
3488
3531
|
},
|
|
3532
|
+
"thinking_mode": {
|
|
3533
|
+
"type": "string",
|
|
3534
|
+
"enum": [
|
|
3535
|
+
"adaptive",
|
|
3536
|
+
"between_tools"
|
|
3537
|
+
],
|
|
3538
|
+
"description": "Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved."
|
|
3539
|
+
},
|
|
3489
3540
|
"thinking_budget_tokens": {
|
|
3490
3541
|
"type": "number"
|
|
3491
3542
|
},
|
|
@@ -3766,6 +3817,14 @@
|
|
|
3766
3817
|
"max"
|
|
3767
3818
|
]
|
|
3768
3819
|
},
|
|
3820
|
+
"thinking_mode": {
|
|
3821
|
+
"type": "string",
|
|
3822
|
+
"enum": [
|
|
3823
|
+
"adaptive",
|
|
3824
|
+
"between_tools"
|
|
3825
|
+
],
|
|
3826
|
+
"description": "Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved."
|
|
3827
|
+
},
|
|
3769
3828
|
"thinking_budget_tokens": {
|
|
3770
3829
|
"type": "number"
|
|
3771
3830
|
},
|
|
@@ -3792,6 +3851,9 @@
|
|
|
3792
3851
|
"type": "string",
|
|
3793
3852
|
"const": "openai-thinking"
|
|
3794
3853
|
},
|
|
3854
|
+
"image_generation": {
|
|
3855
|
+
"$ref": "#/components/schemas/OpenAiImageGenerationOptions"
|
|
3856
|
+
},
|
|
3795
3857
|
"max_tokens": {
|
|
3796
3858
|
"type": "number"
|
|
3797
3859
|
},
|
|
@@ -3816,6 +3878,14 @@
|
|
|
3816
3878
|
"reasoning_effort": {
|
|
3817
3879
|
"$ref": "#/components/schemas/ReasoningEffort"
|
|
3818
3880
|
},
|
|
3881
|
+
"reasoning_context": {
|
|
3882
|
+
"type": "string",
|
|
3883
|
+
"enum": [
|
|
3884
|
+
"auto",
|
|
3885
|
+
"current_turn",
|
|
3886
|
+
"all_turns"
|
|
3887
|
+
]
|
|
3888
|
+
},
|
|
3819
3889
|
"image_detail": {
|
|
3820
3890
|
"type": "string",
|
|
3821
3891
|
"enum": [
|
|
@@ -3840,6 +3910,96 @@
|
|
|
3840
3910
|
},
|
|
3841
3911
|
"additionalProperties": false
|
|
3842
3912
|
},
|
|
3913
|
+
"OpenAiImageGenerationOptions": {
|
|
3914
|
+
"type": "object",
|
|
3915
|
+
"properties": {
|
|
3916
|
+
"model": {
|
|
3917
|
+
"type": "string"
|
|
3918
|
+
},
|
|
3919
|
+
"force": {
|
|
3920
|
+
"type": "boolean"
|
|
3921
|
+
},
|
|
3922
|
+
"action": {
|
|
3923
|
+
"type": "string",
|
|
3924
|
+
"enum": [
|
|
3925
|
+
"auto",
|
|
3926
|
+
"generate",
|
|
3927
|
+
"edit"
|
|
3928
|
+
]
|
|
3929
|
+
},
|
|
3930
|
+
"size": {
|
|
3931
|
+
"type": "string"
|
|
3932
|
+
},
|
|
3933
|
+
"quality": {
|
|
3934
|
+
"type": "string",
|
|
3935
|
+
"enum": [
|
|
3936
|
+
"auto",
|
|
3937
|
+
"low",
|
|
3938
|
+
"medium",
|
|
3939
|
+
"high",
|
|
3940
|
+
"xhigh",
|
|
3941
|
+
"max"
|
|
3942
|
+
]
|
|
3943
|
+
},
|
|
3944
|
+
"background": {
|
|
3945
|
+
"type": "string",
|
|
3946
|
+
"enum": [
|
|
3947
|
+
"auto",
|
|
3948
|
+
"opaque",
|
|
3949
|
+
"transparent"
|
|
3950
|
+
]
|
|
3951
|
+
},
|
|
3952
|
+
"output_format": {
|
|
3953
|
+
"type": "string",
|
|
3954
|
+
"enum": [
|
|
3955
|
+
"png",
|
|
3956
|
+
"jpeg",
|
|
3957
|
+
"webp"
|
|
3958
|
+
]
|
|
3959
|
+
},
|
|
3960
|
+
"output_compression": {
|
|
3961
|
+
"type": "integer",
|
|
3962
|
+
"minimum": 0,
|
|
3963
|
+
"maximum": 100
|
|
3964
|
+
},
|
|
3965
|
+
"moderation": {
|
|
3966
|
+
"type": "string",
|
|
3967
|
+
"enum": [
|
|
3968
|
+
"auto",
|
|
3969
|
+
"low"
|
|
3970
|
+
]
|
|
3971
|
+
},
|
|
3972
|
+
"input_fidelity": {
|
|
3973
|
+
"type": "string",
|
|
3974
|
+
"enum": [
|
|
3975
|
+
"low",
|
|
3976
|
+
"high"
|
|
3977
|
+
]
|
|
3978
|
+
},
|
|
3979
|
+
"partial_images": {
|
|
3980
|
+
"type": "number"
|
|
3981
|
+
},
|
|
3982
|
+
"input_image_mask": {
|
|
3983
|
+
"$ref": "#/components/schemas/OpenAiImageGenerationMask"
|
|
3984
|
+
}
|
|
3985
|
+
},
|
|
3986
|
+
"required": [
|
|
3987
|
+
"model"
|
|
3988
|
+
],
|
|
3989
|
+
"additionalProperties": false
|
|
3990
|
+
},
|
|
3991
|
+
"OpenAiImageGenerationMask": {
|
|
3992
|
+
"type": "object",
|
|
3993
|
+
"properties": {
|
|
3994
|
+
"file_id": {
|
|
3995
|
+
"type": "string"
|
|
3996
|
+
},
|
|
3997
|
+
"image_url": {
|
|
3998
|
+
"type": "string"
|
|
3999
|
+
}
|
|
4000
|
+
},
|
|
4001
|
+
"additionalProperties": false
|
|
4002
|
+
},
|
|
3843
4003
|
"ReasoningEffort": {
|
|
3844
4004
|
"type": "string",
|
|
3845
4005
|
"enum": [
|
|
@@ -3859,6 +4019,9 @@
|
|
|
3859
4019
|
"type": "string",
|
|
3860
4020
|
"const": "openai-text"
|
|
3861
4021
|
},
|
|
4022
|
+
"image_generation": {
|
|
4023
|
+
"$ref": "#/components/schemas/OpenAiImageGenerationOptions"
|
|
4024
|
+
},
|
|
3862
4025
|
"max_tokens": {
|
|
3863
4026
|
"type": "number"
|
|
3864
4027
|
},
|
|
@@ -4096,13 +4259,13 @@
|
|
|
4096
4259
|
"const": "openai-gpt-image"
|
|
4097
4260
|
},
|
|
4098
4261
|
"size": {
|
|
4099
|
-
"type": "string"
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4262
|
+
"type": "string"
|
|
4263
|
+
},
|
|
4264
|
+
"width": {
|
|
4265
|
+
"type": "number"
|
|
4266
|
+
},
|
|
4267
|
+
"height": {
|
|
4268
|
+
"type": "number"
|
|
4106
4269
|
},
|
|
4107
4270
|
"image_quality": {
|
|
4108
4271
|
"type": "string",
|
|
@@ -4110,6 +4273,8 @@
|
|
|
4110
4273
|
"low",
|
|
4111
4274
|
"medium",
|
|
4112
4275
|
"high",
|
|
4276
|
+
"xhigh",
|
|
4277
|
+
"max",
|
|
4113
4278
|
"auto"
|
|
4114
4279
|
]
|
|
4115
4280
|
},
|
|
@@ -4128,6 +4293,31 @@
|
|
|
4128
4293
|
"webp",
|
|
4129
4294
|
"jpeg"
|
|
4130
4295
|
]
|
|
4296
|
+
},
|
|
4297
|
+
"n": {
|
|
4298
|
+
"type": "number"
|
|
4299
|
+
},
|
|
4300
|
+
"output_compression": {
|
|
4301
|
+
"type": "integer",
|
|
4302
|
+
"minimum": 0,
|
|
4303
|
+
"maximum": 100
|
|
4304
|
+
},
|
|
4305
|
+
"moderation": {
|
|
4306
|
+
"type": "string",
|
|
4307
|
+
"enum": [
|
|
4308
|
+
"auto",
|
|
4309
|
+
"low"
|
|
4310
|
+
]
|
|
4311
|
+
},
|
|
4312
|
+
"input_fidelity": {
|
|
4313
|
+
"type": "string",
|
|
4314
|
+
"enum": [
|
|
4315
|
+
"low",
|
|
4316
|
+
"high"
|
|
4317
|
+
]
|
|
4318
|
+
},
|
|
4319
|
+
"partial_images": {
|
|
4320
|
+
"type": "number"
|
|
4131
4321
|
}
|
|
4132
4322
|
},
|
|
4133
4323
|
"additionalProperties": false
|
|
@@ -4399,6 +4589,14 @@
|
|
|
4399
4589
|
"max"
|
|
4400
4590
|
]
|
|
4401
4591
|
},
|
|
4592
|
+
"thinking_mode": {
|
|
4593
|
+
"type": "string",
|
|
4594
|
+
"enum": [
|
|
4595
|
+
"adaptive",
|
|
4596
|
+
"between_tools"
|
|
4597
|
+
],
|
|
4598
|
+
"description": "Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved."
|
|
4599
|
+
},
|
|
4402
4600
|
"thinking_budget_tokens": {
|
|
4403
4601
|
"type": "number"
|
|
4404
4602
|
},
|
|
@@ -4414,6 +4612,13 @@
|
|
|
4414
4612
|
"5m",
|
|
4415
4613
|
"1h"
|
|
4416
4614
|
]
|
|
4615
|
+
},
|
|
4616
|
+
"speed": {
|
|
4617
|
+
"type": "string",
|
|
4618
|
+
"enum": [
|
|
4619
|
+
"standard",
|
|
4620
|
+
"fast"
|
|
4621
|
+
]
|
|
4417
4622
|
}
|
|
4418
4623
|
},
|
|
4419
4624
|
"additionalProperties": false
|
|
@@ -4570,6 +4775,21 @@
|
|
|
4570
4775
|
"id": {
|
|
4571
4776
|
"type": "string"
|
|
4572
4777
|
},
|
|
4778
|
+
"inference_profile": {
|
|
4779
|
+
"anyOf": [
|
|
4780
|
+
{
|
|
4781
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
4782
|
+
},
|
|
4783
|
+
{
|
|
4784
|
+
"type": "null"
|
|
4785
|
+
}
|
|
4786
|
+
],
|
|
4787
|
+
"description": "Select a project inference profile. Null bypasses profile defaults."
|
|
4788
|
+
},
|
|
4789
|
+
"inherit_model_config": {
|
|
4790
|
+
"type": "boolean",
|
|
4791
|
+
"description": "Treat the supplied environment, model and inference_profile as the caller's settings, inherited as a fallback: the interaction's bound or attached profile, or its own model, replaces them."
|
|
4792
|
+
},
|
|
4573
4793
|
"environment": {
|
|
4574
4794
|
"type": "string"
|
|
4575
4795
|
},
|
|
@@ -4613,6 +4833,11 @@
|
|
|
4613
4833
|
},
|
|
4614
4834
|
"additionalProperties": false
|
|
4615
4835
|
},
|
|
4836
|
+
"InferenceProfileId": {
|
|
4837
|
+
"type": "string",
|
|
4838
|
+
"pattern": "^[a-fA-F0-9]{24}$",
|
|
4839
|
+
"description": "MongoDB ObjectId of the inference profile."
|
|
4840
|
+
},
|
|
4616
4841
|
"RunDataStorageLevel": {
|
|
4617
4842
|
"type": "string",
|
|
4618
4843
|
"enum": [
|
|
@@ -5116,12 +5341,68 @@
|
|
|
5116
5341
|
},
|
|
5117
5342
|
"additionalProperties": false
|
|
5118
5343
|
},
|
|
5344
|
+
"ProjectInferenceProfiles": {
|
|
5345
|
+
"type": "object",
|
|
5346
|
+
"properties": {
|
|
5347
|
+
"default_profile": {
|
|
5348
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
5349
|
+
},
|
|
5350
|
+
"modality": {
|
|
5351
|
+
"type": "object",
|
|
5352
|
+
"properties": {
|
|
5353
|
+
"image": {
|
|
5354
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
5355
|
+
},
|
|
5356
|
+
"video": {
|
|
5357
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
5358
|
+
}
|
|
5359
|
+
},
|
|
5360
|
+
"additionalProperties": false
|
|
5361
|
+
},
|
|
5362
|
+
"system": {
|
|
5363
|
+
"type": "object",
|
|
5364
|
+
"properties": {
|
|
5365
|
+
"content_type": {
|
|
5366
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
5367
|
+
},
|
|
5368
|
+
"intake": {
|
|
5369
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
5370
|
+
},
|
|
5371
|
+
"analysis": {
|
|
5372
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
5373
|
+
},
|
|
5374
|
+
"agent": {
|
|
5375
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
5376
|
+
},
|
|
5377
|
+
"non_applicable": {
|
|
5378
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
5379
|
+
}
|
|
5380
|
+
},
|
|
5381
|
+
"additionalProperties": false
|
|
5382
|
+
}
|
|
5383
|
+
},
|
|
5384
|
+
"additionalProperties": false,
|
|
5385
|
+
"description": "Project defaults reference profile MongoDB IDs. Profile definitions are managed through the inference profiles API."
|
|
5386
|
+
},
|
|
5119
5387
|
"AgentProjectConfiguration": {
|
|
5120
5388
|
"type": "object",
|
|
5121
5389
|
"properties": {
|
|
5390
|
+
"evaluation_policy": {
|
|
5391
|
+
"type": "string",
|
|
5392
|
+
"enum": [
|
|
5393
|
+
"disabled",
|
|
5394
|
+
"opt_in",
|
|
5395
|
+
"always_on"
|
|
5396
|
+
],
|
|
5397
|
+
"description": "LLM evaluation policy. Defaults to always_on when omitted. disabled prevents evaluation even when requested; opt_in requires evaluate=true on the run; always_on evaluates every eligible run without sampling. Deterministic diagnostics are unaffected."
|
|
5398
|
+
},
|
|
5122
5399
|
"checkpoint": {
|
|
5123
5400
|
"$ref": "#/components/schemas/AgentCheckpointConfiguration",
|
|
5124
5401
|
"description": "Conversation checkpoint (context compaction) tuning."
|
|
5402
|
+
},
|
|
5403
|
+
"budget": {
|
|
5404
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration",
|
|
5405
|
+
"description": "Default token budget for agent runs in this project. Field-wise overridden by the interaction's `agent_runner_options.budget` and the per-run `budget`."
|
|
5125
5406
|
}
|
|
5126
5407
|
},
|
|
5127
5408
|
"additionalProperties": false,
|
|
@@ -5141,6 +5422,61 @@
|
|
|
5141
5422
|
},
|
|
5142
5423
|
"additionalProperties": false
|
|
5143
5424
|
},
|
|
5425
|
+
"AgentBudgetConfiguration": {
|
|
5426
|
+
"type": "object",
|
|
5427
|
+
"properties": {
|
|
5428
|
+
"mode": {
|
|
5429
|
+
"type": "string",
|
|
5430
|
+
"enum": [
|
|
5431
|
+
"token",
|
|
5432
|
+
"dollar"
|
|
5433
|
+
],
|
|
5434
|
+
"description": "Run budget mode. An omitted mode preserves weighted-token budgeting."
|
|
5435
|
+
},
|
|
5436
|
+
"limit_usd": {
|
|
5437
|
+
"type": "number",
|
|
5438
|
+
"exclusiveMinimum": 0,
|
|
5439
|
+
"maximum": 9007199.25474099,
|
|
5440
|
+
"description": "Soft USD allowance for priced model calls; dollar mode also requires limit_tokens for unpriced calls."
|
|
5441
|
+
},
|
|
5442
|
+
"reminder_at_remaining_fractions": {
|
|
5443
|
+
"type": "array",
|
|
5444
|
+
"items": {
|
|
5445
|
+
"type": "number",
|
|
5446
|
+
"exclusiveMinimum": 0,
|
|
5447
|
+
"exclusiveMaximum": 1
|
|
5448
|
+
}
|
|
5449
|
+
},
|
|
5450
|
+
"limit_tokens": {
|
|
5451
|
+
"type": "number",
|
|
5452
|
+
"description": "Weighted token budget shared by the run and every subagent workstream it launches. When the run and its workstreams together use this many weighted tokens, the agent gets one final turn without tools to summarize its work, and the run ends. This is a soft limit, not a spending cap: workstreams running concurrently and the final summary turns can go over it. Unset or <=0 means no budget."
|
|
5453
|
+
},
|
|
5454
|
+
"reminder_at_remaining_tokens": {
|
|
5455
|
+
"type": "array",
|
|
5456
|
+
"items": {
|
|
5457
|
+
"type": "number"
|
|
5458
|
+
},
|
|
5459
|
+
"description": "Remaining-budget thresholds, in weighted tokens, at which the agent is told how much budget is left. Each threshold is delivered once per context window (again after a checkpoint). Values outside (0, limit_tokens) are ignored. Unset means reminders at 25% and 10% remaining."
|
|
5460
|
+
},
|
|
5461
|
+
"output_token_weight": {
|
|
5462
|
+
"type": "number",
|
|
5463
|
+
"minimum": 0,
|
|
5464
|
+
"description": "Weight applied to output tokens, reasoning included, when charging the budget. Default 5."
|
|
5465
|
+
},
|
|
5466
|
+
"input_token_weight": {
|
|
5467
|
+
"type": "number",
|
|
5468
|
+
"minimum": 0,
|
|
5469
|
+
"description": "Weight applied to input tokens not read from the prompt cache. Default 1."
|
|
5470
|
+
},
|
|
5471
|
+
"cached_input_token_weight": {
|
|
5472
|
+
"type": "number",
|
|
5473
|
+
"minimum": 0,
|
|
5474
|
+
"description": "Weight applied to input tokens read from the prompt cache. Default 0.1, so a long conversation that mostly re-reads cached context is charged a tenth of the uncached rate for it."
|
|
5475
|
+
}
|
|
5476
|
+
},
|
|
5477
|
+
"additionalProperties": false,
|
|
5478
|
+
"description": "Weighted token budget for an agent run and its subagent workstreams. A call is charged output × output_token_weight + uncached input × input_token_weight + cached input × cached_input_token_weight."
|
|
5479
|
+
},
|
|
5144
5480
|
"ProjectConfiguration": {
|
|
5145
5481
|
"type": "object",
|
|
5146
5482
|
"properties": {
|
|
@@ -5154,7 +5490,12 @@
|
|
|
5154
5490
|
"type": "string"
|
|
5155
5491
|
},
|
|
5156
5492
|
"defaults": {
|
|
5157
|
-
"
|
|
5493
|
+
"deprecated": true,
|
|
5494
|
+
"$ref": "#/components/schemas/ProjectModelDefaults",
|
|
5495
|
+
"description": "Legacy model defaults, replaced by inference profile assignments after migration."
|
|
5496
|
+
},
|
|
5497
|
+
"inference": {
|
|
5498
|
+
"$ref": "#/components/schemas/ProjectInferenceProfiles"
|
|
5158
5499
|
},
|
|
5159
5500
|
"default_visibility": {
|
|
5160
5501
|
"$ref": "#/components/schemas/ResourceVisibility"
|
|
@@ -5274,6 +5615,18 @@
|
|
|
5274
5615
|
"type": "string"
|
|
5275
5616
|
}
|
|
5276
5617
|
},
|
|
5618
|
+
"annotations": {
|
|
5619
|
+
"type": "array",
|
|
5620
|
+
"items": {
|
|
5621
|
+
"type": "string"
|
|
5622
|
+
},
|
|
5623
|
+
"description": "Classification annotations"
|
|
5624
|
+
},
|
|
5625
|
+
"last_activity_at": {
|
|
5626
|
+
"type": "string",
|
|
5627
|
+
"format": "date-time",
|
|
5628
|
+
"description": "When the project last saw activity. Not yet populated."
|
|
5629
|
+
},
|
|
5277
5630
|
"created_by": {
|
|
5278
5631
|
"type": "string"
|
|
5279
5632
|
},
|
|
@@ -5364,7 +5717,12 @@
|
|
|
5364
5717
|
"type": "string"
|
|
5365
5718
|
},
|
|
5366
5719
|
"defaults": {
|
|
5367
|
-
"
|
|
5720
|
+
"deprecated": true,
|
|
5721
|
+
"$ref": "#/components/schemas/ProjectModelDefaults",
|
|
5722
|
+
"description": "Legacy model defaults, replaced by inference profile assignments after migration."
|
|
5723
|
+
},
|
|
5724
|
+
"inference": {
|
|
5725
|
+
"$ref": "#/components/schemas/ProjectInferenceProfiles"
|
|
5368
5726
|
},
|
|
5369
5727
|
"default_visibility": {
|
|
5370
5728
|
"$ref": "#/components/schemas/ResourceVisibility"
|
|
@@ -7425,9 +7783,6 @@
|
|
|
7425
7783
|
"ExecutionEnvironmentSettings": {
|
|
7426
7784
|
"type": "object",
|
|
7427
7785
|
"properties": {
|
|
7428
|
-
"bucket_access_principal": {
|
|
7429
|
-
"type": "string"
|
|
7430
|
-
},
|
|
7431
7786
|
"default_headers": {
|
|
7432
7787
|
"$ref": "#/components/schemas/StringValueMap",
|
|
7433
7788
|
"description": "Custom HTTP headers sent by OpenAI-compatible environments."
|
|
@@ -8544,8 +8899,20 @@
|
|
|
8544
8899
|
"type": "number",
|
|
8545
8900
|
"description": "Number of input tokens written to prompt cache."
|
|
8546
8901
|
},
|
|
8902
|
+
"prompt_cache_write_1h": {
|
|
8903
|
+
"type": "number",
|
|
8904
|
+
"description": "Of `prompt_cache_write`, the tokens written with a one-hour cache lifetime, when the provider reports it. The remainder used the default (five-minute) lifetime."
|
|
8905
|
+
},
|
|
8547
8906
|
"prompt_new": {
|
|
8548
8907
|
"type": "number"
|
|
8908
|
+
},
|
|
8909
|
+
"result_image": {
|
|
8910
|
+
"type": "number",
|
|
8911
|
+
"description": "Of `result`, the tokens of generated images, when the provider reports them. Image output is priced separately from text output."
|
|
8912
|
+
},
|
|
8913
|
+
"provider_cost_usd": {
|
|
8914
|
+
"type": "number",
|
|
8915
|
+
"description": "Amount the provider reported charging for this request, in USD, when the provider returns it (e.g. OpenRouter). Absent for bring-your-own-key requests."
|
|
8549
8916
|
}
|
|
8550
8917
|
},
|
|
8551
8918
|
"additionalProperties": false
|
|
@@ -8600,6 +8967,380 @@
|
|
|
8600
8967
|
],
|
|
8601
8968
|
"additionalProperties": false
|
|
8602
8969
|
},
|
|
8970
|
+
"UpdateInteractionConfigurationPayload": {
|
|
8971
|
+
"type": "object",
|
|
8972
|
+
"properties": {
|
|
8973
|
+
"inference_profile": {
|
|
8974
|
+
"anyOf": [
|
|
8975
|
+
{
|
|
8976
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
8977
|
+
},
|
|
8978
|
+
{
|
|
8979
|
+
"type": "null"
|
|
8980
|
+
}
|
|
8981
|
+
]
|
|
8982
|
+
},
|
|
8983
|
+
"budget": {
|
|
8984
|
+
"anyOf": [
|
|
8985
|
+
{
|
|
8986
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration"
|
|
8987
|
+
},
|
|
8988
|
+
{
|
|
8989
|
+
"type": "null"
|
|
8990
|
+
}
|
|
8991
|
+
],
|
|
8992
|
+
"description": "Project-scoped agent budget override. Null restores the code-defined or project default; omission preserves the saved budget."
|
|
8993
|
+
}
|
|
8994
|
+
},
|
|
8995
|
+
"required": [
|
|
8996
|
+
"inference_profile"
|
|
8997
|
+
],
|
|
8998
|
+
"additionalProperties": false
|
|
8999
|
+
},
|
|
9000
|
+
"InteractionConfigurationRecord": {
|
|
9001
|
+
"type": "object",
|
|
9002
|
+
"properties": {
|
|
9003
|
+
"inference_profile": {
|
|
9004
|
+
"anyOf": [
|
|
9005
|
+
{
|
|
9006
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
9007
|
+
},
|
|
9008
|
+
{
|
|
9009
|
+
"type": "null"
|
|
9010
|
+
}
|
|
9011
|
+
]
|
|
9012
|
+
},
|
|
9013
|
+
"budget": {
|
|
9014
|
+
"anyOf": [
|
|
9015
|
+
{
|
|
9016
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration"
|
|
9017
|
+
},
|
|
9018
|
+
{
|
|
9019
|
+
"type": "null"
|
|
9020
|
+
}
|
|
9021
|
+
],
|
|
9022
|
+
"description": "Project-scoped agent budget override. Null restores the code-defined or project default; omission preserves the saved budget."
|
|
9023
|
+
},
|
|
9024
|
+
"id": {
|
|
9025
|
+
"type": "string",
|
|
9026
|
+
"pattern": "^[a-fA-F0-9]{24}$"
|
|
9027
|
+
},
|
|
9028
|
+
"project": {
|
|
9029
|
+
"type": "string"
|
|
9030
|
+
},
|
|
9031
|
+
"interaction": {
|
|
9032
|
+
"type": "string"
|
|
9033
|
+
},
|
|
9034
|
+
"created_at": {
|
|
9035
|
+
"type": "string",
|
|
9036
|
+
"format": "date-time",
|
|
9037
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
|
|
9038
|
+
},
|
|
9039
|
+
"updated_at": {
|
|
9040
|
+
"type": "string",
|
|
9041
|
+
"format": "date-time",
|
|
9042
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
|
|
9043
|
+
}
|
|
9044
|
+
},
|
|
9045
|
+
"required": [
|
|
9046
|
+
"inference_profile",
|
|
9047
|
+
"id",
|
|
9048
|
+
"project",
|
|
9049
|
+
"interaction",
|
|
9050
|
+
"created_at",
|
|
9051
|
+
"updated_at"
|
|
9052
|
+
],
|
|
9053
|
+
"additionalProperties": false
|
|
9054
|
+
},
|
|
9055
|
+
"InteractionConfigurationResult": {
|
|
9056
|
+
"type": "object",
|
|
9057
|
+
"properties": {
|
|
9058
|
+
"configuration": {
|
|
9059
|
+
"anyOf": [
|
|
9060
|
+
{
|
|
9061
|
+
"$ref": "#/components/schemas/InteractionConfigurationRecord"
|
|
9062
|
+
},
|
|
9063
|
+
{
|
|
9064
|
+
"type": "null"
|
|
9065
|
+
}
|
|
9066
|
+
]
|
|
9067
|
+
}
|
|
9068
|
+
},
|
|
9069
|
+
"required": [
|
|
9070
|
+
"configuration"
|
|
9071
|
+
],
|
|
9072
|
+
"additionalProperties": false
|
|
9073
|
+
},
|
|
9074
|
+
"InferenceProfileName": {
|
|
9075
|
+
"type": "string",
|
|
9076
|
+
"minLength": 1,
|
|
9077
|
+
"maxLength": 80,
|
|
9078
|
+
"pattern": "\\S",
|
|
9079
|
+
"description": "Editable display name, independent of the stable profile ID."
|
|
9080
|
+
},
|
|
9081
|
+
"CreateInferenceProfilePayload": {
|
|
9082
|
+
"type": "object",
|
|
9083
|
+
"properties": {
|
|
9084
|
+
"name": {
|
|
9085
|
+
"$ref": "#/components/schemas/InferenceProfileName"
|
|
9086
|
+
},
|
|
9087
|
+
"description": {
|
|
9088
|
+
"type": "string",
|
|
9089
|
+
"maxLength": 1000
|
|
9090
|
+
},
|
|
9091
|
+
"environment": {
|
|
9092
|
+
"type": "string",
|
|
9093
|
+
"pattern": "^[a-fA-F0-9]{24}$"
|
|
9094
|
+
},
|
|
9095
|
+
"model": {
|
|
9096
|
+
"type": "string",
|
|
9097
|
+
"minLength": 1
|
|
9098
|
+
},
|
|
9099
|
+
"model_options": {
|
|
9100
|
+
"$ref": "#/components/schemas/ModelOptions"
|
|
9101
|
+
}
|
|
9102
|
+
},
|
|
9103
|
+
"required": [
|
|
9104
|
+
"name",
|
|
9105
|
+
"environment"
|
|
9106
|
+
],
|
|
9107
|
+
"additionalProperties": false,
|
|
9108
|
+
"description": "Create a profile in the current project. The server assigns its MongoDB ID."
|
|
9109
|
+
},
|
|
9110
|
+
"UpdateInferenceProfilePayload": {
|
|
9111
|
+
"type": "object",
|
|
9112
|
+
"properties": {
|
|
9113
|
+
"name": {
|
|
9114
|
+
"$ref": "#/components/schemas/InferenceProfileName"
|
|
9115
|
+
},
|
|
9116
|
+
"description": {
|
|
9117
|
+
"type": "string",
|
|
9118
|
+
"maxLength": 1000
|
|
9119
|
+
},
|
|
9120
|
+
"environment": {
|
|
9121
|
+
"type": "string",
|
|
9122
|
+
"pattern": "^[a-fA-F0-9]{24}$"
|
|
9123
|
+
},
|
|
9124
|
+
"model": {
|
|
9125
|
+
"type": "string",
|
|
9126
|
+
"minLength": 1
|
|
9127
|
+
},
|
|
9128
|
+
"model_options": {
|
|
9129
|
+
"$ref": "#/components/schemas/ModelOptions"
|
|
9130
|
+
}
|
|
9131
|
+
},
|
|
9132
|
+
"required": [
|
|
9133
|
+
"name",
|
|
9134
|
+
"environment"
|
|
9135
|
+
],
|
|
9136
|
+
"additionalProperties": false,
|
|
9137
|
+
"description": "Replace editable profile fields, preserving its ID and references."
|
|
9138
|
+
},
|
|
9139
|
+
"InferenceProfileRecord": {
|
|
9140
|
+
"type": "object",
|
|
9141
|
+
"properties": {
|
|
9142
|
+
"name": {
|
|
9143
|
+
"$ref": "#/components/schemas/InferenceProfileName"
|
|
9144
|
+
},
|
|
9145
|
+
"description": {
|
|
9146
|
+
"type": "string",
|
|
9147
|
+
"maxLength": 1000
|
|
9148
|
+
},
|
|
9149
|
+
"environment": {
|
|
9150
|
+
"type": "string",
|
|
9151
|
+
"pattern": "^[a-fA-F0-9]{24}$"
|
|
9152
|
+
},
|
|
9153
|
+
"model": {
|
|
9154
|
+
"type": "string",
|
|
9155
|
+
"minLength": 1
|
|
9156
|
+
},
|
|
9157
|
+
"model_options": {
|
|
9158
|
+
"$ref": "#/components/schemas/ModelOptions"
|
|
9159
|
+
},
|
|
9160
|
+
"id": {
|
|
9161
|
+
"type": "string",
|
|
9162
|
+
"pattern": "^[a-fA-F0-9]{24}$"
|
|
9163
|
+
},
|
|
9164
|
+
"project": {
|
|
9165
|
+
"type": "string"
|
|
9166
|
+
},
|
|
9167
|
+
"created_at": {
|
|
9168
|
+
"type": "string",
|
|
9169
|
+
"format": "date-time",
|
|
9170
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
|
|
9171
|
+
},
|
|
9172
|
+
"updated_at": {
|
|
9173
|
+
"type": "string",
|
|
9174
|
+
"format": "date-time",
|
|
9175
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
|
|
9176
|
+
}
|
|
9177
|
+
},
|
|
9178
|
+
"required": [
|
|
9179
|
+
"name",
|
|
9180
|
+
"environment",
|
|
9181
|
+
"id",
|
|
9182
|
+
"project",
|
|
9183
|
+
"created_at",
|
|
9184
|
+
"updated_at"
|
|
9185
|
+
],
|
|
9186
|
+
"additionalProperties": false,
|
|
9187
|
+
"description": "A project-scoped inference profile stored as a MongoDB document."
|
|
9188
|
+
},
|
|
9189
|
+
"InferenceProfileUsageEntry": {
|
|
9190
|
+
"type": "object",
|
|
9191
|
+
"properties": {
|
|
9192
|
+
"id": {
|
|
9193
|
+
"type": "string"
|
|
9194
|
+
},
|
|
9195
|
+
"name": {
|
|
9196
|
+
"type": "string"
|
|
9197
|
+
},
|
|
9198
|
+
"kind": {
|
|
9199
|
+
"type": "string",
|
|
9200
|
+
"enum": [
|
|
9201
|
+
"stored",
|
|
9202
|
+
"system",
|
|
9203
|
+
"app"
|
|
9204
|
+
]
|
|
9205
|
+
},
|
|
9206
|
+
"version": {
|
|
9207
|
+
"type": "number"
|
|
9208
|
+
},
|
|
9209
|
+
"status": {
|
|
9210
|
+
"type": "string"
|
|
9211
|
+
}
|
|
9212
|
+
},
|
|
9213
|
+
"required": [
|
|
9214
|
+
"id",
|
|
9215
|
+
"name",
|
|
9216
|
+
"kind"
|
|
9217
|
+
]
|
|
9218
|
+
},
|
|
9219
|
+
"InferenceProfileUsage": {
|
|
9220
|
+
"type": "object",
|
|
9221
|
+
"properties": {
|
|
9222
|
+
"interactions": {
|
|
9223
|
+
"type": "array",
|
|
9224
|
+
"items": {
|
|
9225
|
+
"$ref": "#/components/schemas/InferenceProfileUsageEntry"
|
|
9226
|
+
}
|
|
9227
|
+
},
|
|
9228
|
+
"total": {
|
|
9229
|
+
"type": "integer",
|
|
9230
|
+
"minimum": 0,
|
|
9231
|
+
"maximum": 9007199254740991
|
|
9232
|
+
},
|
|
9233
|
+
"defaults": {
|
|
9234
|
+
"type": "array",
|
|
9235
|
+
"items": {
|
|
9236
|
+
"type": "string"
|
|
9237
|
+
},
|
|
9238
|
+
"description": "Project default slots directly referencing this profile."
|
|
9239
|
+
}
|
|
9240
|
+
},
|
|
9241
|
+
"required": [
|
|
9242
|
+
"interactions",
|
|
9243
|
+
"total",
|
|
9244
|
+
"defaults"
|
|
9245
|
+
],
|
|
9246
|
+
"description": "Persisted direct assignments; runtime overrides and inherited usage are not enumerated."
|
|
9247
|
+
},
|
|
9248
|
+
"InferenceProfileUsageQuery": {
|
|
9249
|
+
"type": "object",
|
|
9250
|
+
"properties": {
|
|
9251
|
+
"search": {
|
|
9252
|
+
"type": "string",
|
|
9253
|
+
"maxLength": 200
|
|
9254
|
+
},
|
|
9255
|
+
"kind": {
|
|
9256
|
+
"type": "string",
|
|
9257
|
+
"enum": [
|
|
9258
|
+
"stored",
|
|
9259
|
+
"system",
|
|
9260
|
+
"app"
|
|
9261
|
+
]
|
|
9262
|
+
},
|
|
9263
|
+
"offset": {
|
|
9264
|
+
"type": "integer",
|
|
9265
|
+
"minimum": 0,
|
|
9266
|
+
"maximum": 9007199254740991
|
|
9267
|
+
},
|
|
9268
|
+
"limit": {
|
|
9269
|
+
"type": "integer",
|
|
9270
|
+
"minimum": 1,
|
|
9271
|
+
"maximum": 100
|
|
9272
|
+
}
|
|
9273
|
+
}
|
|
9274
|
+
},
|
|
9275
|
+
"InferenceProfileRecordArray": {
|
|
9276
|
+
"type": "array",
|
|
9277
|
+
"items": {
|
|
9278
|
+
"$ref": "#/components/schemas/InferenceProfileRecord"
|
|
9279
|
+
}
|
|
9280
|
+
},
|
|
9281
|
+
"InferenceProfile": {
|
|
9282
|
+
"type": "object",
|
|
9283
|
+
"properties": {
|
|
9284
|
+
"name": {
|
|
9285
|
+
"$ref": "#/components/schemas/InferenceProfileName",
|
|
9286
|
+
"description": "Editable display name."
|
|
9287
|
+
},
|
|
9288
|
+
"description": {
|
|
9289
|
+
"type": "string",
|
|
9290
|
+
"maxLength": 1000
|
|
9291
|
+
},
|
|
9292
|
+
"environment": {
|
|
9293
|
+
"type": "string",
|
|
9294
|
+
"pattern": "^[a-fA-F0-9]{24}$"
|
|
9295
|
+
},
|
|
9296
|
+
"model": {
|
|
9297
|
+
"type": "string",
|
|
9298
|
+
"minLength": 1
|
|
9299
|
+
},
|
|
9300
|
+
"model_options": {
|
|
9301
|
+
"$ref": "#/components/schemas/ModelOptions"
|
|
9302
|
+
}
|
|
9303
|
+
},
|
|
9304
|
+
"required": [
|
|
9305
|
+
"environment"
|
|
9306
|
+
],
|
|
9307
|
+
"additionalProperties": false,
|
|
9308
|
+
"description": "A reusable environment, model and inference parameter preset. Credentials remain in the environment."
|
|
9309
|
+
},
|
|
9310
|
+
"InferenceProfileSnapshot": {
|
|
9311
|
+
"type": "object",
|
|
9312
|
+
"properties": {
|
|
9313
|
+
"id": {
|
|
9314
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
9315
|
+
},
|
|
9316
|
+
"name": {
|
|
9317
|
+
"$ref": "#/components/schemas/InferenceProfileName"
|
|
9318
|
+
},
|
|
9319
|
+
"revision": {
|
|
9320
|
+
"type": "string"
|
|
9321
|
+
},
|
|
9322
|
+
"source": {
|
|
9323
|
+
"type": "string",
|
|
9324
|
+
"enum": [
|
|
9325
|
+
"request",
|
|
9326
|
+
"binding",
|
|
9327
|
+
"interaction",
|
|
9328
|
+
"project"
|
|
9329
|
+
]
|
|
9330
|
+
},
|
|
9331
|
+
"profile": {
|
|
9332
|
+
"$ref": "#/components/schemas/InferenceProfile"
|
|
9333
|
+
}
|
|
9334
|
+
},
|
|
9335
|
+
"required": [
|
|
9336
|
+
"name",
|
|
9337
|
+
"revision",
|
|
9338
|
+
"source",
|
|
9339
|
+
"profile"
|
|
9340
|
+
],
|
|
9341
|
+
"additionalProperties": false,
|
|
9342
|
+
"description": "The selected profile and content revision at execution creation. Effective overrides are recorded in the execution config."
|
|
9343
|
+
},
|
|
8603
9344
|
"InteractionStatus": {
|
|
8604
9345
|
"type": "string",
|
|
8605
9346
|
"enum": [
|
|
@@ -9205,6 +9946,10 @@
|
|
|
9205
9946
|
"checkpoint": {
|
|
9206
9947
|
"$ref": "#/components/schemas/AgentCheckpointConfiguration",
|
|
9207
9948
|
"description": "Per-agent context checkpoint configuration. Field-wise it overrides the project's `configuration.agent.checkpoint`; a per-run `checkpoint_tokens` override still wins over both."
|
|
9949
|
+
},
|
|
9950
|
+
"budget": {
|
|
9951
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration",
|
|
9952
|
+
"description": "Per-agent token budget. Field-wise it overrides the project's `configuration.agent.budget`; the per-run `budget` wins over both."
|
|
9208
9953
|
}
|
|
9209
9954
|
},
|
|
9210
9955
|
"additionalProperties": false,
|
|
@@ -9309,6 +10054,16 @@
|
|
|
9309
10054
|
"model_options": {
|
|
9310
10055
|
"$ref": "#/components/schemas/ModelOptions"
|
|
9311
10056
|
},
|
|
10057
|
+
"inference_profile": {
|
|
10058
|
+
"anyOf": [
|
|
10059
|
+
{
|
|
10060
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
10061
|
+
},
|
|
10062
|
+
{
|
|
10063
|
+
"type": "null"
|
|
10064
|
+
}
|
|
10065
|
+
]
|
|
10066
|
+
},
|
|
9312
10067
|
"store_media_results": {
|
|
9313
10068
|
"type": "boolean"
|
|
9314
10069
|
},
|
|
@@ -9808,6 +10563,16 @@
|
|
|
9808
10563
|
"model_options": {
|
|
9809
10564
|
"$ref": "#/components/schemas/ModelOptions"
|
|
9810
10565
|
},
|
|
10566
|
+
"inference_profile": {
|
|
10567
|
+
"anyOf": [
|
|
10568
|
+
{
|
|
10569
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
10570
|
+
},
|
|
10571
|
+
{
|
|
10572
|
+
"type": "null"
|
|
10573
|
+
}
|
|
10574
|
+
]
|
|
10575
|
+
},
|
|
9811
10576
|
"store_media_results": {
|
|
9812
10577
|
"type": "boolean"
|
|
9813
10578
|
},
|
|
@@ -9918,6 +10683,16 @@
|
|
|
9918
10683
|
"model_options": {
|
|
9919
10684
|
"$ref": "#/components/schemas/ModelOptions"
|
|
9920
10685
|
},
|
|
10686
|
+
"inference_profile": {
|
|
10687
|
+
"anyOf": [
|
|
10688
|
+
{
|
|
10689
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
10690
|
+
},
|
|
10691
|
+
{
|
|
10692
|
+
"type": "null"
|
|
10693
|
+
}
|
|
10694
|
+
]
|
|
10695
|
+
},
|
|
9921
10696
|
"store_media_results": {
|
|
9922
10697
|
"type": "boolean"
|
|
9923
10698
|
},
|
|
@@ -10076,6 +10851,13 @@
|
|
|
10076
10851
|
"model": {
|
|
10077
10852
|
"type": "string"
|
|
10078
10853
|
},
|
|
10854
|
+
"inference_profile": {
|
|
10855
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
10856
|
+
},
|
|
10857
|
+
"inherit_model_config": {
|
|
10858
|
+
"type": "boolean",
|
|
10859
|
+
"description": "Treat the supplied environment, model and inference_profile as the caller's settings, inherited as a fallback: the interaction's bound or attached profile, or its own model, replaces them."
|
|
10860
|
+
},
|
|
10079
10861
|
"hasImage": {
|
|
10080
10862
|
"type": "boolean"
|
|
10081
10863
|
},
|
|
@@ -10211,6 +10993,16 @@
|
|
|
10211
10993
|
"model_options": {
|
|
10212
10994
|
"$ref": "#/components/schemas/ModelOptions"
|
|
10213
10995
|
},
|
|
10996
|
+
"inference_profile": {
|
|
10997
|
+
"anyOf": [
|
|
10998
|
+
{
|
|
10999
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
11000
|
+
},
|
|
11001
|
+
{
|
|
11002
|
+
"type": "null"
|
|
11003
|
+
}
|
|
11004
|
+
]
|
|
11005
|
+
},
|
|
10214
11006
|
"prompts": {
|
|
10215
11007
|
"type": "array",
|
|
10216
11008
|
"items": {
|
|
@@ -10304,6 +11096,16 @@
|
|
|
10304
11096
|
"model_options": {
|
|
10305
11097
|
"$ref": "#/components/schemas/ModelOptions"
|
|
10306
11098
|
},
|
|
11099
|
+
"inference_profile": {
|
|
11100
|
+
"anyOf": [
|
|
11101
|
+
{
|
|
11102
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
11103
|
+
},
|
|
11104
|
+
{
|
|
11105
|
+
"type": "null"
|
|
11106
|
+
}
|
|
11107
|
+
]
|
|
11108
|
+
},
|
|
10307
11109
|
"prompts": {
|
|
10308
11110
|
"type": "array",
|
|
10309
11111
|
"items": {
|
|
@@ -10405,6 +11207,12 @@
|
|
|
10405
11207
|
},
|
|
10406
11208
|
"model_source": {
|
|
10407
11209
|
"$ref": "#/components/schemas/ModelSource"
|
|
11210
|
+
},
|
|
11211
|
+
"inference_profile": {
|
|
11212
|
+
"$ref": "#/components/schemas/InferenceProfileSnapshot"
|
|
11213
|
+
},
|
|
11214
|
+
"model_options": {
|
|
11215
|
+
"$ref": "#/components/schemas/ModelOptions"
|
|
10408
11216
|
}
|
|
10409
11217
|
},
|
|
10410
11218
|
"required": [
|
|
@@ -11479,6 +12287,10 @@
|
|
|
11479
12287
|
"type": "number",
|
|
11480
12288
|
"description": "Project-configured checkpoint hard cap in tokens (cached from project.configuration.agent_checkpoint_tokens at conversation start). The workflow resolves the effective threshold from these, the per-run checkpoint_tokens override, and the model-based default."
|
|
11481
12289
|
},
|
|
12290
|
+
"budget": {
|
|
12291
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration",
|
|
12292
|
+
"description": "Project-configured agent token budget (cached from project.configuration.agent.budget at conversation start). The workflow resolves the effective budget field-wise from this, the interaction's agent_runner_options.budget, and the per-run budget override."
|
|
12293
|
+
},
|
|
11482
12294
|
"user_channels": {
|
|
11483
12295
|
"type": "array",
|
|
11484
12296
|
"items": {
|
|
@@ -11870,6 +12682,9 @@
|
|
|
11870
12682
|
"config": {
|
|
11871
12683
|
"$ref": "#/components/schemas/InteractionExecutionConfiguration"
|
|
11872
12684
|
},
|
|
12685
|
+
"inference_profile": {
|
|
12686
|
+
"$ref": "#/components/schemas/InferenceProfileSnapshot"
|
|
12687
|
+
},
|
|
11873
12688
|
"error": {
|
|
11874
12689
|
"$ref": "#/components/schemas/InteractionExecutionError"
|
|
11875
12690
|
},
|
|
@@ -12011,6 +12826,9 @@
|
|
|
12011
12826
|
"config": {
|
|
12012
12827
|
"$ref": "#/components/schemas/InteractionExecutionConfiguration"
|
|
12013
12828
|
},
|
|
12829
|
+
"inference_profile": {
|
|
12830
|
+
"$ref": "#/components/schemas/InferenceProfileSnapshot"
|
|
12831
|
+
},
|
|
12014
12832
|
"error": {
|
|
12015
12833
|
"$ref": "#/components/schemas/InteractionExecutionError"
|
|
12016
12834
|
},
|
|
@@ -12790,6 +13608,9 @@
|
|
|
12790
13608
|
"config": {
|
|
12791
13609
|
"$ref": "#/components/schemas/InteractionExecutionConfiguration"
|
|
12792
13610
|
},
|
|
13611
|
+
"inference_profile": {
|
|
13612
|
+
"$ref": "#/components/schemas/InferenceProfileSnapshot"
|
|
13613
|
+
},
|
|
12793
13614
|
"error": {
|
|
12794
13615
|
"$ref": "#/components/schemas/InteractionExecutionError"
|
|
12795
13616
|
},
|
|
@@ -12944,294 +13765,303 @@
|
|
|
12944
13765
|
"config": {
|
|
12945
13766
|
"$ref": "#/components/schemas/InteractionExecutionConfiguration"
|
|
12946
13767
|
},
|
|
12947
|
-
"
|
|
12948
|
-
"$ref": "#/components/schemas/
|
|
12949
|
-
},
|
|
12950
|
-
"
|
|
12951
|
-
"$ref": "#/components/schemas/
|
|
12952
|
-
},
|
|
12953
|
-
"
|
|
12954
|
-
"
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
"
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
"
|
|
12961
|
-
},
|
|
12962
|
-
"
|
|
12963
|
-
"type": "string"
|
|
12964
|
-
},
|
|
12965
|
-
"
|
|
12966
|
-
"
|
|
12967
|
-
|
|
12968
|
-
|
|
12969
|
-
|
|
12970
|
-
"
|
|
12971
|
-
},
|
|
12972
|
-
"
|
|
12973
|
-
"type": "string"
|
|
12974
|
-
},
|
|
12975
|
-
"
|
|
12976
|
-
"type": "string"
|
|
12977
|
-
}
|
|
12978
|
-
|
|
12979
|
-
|
|
12980
|
-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
"
|
|
12984
|
-
|
|
12985
|
-
|
|
12986
|
-
|
|
12987
|
-
|
|
12988
|
-
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
|
|
12992
|
-
|
|
12993
|
-
|
|
12994
|
-
"
|
|
12995
|
-
"
|
|
12996
|
-
|
|
12997
|
-
|
|
12998
|
-
|
|
12999
|
-
{
|
|
13000
|
-
"
|
|
13001
|
-
}
|
|
13002
|
-
|
|
13003
|
-
|
|
13004
|
-
|
|
13005
|
-
|
|
13006
|
-
"
|
|
13007
|
-
|
|
13008
|
-
|
|
13009
|
-
|
|
13010
|
-
|
|
13011
|
-
"
|
|
13012
|
-
"type": "
|
|
13013
|
-
},
|
|
13014
|
-
"
|
|
13015
|
-
"
|
|
13016
|
-
}
|
|
13017
|
-
|
|
13018
|
-
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
"
|
|
13022
|
-
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
"
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
|
|
13036
|
-
|
|
13037
|
-
|
|
13038
|
-
|
|
13039
|
-
|
|
13040
|
-
|
|
13041
|
-
|
|
13042
|
-
"
|
|
13043
|
-
},
|
|
13044
|
-
"
|
|
13045
|
-
"
|
|
13046
|
-
},
|
|
13047
|
-
"
|
|
13048
|
-
"
|
|
13049
|
-
},
|
|
13050
|
-
"
|
|
13051
|
-
"
|
|
13052
|
-
},
|
|
13053
|
-
"
|
|
13054
|
-
"
|
|
13055
|
-
},
|
|
13056
|
-
"
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
},
|
|
13060
|
-
"
|
|
13061
|
-
"
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13067
|
-
|
|
13068
|
-
},
|
|
13069
|
-
"
|
|
13070
|
-
"type": "number"
|
|
13071
|
-
},
|
|
13072
|
-
"
|
|
13073
|
-
"type": "
|
|
13074
|
-
|
|
13075
|
-
|
|
13076
|
-
|
|
13077
|
-
"
|
|
13078
|
-
|
|
13079
|
-
|
|
13080
|
-
|
|
13081
|
-
"
|
|
13082
|
-
},
|
|
13083
|
-
"
|
|
13084
|
-
"$ref": "#/components/schemas/
|
|
13085
|
-
},
|
|
13086
|
-
"
|
|
13087
|
-
"$ref": "#/components/schemas/
|
|
13088
|
-
},
|
|
13089
|
-
"
|
|
13090
|
-
"
|
|
13091
|
-
|
|
13092
|
-
|
|
13093
|
-
"
|
|
13094
|
-
},
|
|
13095
|
-
"
|
|
13096
|
-
"
|
|
13097
|
-
|
|
13098
|
-
|
|
13099
|
-
"
|
|
13100
|
-
},
|
|
13101
|
-
"
|
|
13102
|
-
"
|
|
13103
|
-
|
|
13104
|
-
|
|
13105
|
-
|
|
13106
|
-
|
|
13107
|
-
|
|
13108
|
-
|
|
13109
|
-
"
|
|
13110
|
-
},
|
|
13111
|
-
"
|
|
13112
|
-
"
|
|
13113
|
-
},
|
|
13114
|
-
"
|
|
13115
|
-
"type": "
|
|
13116
|
-
|
|
13117
|
-
|
|
13118
|
-
|
|
13119
|
-
},
|
|
13120
|
-
"
|
|
13121
|
-
|
|
13122
|
-
"
|
|
13123
|
-
|
|
13124
|
-
|
|
13125
|
-
|
|
13126
|
-
"
|
|
13127
|
-
"
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
"
|
|
13133
|
-
"
|
|
13134
|
-
"
|
|
13135
|
-
"
|
|
13136
|
-
"
|
|
13137
|
-
"
|
|
13138
|
-
"
|
|
13139
|
-
"
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
|
|
13162
|
-
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
|
|
13166
|
-
|
|
13167
|
-
|
|
13168
|
-
|
|
13169
|
-
|
|
13170
|
-
"
|
|
13171
|
-
"
|
|
13172
|
-
}
|
|
13173
|
-
|
|
13174
|
-
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
"
|
|
13181
|
-
|
|
13182
|
-
|
|
13183
|
-
|
|
13184
|
-
|
|
13185
|
-
|
|
13186
|
-
"
|
|
13187
|
-
|
|
13188
|
-
|
|
13189
|
-
},
|
|
13190
|
-
"
|
|
13191
|
-
"
|
|
13192
|
-
"
|
|
13193
|
-
|
|
13194
|
-
|
|
13195
|
-
|
|
13196
|
-
|
|
13197
|
-
|
|
13198
|
-
"
|
|
13199
|
-
},
|
|
13200
|
-
"
|
|
13201
|
-
"type": "
|
|
13202
|
-
},
|
|
13203
|
-
"
|
|
13204
|
-
"$ref": "#/components/schemas/
|
|
13205
|
-
},
|
|
13206
|
-
"
|
|
13207
|
-
"type": "
|
|
13208
|
-
},
|
|
13209
|
-
"
|
|
13210
|
-
|
|
13211
|
-
|
|
13212
|
-
|
|
13213
|
-
|
|
13214
|
-
|
|
13215
|
-
|
|
13216
|
-
|
|
13217
|
-
|
|
13218
|
-
},
|
|
13219
|
-
"
|
|
13220
|
-
"type": "
|
|
13221
|
-
|
|
13222
|
-
|
|
13223
|
-
|
|
13224
|
-
},
|
|
13225
|
-
"
|
|
13226
|
-
"type": "
|
|
13227
|
-
|
|
13228
|
-
|
|
13229
|
-
|
|
13230
|
-
|
|
13231
|
-
|
|
13232
|
-
|
|
13233
|
-
|
|
13234
|
-
|
|
13768
|
+
"inference_profile": {
|
|
13769
|
+
"$ref": "#/components/schemas/InferenceProfileSnapshot"
|
|
13770
|
+
},
|
|
13771
|
+
"error": {
|
|
13772
|
+
"$ref": "#/components/schemas/InteractionExecutionError"
|
|
13773
|
+
},
|
|
13774
|
+
"source": {
|
|
13775
|
+
"$ref": "#/components/schemas/RunSource"
|
|
13776
|
+
},
|
|
13777
|
+
"output_modality": {
|
|
13778
|
+
"deprecated": true,
|
|
13779
|
+
"x-deprecated-message": "This is deprecated. Use CompletionResult.type information instead.",
|
|
13780
|
+
"$ref": "#/components/schemas/Modalities",
|
|
13781
|
+
"description": "Deprecated: This is deprecated. Use CompletionResult.type information instead."
|
|
13782
|
+
},
|
|
13783
|
+
"created_by": {
|
|
13784
|
+
"type": "string"
|
|
13785
|
+
},
|
|
13786
|
+
"updated_by": {
|
|
13787
|
+
"type": "string"
|
|
13788
|
+
},
|
|
13789
|
+
"workflow": {
|
|
13790
|
+
"$ref": "#/components/schemas/ExecutionRunWorkflow",
|
|
13791
|
+
"description": "The Vertesia Workflow related to this Interaction Run.\n\nThis is only set when the interaction is executed as part of a workflow."
|
|
13792
|
+
},
|
|
13793
|
+
"account": {
|
|
13794
|
+
"type": "string"
|
|
13795
|
+
},
|
|
13796
|
+
"project": {
|
|
13797
|
+
"type": "string"
|
|
13798
|
+
},
|
|
13799
|
+
"interaction": {
|
|
13800
|
+
"type": "string"
|
|
13801
|
+
}
|
|
13802
|
+
},
|
|
13803
|
+
"additionalProperties": false,
|
|
13804
|
+
"description": "A caller-selected subset of canonical stored run fields. Internal persistence fields are normalized at the API boundary."
|
|
13805
|
+
},
|
|
13806
|
+
"FindRunResultArray": {
|
|
13807
|
+
"type": "array",
|
|
13808
|
+
"items": {
|
|
13809
|
+
"$ref": "#/components/schemas/FindRunResult"
|
|
13810
|
+
}
|
|
13811
|
+
},
|
|
13812
|
+
"PopulatedExecutionRunResult": {
|
|
13813
|
+
"type": "object",
|
|
13814
|
+
"properties": {
|
|
13815
|
+
"id": {
|
|
13816
|
+
"type": "string"
|
|
13817
|
+
},
|
|
13818
|
+
"parent": {
|
|
13819
|
+
"anyOf": [
|
|
13820
|
+
{
|
|
13821
|
+
"type": "string"
|
|
13822
|
+
},
|
|
13823
|
+
{
|
|
13824
|
+
"$ref": "#/components/schemas/ExecutionRun"
|
|
13825
|
+
}
|
|
13826
|
+
],
|
|
13827
|
+
"description": "Only used by runs that were created by a virtual run to point toward the virtual run parent"
|
|
13828
|
+
},
|
|
13829
|
+
"evaluation": {
|
|
13830
|
+
"type": "object",
|
|
13831
|
+
"properties": {
|
|
13832
|
+
"score": {
|
|
13833
|
+
"type": "number"
|
|
13834
|
+
},
|
|
13835
|
+
"selected": {
|
|
13836
|
+
"type": "boolean"
|
|
13837
|
+
},
|
|
13838
|
+
"scores": {
|
|
13839
|
+
"$ref": "#/components/schemas/NumberValueMap"
|
|
13840
|
+
}
|
|
13841
|
+
},
|
|
13842
|
+
"additionalProperties": false
|
|
13843
|
+
},
|
|
13844
|
+
"result": {
|
|
13845
|
+
"type": "array",
|
|
13846
|
+
"items": {
|
|
13847
|
+
"$ref": "#/components/schemas/CompletionResult"
|
|
13848
|
+
}
|
|
13849
|
+
},
|
|
13850
|
+
"parameters": {
|
|
13851
|
+
"type": "object",
|
|
13852
|
+
"additionalProperties": true,
|
|
13853
|
+
"description": "The parameters used to create the interaction. If the parameters contains the special property \"@memory\" it will be used to locate a memory pack and the other properties will be used as the memory pack mapping."
|
|
13854
|
+
},
|
|
13855
|
+
"tags": {
|
|
13856
|
+
"type": "array",
|
|
13857
|
+
"items": {
|
|
13858
|
+
"type": "string"
|
|
13859
|
+
}
|
|
13860
|
+
},
|
|
13861
|
+
"environment": {
|
|
13862
|
+
"$ref": "#/components/schemas/ExecutionEnvironmentRef",
|
|
13863
|
+
"description": "Environment reference - populated with full object in API responses"
|
|
13864
|
+
},
|
|
13865
|
+
"modelId": {
|
|
13866
|
+
"type": "string"
|
|
13867
|
+
},
|
|
13868
|
+
"result_schema": {
|
|
13869
|
+
"$ref": "#/components/schemas/JSONSchema"
|
|
13870
|
+
},
|
|
13871
|
+
"ttl": {
|
|
13872
|
+
"type": "number"
|
|
13873
|
+
},
|
|
13874
|
+
"status": {
|
|
13875
|
+
"$ref": "#/components/schemas/ExecutionRunStatus"
|
|
13876
|
+
},
|
|
13877
|
+
"finish_reason": {
|
|
13878
|
+
"type": "string"
|
|
13879
|
+
},
|
|
13880
|
+
"prompt": {},
|
|
13881
|
+
"token_use": {
|
|
13882
|
+
"$ref": "#/components/schemas/ExecutionTokenUsage"
|
|
13883
|
+
},
|
|
13884
|
+
"prompt_cache_diagnostics": {
|
|
13885
|
+
"type": "array",
|
|
13886
|
+
"items": {
|
|
13887
|
+
"$ref": "#/components/schemas/PromptCacheDiagnostic"
|
|
13888
|
+
}
|
|
13889
|
+
},
|
|
13890
|
+
"chunks": {
|
|
13891
|
+
"type": "number"
|
|
13892
|
+
},
|
|
13893
|
+
"execution_time": {
|
|
13894
|
+
"type": "number"
|
|
13895
|
+
},
|
|
13896
|
+
"created_at": {
|
|
13897
|
+
"type": "string",
|
|
13898
|
+
"format": "date-time"
|
|
13899
|
+
},
|
|
13900
|
+
"updated_at": {
|
|
13901
|
+
"type": "string",
|
|
13902
|
+
"format": "date-time"
|
|
13903
|
+
},
|
|
13904
|
+
"config": {
|
|
13905
|
+
"$ref": "#/components/schemas/InteractionExecutionConfiguration"
|
|
13906
|
+
},
|
|
13907
|
+
"inference_profile": {
|
|
13908
|
+
"$ref": "#/components/schemas/InferenceProfileSnapshot"
|
|
13909
|
+
},
|
|
13910
|
+
"error": {
|
|
13911
|
+
"$ref": "#/components/schemas/InteractionExecutionError"
|
|
13912
|
+
},
|
|
13913
|
+
"source": {
|
|
13914
|
+
"$ref": "#/components/schemas/RunSource"
|
|
13915
|
+
},
|
|
13916
|
+
"output_modality": {
|
|
13917
|
+
"deprecated": true,
|
|
13918
|
+
"x-deprecated-message": "This is deprecated. Use CompletionResult.type information instead.",
|
|
13919
|
+
"$ref": "#/components/schemas/Modalities",
|
|
13920
|
+
"description": "Deprecated: This is deprecated. Use CompletionResult.type information instead."
|
|
13921
|
+
},
|
|
13922
|
+
"created_by": {
|
|
13923
|
+
"type": "string"
|
|
13924
|
+
},
|
|
13925
|
+
"updated_by": {
|
|
13926
|
+
"type": "string"
|
|
13927
|
+
},
|
|
13928
|
+
"workflow": {
|
|
13929
|
+
"$ref": "#/components/schemas/ExecutionRunWorkflow",
|
|
13930
|
+
"description": "The Vertesia Workflow related to this Interaction Run.\n\nThis is only set when the interaction is executed as part of a workflow."
|
|
13931
|
+
},
|
|
13932
|
+
"account": {
|
|
13933
|
+
"type": "string"
|
|
13934
|
+
},
|
|
13935
|
+
"project": {
|
|
13936
|
+
"type": "string"
|
|
13937
|
+
},
|
|
13938
|
+
"interaction": {
|
|
13939
|
+
"$ref": "#/components/schemas/ExecutionRunInteraction"
|
|
13940
|
+
},
|
|
13941
|
+
"tool_use": {
|
|
13942
|
+
"type": "array",
|
|
13943
|
+
"items": {
|
|
13944
|
+
"$ref": "#/components/schemas/ToolUse"
|
|
13945
|
+
}
|
|
13946
|
+
},
|
|
13947
|
+
"conversation": {},
|
|
13948
|
+
"options": {
|
|
13949
|
+
"$ref": "#/components/schemas/StatelessExecutionOptions"
|
|
13950
|
+
}
|
|
13951
|
+
},
|
|
13952
|
+
"required": [
|
|
13953
|
+
"id",
|
|
13954
|
+
"result",
|
|
13955
|
+
"parameters",
|
|
13956
|
+
"environment",
|
|
13957
|
+
"ttl",
|
|
13958
|
+
"status",
|
|
13959
|
+
"created_at",
|
|
13960
|
+
"updated_at",
|
|
13961
|
+
"config",
|
|
13962
|
+
"source",
|
|
13963
|
+
"created_by",
|
|
13964
|
+
"updated_by",
|
|
13965
|
+
"account",
|
|
13966
|
+
"project"
|
|
13967
|
+
],
|
|
13968
|
+
"additionalProperties": false,
|
|
13969
|
+
"description": "An execution run with its completion result and its interaction reference populated."
|
|
13970
|
+
},
|
|
13971
|
+
"LegacyExecutionRunResult": {
|
|
13972
|
+
"type": "object",
|
|
13973
|
+
"properties": {
|
|
13974
|
+
"id": {
|
|
13975
|
+
"type": "string"
|
|
13976
|
+
},
|
|
13977
|
+
"parent": {
|
|
13978
|
+
"anyOf": [
|
|
13979
|
+
{
|
|
13980
|
+
"type": "string"
|
|
13981
|
+
},
|
|
13982
|
+
{
|
|
13983
|
+
"$ref": "#/components/schemas/ExecutionRun"
|
|
13984
|
+
}
|
|
13985
|
+
],
|
|
13986
|
+
"description": "Only used by runs that were created by a virtual run to point toward the virtual run parent"
|
|
13987
|
+
},
|
|
13988
|
+
"evaluation": {
|
|
13989
|
+
"type": "object",
|
|
13990
|
+
"properties": {
|
|
13991
|
+
"score": {
|
|
13992
|
+
"type": "number"
|
|
13993
|
+
},
|
|
13994
|
+
"selected": {
|
|
13995
|
+
"type": "boolean"
|
|
13996
|
+
},
|
|
13997
|
+
"scores": {
|
|
13998
|
+
"$ref": "#/components/schemas/NumberValueMap"
|
|
13999
|
+
}
|
|
14000
|
+
},
|
|
14001
|
+
"additionalProperties": false
|
|
14002
|
+
},
|
|
14003
|
+
"result": {
|
|
14004
|
+
"description": "The completion result collapsed to a single value: the parsed JSON object when the run produced one, the joined text otherwise. Superseded by the `result` array of the current API version."
|
|
14005
|
+
},
|
|
14006
|
+
"parameters": {
|
|
14007
|
+
"type": "object",
|
|
14008
|
+
"additionalProperties": true,
|
|
14009
|
+
"description": "The parameters used to create the interaction. If the parameters contains the special property \"@memory\" it will be used to locate a memory pack and the other properties will be used as the memory pack mapping."
|
|
14010
|
+
},
|
|
14011
|
+
"tags": {
|
|
14012
|
+
"type": "array",
|
|
14013
|
+
"items": {
|
|
14014
|
+
"type": "string"
|
|
14015
|
+
}
|
|
14016
|
+
},
|
|
14017
|
+
"environment": {
|
|
14018
|
+
"$ref": "#/components/schemas/ExecutionEnvironmentRef",
|
|
14019
|
+
"description": "Environment reference - populated with full object in API responses"
|
|
14020
|
+
},
|
|
14021
|
+
"modelId": {
|
|
14022
|
+
"type": "string"
|
|
14023
|
+
},
|
|
14024
|
+
"result_schema": {
|
|
14025
|
+
"$ref": "#/components/schemas/JSONSchema"
|
|
14026
|
+
},
|
|
14027
|
+
"ttl": {
|
|
14028
|
+
"type": "number"
|
|
14029
|
+
},
|
|
14030
|
+
"status": {
|
|
14031
|
+
"$ref": "#/components/schemas/ExecutionRunStatus"
|
|
14032
|
+
},
|
|
14033
|
+
"finish_reason": {
|
|
14034
|
+
"type": "string"
|
|
14035
|
+
},
|
|
14036
|
+
"prompt": {},
|
|
14037
|
+
"token_use": {
|
|
14038
|
+
"$ref": "#/components/schemas/ExecutionTokenUsage"
|
|
14039
|
+
},
|
|
14040
|
+
"prompt_cache_diagnostics": {
|
|
14041
|
+
"type": "array",
|
|
14042
|
+
"items": {
|
|
14043
|
+
"$ref": "#/components/schemas/PromptCacheDiagnostic"
|
|
14044
|
+
}
|
|
14045
|
+
},
|
|
14046
|
+
"chunks": {
|
|
14047
|
+
"type": "number"
|
|
14048
|
+
},
|
|
14049
|
+
"execution_time": {
|
|
14050
|
+
"type": "number"
|
|
14051
|
+
},
|
|
14052
|
+
"created_at": {
|
|
14053
|
+
"type": "string",
|
|
14054
|
+
"format": "date-time"
|
|
14055
|
+
},
|
|
14056
|
+
"updated_at": {
|
|
14057
|
+
"type": "string",
|
|
14058
|
+
"format": "date-time"
|
|
14059
|
+
},
|
|
14060
|
+
"config": {
|
|
14061
|
+
"$ref": "#/components/schemas/InteractionExecutionConfiguration"
|
|
14062
|
+
},
|
|
14063
|
+
"inference_profile": {
|
|
14064
|
+
"$ref": "#/components/schemas/InferenceProfileSnapshot"
|
|
13235
14065
|
},
|
|
13236
14066
|
"error": {
|
|
13237
14067
|
"$ref": "#/components/schemas/InteractionExecutionError"
|
|
@@ -13386,6 +14216,9 @@
|
|
|
13386
14216
|
"config": {
|
|
13387
14217
|
"$ref": "#/components/schemas/InteractionExecutionConfiguration"
|
|
13388
14218
|
},
|
|
14219
|
+
"inference_profile": {
|
|
14220
|
+
"$ref": "#/components/schemas/InferenceProfileSnapshot"
|
|
14221
|
+
},
|
|
13389
14222
|
"error": {
|
|
13390
14223
|
"$ref": "#/components/schemas/InteractionExecutionError"
|
|
13391
14224
|
},
|
|
@@ -13490,6 +14323,10 @@
|
|
|
13490
14323
|
"type": "boolean",
|
|
13491
14324
|
"description": "Whether to generate lessons automatically at completion. Defaults to true; conversation content remains searchable when disabled."
|
|
13492
14325
|
},
|
|
14326
|
+
"evaluate": {
|
|
14327
|
+
"type": "boolean",
|
|
14328
|
+
"description": "Request LLM evaluation when the project evaluation policy is opt_in. Defaults to false. Cannot override disabled or opt out of always_on."
|
|
14329
|
+
},
|
|
13493
14330
|
"app_version": {
|
|
13494
14331
|
"type": "string",
|
|
13495
14332
|
"description": "Immutable app-version target inherited by this conversation execution. The workflow applies it to app-owned resource resolution; callers normally set the x-vertesia-app-version header instead of populating this field directly."
|
|
@@ -13636,6 +14473,10 @@
|
|
|
13636
14473
|
"$ref": "#/components/schemas/AgentCheckpointConfiguration",
|
|
13637
14474
|
"description": "Structured per-run checkpoint override. Field-wise it takes precedence over the interaction's `agent_runner_options.checkpoint` and the project's `configuration.agent.checkpoint`. The legacy absolute `checkpoint_tokens` above still wins over everything when set."
|
|
13638
14475
|
},
|
|
14476
|
+
"budget": {
|
|
14477
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration",
|
|
14478
|
+
"description": "Per-run token budget override. Field-wise it takes precedence over the interaction's `agent_runner_options.budget` and the project's `configuration.agent.budget`. Subagent workstreams receive the remaining budget of their parent here."
|
|
14479
|
+
},
|
|
13639
14480
|
"strip_options": {
|
|
13640
14481
|
"$ref": "#/components/schemas/ConversationStripOptions",
|
|
13641
14482
|
"description": "Configuration for stripping large data (images, text) from conversation history to prevent JSON serialization issues and reduce storage bloat."
|
|
@@ -13661,6 +14502,10 @@
|
|
|
13661
14502
|
"additionalProperties": true,
|
|
13662
14503
|
"description": "Metadata inherited from parent workflow. Used to propagate context (e.g., apiKey, session info) to child workflows/workstreams. When a workstream is spawned, the parent's `data` is preserved here so that child tools can access it via metadata.parent_metadata."
|
|
13663
14504
|
},
|
|
14505
|
+
"final_verification": {
|
|
14506
|
+
"type": "boolean",
|
|
14507
|
+
"description": "When true, a non-interactive free-form run takes one extra turn after its answer to check that the task is complete. Off by default, and never applied to workstreams: their parent reviews the result and can message the workstream to continue."
|
|
14508
|
+
},
|
|
13664
14509
|
"non_blocking_subagents": {
|
|
13665
14510
|
"type": "boolean",
|
|
13666
14511
|
"description": "When true, subagent/workstream tool calls use fire-and-forget `startChild()` instead of blocking `executeChild()`. The parent continues reasoning while children run, receiving progress/completion via Temporal signals."
|
|
@@ -14021,6 +14866,19 @@
|
|
|
14021
14866
|
"environment_id": {
|
|
14022
14867
|
"type": "string"
|
|
14023
14868
|
},
|
|
14869
|
+
"inference_profile": {
|
|
14870
|
+
"anyOf": [
|
|
14871
|
+
{
|
|
14872
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
14873
|
+
},
|
|
14874
|
+
{
|
|
14875
|
+
"type": "null"
|
|
14876
|
+
}
|
|
14877
|
+
]
|
|
14878
|
+
},
|
|
14879
|
+
"inherit_model_config": {
|
|
14880
|
+
"type": "boolean"
|
|
14881
|
+
},
|
|
14024
14882
|
"model_id": {
|
|
14025
14883
|
"type": "string"
|
|
14026
14884
|
},
|
|
@@ -15263,26 +16121,53 @@
|
|
|
15263
16121
|
"additionalProperties": false,
|
|
15264
16122
|
"description": "Whether an API key is configured for an MCP tool collection"
|
|
15265
16123
|
},
|
|
15266
|
-
"
|
|
16124
|
+
"AuditAdoptionActiveDays": {
|
|
15267
16125
|
"type": "object",
|
|
15268
16126
|
"properties": {
|
|
15269
|
-
"
|
|
15270
|
-
"type": "
|
|
16127
|
+
"days": {
|
|
16128
|
+
"type": "integer",
|
|
16129
|
+
"minimum": 1,
|
|
16130
|
+
"maximum": 367
|
|
15271
16131
|
},
|
|
15272
|
-
"
|
|
15273
|
-
"type": "
|
|
16132
|
+
"users": {
|
|
16133
|
+
"type": "integer",
|
|
16134
|
+
"minimum": 0,
|
|
16135
|
+
"maximum": 9007199254740991
|
|
16136
|
+
}
|
|
16137
|
+
},
|
|
16138
|
+
"required": [
|
|
16139
|
+
"days",
|
|
16140
|
+
"users"
|
|
16141
|
+
],
|
|
16142
|
+
"additionalProperties": false
|
|
16143
|
+
},
|
|
16144
|
+
"AuditAdoptionBucket": {
|
|
16145
|
+
"type": "object",
|
|
16146
|
+
"properties": {
|
|
16147
|
+
"from": {
|
|
16148
|
+
"type": "string",
|
|
16149
|
+
"format": "date-time"
|
|
15274
16150
|
},
|
|
15275
|
-
"
|
|
15276
|
-
"type": "
|
|
16151
|
+
"to": {
|
|
16152
|
+
"type": "string",
|
|
16153
|
+
"format": "date-time"
|
|
16154
|
+
},
|
|
16155
|
+
"partial": {
|
|
16156
|
+
"type": "boolean"
|
|
16157
|
+
},
|
|
16158
|
+
"active_users": {
|
|
16159
|
+
"type": "integer",
|
|
16160
|
+
"minimum": 0,
|
|
16161
|
+
"maximum": 9007199254740991
|
|
15277
16162
|
}
|
|
15278
16163
|
},
|
|
15279
16164
|
"required": [
|
|
15280
|
-
"
|
|
15281
|
-
"
|
|
15282
|
-
"
|
|
16165
|
+
"from",
|
|
16166
|
+
"to",
|
|
16167
|
+
"partial",
|
|
16168
|
+
"active_users"
|
|
15283
16169
|
],
|
|
15284
|
-
"additionalProperties": false
|
|
15285
|
-
"description": "Generic metering entry attached to audit events. Used for cost attribution, usage tracking, and billing.\n\nExamples: { category: \"tokens\", type: \"input\", quantity: 1234 } { category: \"tokens\", type: \"output\", quantity: 567 } { category: \"compute\", type: \"duration_ms\", quantity: 2100 } { category: \"processing\", type: \"pages\", quantity: 12 }"
|
|
16170
|
+
"additionalProperties": false
|
|
15286
16171
|
},
|
|
15287
16172
|
"KnownAuditAction": {
|
|
15288
16173
|
"type": "string",
|
|
@@ -15300,6 +16185,8 @@
|
|
|
15300
16185
|
"credentials_totp_generation",
|
|
15301
16186
|
"publish",
|
|
15302
16187
|
"unpublish",
|
|
16188
|
+
"search",
|
|
16189
|
+
"read",
|
|
15303
16190
|
"inference",
|
|
15304
16191
|
"embedding",
|
|
15305
16192
|
"image_generation",
|
|
@@ -15317,6 +16204,492 @@
|
|
|
15317
16204
|
"external"
|
|
15318
16205
|
]
|
|
15319
16206
|
},
|
|
16207
|
+
"AuditAction": {
|
|
16208
|
+
"anyOf": [
|
|
16209
|
+
{
|
|
16210
|
+
"$ref": "#/components/schemas/KnownAuditAction"
|
|
16211
|
+
},
|
|
16212
|
+
{
|
|
16213
|
+
"type": "string"
|
|
16214
|
+
}
|
|
16215
|
+
]
|
|
16216
|
+
},
|
|
16217
|
+
"AuditAdoptionFilter": {
|
|
16218
|
+
"type": "object",
|
|
16219
|
+
"properties": {
|
|
16220
|
+
"actions": {
|
|
16221
|
+
"maxItems": 32,
|
|
16222
|
+
"type": "array",
|
|
16223
|
+
"items": {
|
|
16224
|
+
"$ref": "#/components/schemas/AuditAction"
|
|
16225
|
+
}
|
|
16226
|
+
},
|
|
16227
|
+
"resourceTypes": {
|
|
16228
|
+
"maxItems": 16,
|
|
16229
|
+
"type": "array",
|
|
16230
|
+
"items": {
|
|
16231
|
+
"type": "string",
|
|
16232
|
+
"maxLength": 128
|
|
16233
|
+
}
|
|
16234
|
+
},
|
|
16235
|
+
"eventCategories": {
|
|
16236
|
+
"maxItems": 6,
|
|
16237
|
+
"type": "array",
|
|
16238
|
+
"items": {
|
|
16239
|
+
"$ref": "#/components/schemas/EventCategory"
|
|
16240
|
+
}
|
|
16241
|
+
}
|
|
16242
|
+
},
|
|
16243
|
+
"additionalProperties": false
|
|
16244
|
+
},
|
|
16245
|
+
"AuditAdoptionHistory": {
|
|
16246
|
+
"type": "object",
|
|
16247
|
+
"properties": {
|
|
16248
|
+
"earliest_observed_at": {
|
|
16249
|
+
"anyOf": [
|
|
16250
|
+
{
|
|
16251
|
+
"type": "string",
|
|
16252
|
+
"format": "date-time"
|
|
16253
|
+
},
|
|
16254
|
+
{
|
|
16255
|
+
"type": "null"
|
|
16256
|
+
}
|
|
16257
|
+
]
|
|
16258
|
+
},
|
|
16259
|
+
"coverage_from": {
|
|
16260
|
+
"anyOf": [
|
|
16261
|
+
{
|
|
16262
|
+
"type": "string",
|
|
16263
|
+
"format": "date-time",
|
|
16264
|
+
"description": "Authoritative complete-history boundary, if known. Earliest observation is not a coverage boundary."
|
|
16265
|
+
},
|
|
16266
|
+
{
|
|
16267
|
+
"type": "null"
|
|
16268
|
+
}
|
|
16269
|
+
]
|
|
16270
|
+
},
|
|
16271
|
+
"completeness": {
|
|
16272
|
+
"type": "string",
|
|
16273
|
+
"enum": [
|
|
16274
|
+
"unknown",
|
|
16275
|
+
"insufficient",
|
|
16276
|
+
"verified"
|
|
16277
|
+
]
|
|
16278
|
+
},
|
|
16279
|
+
"retention_unavailable_reason": {
|
|
16280
|
+
"anyOf": [
|
|
16281
|
+
{
|
|
16282
|
+
"type": "string",
|
|
16283
|
+
"enum": [
|
|
16284
|
+
"no_previous_users",
|
|
16285
|
+
"insufficient_history"
|
|
16286
|
+
]
|
|
16287
|
+
},
|
|
16288
|
+
{
|
|
16289
|
+
"type": "null"
|
|
16290
|
+
}
|
|
16291
|
+
]
|
|
16292
|
+
}
|
|
16293
|
+
},
|
|
16294
|
+
"required": [
|
|
16295
|
+
"earliest_observed_at",
|
|
16296
|
+
"coverage_from",
|
|
16297
|
+
"completeness",
|
|
16298
|
+
"retention_unavailable_reason"
|
|
16299
|
+
],
|
|
16300
|
+
"additionalProperties": false
|
|
16301
|
+
},
|
|
16302
|
+
"AuditAdoptionPeriod": {
|
|
16303
|
+
"type": "object",
|
|
16304
|
+
"properties": {
|
|
16305
|
+
"from": {
|
|
16306
|
+
"type": "string",
|
|
16307
|
+
"format": "date-time"
|
|
16308
|
+
},
|
|
16309
|
+
"to": {
|
|
16310
|
+
"type": "string",
|
|
16311
|
+
"format": "date-time"
|
|
16312
|
+
}
|
|
16313
|
+
},
|
|
16314
|
+
"required": [
|
|
16315
|
+
"from",
|
|
16316
|
+
"to"
|
|
16317
|
+
],
|
|
16318
|
+
"additionalProperties": false
|
|
16319
|
+
},
|
|
16320
|
+
"AuditAdoptionProject": {
|
|
16321
|
+
"type": "object",
|
|
16322
|
+
"properties": {
|
|
16323
|
+
"project_id": {
|
|
16324
|
+
"type": "string"
|
|
16325
|
+
},
|
|
16326
|
+
"project_name": {
|
|
16327
|
+
"anyOf": [
|
|
16328
|
+
{
|
|
16329
|
+
"type": "string"
|
|
16330
|
+
},
|
|
16331
|
+
{
|
|
16332
|
+
"type": "null"
|
|
16333
|
+
}
|
|
16334
|
+
]
|
|
16335
|
+
},
|
|
16336
|
+
"active_users": {
|
|
16337
|
+
"type": "integer",
|
|
16338
|
+
"minimum": 0,
|
|
16339
|
+
"maximum": 9007199254740991
|
|
16340
|
+
},
|
|
16341
|
+
"active_user_days": {
|
|
16342
|
+
"type": "integer",
|
|
16343
|
+
"minimum": 0,
|
|
16344
|
+
"maximum": 9007199254740991
|
|
16345
|
+
}
|
|
16346
|
+
},
|
|
16347
|
+
"required": [
|
|
16348
|
+
"project_id",
|
|
16349
|
+
"project_name",
|
|
16350
|
+
"active_users",
|
|
16351
|
+
"active_user_days"
|
|
16352
|
+
],
|
|
16353
|
+
"additionalProperties": false
|
|
16354
|
+
},
|
|
16355
|
+
"AuditAdoptionQuery": {
|
|
16356
|
+
"type": "object",
|
|
16357
|
+
"properties": {
|
|
16358
|
+
"projectId": {
|
|
16359
|
+
"type": "string"
|
|
16360
|
+
},
|
|
16361
|
+
"from": {
|
|
16362
|
+
"type": "string",
|
|
16363
|
+
"format": "date-time",
|
|
16364
|
+
"description": "Inclusive start; defaults to 30 days before to."
|
|
16365
|
+
},
|
|
16366
|
+
"to": {
|
|
16367
|
+
"type": "string",
|
|
16368
|
+
"format": "date-time",
|
|
16369
|
+
"description": "Exclusive end; defaults to now. Maximum duration: 366 days."
|
|
16370
|
+
},
|
|
16371
|
+
"filter": {
|
|
16372
|
+
"$ref": "#/components/schemas/AuditAdoptionFilter"
|
|
16373
|
+
}
|
|
16374
|
+
},
|
|
16375
|
+
"additionalProperties": false,
|
|
16376
|
+
"description": "Productive direct authenticated user activity, including user OAuth/MCP calls. Scope is enforced by the server."
|
|
16377
|
+
},
|
|
16378
|
+
"AuditAdoptionResponse": {
|
|
16379
|
+
"type": "object",
|
|
16380
|
+
"properties": {
|
|
16381
|
+
"period": {
|
|
16382
|
+
"$ref": "#/components/schemas/AuditAdoptionPeriod"
|
|
16383
|
+
},
|
|
16384
|
+
"previous_period": {
|
|
16385
|
+
"$ref": "#/components/schemas/AuditAdoptionPeriod"
|
|
16386
|
+
},
|
|
16387
|
+
"resolution": {
|
|
16388
|
+
"type": "string",
|
|
16389
|
+
"enum": [
|
|
16390
|
+
"day",
|
|
16391
|
+
"week"
|
|
16392
|
+
]
|
|
16393
|
+
},
|
|
16394
|
+
"active_users": {
|
|
16395
|
+
"type": "integer",
|
|
16396
|
+
"minimum": 0,
|
|
16397
|
+
"maximum": 9007199254740991
|
|
16398
|
+
},
|
|
16399
|
+
"previous_active_users": {
|
|
16400
|
+
"type": "integer",
|
|
16401
|
+
"minimum": 0,
|
|
16402
|
+
"maximum": 9007199254740991
|
|
16403
|
+
},
|
|
16404
|
+
"retained_users": {
|
|
16405
|
+
"type": "integer",
|
|
16406
|
+
"minimum": 0,
|
|
16407
|
+
"maximum": 9007199254740991
|
|
16408
|
+
},
|
|
16409
|
+
"observed_retention": {
|
|
16410
|
+
"anyOf": [
|
|
16411
|
+
{
|
|
16412
|
+
"type": "number",
|
|
16413
|
+
"minimum": 0,
|
|
16414
|
+
"maximum": 1
|
|
16415
|
+
},
|
|
16416
|
+
{
|
|
16417
|
+
"type": "null"
|
|
16418
|
+
}
|
|
16419
|
+
]
|
|
16420
|
+
},
|
|
16421
|
+
"returning_user_share": {
|
|
16422
|
+
"anyOf": [
|
|
16423
|
+
{
|
|
16424
|
+
"type": "number",
|
|
16425
|
+
"minimum": 0,
|
|
16426
|
+
"maximum": 1
|
|
16427
|
+
},
|
|
16428
|
+
{
|
|
16429
|
+
"type": "null"
|
|
16430
|
+
}
|
|
16431
|
+
]
|
|
16432
|
+
},
|
|
16433
|
+
"repeat_user_share": {
|
|
16434
|
+
"anyOf": [
|
|
16435
|
+
{
|
|
16436
|
+
"type": "number",
|
|
16437
|
+
"minimum": 0,
|
|
16438
|
+
"maximum": 1
|
|
16439
|
+
},
|
|
16440
|
+
{
|
|
16441
|
+
"type": "null"
|
|
16442
|
+
}
|
|
16443
|
+
]
|
|
16444
|
+
},
|
|
16445
|
+
"median_active_days": {
|
|
16446
|
+
"anyOf": [
|
|
16447
|
+
{
|
|
16448
|
+
"type": "number",
|
|
16449
|
+
"minimum": 0
|
|
16450
|
+
},
|
|
16451
|
+
{
|
|
16452
|
+
"type": "null"
|
|
16453
|
+
}
|
|
16454
|
+
]
|
|
16455
|
+
},
|
|
16456
|
+
"active_projects": {
|
|
16457
|
+
"anyOf": [
|
|
16458
|
+
{
|
|
16459
|
+
"type": "integer",
|
|
16460
|
+
"minimum": 0,
|
|
16461
|
+
"maximum": 9007199254740991
|
|
16462
|
+
},
|
|
16463
|
+
{
|
|
16464
|
+
"type": "null"
|
|
16465
|
+
}
|
|
16466
|
+
]
|
|
16467
|
+
},
|
|
16468
|
+
"timeline": {
|
|
16469
|
+
"type": "array",
|
|
16470
|
+
"items": {
|
|
16471
|
+
"$ref": "#/components/schemas/AuditAdoptionBucket"
|
|
16472
|
+
}
|
|
16473
|
+
},
|
|
16474
|
+
"active_day_distribution": {
|
|
16475
|
+
"type": "array",
|
|
16476
|
+
"items": {
|
|
16477
|
+
"$ref": "#/components/schemas/AuditAdoptionActiveDays"
|
|
16478
|
+
}
|
|
16479
|
+
},
|
|
16480
|
+
"top_projects": {
|
|
16481
|
+
"maxItems": 10,
|
|
16482
|
+
"type": "array",
|
|
16483
|
+
"items": {
|
|
16484
|
+
"$ref": "#/components/schemas/AuditAdoptionProject"
|
|
16485
|
+
}
|
|
16486
|
+
},
|
|
16487
|
+
"history": {
|
|
16488
|
+
"$ref": "#/components/schemas/AuditAdoptionHistory"
|
|
16489
|
+
}
|
|
16490
|
+
},
|
|
16491
|
+
"required": [
|
|
16492
|
+
"period",
|
|
16493
|
+
"previous_period",
|
|
16494
|
+
"resolution",
|
|
16495
|
+
"active_users",
|
|
16496
|
+
"previous_active_users",
|
|
16497
|
+
"retained_users",
|
|
16498
|
+
"observed_retention",
|
|
16499
|
+
"returning_user_share",
|
|
16500
|
+
"repeat_user_share",
|
|
16501
|
+
"median_active_days",
|
|
16502
|
+
"active_projects",
|
|
16503
|
+
"timeline",
|
|
16504
|
+
"active_day_distribution",
|
|
16505
|
+
"top_projects",
|
|
16506
|
+
"history"
|
|
16507
|
+
],
|
|
16508
|
+
"additionalProperties": false,
|
|
16509
|
+
"description": "Distinct user adoption sets over two equal-duration half-open periods. Ratios use available audit history, not guaranteed historical coverage. No user identities are returned."
|
|
16510
|
+
},
|
|
16511
|
+
"AuditUsageQuery": {
|
|
16512
|
+
"type": "object",
|
|
16513
|
+
"properties": {
|
|
16514
|
+
"projectId": {
|
|
16515
|
+
"type": "string"
|
|
16516
|
+
},
|
|
16517
|
+
"from": {
|
|
16518
|
+
"type": "string",
|
|
16519
|
+
"format": "date-time",
|
|
16520
|
+
"description": "Inclusive start; defaults to 30 days before to."
|
|
16521
|
+
},
|
|
16522
|
+
"to": {
|
|
16523
|
+
"type": "string",
|
|
16524
|
+
"format": "date-time",
|
|
16525
|
+
"description": "Exclusive end; defaults to now. Maximum duration: 366 days."
|
|
16526
|
+
},
|
|
16527
|
+
"resolution": {
|
|
16528
|
+
"type": "string",
|
|
16529
|
+
"enum": [
|
|
16530
|
+
"day",
|
|
16531
|
+
"week",
|
|
16532
|
+
"month"
|
|
16533
|
+
],
|
|
16534
|
+
"description": "UTC calendar buckets. Weeks start Monday. Omitted: daily up to 200 dates, otherwise weekly."
|
|
16535
|
+
}
|
|
16536
|
+
},
|
|
16537
|
+
"additionalProperties": false,
|
|
16538
|
+
"description": "Usage trends for an authorized account or project over a half-open interval of at most 366 days."
|
|
16539
|
+
},
|
|
16540
|
+
"AuditUsageCounts": {
|
|
16541
|
+
"type": "object",
|
|
16542
|
+
"properties": {
|
|
16543
|
+
"active_users": {
|
|
16544
|
+
"type": "integer",
|
|
16545
|
+
"minimum": 0,
|
|
16546
|
+
"maximum": 9007199254740991
|
|
16547
|
+
},
|
|
16548
|
+
"agent_runs": {
|
|
16549
|
+
"type": "integer",
|
|
16550
|
+
"minimum": 0,
|
|
16551
|
+
"maximum": 9007199254740991,
|
|
16552
|
+
"description": "All audited run creations and marked restarts, including automated runs."
|
|
16553
|
+
},
|
|
16554
|
+
"user_agent_runs": {
|
|
16555
|
+
"type": "integer",
|
|
16556
|
+
"minimum": 0,
|
|
16557
|
+
"maximum": 9007199254740991,
|
|
16558
|
+
"description": "Run operations initiated directly by authenticated users, including OAuth/MCP."
|
|
16559
|
+
},
|
|
16560
|
+
"automated_agent_runs": {
|
|
16561
|
+
"type": "integer",
|
|
16562
|
+
"minimum": 0,
|
|
16563
|
+
"maximum": 9007199254740991,
|
|
16564
|
+
"description": "Other run operations, including schedules, delegated agents, services and API keys."
|
|
16565
|
+
},
|
|
16566
|
+
"agent_users": {
|
|
16567
|
+
"type": "integer",
|
|
16568
|
+
"minimum": 0,
|
|
16569
|
+
"maximum": 9007199254740991,
|
|
16570
|
+
"description": "Distinct identifiable user initiators or owners of run operations, including scheduled and delegated runs."
|
|
16571
|
+
},
|
|
16572
|
+
"direct_calls": {
|
|
16573
|
+
"type": "integer",
|
|
16574
|
+
"minimum": 0,
|
|
16575
|
+
"maximum": 9007199254740991
|
|
16576
|
+
},
|
|
16577
|
+
"direct_call_users": {
|
|
16578
|
+
"type": "integer",
|
|
16579
|
+
"minimum": 0,
|
|
16580
|
+
"maximum": 9007199254740991
|
|
16581
|
+
},
|
|
16582
|
+
"content_objects": {
|
|
16583
|
+
"type": "integer",
|
|
16584
|
+
"minimum": 0,
|
|
16585
|
+
"maximum": 9007199254740991
|
|
16586
|
+
},
|
|
16587
|
+
"user_content_objects": {
|
|
16588
|
+
"type": "integer",
|
|
16589
|
+
"minimum": 0,
|
|
16590
|
+
"maximum": 9007199254740991
|
|
16591
|
+
},
|
|
16592
|
+
"other_content_objects": {
|
|
16593
|
+
"type": "integer",
|
|
16594
|
+
"minimum": 0,
|
|
16595
|
+
"maximum": 9007199254740991
|
|
16596
|
+
}
|
|
16597
|
+
},
|
|
16598
|
+
"required": [
|
|
16599
|
+
"active_users",
|
|
16600
|
+
"agent_runs",
|
|
16601
|
+
"user_agent_runs",
|
|
16602
|
+
"automated_agent_runs",
|
|
16603
|
+
"agent_users",
|
|
16604
|
+
"direct_calls",
|
|
16605
|
+
"direct_call_users",
|
|
16606
|
+
"content_objects",
|
|
16607
|
+
"user_content_objects",
|
|
16608
|
+
"other_content_objects"
|
|
16609
|
+
],
|
|
16610
|
+
"additionalProperties": false,
|
|
16611
|
+
"description": "Direct productive users, run initiators/owners, all run operations and standalone inference audit events."
|
|
16612
|
+
},
|
|
16613
|
+
"AuditUsageBucket": {
|
|
16614
|
+
"type": "object",
|
|
16615
|
+
"properties": {
|
|
16616
|
+
"from": {
|
|
16617
|
+
"type": "string",
|
|
16618
|
+
"format": "date-time"
|
|
16619
|
+
},
|
|
16620
|
+
"to": {
|
|
16621
|
+
"type": "string",
|
|
16622
|
+
"format": "date-time"
|
|
16623
|
+
},
|
|
16624
|
+
"partial": {
|
|
16625
|
+
"type": "boolean"
|
|
16626
|
+
},
|
|
16627
|
+
"counts": {
|
|
16628
|
+
"$ref": "#/components/schemas/AuditUsageCounts"
|
|
16629
|
+
}
|
|
16630
|
+
},
|
|
16631
|
+
"required": [
|
|
16632
|
+
"from",
|
|
16633
|
+
"to",
|
|
16634
|
+
"partial",
|
|
16635
|
+
"counts"
|
|
16636
|
+
],
|
|
16637
|
+
"additionalProperties": false
|
|
16638
|
+
},
|
|
16639
|
+
"AuditUsageResponse": {
|
|
16640
|
+
"type": "object",
|
|
16641
|
+
"properties": {
|
|
16642
|
+
"period": {
|
|
16643
|
+
"$ref": "#/components/schemas/AuditAdoptionPeriod"
|
|
16644
|
+
},
|
|
16645
|
+
"resolution": {
|
|
16646
|
+
"type": "string",
|
|
16647
|
+
"enum": [
|
|
16648
|
+
"day",
|
|
16649
|
+
"week",
|
|
16650
|
+
"month"
|
|
16651
|
+
]
|
|
16652
|
+
},
|
|
16653
|
+
"totals": {
|
|
16654
|
+
"$ref": "#/components/schemas/AuditUsageCounts"
|
|
16655
|
+
},
|
|
16656
|
+
"timeline": {
|
|
16657
|
+
"type": "array",
|
|
16658
|
+
"items": {
|
|
16659
|
+
"$ref": "#/components/schemas/AuditUsageBucket"
|
|
16660
|
+
}
|
|
16661
|
+
}
|
|
16662
|
+
},
|
|
16663
|
+
"required": [
|
|
16664
|
+
"period",
|
|
16665
|
+
"resolution",
|
|
16666
|
+
"totals",
|
|
16667
|
+
"timeline"
|
|
16668
|
+
],
|
|
16669
|
+
"additionalProperties": false,
|
|
16670
|
+
"description": "UTC usage trends. Period-wide distinct users are not sums of bucket populations. No user identities are returned."
|
|
16671
|
+
},
|
|
16672
|
+
"AuditMeter": {
|
|
16673
|
+
"type": "object",
|
|
16674
|
+
"properties": {
|
|
16675
|
+
"category": {
|
|
16676
|
+
"type": "string"
|
|
16677
|
+
},
|
|
16678
|
+
"type": {
|
|
16679
|
+
"type": "string"
|
|
16680
|
+
},
|
|
16681
|
+
"quantity": {
|
|
16682
|
+
"type": "number"
|
|
16683
|
+
}
|
|
16684
|
+
},
|
|
16685
|
+
"required": [
|
|
16686
|
+
"category",
|
|
16687
|
+
"type",
|
|
16688
|
+
"quantity"
|
|
16689
|
+
],
|
|
16690
|
+
"additionalProperties": false,
|
|
16691
|
+
"description": "Generic metering entry attached to audit events. Used for cost attribution, usage tracking, and billing.\n\nExamples: { category: \"tokens\", type: \"input\", quantity: 1234 } { category: \"tokens\", type: \"output\", quantity: 567 } { category: \"compute\", type: \"duration_ms\", quantity: 2100 } { category: \"processing\", type: \"pages\", quantity: 12 }"
|
|
16692
|
+
},
|
|
15320
16693
|
"AuditAggregationDimensionMap": {
|
|
15321
16694
|
"type": "object",
|
|
15322
16695
|
"properties": {
|
|
@@ -15380,6 +16753,37 @@
|
|
|
15380
16753
|
}
|
|
15381
16754
|
]
|
|
15382
16755
|
},
|
|
16756
|
+
"principal_id": {
|
|
16757
|
+
"anyOf": [
|
|
16758
|
+
{
|
|
16759
|
+
"type": "string"
|
|
16760
|
+
},
|
|
16761
|
+
{
|
|
16762
|
+
"type": "null"
|
|
16763
|
+
}
|
|
16764
|
+
]
|
|
16765
|
+
},
|
|
16766
|
+
"actor_id": {
|
|
16767
|
+
"anyOf": [
|
|
16768
|
+
{
|
|
16769
|
+
"type": "string"
|
|
16770
|
+
},
|
|
16771
|
+
{
|
|
16772
|
+
"type": "null"
|
|
16773
|
+
}
|
|
16774
|
+
]
|
|
16775
|
+
},
|
|
16776
|
+
"user_id": {
|
|
16777
|
+
"anyOf": [
|
|
16778
|
+
{
|
|
16779
|
+
"type": "string"
|
|
16780
|
+
},
|
|
16781
|
+
{
|
|
16782
|
+
"type": "null"
|
|
16783
|
+
}
|
|
16784
|
+
],
|
|
16785
|
+
"description": "Originating user identity, including delegated and scheduled activity with a recorded user owner. Non-user principals without a user origin are excluded."
|
|
16786
|
+
},
|
|
15383
16787
|
"details.pipeline": {
|
|
15384
16788
|
"anyOf": [
|
|
15385
16789
|
{
|
|
@@ -15437,7 +16841,10 @@
|
|
|
15437
16841
|
"type": "string",
|
|
15438
16842
|
"enum": [
|
|
15439
16843
|
"resource_id",
|
|
15440
|
-
"request_id"
|
|
16844
|
+
"request_id",
|
|
16845
|
+
"principal_id",
|
|
16846
|
+
"actor_id",
|
|
16847
|
+
"user_id"
|
|
15441
16848
|
]
|
|
15442
16849
|
},
|
|
15443
16850
|
"AuditAggregationOperation": {
|
|
@@ -15467,6 +16874,9 @@
|
|
|
15467
16874
|
"event_category",
|
|
15468
16875
|
"provider",
|
|
15469
16876
|
"project_id",
|
|
16877
|
+
"principal_id",
|
|
16878
|
+
"actor_id",
|
|
16879
|
+
"user_id",
|
|
15470
16880
|
"details.pipeline",
|
|
15471
16881
|
"details.verdict",
|
|
15472
16882
|
"details.workflow_type",
|
|
@@ -15483,16 +16893,6 @@
|
|
|
15483
16893
|
"rule_id"
|
|
15484
16894
|
]
|
|
15485
16895
|
},
|
|
15486
|
-
"AuditAction": {
|
|
15487
|
-
"anyOf": [
|
|
15488
|
-
{
|
|
15489
|
-
"$ref": "#/components/schemas/KnownAuditAction"
|
|
15490
|
-
},
|
|
15491
|
-
{
|
|
15492
|
-
"type": "string"
|
|
15493
|
-
}
|
|
15494
|
-
]
|
|
15495
|
-
},
|
|
15496
16896
|
"AuditAggregationRow": {
|
|
15497
16897
|
"type": "object",
|
|
15498
16898
|
"properties": {
|
|
@@ -15819,6 +17219,13 @@
|
|
|
15819
17219
|
"type": "string"
|
|
15820
17220
|
}
|
|
15821
17221
|
},
|
|
17222
|
+
"principalTypes": {
|
|
17223
|
+
"type": "array",
|
|
17224
|
+
"items": {
|
|
17225
|
+
"type": "string"
|
|
17226
|
+
},
|
|
17227
|
+
"description": "Restrict events to top-level actor categories such as user or apikey."
|
|
17228
|
+
},
|
|
15822
17229
|
"success": {
|
|
15823
17230
|
"type": "boolean"
|
|
15824
17231
|
},
|
|
@@ -16115,6 +17522,21 @@
|
|
|
16115
17522
|
"id": {
|
|
16116
17523
|
"type": "string"
|
|
16117
17524
|
},
|
|
17525
|
+
"inference_profile": {
|
|
17526
|
+
"anyOf": [
|
|
17527
|
+
{
|
|
17528
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
17529
|
+
},
|
|
17530
|
+
{
|
|
17531
|
+
"type": "null"
|
|
17532
|
+
}
|
|
17533
|
+
],
|
|
17534
|
+
"description": "Select a project inference profile. Null bypasses profile defaults."
|
|
17535
|
+
},
|
|
17536
|
+
"inherit_model_config": {
|
|
17537
|
+
"type": "boolean",
|
|
17538
|
+
"description": "Treat the supplied environment, model and inference_profile as the caller's settings, inherited as a fallback: the interaction's bound or attached profile, or its own model, replaces them."
|
|
17539
|
+
},
|
|
16118
17540
|
"environment": {
|
|
16119
17541
|
"type": "string"
|
|
16120
17542
|
},
|
|
@@ -18268,6 +19690,10 @@
|
|
|
18268
19690
|
"build_version": {
|
|
18269
19691
|
"type": "boolean",
|
|
18270
19692
|
"description": "Create one immutable app version after validation. Defaults to false."
|
|
19693
|
+
},
|
|
19694
|
+
"budget": {
|
|
19695
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration",
|
|
19696
|
+
"description": "Token budget for the whole task, shared by the App Builder run and every step of its development process. Field-wise it overrides the project's `configuration.agent.budget`; `limit_tokens` <= 0 runs the task without a budget."
|
|
18271
19697
|
}
|
|
18272
19698
|
},
|
|
18273
19699
|
"required": [
|
|
@@ -19860,240 +21286,6 @@
|
|
|
19860
21286
|
}
|
|
19861
21287
|
}
|
|
19862
21288
|
},
|
|
19863
|
-
"EventWebhookSigningSecretRequest": {
|
|
19864
|
-
"type": "object",
|
|
19865
|
-
"properties": {
|
|
19866
|
-
"account_id": {
|
|
19867
|
-
"type": "string"
|
|
19868
|
-
},
|
|
19869
|
-
"project_id": {
|
|
19870
|
-
"type": "string"
|
|
19871
|
-
}
|
|
19872
|
-
},
|
|
19873
|
-
"required": [
|
|
19874
|
-
"project_id"
|
|
19875
|
-
],
|
|
19876
|
-
"additionalProperties": false
|
|
19877
|
-
},
|
|
19878
|
-
"EventWebhookSigningSecretResponse": {
|
|
19879
|
-
"type": "object",
|
|
19880
|
-
"properties": {
|
|
19881
|
-
"subscription_id": {
|
|
19882
|
-
"type": "string"
|
|
19883
|
-
},
|
|
19884
|
-
"secret": {
|
|
19885
|
-
"type": "string"
|
|
19886
|
-
},
|
|
19887
|
-
"secret_label": {
|
|
19888
|
-
"type": "string"
|
|
19889
|
-
}
|
|
19890
|
-
},
|
|
19891
|
-
"required": [
|
|
19892
|
-
"subscription_id",
|
|
19893
|
-
"secret",
|
|
19894
|
-
"secret_label"
|
|
19895
|
-
],
|
|
19896
|
-
"additionalProperties": false
|
|
19897
|
-
},
|
|
19898
|
-
"SignEventWebhookRequest": {
|
|
19899
|
-
"type": "object",
|
|
19900
|
-
"properties": {
|
|
19901
|
-
"account_id": {
|
|
19902
|
-
"type": "string"
|
|
19903
|
-
},
|
|
19904
|
-
"project_id": {
|
|
19905
|
-
"type": "string"
|
|
19906
|
-
},
|
|
19907
|
-
"delivery_id": {
|
|
19908
|
-
"type": "string"
|
|
19909
|
-
},
|
|
19910
|
-
"body": {
|
|
19911
|
-
"type": "string"
|
|
19912
|
-
},
|
|
19913
|
-
"event_id": {
|
|
19914
|
-
"type": "string"
|
|
19915
|
-
},
|
|
19916
|
-
"event_category": {
|
|
19917
|
-
"$ref": "#/components/schemas/EventCategory"
|
|
19918
|
-
},
|
|
19919
|
-
"action": {
|
|
19920
|
-
"type": "string"
|
|
19921
|
-
},
|
|
19922
|
-
"timestamp": {
|
|
19923
|
-
"type": "number"
|
|
19924
|
-
}
|
|
19925
|
-
},
|
|
19926
|
-
"required": [
|
|
19927
|
-
"project_id",
|
|
19928
|
-
"delivery_id",
|
|
19929
|
-
"body",
|
|
19930
|
-
"event_id",
|
|
19931
|
-
"event_category",
|
|
19932
|
-
"action"
|
|
19933
|
-
],
|
|
19934
|
-
"additionalProperties": false
|
|
19935
|
-
},
|
|
19936
|
-
"SignEventWebhookResponse": {
|
|
19937
|
-
"type": "object",
|
|
19938
|
-
"properties": {
|
|
19939
|
-
"headers": {
|
|
19940
|
-
"type": "object",
|
|
19941
|
-
"additionalProperties": {
|
|
19942
|
-
"type": "string"
|
|
19943
|
-
}
|
|
19944
|
-
},
|
|
19945
|
-
"timestamp": {
|
|
19946
|
-
"type": "number"
|
|
19947
|
-
},
|
|
19948
|
-
"signature": {
|
|
19949
|
-
"type": "string"
|
|
19950
|
-
}
|
|
19951
|
-
},
|
|
19952
|
-
"required": [
|
|
19953
|
-
"headers",
|
|
19954
|
-
"timestamp",
|
|
19955
|
-
"signature"
|
|
19956
|
-
],
|
|
19957
|
-
"additionalProperties": false
|
|
19958
|
-
},
|
|
19959
|
-
"EventIngestSigningSecretRequest": {
|
|
19960
|
-
"type": "object",
|
|
19961
|
-
"properties": {
|
|
19962
|
-
"account_id": {
|
|
19963
|
-
"type": "string"
|
|
19964
|
-
},
|
|
19965
|
-
"project_id": {
|
|
19966
|
-
"type": "string"
|
|
19967
|
-
}
|
|
19968
|
-
},
|
|
19969
|
-
"required": [
|
|
19970
|
-
"project_id"
|
|
19971
|
-
],
|
|
19972
|
-
"additionalProperties": false
|
|
19973
|
-
},
|
|
19974
|
-
"EventIngestSigningSecretResponse": {
|
|
19975
|
-
"type": "object",
|
|
19976
|
-
"properties": {
|
|
19977
|
-
"channel_id": {
|
|
19978
|
-
"type": "string"
|
|
19979
|
-
},
|
|
19980
|
-
"secret": {
|
|
19981
|
-
"type": "string"
|
|
19982
|
-
},
|
|
19983
|
-
"secret_label": {
|
|
19984
|
-
"type": "string"
|
|
19985
|
-
}
|
|
19986
|
-
},
|
|
19987
|
-
"required": [
|
|
19988
|
-
"channel_id",
|
|
19989
|
-
"secret",
|
|
19990
|
-
"secret_label"
|
|
19991
|
-
],
|
|
19992
|
-
"additionalProperties": false
|
|
19993
|
-
},
|
|
19994
|
-
"VerifyEventIngestSignatureRequest": {
|
|
19995
|
-
"type": "object",
|
|
19996
|
-
"properties": {
|
|
19997
|
-
"account_id": {
|
|
19998
|
-
"type": "string"
|
|
19999
|
-
},
|
|
20000
|
-
"project_id": {
|
|
20001
|
-
"type": "string"
|
|
20002
|
-
},
|
|
20003
|
-
"body": {
|
|
20004
|
-
"type": "string"
|
|
20005
|
-
},
|
|
20006
|
-
"signature_header": {
|
|
20007
|
-
"type": "string"
|
|
20008
|
-
},
|
|
20009
|
-
"algorithm": {
|
|
20010
|
-
"type": "string",
|
|
20011
|
-
"enum": [
|
|
20012
|
-
"sha256",
|
|
20013
|
-
"sha1"
|
|
20014
|
-
]
|
|
20015
|
-
},
|
|
20016
|
-
"encoding": {
|
|
20017
|
-
"type": "string",
|
|
20018
|
-
"enum": [
|
|
20019
|
-
"hex",
|
|
20020
|
-
"base64"
|
|
20021
|
-
]
|
|
20022
|
-
},
|
|
20023
|
-
"prefix": {
|
|
20024
|
-
"type": "string"
|
|
20025
|
-
}
|
|
20026
|
-
},
|
|
20027
|
-
"required": [
|
|
20028
|
-
"project_id",
|
|
20029
|
-
"body",
|
|
20030
|
-
"signature_header"
|
|
20031
|
-
],
|
|
20032
|
-
"additionalProperties": false
|
|
20033
|
-
},
|
|
20034
|
-
"VerifyEventIngestSignatureResponse": {
|
|
20035
|
-
"type": "object",
|
|
20036
|
-
"properties": {
|
|
20037
|
-
"valid": {
|
|
20038
|
-
"type": "boolean"
|
|
20039
|
-
}
|
|
20040
|
-
},
|
|
20041
|
-
"required": [
|
|
20042
|
-
"valid"
|
|
20043
|
-
],
|
|
20044
|
-
"additionalProperties": false
|
|
20045
|
-
},
|
|
20046
|
-
"GithubInstallationTokenRequest": {
|
|
20047
|
-
"type": "object",
|
|
20048
|
-
"properties": {
|
|
20049
|
-
"account_id": {
|
|
20050
|
-
"type": "string"
|
|
20051
|
-
},
|
|
20052
|
-
"project_id": {
|
|
20053
|
-
"type": "string"
|
|
20054
|
-
},
|
|
20055
|
-
"installation_id": {
|
|
20056
|
-
"type": "string"
|
|
20057
|
-
},
|
|
20058
|
-
"repo": {
|
|
20059
|
-
"type": "string"
|
|
20060
|
-
}
|
|
20061
|
-
},
|
|
20062
|
-
"required": [
|
|
20063
|
-
"project_id",
|
|
20064
|
-
"installation_id",
|
|
20065
|
-
"repo"
|
|
20066
|
-
],
|
|
20067
|
-
"additionalProperties": false
|
|
20068
|
-
},
|
|
20069
|
-
"GithubInstallationTokenResponse": {
|
|
20070
|
-
"type": "object",
|
|
20071
|
-
"properties": {
|
|
20072
|
-
"token": {
|
|
20073
|
-
"type": "string"
|
|
20074
|
-
},
|
|
20075
|
-
"expires_at": {
|
|
20076
|
-
"type": "string"
|
|
20077
|
-
}
|
|
20078
|
-
},
|
|
20079
|
-
"required": [
|
|
20080
|
-
"token"
|
|
20081
|
-
],
|
|
20082
|
-
"additionalProperties": false
|
|
20083
|
-
},
|
|
20084
|
-
"InternalSecretDeleteResponse": {
|
|
20085
|
-
"type": "object",
|
|
20086
|
-
"properties": {
|
|
20087
|
-
"deleted": {
|
|
20088
|
-
"type": "boolean",
|
|
20089
|
-
"const": true
|
|
20090
|
-
}
|
|
20091
|
-
},
|
|
20092
|
-
"required": [
|
|
20093
|
-
"deleted"
|
|
20094
|
-
],
|
|
20095
|
-
"additionalProperties": false
|
|
20096
|
-
},
|
|
20097
21289
|
"SupportedIntegrations_ask_user_webhook": {
|
|
20098
21290
|
"type": "string",
|
|
20099
21291
|
"const": "ask_user_webhook"
|
|
@@ -27650,6 +28842,10 @@
|
|
|
27650
28842
|
},
|
|
27651
28843
|
"description": "Compartments — set directly or inherited from collections (union across collections)."
|
|
27652
28844
|
},
|
|
28845
|
+
"shared_root": {
|
|
28846
|
+
"type": "boolean",
|
|
28847
|
+
"description": "Explicitly share this document as a root of the project shared space (readable by non-members via matching shared-content ABAC rules). This is the explicit API share flag — the sync never sets it."
|
|
28848
|
+
},
|
|
27653
28849
|
"inherited_properties": {
|
|
27654
28850
|
"type": "array",
|
|
27655
28851
|
"items": {
|
|
@@ -27796,6 +28992,10 @@
|
|
|
27796
28992
|
},
|
|
27797
28993
|
"description": "Compartments — set directly or inherited from collections (union across collections)."
|
|
27798
28994
|
},
|
|
28995
|
+
"shared_root": {
|
|
28996
|
+
"type": "boolean",
|
|
28997
|
+
"description": "Explicitly share this document as a root of the project shared space (readable by non-members via matching shared-content ABAC rules). This is the explicit API share flag — the sync never sets it."
|
|
28998
|
+
},
|
|
27799
28999
|
"inherited_properties": {
|
|
27800
29000
|
"type": "array",
|
|
27801
29001
|
"items": {
|
|
@@ -28094,6 +29294,14 @@
|
|
|
28094
29294
|
},
|
|
28095
29295
|
"description": "Compartments — set directly or inherited from collections (union across collections)."
|
|
28096
29296
|
},
|
|
29297
|
+
"shared": {
|
|
29298
|
+
"type": "boolean",
|
|
29299
|
+
"description": "Effective shared state: true iff the document is a member of an effectively-shared collection (inherited; sync-managed). Combine with shared_root for full readability."
|
|
29300
|
+
},
|
|
29301
|
+
"shared_root": {
|
|
29302
|
+
"type": "boolean",
|
|
29303
|
+
"description": "True iff the document was explicitly shared via the API (a root of the project shared space). Never set by the sync."
|
|
29304
|
+
},
|
|
28097
29305
|
"inherited_properties": {
|
|
28098
29306
|
"type": "array",
|
|
28099
29307
|
"items": {
|
|
@@ -28259,8 +29467,189 @@
|
|
|
28259
29467
|
"sensitivity": {
|
|
28260
29468
|
"anyOf": [
|
|
28261
29469
|
{
|
|
28262
|
-
"type": "number",
|
|
28263
|
-
"description": "BLP sensitivity level — set directly or inherited from collections (max across collections)."
|
|
29470
|
+
"type": "number",
|
|
29471
|
+
"description": "BLP sensitivity level — set directly or inherited from collections (max across collections)."
|
|
29472
|
+
},
|
|
29473
|
+
{
|
|
29474
|
+
"type": "null"
|
|
29475
|
+
}
|
|
29476
|
+
]
|
|
29477
|
+
},
|
|
29478
|
+
"compartments": {
|
|
29479
|
+
"type": "array",
|
|
29480
|
+
"items": {
|
|
29481
|
+
"type": "string"
|
|
29482
|
+
},
|
|
29483
|
+
"description": "Compartments — set directly or inherited from collections (union across collections)."
|
|
29484
|
+
},
|
|
29485
|
+
"shared": {
|
|
29486
|
+
"type": "boolean",
|
|
29487
|
+
"description": "Effective shared state: true iff the document is a member of an effectively-shared collection (inherited; sync-managed). Combine with shared_root for full readability."
|
|
29488
|
+
},
|
|
29489
|
+
"shared_root": {
|
|
29490
|
+
"type": "boolean",
|
|
29491
|
+
"description": "True iff the document was explicitly shared via the API (a root of the project shared space). Never set by the sync."
|
|
29492
|
+
},
|
|
29493
|
+
"inherited_properties": {
|
|
29494
|
+
"type": "array",
|
|
29495
|
+
"items": {
|
|
29496
|
+
"$ref": "#/components/schemas/InheritedPropertyMetadata"
|
|
29497
|
+
}
|
|
29498
|
+
}
|
|
29499
|
+
},
|
|
29500
|
+
"additionalProperties": false
|
|
29501
|
+
},
|
|
29502
|
+
"ProjectedContentObjectApiResponseArray": {
|
|
29503
|
+
"type": "array",
|
|
29504
|
+
"items": {
|
|
29505
|
+
"$ref": "#/components/schemas/ProjectedContentObjectApiResponse"
|
|
29506
|
+
}
|
|
29507
|
+
},
|
|
29508
|
+
"ContentObjectItemApiResponse": {
|
|
29509
|
+
"type": "object",
|
|
29510
|
+
"properties": {
|
|
29511
|
+
"id": {
|
|
29512
|
+
"type": "string",
|
|
29513
|
+
"description": "Unique identifier for the object"
|
|
29514
|
+
},
|
|
29515
|
+
"name": {
|
|
29516
|
+
"type": "string",
|
|
29517
|
+
"description": "Human-readable name or title"
|
|
29518
|
+
},
|
|
29519
|
+
"description": {
|
|
29520
|
+
"type": "string",
|
|
29521
|
+
"description": "Optional detailed description of the object"
|
|
29522
|
+
},
|
|
29523
|
+
"tags": {
|
|
29524
|
+
"type": "array",
|
|
29525
|
+
"items": {
|
|
29526
|
+
"type": "string"
|
|
29527
|
+
},
|
|
29528
|
+
"description": "Optional array of categorization tags"
|
|
29529
|
+
},
|
|
29530
|
+
"updated_by": {
|
|
29531
|
+
"type": "string",
|
|
29532
|
+
"description": "Identifier of the user who last modified the object"
|
|
29533
|
+
},
|
|
29534
|
+
"created_by": {
|
|
29535
|
+
"type": "string",
|
|
29536
|
+
"description": "Identifier of the user who created the object"
|
|
29537
|
+
},
|
|
29538
|
+
"created_at": {
|
|
29539
|
+
"type": "string",
|
|
29540
|
+
"description": "ISO timestamp of when the object was created"
|
|
29541
|
+
},
|
|
29542
|
+
"updated_at": {
|
|
29543
|
+
"type": "string",
|
|
29544
|
+
"description": "ISO timestamp of when the object was last updated"
|
|
29545
|
+
},
|
|
29546
|
+
"parent": {
|
|
29547
|
+
"type": "string"
|
|
29548
|
+
},
|
|
29549
|
+
"location": {
|
|
29550
|
+
"type": "string"
|
|
29551
|
+
},
|
|
29552
|
+
"status": {
|
|
29553
|
+
"$ref": "#/components/schemas/ContentObjectStatus"
|
|
29554
|
+
},
|
|
29555
|
+
"type": {
|
|
29556
|
+
"$ref": "#/components/schemas/ContentObjectApiTypeRef"
|
|
29557
|
+
},
|
|
29558
|
+
"content": {
|
|
29559
|
+
"$ref": "#/components/schemas/ContentSource"
|
|
29560
|
+
},
|
|
29561
|
+
"external_id": {
|
|
29562
|
+
"type": "string"
|
|
29563
|
+
},
|
|
29564
|
+
"properties": {
|
|
29565
|
+
"$ref": "#/components/schemas/JSONObject"
|
|
29566
|
+
},
|
|
29567
|
+
"metadata": {
|
|
29568
|
+
"type": "object",
|
|
29569
|
+
"additionalProperties": true
|
|
29570
|
+
},
|
|
29571
|
+
"tokens": {
|
|
29572
|
+
"type": "object",
|
|
29573
|
+
"properties": {
|
|
29574
|
+
"count": {
|
|
29575
|
+
"type": "number"
|
|
29576
|
+
},
|
|
29577
|
+
"encoding": {
|
|
29578
|
+
"type": "string"
|
|
29579
|
+
},
|
|
29580
|
+
"etag": {
|
|
29581
|
+
"type": "string"
|
|
29582
|
+
}
|
|
29583
|
+
},
|
|
29584
|
+
"additionalProperties": false
|
|
29585
|
+
},
|
|
29586
|
+
"revision": {
|
|
29587
|
+
"$ref": "#/components/schemas/ContentObjectApiRevision"
|
|
29588
|
+
},
|
|
29589
|
+
"is_deleted": {
|
|
29590
|
+
"type": "boolean"
|
|
29591
|
+
},
|
|
29592
|
+
"is_locked": {
|
|
29593
|
+
"type": "boolean"
|
|
29594
|
+
},
|
|
29595
|
+
"score": {
|
|
29596
|
+
"type": "number"
|
|
29597
|
+
},
|
|
29598
|
+
"user_permissions": {
|
|
29599
|
+
"$ref": "#/components/schemas/ContentObjectUserPermissions"
|
|
29600
|
+
},
|
|
29601
|
+
"searchTypeResult": {
|
|
29602
|
+
"type": "array",
|
|
29603
|
+
"items": {
|
|
29604
|
+
"type": "object",
|
|
29605
|
+
"properties": {
|
|
29606
|
+
"type": {
|
|
29607
|
+
"type": "string"
|
|
29608
|
+
},
|
|
29609
|
+
"score": {
|
|
29610
|
+
"type": "number"
|
|
29611
|
+
},
|
|
29612
|
+
"rank": {
|
|
29613
|
+
"type": "number"
|
|
29614
|
+
}
|
|
29615
|
+
},
|
|
29616
|
+
"required": [
|
|
29617
|
+
"type",
|
|
29618
|
+
"score",
|
|
29619
|
+
"rank"
|
|
29620
|
+
],
|
|
29621
|
+
"additionalProperties": false
|
|
29622
|
+
}
|
|
29623
|
+
},
|
|
29624
|
+
"text": {
|
|
29625
|
+
"type": "string"
|
|
29626
|
+
},
|
|
29627
|
+
"text_etag": {
|
|
29628
|
+
"type": "string"
|
|
29629
|
+
},
|
|
29630
|
+
"embeddings": {
|
|
29631
|
+
"$ref": "#/components/schemas/EmbeddingMap"
|
|
29632
|
+
},
|
|
29633
|
+
"parts": {
|
|
29634
|
+
"type": "array",
|
|
29635
|
+
"items": {
|
|
29636
|
+
"type": "string"
|
|
29637
|
+
}
|
|
29638
|
+
},
|
|
29639
|
+
"parts_etag": {
|
|
29640
|
+
"type": "string"
|
|
29641
|
+
},
|
|
29642
|
+
"transcript": {
|
|
29643
|
+
"type": "object",
|
|
29644
|
+
"additionalProperties": true
|
|
29645
|
+
},
|
|
29646
|
+
"security": {
|
|
29647
|
+
"$ref": "#/components/schemas/StringArrayMap"
|
|
29648
|
+
},
|
|
29649
|
+
"sensitivity": {
|
|
29650
|
+
"anyOf": [
|
|
29651
|
+
{
|
|
29652
|
+
"type": "number"
|
|
28264
29653
|
},
|
|
28265
29654
|
{
|
|
28266
29655
|
"type": "null"
|
|
@@ -28271,181 +29660,14 @@
|
|
|
28271
29660
|
"type": "array",
|
|
28272
29661
|
"items": {
|
|
28273
29662
|
"type": "string"
|
|
28274
|
-
},
|
|
28275
|
-
"description": "Compartments — set directly or inherited from collections (union across collections)."
|
|
28276
|
-
},
|
|
28277
|
-
"inherited_properties": {
|
|
28278
|
-
"type": "array",
|
|
28279
|
-
"items": {
|
|
28280
|
-
"$ref": "#/components/schemas/InheritedPropertyMetadata"
|
|
28281
29663
|
}
|
|
28282
|
-
}
|
|
28283
|
-
},
|
|
28284
|
-
"additionalProperties": false
|
|
28285
|
-
},
|
|
28286
|
-
"ProjectedContentObjectApiResponseArray": {
|
|
28287
|
-
"type": "array",
|
|
28288
|
-
"items": {
|
|
28289
|
-
"$ref": "#/components/schemas/ProjectedContentObjectApiResponse"
|
|
28290
|
-
}
|
|
28291
|
-
},
|
|
28292
|
-
"ContentObjectItemApiResponse": {
|
|
28293
|
-
"type": "object",
|
|
28294
|
-
"properties": {
|
|
28295
|
-
"id": {
|
|
28296
|
-
"type": "string",
|
|
28297
|
-
"description": "Unique identifier for the object"
|
|
28298
|
-
},
|
|
28299
|
-
"name": {
|
|
28300
|
-
"type": "string",
|
|
28301
|
-
"description": "Human-readable name or title"
|
|
28302
|
-
},
|
|
28303
|
-
"description": {
|
|
28304
|
-
"type": "string",
|
|
28305
|
-
"description": "Optional detailed description of the object"
|
|
28306
29664
|
},
|
|
28307
|
-
"
|
|
28308
|
-
"type": "array",
|
|
28309
|
-
"items": {
|
|
28310
|
-
"type": "string"
|
|
28311
|
-
},
|
|
28312
|
-
"description": "Optional array of categorization tags"
|
|
28313
|
-
},
|
|
28314
|
-
"updated_by": {
|
|
28315
|
-
"type": "string",
|
|
28316
|
-
"description": "Identifier of the user who last modified the object"
|
|
28317
|
-
},
|
|
28318
|
-
"created_by": {
|
|
28319
|
-
"type": "string",
|
|
28320
|
-
"description": "Identifier of the user who created the object"
|
|
28321
|
-
},
|
|
28322
|
-
"created_at": {
|
|
28323
|
-
"type": "string",
|
|
28324
|
-
"description": "ISO timestamp of when the object was created"
|
|
28325
|
-
},
|
|
28326
|
-
"updated_at": {
|
|
28327
|
-
"type": "string",
|
|
28328
|
-
"description": "ISO timestamp of when the object was last updated"
|
|
28329
|
-
},
|
|
28330
|
-
"parent": {
|
|
28331
|
-
"type": "string"
|
|
28332
|
-
},
|
|
28333
|
-
"location": {
|
|
28334
|
-
"type": "string"
|
|
28335
|
-
},
|
|
28336
|
-
"status": {
|
|
28337
|
-
"$ref": "#/components/schemas/ContentObjectStatus"
|
|
28338
|
-
},
|
|
28339
|
-
"type": {
|
|
28340
|
-
"$ref": "#/components/schemas/ContentObjectApiTypeRef"
|
|
28341
|
-
},
|
|
28342
|
-
"content": {
|
|
28343
|
-
"$ref": "#/components/schemas/ContentSource"
|
|
28344
|
-
},
|
|
28345
|
-
"external_id": {
|
|
28346
|
-
"type": "string"
|
|
28347
|
-
},
|
|
28348
|
-
"properties": {
|
|
28349
|
-
"$ref": "#/components/schemas/JSONObject"
|
|
28350
|
-
},
|
|
28351
|
-
"metadata": {
|
|
28352
|
-
"type": "object",
|
|
28353
|
-
"additionalProperties": true
|
|
28354
|
-
},
|
|
28355
|
-
"tokens": {
|
|
28356
|
-
"type": "object",
|
|
28357
|
-
"properties": {
|
|
28358
|
-
"count": {
|
|
28359
|
-
"type": "number"
|
|
28360
|
-
},
|
|
28361
|
-
"encoding": {
|
|
28362
|
-
"type": "string"
|
|
28363
|
-
},
|
|
28364
|
-
"etag": {
|
|
28365
|
-
"type": "string"
|
|
28366
|
-
}
|
|
28367
|
-
},
|
|
28368
|
-
"additionalProperties": false
|
|
28369
|
-
},
|
|
28370
|
-
"revision": {
|
|
28371
|
-
"$ref": "#/components/schemas/ContentObjectApiRevision"
|
|
28372
|
-
},
|
|
28373
|
-
"is_deleted": {
|
|
29665
|
+
"shared": {
|
|
28374
29666
|
"type": "boolean"
|
|
28375
29667
|
},
|
|
28376
|
-
"
|
|
29668
|
+
"shared_root": {
|
|
28377
29669
|
"type": "boolean"
|
|
28378
29670
|
},
|
|
28379
|
-
"score": {
|
|
28380
|
-
"type": "number"
|
|
28381
|
-
},
|
|
28382
|
-
"user_permissions": {
|
|
28383
|
-
"$ref": "#/components/schemas/ContentObjectUserPermissions"
|
|
28384
|
-
},
|
|
28385
|
-
"searchTypeResult": {
|
|
28386
|
-
"type": "array",
|
|
28387
|
-
"items": {
|
|
28388
|
-
"type": "object",
|
|
28389
|
-
"properties": {
|
|
28390
|
-
"type": {
|
|
28391
|
-
"type": "string"
|
|
28392
|
-
},
|
|
28393
|
-
"score": {
|
|
28394
|
-
"type": "number"
|
|
28395
|
-
},
|
|
28396
|
-
"rank": {
|
|
28397
|
-
"type": "number"
|
|
28398
|
-
}
|
|
28399
|
-
},
|
|
28400
|
-
"required": [
|
|
28401
|
-
"type",
|
|
28402
|
-
"score",
|
|
28403
|
-
"rank"
|
|
28404
|
-
],
|
|
28405
|
-
"additionalProperties": false
|
|
28406
|
-
}
|
|
28407
|
-
},
|
|
28408
|
-
"text": {
|
|
28409
|
-
"type": "string"
|
|
28410
|
-
},
|
|
28411
|
-
"text_etag": {
|
|
28412
|
-
"type": "string"
|
|
28413
|
-
},
|
|
28414
|
-
"embeddings": {
|
|
28415
|
-
"$ref": "#/components/schemas/EmbeddingMap"
|
|
28416
|
-
},
|
|
28417
|
-
"parts": {
|
|
28418
|
-
"type": "array",
|
|
28419
|
-
"items": {
|
|
28420
|
-
"type": "string"
|
|
28421
|
-
}
|
|
28422
|
-
},
|
|
28423
|
-
"parts_etag": {
|
|
28424
|
-
"type": "string"
|
|
28425
|
-
},
|
|
28426
|
-
"transcript": {
|
|
28427
|
-
"type": "object",
|
|
28428
|
-
"additionalProperties": true
|
|
28429
|
-
},
|
|
28430
|
-
"security": {
|
|
28431
|
-
"$ref": "#/components/schemas/StringArrayMap"
|
|
28432
|
-
},
|
|
28433
|
-
"sensitivity": {
|
|
28434
|
-
"anyOf": [
|
|
28435
|
-
{
|
|
28436
|
-
"type": "number"
|
|
28437
|
-
},
|
|
28438
|
-
{
|
|
28439
|
-
"type": "null"
|
|
28440
|
-
}
|
|
28441
|
-
]
|
|
28442
|
-
},
|
|
28443
|
-
"compartments": {
|
|
28444
|
-
"type": "array",
|
|
28445
|
-
"items": {
|
|
28446
|
-
"type": "string"
|
|
28447
|
-
}
|
|
28448
|
-
},
|
|
28449
29671
|
"inherited_properties": {
|
|
28450
29672
|
"type": "array",
|
|
28451
29673
|
"items": {
|
|
@@ -30685,6 +31907,17 @@
|
|
|
30685
31907
|
"ProcessRunConfig": {
|
|
30686
31908
|
"type": "object",
|
|
30687
31909
|
"properties": {
|
|
31910
|
+
"inference_profile": {
|
|
31911
|
+
"anyOf": [
|
|
31912
|
+
{
|
|
31913
|
+
"$ref": "#/components/schemas/InferenceProfileId"
|
|
31914
|
+
},
|
|
31915
|
+
{
|
|
31916
|
+
"type": "null"
|
|
31917
|
+
}
|
|
31918
|
+
],
|
|
31919
|
+
"description": "Run-level inference profile ID for process LLM nodes and the supervisor. Explicit model settings retain precedence."
|
|
31920
|
+
},
|
|
30688
31921
|
"environment": {
|
|
30689
31922
|
"type": "string",
|
|
30690
31923
|
"description": "Execution environment id used by Process LLM nodes and the supervisor."
|
|
@@ -30700,6 +31933,10 @@
|
|
|
30700
31933
|
"type": "string",
|
|
30701
31934
|
"description": "Free-form message from the user when starting a run. Passed to the orchestrator LLM in supervised mode; stored on the run regardless so programmatic runs retain the intent that triggered them."
|
|
30702
31935
|
},
|
|
31936
|
+
"budget": {
|
|
31937
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration",
|
|
31938
|
+
"description": "Token budget shared by the whole run: agent nodes, interaction nodes, nested processes and, when the run is managed by an agent run, that agent run. Agent nodes and nested processes start with what is left of it. When it runs out the process stops scheduling nodes and lets running agent nodes write a final summary. A run managed by an interactive agent run then pauses (`budget.awaiting_allocation`) until more budget is added through that agent run, and retries the interrupted node; any other run ends failed with `terminal_reason` `token_budget_exhausted`. This is a soft limit, not a spending cap."
|
|
31939
|
+
},
|
|
30703
31940
|
"process_workstream_monitor": {
|
|
30704
31941
|
"type": "object",
|
|
30705
31942
|
"properties": {
|
|
@@ -30851,6 +32088,120 @@
|
|
|
30851
32088
|
},
|
|
30852
32089
|
"additionalProperties": false
|
|
30853
32090
|
},
|
|
32091
|
+
"ProcessTerminalReason": {
|
|
32092
|
+
"type": "string",
|
|
32093
|
+
"enum": [
|
|
32094
|
+
"token_budget_exhausted"
|
|
32095
|
+
],
|
|
32096
|
+
"description": "Why a process run ended other than by reaching a final node. `token_budget_exhausted`: the run spent its token budget; it ends with status `failed`."
|
|
32097
|
+
},
|
|
32098
|
+
"ProcessBudgetSummary": {
|
|
32099
|
+
"type": "object",
|
|
32100
|
+
"properties": {
|
|
32101
|
+
"node_id": {
|
|
32102
|
+
"type": "string"
|
|
32103
|
+
},
|
|
32104
|
+
"attempt": {
|
|
32105
|
+
"type": "number"
|
|
32106
|
+
},
|
|
32107
|
+
"status": {
|
|
32108
|
+
"type": "string",
|
|
32109
|
+
"enum": [
|
|
32110
|
+
"token_budget_exhausted",
|
|
32111
|
+
"cancelled_at_deadline"
|
|
32112
|
+
],
|
|
32113
|
+
"description": "`token_budget_exhausted`: the node ended with a final summary turn. `cancelled_at_deadline`: the node was still running at the wrap-up deadline and was cancelled without a summary."
|
|
32114
|
+
},
|
|
32115
|
+
"summary": {
|
|
32116
|
+
"type": "string",
|
|
32117
|
+
"description": "The node's final summary, truncated to 2,000 characters."
|
|
32118
|
+
},
|
|
32119
|
+
"summary_truncated": {
|
|
32120
|
+
"type": "boolean"
|
|
32121
|
+
},
|
|
32122
|
+
"artifact": {
|
|
32123
|
+
"type": "string",
|
|
32124
|
+
"description": "Path of the node's conversation among the process run's artifacts, which holds the full summary."
|
|
32125
|
+
},
|
|
32126
|
+
"child_run_id": {
|
|
32127
|
+
"type": "string"
|
|
32128
|
+
},
|
|
32129
|
+
"usage_incomplete": {
|
|
32130
|
+
"type": "boolean",
|
|
32131
|
+
"description": "True when the node's final token usage never arrived; the run total counts its last reported usage."
|
|
32132
|
+
}
|
|
32133
|
+
},
|
|
32134
|
+
"required": [
|
|
32135
|
+
"node_id",
|
|
32136
|
+
"attempt",
|
|
32137
|
+
"status"
|
|
32138
|
+
],
|
|
32139
|
+
"additionalProperties": false
|
|
32140
|
+
},
|
|
32141
|
+
"ProcessBudgetState": {
|
|
32142
|
+
"type": "object",
|
|
32143
|
+
"properties": {
|
|
32144
|
+
"mode": {
|
|
32145
|
+
"type": "string",
|
|
32146
|
+
"enum": [
|
|
32147
|
+
"token",
|
|
32148
|
+
"dollar"
|
|
32149
|
+
],
|
|
32150
|
+
"description": "Absent on historical token-only status."
|
|
32151
|
+
},
|
|
32152
|
+
"limit_usd": {
|
|
32153
|
+
"type": "number",
|
|
32154
|
+
"minimum": 0
|
|
32155
|
+
},
|
|
32156
|
+
"reported_usd": {
|
|
32157
|
+
"type": "number",
|
|
32158
|
+
"minimum": 0
|
|
32159
|
+
},
|
|
32160
|
+
"estimated_usd": {
|
|
32161
|
+
"type": "number",
|
|
32162
|
+
"minimum": 0
|
|
32163
|
+
},
|
|
32164
|
+
"accounting_status": {
|
|
32165
|
+
"type": "string",
|
|
32166
|
+
"enum": [
|
|
32167
|
+
"current",
|
|
32168
|
+
"incomplete"
|
|
32169
|
+
]
|
|
32170
|
+
},
|
|
32171
|
+
"unmeasured_calls": {
|
|
32172
|
+
"type": "integer",
|
|
32173
|
+
"minimum": 0,
|
|
32174
|
+
"maximum": 9007199254740991
|
|
32175
|
+
},
|
|
32176
|
+
"limit_tokens": {
|
|
32177
|
+
"type": "number"
|
|
32178
|
+
},
|
|
32179
|
+
"used_units": {
|
|
32180
|
+
"type": "number",
|
|
32181
|
+
"description": "Weighted tokens used by the run and everything it launched."
|
|
32182
|
+
},
|
|
32183
|
+
"exhausted": {
|
|
32184
|
+
"type": "boolean"
|
|
32185
|
+
},
|
|
32186
|
+
"awaiting_allocation": {
|
|
32187
|
+
"type": "boolean",
|
|
32188
|
+
"description": "True while the run is paused because its budget ran out, waiting for more budget. Only a run managed by an interactive agent run pauses; the run then shows status `running`."
|
|
32189
|
+
},
|
|
32190
|
+
"summaries": {
|
|
32191
|
+
"type": "array",
|
|
32192
|
+
"items": {
|
|
32193
|
+
"$ref": "#/components/schemas/ProcessBudgetSummary"
|
|
32194
|
+
},
|
|
32195
|
+
"description": "One entry per node the budget stopped: at most the latest attempt, 50 entries."
|
|
32196
|
+
}
|
|
32197
|
+
},
|
|
32198
|
+
"required": [
|
|
32199
|
+
"limit_tokens",
|
|
32200
|
+
"used_units",
|
|
32201
|
+
"exhausted"
|
|
32202
|
+
],
|
|
32203
|
+
"additionalProperties": false
|
|
32204
|
+
},
|
|
30854
32205
|
"ProcessState": {
|
|
30855
32206
|
"type": "object",
|
|
30856
32207
|
"properties": {
|
|
@@ -30872,6 +32223,13 @@
|
|
|
30872
32223
|
},
|
|
30873
32224
|
"sequence": {
|
|
30874
32225
|
"type": "number"
|
|
32226
|
+
},
|
|
32227
|
+
"terminal_reason": {
|
|
32228
|
+
"$ref": "#/components/schemas/ProcessTerminalReason"
|
|
32229
|
+
},
|
|
32230
|
+
"budget": {
|
|
32231
|
+
"$ref": "#/components/schemas/ProcessBudgetState",
|
|
32232
|
+
"description": "Run budget status, including dollar consumption when configured."
|
|
30875
32233
|
}
|
|
30876
32234
|
},
|
|
30877
32235
|
"required": [
|
|
@@ -32626,6 +33984,10 @@
|
|
|
32626
33984
|
},
|
|
32627
33985
|
"description": "Compartments for member documents"
|
|
32628
33986
|
},
|
|
33987
|
+
"shared_root": {
|
|
33988
|
+
"type": "boolean",
|
|
33989
|
+
"description": "Explicitly share this collection as a root of the project shared space (listable/readable by non-members via matching shared-content ABAC rules). This is the explicit API share flag — the sync never sets it."
|
|
33990
|
+
},
|
|
32629
33991
|
"name": {
|
|
32630
33992
|
"type": "string",
|
|
32631
33993
|
"description": "Name of the collection"
|
|
@@ -32722,6 +34084,10 @@
|
|
|
32722
34084
|
},
|
|
32723
34085
|
"description": "Compartments for member documents"
|
|
32724
34086
|
},
|
|
34087
|
+
"shared_root": {
|
|
34088
|
+
"type": "boolean",
|
|
34089
|
+
"description": "Explicitly share this collection as a root of the project shared space (listable/readable by non-members via matching shared-content ABAC rules). This is the explicit API share flag — the sync never sets it."
|
|
34090
|
+
},
|
|
32725
34091
|
"name": {
|
|
32726
34092
|
"type": "string",
|
|
32727
34093
|
"description": "Name of the collection"
|
|
@@ -32871,12 +34237,24 @@
|
|
|
32871
34237
|
},
|
|
32872
34238
|
"description": "Compartments — propagated to member documents (union across collections)"
|
|
32873
34239
|
},
|
|
34240
|
+
"shared": {
|
|
34241
|
+
"type": "boolean",
|
|
34242
|
+
"description": "Effective shared state: true iff the collection is a member of an effectively-shared parent collection (inherited; sync-managed). Combine with shared_root for full readability."
|
|
34243
|
+
},
|
|
34244
|
+
"shared_root": {
|
|
34245
|
+
"type": "boolean",
|
|
34246
|
+
"description": "True iff the collection was explicitly shared via the API (a root of the project shared space). Never set by the sync."
|
|
34247
|
+
},
|
|
32874
34248
|
"shared_properties": {
|
|
32875
34249
|
"type": "array",
|
|
32876
34250
|
"items": {
|
|
32877
34251
|
"type": "string"
|
|
32878
34252
|
},
|
|
32879
34253
|
"description": "List of property names from the collection's properties that should be shared with (injected into) member objects. These properties will be propagated to all members of this collection and merged as arrays."
|
|
34254
|
+
},
|
|
34255
|
+
"user_permissions": {
|
|
34256
|
+
"$ref": "#/components/schemas/ContentObjectUserPermissions",
|
|
34257
|
+
"description": "Computed per-request permissions for the current user on this collection. Not stored — computed on the fly from the collection's security field (same semantics as a content object's user_permissions)."
|
|
32880
34258
|
}
|
|
32881
34259
|
},
|
|
32882
34260
|
"required": [
|
|
@@ -33153,6 +34531,41 @@
|
|
|
33153
34531
|
"additionalProperties": false,
|
|
33154
34532
|
"description": "Response from signaling an agent workflow."
|
|
33155
34533
|
},
|
|
34534
|
+
"AllocateAgentRunBudgetPayload": {
|
|
34535
|
+
"anyOf": [
|
|
34536
|
+
{
|
|
34537
|
+
"type": "object",
|
|
34538
|
+
"properties": {
|
|
34539
|
+
"additional_tokens": {
|
|
34540
|
+
"type": "integer",
|
|
34541
|
+
"exclusiveMinimum": 0,
|
|
34542
|
+
"maximum": 9007199254740991,
|
|
34543
|
+
"description": "Weighted tokens to add to the run allowance."
|
|
34544
|
+
}
|
|
34545
|
+
},
|
|
34546
|
+
"required": [
|
|
34547
|
+
"additional_tokens"
|
|
34548
|
+
],
|
|
34549
|
+
"additionalProperties": false
|
|
34550
|
+
},
|
|
34551
|
+
{
|
|
34552
|
+
"type": "object",
|
|
34553
|
+
"properties": {
|
|
34554
|
+
"additional_usd": {
|
|
34555
|
+
"type": "number",
|
|
34556
|
+
"exclusiveMinimum": 0,
|
|
34557
|
+
"maximum": 9007199.25474099,
|
|
34558
|
+
"description": "USD to add to the dollar allowance."
|
|
34559
|
+
}
|
|
34560
|
+
},
|
|
34561
|
+
"required": [
|
|
34562
|
+
"additional_usd"
|
|
34563
|
+
],
|
|
34564
|
+
"additionalProperties": false
|
|
34565
|
+
}
|
|
34566
|
+
],
|
|
34567
|
+
"description": "Add exactly one allowance: weighted tokens or USD."
|
|
34568
|
+
},
|
|
33156
34569
|
"AgentRunEvaluationRollup": {
|
|
33157
34570
|
"type": "object",
|
|
33158
34571
|
"properties": {
|
|
@@ -33394,7 +34807,7 @@
|
|
|
33394
34807
|
],
|
|
33395
34808
|
"description": "Why the run was rated the way it was."
|
|
33396
34809
|
},
|
|
33397
|
-
"
|
|
34810
|
+
"AgentRunLlmEvaluationResult": {
|
|
33398
34811
|
"type": "object",
|
|
33399
34812
|
"properties": {
|
|
33400
34813
|
"rev": {
|
|
@@ -33403,7 +34816,7 @@
|
|
|
33403
34816
|
"maximum": 9007199254740991
|
|
33404
34817
|
},
|
|
33405
34818
|
"gate": {
|
|
33406
|
-
"$ref": "#/components/schemas/
|
|
34819
|
+
"$ref": "#/components/schemas/EvaluationGateReason"
|
|
33407
34820
|
},
|
|
33408
34821
|
"sample_rate": {
|
|
33409
34822
|
"type": "number"
|
|
@@ -33412,10 +34825,10 @@
|
|
|
33412
34825
|
"type": "number"
|
|
33413
34826
|
},
|
|
33414
34827
|
"outcome": {
|
|
33415
|
-
"$ref": "#/components/schemas/
|
|
34828
|
+
"$ref": "#/components/schemas/EvaluationOutcome"
|
|
33416
34829
|
},
|
|
33417
34830
|
"verdict": {
|
|
33418
|
-
"$ref": "#/components/schemas/
|
|
34831
|
+
"$ref": "#/components/schemas/EvaluationVerdict"
|
|
33419
34832
|
},
|
|
33420
34833
|
"score": {
|
|
33421
34834
|
"type": "number"
|
|
@@ -33426,7 +34839,7 @@
|
|
|
33426
34839
|
"prompt_version": {
|
|
33427
34840
|
"type": "string"
|
|
33428
34841
|
},
|
|
33429
|
-
"
|
|
34842
|
+
"turns_evaluated": {
|
|
33430
34843
|
"type": "array",
|
|
33431
34844
|
"items": {
|
|
33432
34845
|
"type": "integer",
|
|
@@ -33434,7 +34847,7 @@
|
|
|
33434
34847
|
"maximum": 9007199254740991
|
|
33435
34848
|
}
|
|
33436
34849
|
},
|
|
33437
|
-
"
|
|
34850
|
+
"evaluated_at": {
|
|
33438
34851
|
"type": "string",
|
|
33439
34852
|
"format": "date-time"
|
|
33440
34853
|
}
|
|
@@ -33446,42 +34859,44 @@
|
|
|
33446
34859
|
"selected_probability",
|
|
33447
34860
|
"outcome",
|
|
33448
34861
|
"prompt_version",
|
|
33449
|
-
"
|
|
34862
|
+
"evaluated_at"
|
|
33450
34863
|
],
|
|
33451
34864
|
"additionalProperties": false,
|
|
33452
|
-
"description": "Latest
|
|
34865
|
+
"description": "Latest LLM evaluation result for a run."
|
|
33453
34866
|
},
|
|
33454
|
-
"
|
|
34867
|
+
"EvaluationGateReason": {
|
|
33455
34868
|
"type": "string",
|
|
33456
34869
|
"enum": [
|
|
33457
34870
|
"signal",
|
|
33458
|
-
"sample"
|
|
34871
|
+
"sample",
|
|
34872
|
+
"opt_in",
|
|
34873
|
+
"always_on"
|
|
33459
34874
|
],
|
|
33460
|
-
"description": "Why
|
|
34875
|
+
"description": "Why a run was selected for LLM evaluation."
|
|
33461
34876
|
},
|
|
33462
|
-
"
|
|
34877
|
+
"EvaluationOutcome": {
|
|
33463
34878
|
"type": "string",
|
|
33464
34879
|
"enum": [
|
|
33465
|
-
"
|
|
34880
|
+
"evaluated",
|
|
33466
34881
|
"skipped_unarchived",
|
|
33467
34882
|
"failed"
|
|
33468
34883
|
],
|
|
33469
|
-
"description": "
|
|
34884
|
+
"description": "Outcome of an LLM evaluation run."
|
|
33470
34885
|
},
|
|
33471
|
-
"
|
|
34886
|
+
"EvaluationVerdict": {
|
|
33472
34887
|
"type": "string",
|
|
33473
34888
|
"enum": [
|
|
33474
34889
|
"success",
|
|
33475
34890
|
"partial",
|
|
33476
34891
|
"failure"
|
|
33477
34892
|
],
|
|
33478
|
-
"description": "
|
|
34893
|
+
"description": "LLM evaluation verdict for a turn."
|
|
33479
34894
|
},
|
|
33480
34895
|
"AgentRunContradictionReason": {
|
|
33481
34896
|
"type": "string",
|
|
33482
34897
|
"enum": [
|
|
33483
34898
|
"feedback_down_on_clean_run",
|
|
33484
|
-
"
|
|
34899
|
+
"evaluation_failure_on_clean_run"
|
|
33485
34900
|
]
|
|
33486
34901
|
},
|
|
33487
34902
|
"AgentRunEvaluation": {
|
|
@@ -33499,8 +34914,8 @@
|
|
|
33499
34914
|
"feedback_counts": {
|
|
33500
34915
|
"$ref": "#/components/schemas/AgentRunFeedbackCounts"
|
|
33501
34916
|
},
|
|
33502
|
-
"
|
|
33503
|
-
"$ref": "#/components/schemas/
|
|
34917
|
+
"llm_evaluation": {
|
|
34918
|
+
"$ref": "#/components/schemas/AgentRunLlmEvaluationResult"
|
|
33504
34919
|
},
|
|
33505
34920
|
"severity": {
|
|
33506
34921
|
"$ref": "#/components/schemas/EvaluationSeverity"
|
|
@@ -33813,279 +35228,287 @@
|
|
|
33813
35228
|
},
|
|
33814
35229
|
"description": "Lessons learned from the conversation (extracted at completion)"
|
|
33815
35230
|
},
|
|
33816
|
-
"
|
|
33817
|
-
"
|
|
33818
|
-
"description": "
|
|
33819
|
-
},
|
|
33820
|
-
"
|
|
33821
|
-
"
|
|
33822
|
-
"
|
|
33823
|
-
|
|
33824
|
-
|
|
33825
|
-
"
|
|
33826
|
-
|
|
33827
|
-
|
|
33828
|
-
|
|
33829
|
-
"
|
|
33830
|
-
|
|
33831
|
-
|
|
33832
|
-
|
|
33833
|
-
"
|
|
33834
|
-
"description": "
|
|
33835
|
-
},
|
|
33836
|
-
"
|
|
33837
|
-
"type": "
|
|
33838
|
-
"description": "
|
|
33839
|
-
},
|
|
33840
|
-
"
|
|
33841
|
-
"type": "string",
|
|
33842
|
-
"description": "
|
|
33843
|
-
}
|
|
33844
|
-
|
|
33845
|
-
|
|
33846
|
-
|
|
33847
|
-
|
|
33848
|
-
|
|
33849
|
-
|
|
33850
|
-
"
|
|
33851
|
-
"
|
|
33852
|
-
"
|
|
33853
|
-
"
|
|
33854
|
-
"
|
|
33855
|
-
"
|
|
33856
|
-
"
|
|
33857
|
-
"
|
|
33858
|
-
|
|
33859
|
-
|
|
33860
|
-
|
|
33861
|
-
|
|
33862
|
-
|
|
33863
|
-
"
|
|
33864
|
-
"
|
|
33865
|
-
|
|
33866
|
-
|
|
33867
|
-
|
|
33868
|
-
|
|
33869
|
-
"
|
|
33870
|
-
"type": "
|
|
33871
|
-
"
|
|
33872
|
-
|
|
33873
|
-
|
|
33874
|
-
|
|
33875
|
-
"
|
|
33876
|
-
"description": "
|
|
33877
|
-
},
|
|
33878
|
-
"
|
|
35231
|
+
"evaluate": {
|
|
35232
|
+
"type": "boolean",
|
|
35233
|
+
"description": "Request LLM evaluation when the project evaluation policy is opt_in. Defaults to false. Cannot override disabled or opt out of always_on."
|
|
35234
|
+
},
|
|
35235
|
+
"evaluation": {
|
|
35236
|
+
"$ref": "#/components/schemas/AgentRunEvaluation",
|
|
35237
|
+
"description": "Evaluation summary of the run."
|
|
35238
|
+
},
|
|
35239
|
+
"feedback": {
|
|
35240
|
+
"type": "array",
|
|
35241
|
+
"items": {
|
|
35242
|
+
"$ref": "#/components/schemas/AgentRunFeedbackEntry"
|
|
35243
|
+
},
|
|
35244
|
+
"description": "Retained user ratings on the run."
|
|
35245
|
+
},
|
|
35246
|
+
"archived_at": {
|
|
35247
|
+
"type": "string",
|
|
35248
|
+
"format": "date-time",
|
|
35249
|
+
"description": "When the last successful archive completed"
|
|
35250
|
+
},
|
|
35251
|
+
"archive_version": {
|
|
35252
|
+
"type": "number",
|
|
35253
|
+
"description": "Archive format version (for forward compatibility)"
|
|
35254
|
+
},
|
|
35255
|
+
"last_archive_error": {
|
|
35256
|
+
"type": "string",
|
|
35257
|
+
"description": "Last archive error message (when archive_state === 'failed')"
|
|
35258
|
+
},
|
|
35259
|
+
"forked_from": {
|
|
35260
|
+
"type": "string",
|
|
35261
|
+
"description": "Source agent run ID when this run was forked (enables message history chaining)"
|
|
35262
|
+
}
|
|
35263
|
+
},
|
|
35264
|
+
"required": [
|
|
35265
|
+
"interaction",
|
|
35266
|
+
"id",
|
|
35267
|
+
"run_kind",
|
|
35268
|
+
"run_type",
|
|
35269
|
+
"account",
|
|
35270
|
+
"project",
|
|
35271
|
+
"status",
|
|
35272
|
+
"started_by",
|
|
35273
|
+
"started_at",
|
|
35274
|
+
"created_at",
|
|
35275
|
+
"updated_at",
|
|
35276
|
+
"interactionRef"
|
|
35277
|
+
],
|
|
35278
|
+
"additionalProperties": false,
|
|
35279
|
+
"description": "AgentRun — the client-facing stable identity for a running or completed agent.\n\nAll operations use `id` as the sole identifier. Temporal workflow internals are never exposed to clients."
|
|
35280
|
+
},
|
|
35281
|
+
"AgentRun": {
|
|
35282
|
+
"type": "object",
|
|
35283
|
+
"properties": {
|
|
35284
|
+
"interaction": {
|
|
35285
|
+
"type": "string",
|
|
35286
|
+
"description": "Interaction ID or code (e.g. \"sys:generic_question\")."
|
|
35287
|
+
},
|
|
35288
|
+
"data": {
|
|
35289
|
+
"type": "object",
|
|
35290
|
+
"additionalProperties": true,
|
|
35291
|
+
"description": "Input parameters, typed per interaction"
|
|
35292
|
+
},
|
|
35293
|
+
"config": {
|
|
35294
|
+
"$ref": "#/components/schemas/InteractionExecutionConfiguration",
|
|
35295
|
+
"description": "Execution configuration (environment, model, model_options, etc.)"
|
|
35296
|
+
},
|
|
35297
|
+
"interactive": {
|
|
35298
|
+
"type": "boolean",
|
|
35299
|
+
"description": "Whether the agent accepts user input"
|
|
35300
|
+
},
|
|
35301
|
+
"tool_approval_mode": {
|
|
35302
|
+
"$ref": "#/components/schemas/AgentToolApprovalMode",
|
|
35303
|
+
"description": "How side-effecting tool actions are approved for interactive runs."
|
|
35304
|
+
},
|
|
35305
|
+
"tool_names": {
|
|
35306
|
+
"type": "array",
|
|
35307
|
+
"items": {
|
|
35308
|
+
"type": "string"
|
|
35309
|
+
},
|
|
35310
|
+
"description": "Tools configured for this run (+/- syntax supported)"
|
|
35311
|
+
},
|
|
35312
|
+
"initial_skills": {
|
|
35313
|
+
"type": "array",
|
|
35314
|
+
"items": {
|
|
35315
|
+
"type": "string"
|
|
35316
|
+
},
|
|
35317
|
+
"description": "Builtin system skills activated before the first model turn."
|
|
35318
|
+
},
|
|
35319
|
+
"initial_tool_calls": {
|
|
35320
|
+
"type": "array",
|
|
35321
|
+
"items": {
|
|
35322
|
+
"$ref": "#/components/schemas/InitialToolCall"
|
|
35323
|
+
},
|
|
35324
|
+
"description": "Ordered, bounded hydration/read calls executed before the first model turn."
|
|
35325
|
+
},
|
|
35326
|
+
"excluded_tools": {
|
|
35327
|
+
"type": "array",
|
|
35328
|
+
"items": {
|
|
35329
|
+
"type": "string"
|
|
35330
|
+
},
|
|
35331
|
+
"description": "Hard denylist of tool names: never exposed to the model, refused at execution time."
|
|
35332
|
+
},
|
|
35333
|
+
"collection_id": {
|
|
35334
|
+
"type": "string",
|
|
35335
|
+
"description": "Scoped collection (if any)"
|
|
35336
|
+
},
|
|
35337
|
+
"disabled_mcp_collections": {
|
|
35338
|
+
"type": "array",
|
|
35339
|
+
"items": {
|
|
35340
|
+
"type": "string"
|
|
35341
|
+
},
|
|
35342
|
+
"description": "Denylist of MCP tool-collection ids deactivated for this run. `undefined`/empty means all installed/connected MCP collections are active (back-compat, and new servers stay active by default). Listed collections are excluded even if connected."
|
|
35343
|
+
},
|
|
35344
|
+
"content_type": {
|
|
35345
|
+
"$ref": "#/components/schemas/ContentObjectTypeRef",
|
|
35346
|
+
"description": "Content type linked to this run — defines the schema for `properties`"
|
|
35347
|
+
},
|
|
35348
|
+
"visibility": {
|
|
35349
|
+
"$ref": "#/components/schemas/ConversationVisibility",
|
|
35350
|
+
"description": "Conversation/process visibility"
|
|
35351
|
+
},
|
|
35352
|
+
"tags": {
|
|
35353
|
+
"type": "array",
|
|
35354
|
+
"items": {
|
|
35355
|
+
"type": "string"
|
|
35356
|
+
},
|
|
35357
|
+
"description": "User-defined or system tags for categorization"
|
|
35358
|
+
},
|
|
35359
|
+
"categories": {
|
|
35360
|
+
"type": "array",
|
|
35361
|
+
"items": {
|
|
35362
|
+
"type": "string"
|
|
35363
|
+
},
|
|
35364
|
+
"description": "Categories for organizing runs"
|
|
35365
|
+
},
|
|
35366
|
+
"properties": {
|
|
35367
|
+
"type": "object",
|
|
35368
|
+
"additionalProperties": true,
|
|
35369
|
+
"description": "Business metadata — typed by the linked content_type schema"
|
|
35370
|
+
},
|
|
35371
|
+
"source": {
|
|
35372
|
+
"$ref": "#/components/schemas/RunSource",
|
|
35373
|
+
"description": "How the run was started"
|
|
35374
|
+
},
|
|
35375
|
+
"schedule_id": {
|
|
35376
|
+
"type": "string",
|
|
35377
|
+
"description": "Schedule ID — set when this run was triggered by a Temporal schedule"
|
|
35378
|
+
},
|
|
35379
|
+
"source_type": {
|
|
35380
|
+
"$ref": "#/components/schemas/AgentRunType",
|
|
35381
|
+
"description": "Replacement for legacy AgentRun.type"
|
|
35382
|
+
},
|
|
35383
|
+
"type": {
|
|
35384
|
+
"deprecated": true,
|
|
35385
|
+
"x-deprecated-message": "Use source_type for creation source and run_type for runtime mode.",
|
|
35386
|
+
"$ref": "#/components/schemas/AgentRunType",
|
|
35387
|
+
"description": "Deprecated: Use source_type for creation source and run_type for runtime mode."
|
|
35388
|
+
},
|
|
35389
|
+
"id": {
|
|
35390
|
+
"type": "string",
|
|
35391
|
+
"description": "The stable identifier used by all client code"
|
|
35392
|
+
},
|
|
35393
|
+
"run_kind": {
|
|
35394
|
+
"type": "string",
|
|
35395
|
+
"const": "agent",
|
|
35396
|
+
"description": "Internal discriminator key"
|
|
35397
|
+
},
|
|
35398
|
+
"parent_run_id": {
|
|
35399
|
+
"type": "string",
|
|
35400
|
+
"description": "Process run this agent belongs to — set when a process agent node recorded this run. Its conversation lives on the parent run under `workstream_id`."
|
|
35401
|
+
},
|
|
35402
|
+
"workstream_id": {
|
|
35403
|
+
"type": "string",
|
|
35404
|
+
"description": "Workstream this run occupies inside its parent run (the process node id)."
|
|
35405
|
+
},
|
|
35406
|
+
"run_type": {
|
|
35407
|
+
"type": "string",
|
|
35408
|
+
"const": "autonomous",
|
|
35409
|
+
"description": "Public-facing runtime mode"
|
|
35410
|
+
},
|
|
35411
|
+
"account": {
|
|
35412
|
+
"type": "string",
|
|
35413
|
+
"description": "Account ID"
|
|
35414
|
+
},
|
|
35415
|
+
"project": {
|
|
35416
|
+
"type": "string",
|
|
35417
|
+
"description": "Project ID"
|
|
35418
|
+
},
|
|
35419
|
+
"workflow_id": {
|
|
35420
|
+
"type": "string",
|
|
35421
|
+
"description": "Temporal workflow ID (stable across continueAsNew)"
|
|
35422
|
+
},
|
|
35423
|
+
"first_workflow_run_id": {
|
|
35424
|
+
"type": "string",
|
|
35425
|
+
"description": "First Temporal workflow run ID (used for Redis channel and artifact resolution)"
|
|
35426
|
+
},
|
|
35427
|
+
"artifacts_path": {
|
|
35428
|
+
"type": "string",
|
|
35429
|
+
"description": "Artifact storage path for this run"
|
|
35430
|
+
},
|
|
35431
|
+
"status": {
|
|
35432
|
+
"$ref": "#/components/schemas/AgentRunStatus",
|
|
35433
|
+
"description": "Current status of the agent run"
|
|
35434
|
+
},
|
|
35435
|
+
"activity_state": {
|
|
35436
|
+
"$ref": "#/components/schemas/ConversationActivityState",
|
|
35437
|
+
"description": "Whether the agent is currently working or idle (waiting for user input)"
|
|
35438
|
+
},
|
|
35439
|
+
"started_by": {
|
|
35440
|
+
"type": "string",
|
|
35441
|
+
"description": "User or service that initiated the run"
|
|
35442
|
+
},
|
|
35443
|
+
"started_at": {
|
|
35444
|
+
"type": "string",
|
|
35445
|
+
"format": "date-time",
|
|
35446
|
+
"description": "When the run started"
|
|
35447
|
+
},
|
|
35448
|
+
"completed_at": {
|
|
35449
|
+
"type": "string",
|
|
35450
|
+
"format": "date-time",
|
|
35451
|
+
"description": "When the run completed (or failed/cancelled)"
|
|
35452
|
+
},
|
|
35453
|
+
"title": {
|
|
35454
|
+
"type": "string",
|
|
35455
|
+
"description": "Conversation title (short, human-readable)"
|
|
35456
|
+
},
|
|
35457
|
+
"event_subscription_id": {
|
|
35458
|
+
"type": "string",
|
|
35459
|
+
"description": "Event subscription ID — set when this run was triggered by the event bus."
|
|
35460
|
+
},
|
|
35461
|
+
"event_ref": {
|
|
35462
|
+
"$ref": "#/components/schemas/EventRef",
|
|
35463
|
+
"description": "Event reference — set when this run was triggered by the event bus."
|
|
35464
|
+
},
|
|
35465
|
+
"archive_state": {
|
|
35466
|
+
"$ref": "#/components/schemas/AgentRunArchiveState",
|
|
35467
|
+
"description": "Archive lifecycle state"
|
|
35468
|
+
},
|
|
35469
|
+
"created_at": {
|
|
35470
|
+
"type": "string",
|
|
35471
|
+
"format": "date-time",
|
|
35472
|
+
"description": "Timestamp when the document was created"
|
|
35473
|
+
},
|
|
35474
|
+
"updated_at": {
|
|
35475
|
+
"type": "string",
|
|
35476
|
+
"format": "date-time",
|
|
35477
|
+
"description": "Timestamp when the document was last updated"
|
|
35478
|
+
},
|
|
35479
|
+
"interaction_name": {
|
|
35480
|
+
"type": "string",
|
|
35481
|
+
"description": "Human-readable interaction name"
|
|
35482
|
+
},
|
|
35483
|
+
"interactionRef": {
|
|
35484
|
+
"$ref": "#/components/schemas/InteractionRef"
|
|
35485
|
+
},
|
|
35486
|
+
"environmentRef": {
|
|
35487
|
+
"$ref": "#/components/schemas/ResourceRef",
|
|
35488
|
+
"description": "Resolved environment reference (name resolved from `config.environment` id). Populated by the list endpoint; may be absent on other endpoints or when the id cannot be resolved, in which case consumers should fall back to `config.environment`."
|
|
35489
|
+
},
|
|
35490
|
+
"topic": {
|
|
35491
|
+
"type": "string",
|
|
35492
|
+
"description": "Conversation topic (longer description from topic analysis)"
|
|
35493
|
+
},
|
|
35494
|
+
"generate_topic": {
|
|
35495
|
+
"type": "boolean",
|
|
35496
|
+
"description": "Whether automatic conversation title/topic generation is enabled for this run."
|
|
35497
|
+
},
|
|
35498
|
+
"generate_lessons": {
|
|
35499
|
+
"type": "boolean",
|
|
35500
|
+
"description": "Whether automatic lessons generation is enabled for this run."
|
|
35501
|
+
},
|
|
35502
|
+
"lessons_learned": {
|
|
35503
|
+
"type": "array",
|
|
35504
|
+
"items": {
|
|
35505
|
+
"type": "string"
|
|
35506
|
+
},
|
|
35507
|
+
"description": "Lessons learned from the conversation (extracted at completion)"
|
|
35508
|
+
},
|
|
35509
|
+
"evaluate": {
|
|
33879
35510
|
"type": "boolean",
|
|
33880
|
-
"description": "
|
|
33881
|
-
},
|
|
33882
|
-
"tool_approval_mode": {
|
|
33883
|
-
"$ref": "#/components/schemas/AgentToolApprovalMode",
|
|
33884
|
-
"description": "How side-effecting tool actions are approved for interactive runs."
|
|
33885
|
-
},
|
|
33886
|
-
"tool_names": {
|
|
33887
|
-
"type": "array",
|
|
33888
|
-
"items": {
|
|
33889
|
-
"type": "string"
|
|
33890
|
-
},
|
|
33891
|
-
"description": "Tools configured for this run (+/- syntax supported)"
|
|
33892
|
-
},
|
|
33893
|
-
"initial_skills": {
|
|
33894
|
-
"type": "array",
|
|
33895
|
-
"items": {
|
|
33896
|
-
"type": "string"
|
|
33897
|
-
},
|
|
33898
|
-
"description": "Builtin system skills activated before the first model turn."
|
|
33899
|
-
},
|
|
33900
|
-
"initial_tool_calls": {
|
|
33901
|
-
"type": "array",
|
|
33902
|
-
"items": {
|
|
33903
|
-
"$ref": "#/components/schemas/InitialToolCall"
|
|
33904
|
-
},
|
|
33905
|
-
"description": "Ordered, bounded hydration/read calls executed before the first model turn."
|
|
33906
|
-
},
|
|
33907
|
-
"excluded_tools": {
|
|
33908
|
-
"type": "array",
|
|
33909
|
-
"items": {
|
|
33910
|
-
"type": "string"
|
|
33911
|
-
},
|
|
33912
|
-
"description": "Hard denylist of tool names: never exposed to the model, refused at execution time."
|
|
33913
|
-
},
|
|
33914
|
-
"collection_id": {
|
|
33915
|
-
"type": "string",
|
|
33916
|
-
"description": "Scoped collection (if any)"
|
|
33917
|
-
},
|
|
33918
|
-
"disabled_mcp_collections": {
|
|
33919
|
-
"type": "array",
|
|
33920
|
-
"items": {
|
|
33921
|
-
"type": "string"
|
|
33922
|
-
},
|
|
33923
|
-
"description": "Denylist of MCP tool-collection ids deactivated for this run. `undefined`/empty means all installed/connected MCP collections are active (back-compat, and new servers stay active by default). Listed collections are excluded even if connected."
|
|
33924
|
-
},
|
|
33925
|
-
"content_type": {
|
|
33926
|
-
"$ref": "#/components/schemas/ContentObjectTypeRef",
|
|
33927
|
-
"description": "Content type linked to this run — defines the schema for `properties`"
|
|
33928
|
-
},
|
|
33929
|
-
"visibility": {
|
|
33930
|
-
"$ref": "#/components/schemas/ConversationVisibility",
|
|
33931
|
-
"description": "Conversation/process visibility"
|
|
33932
|
-
},
|
|
33933
|
-
"tags": {
|
|
33934
|
-
"type": "array",
|
|
33935
|
-
"items": {
|
|
33936
|
-
"type": "string"
|
|
33937
|
-
},
|
|
33938
|
-
"description": "User-defined or system tags for categorization"
|
|
33939
|
-
},
|
|
33940
|
-
"categories": {
|
|
33941
|
-
"type": "array",
|
|
33942
|
-
"items": {
|
|
33943
|
-
"type": "string"
|
|
33944
|
-
},
|
|
33945
|
-
"description": "Categories for organizing runs"
|
|
33946
|
-
},
|
|
33947
|
-
"properties": {
|
|
33948
|
-
"type": "object",
|
|
33949
|
-
"additionalProperties": true,
|
|
33950
|
-
"description": "Business metadata — typed by the linked content_type schema"
|
|
33951
|
-
},
|
|
33952
|
-
"source": {
|
|
33953
|
-
"$ref": "#/components/schemas/RunSource",
|
|
33954
|
-
"description": "How the run was started"
|
|
33955
|
-
},
|
|
33956
|
-
"schedule_id": {
|
|
33957
|
-
"type": "string",
|
|
33958
|
-
"description": "Schedule ID — set when this run was triggered by a Temporal schedule"
|
|
33959
|
-
},
|
|
33960
|
-
"source_type": {
|
|
33961
|
-
"$ref": "#/components/schemas/AgentRunType",
|
|
33962
|
-
"description": "Replacement for legacy AgentRun.type"
|
|
33963
|
-
},
|
|
33964
|
-
"type": {
|
|
33965
|
-
"deprecated": true,
|
|
33966
|
-
"x-deprecated-message": "Use source_type for creation source and run_type for runtime mode.",
|
|
33967
|
-
"$ref": "#/components/schemas/AgentRunType",
|
|
33968
|
-
"description": "Deprecated: Use source_type for creation source and run_type for runtime mode."
|
|
33969
|
-
},
|
|
33970
|
-
"id": {
|
|
33971
|
-
"type": "string",
|
|
33972
|
-
"description": "The stable identifier used by all client code"
|
|
33973
|
-
},
|
|
33974
|
-
"run_kind": {
|
|
33975
|
-
"type": "string",
|
|
33976
|
-
"const": "agent",
|
|
33977
|
-
"description": "Internal discriminator key"
|
|
33978
|
-
},
|
|
33979
|
-
"parent_run_id": {
|
|
33980
|
-
"type": "string",
|
|
33981
|
-
"description": "Process run this agent belongs to — set when a process agent node recorded this run. Its conversation lives on the parent run under `workstream_id`."
|
|
33982
|
-
},
|
|
33983
|
-
"workstream_id": {
|
|
33984
|
-
"type": "string",
|
|
33985
|
-
"description": "Workstream this run occupies inside its parent run (the process node id)."
|
|
33986
|
-
},
|
|
33987
|
-
"run_type": {
|
|
33988
|
-
"type": "string",
|
|
33989
|
-
"const": "autonomous",
|
|
33990
|
-
"description": "Public-facing runtime mode"
|
|
33991
|
-
},
|
|
33992
|
-
"account": {
|
|
33993
|
-
"type": "string",
|
|
33994
|
-
"description": "Account ID"
|
|
33995
|
-
},
|
|
33996
|
-
"project": {
|
|
33997
|
-
"type": "string",
|
|
33998
|
-
"description": "Project ID"
|
|
33999
|
-
},
|
|
34000
|
-
"workflow_id": {
|
|
34001
|
-
"type": "string",
|
|
34002
|
-
"description": "Temporal workflow ID (stable across continueAsNew)"
|
|
34003
|
-
},
|
|
34004
|
-
"first_workflow_run_id": {
|
|
34005
|
-
"type": "string",
|
|
34006
|
-
"description": "First Temporal workflow run ID (used for Redis channel and artifact resolution)"
|
|
34007
|
-
},
|
|
34008
|
-
"artifacts_path": {
|
|
34009
|
-
"type": "string",
|
|
34010
|
-
"description": "Artifact storage path for this run"
|
|
34011
|
-
},
|
|
34012
|
-
"status": {
|
|
34013
|
-
"$ref": "#/components/schemas/AgentRunStatus",
|
|
34014
|
-
"description": "Current status of the agent run"
|
|
34015
|
-
},
|
|
34016
|
-
"activity_state": {
|
|
34017
|
-
"$ref": "#/components/schemas/ConversationActivityState",
|
|
34018
|
-
"description": "Whether the agent is currently working or idle (waiting for user input)"
|
|
34019
|
-
},
|
|
34020
|
-
"started_by": {
|
|
34021
|
-
"type": "string",
|
|
34022
|
-
"description": "User or service that initiated the run"
|
|
34023
|
-
},
|
|
34024
|
-
"started_at": {
|
|
34025
|
-
"type": "string",
|
|
34026
|
-
"format": "date-time",
|
|
34027
|
-
"description": "When the run started"
|
|
34028
|
-
},
|
|
34029
|
-
"completed_at": {
|
|
34030
|
-
"type": "string",
|
|
34031
|
-
"format": "date-time",
|
|
34032
|
-
"description": "When the run completed (or failed/cancelled)"
|
|
34033
|
-
},
|
|
34034
|
-
"title": {
|
|
34035
|
-
"type": "string",
|
|
34036
|
-
"description": "Conversation title (short, human-readable)"
|
|
34037
|
-
},
|
|
34038
|
-
"event_subscription_id": {
|
|
34039
|
-
"type": "string",
|
|
34040
|
-
"description": "Event subscription ID — set when this run was triggered by the event bus."
|
|
34041
|
-
},
|
|
34042
|
-
"event_ref": {
|
|
34043
|
-
"$ref": "#/components/schemas/EventRef",
|
|
34044
|
-
"description": "Event reference — set when this run was triggered by the event bus."
|
|
34045
|
-
},
|
|
34046
|
-
"archive_state": {
|
|
34047
|
-
"$ref": "#/components/schemas/AgentRunArchiveState",
|
|
34048
|
-
"description": "Archive lifecycle state"
|
|
34049
|
-
},
|
|
34050
|
-
"created_at": {
|
|
34051
|
-
"type": "string",
|
|
34052
|
-
"format": "date-time",
|
|
34053
|
-
"description": "Timestamp when the document was created"
|
|
34054
|
-
},
|
|
34055
|
-
"updated_at": {
|
|
34056
|
-
"type": "string",
|
|
34057
|
-
"format": "date-time",
|
|
34058
|
-
"description": "Timestamp when the document was last updated"
|
|
34059
|
-
},
|
|
34060
|
-
"interaction_name": {
|
|
34061
|
-
"type": "string",
|
|
34062
|
-
"description": "Human-readable interaction name"
|
|
34063
|
-
},
|
|
34064
|
-
"interactionRef": {
|
|
34065
|
-
"$ref": "#/components/schemas/InteractionRef"
|
|
34066
|
-
},
|
|
34067
|
-
"environmentRef": {
|
|
34068
|
-
"$ref": "#/components/schemas/ResourceRef",
|
|
34069
|
-
"description": "Resolved environment reference (name resolved from `config.environment` id). Populated by the list endpoint; may be absent on other endpoints or when the id cannot be resolved, in which case consumers should fall back to `config.environment`."
|
|
34070
|
-
},
|
|
34071
|
-
"topic": {
|
|
34072
|
-
"type": "string",
|
|
34073
|
-
"description": "Conversation topic (longer description from topic analysis)"
|
|
34074
|
-
},
|
|
34075
|
-
"generate_topic": {
|
|
34076
|
-
"type": "boolean",
|
|
34077
|
-
"description": "Whether automatic conversation title/topic generation is enabled for this run."
|
|
34078
|
-
},
|
|
34079
|
-
"generate_lessons": {
|
|
34080
|
-
"type": "boolean",
|
|
34081
|
-
"description": "Whether automatic lessons generation is enabled for this run."
|
|
34082
|
-
},
|
|
34083
|
-
"lessons_learned": {
|
|
34084
|
-
"type": "array",
|
|
34085
|
-
"items": {
|
|
34086
|
-
"type": "string"
|
|
34087
|
-
},
|
|
34088
|
-
"description": "Lessons learned from the conversation (extracted at completion)"
|
|
35511
|
+
"description": "Request LLM evaluation when the project evaluation policy is opt_in. Defaults to false. Cannot override disabled or opt out of always_on."
|
|
34089
35512
|
},
|
|
34090
35513
|
"evaluation": {
|
|
34091
35514
|
"$ref": "#/components/schemas/AgentRunEvaluation",
|
|
@@ -34158,6 +35581,10 @@
|
|
|
34158
35581
|
"type": "boolean",
|
|
34159
35582
|
"description": "Whether to generate lessons automatically at completion. Defaults to true; conversation content remains searchable when disabled."
|
|
34160
35583
|
},
|
|
35584
|
+
"evaluate": {
|
|
35585
|
+
"type": "boolean",
|
|
35586
|
+
"description": "Request LLM evaluation when the project evaluation policy is opt_in. Defaults to false. Cannot override disabled or opt out of always_on."
|
|
35587
|
+
},
|
|
34161
35588
|
"data": {
|
|
34162
35589
|
"type": "object",
|
|
34163
35590
|
"additionalProperties": true,
|
|
@@ -34278,10 +35705,18 @@
|
|
|
34278
35705
|
"$ref": "#/components/schemas/AgentCheckpointConfiguration",
|
|
34279
35706
|
"description": "Structured checkpoint override for this run. Field-wise it takes precedence over the interaction's `agent_runner_options.checkpoint` and the project's `configuration.agent.checkpoint`; the legacy `checkpoint_tokens` above still wins over everything when set."
|
|
34280
35707
|
},
|
|
35708
|
+
"budget": {
|
|
35709
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration",
|
|
35710
|
+
"description": "Token budget for this run and its subagent workstreams. Field-wise it takes precedence over the interaction's `agent_runner_options.budget` and the project's `configuration.agent.budget`."
|
|
35711
|
+
},
|
|
34281
35712
|
"max_iterations": {
|
|
34282
35713
|
"type": "number",
|
|
34283
35714
|
"description": "Maximum conversation iterations (default: 20)"
|
|
34284
35715
|
},
|
|
35716
|
+
"final_verification": {
|
|
35717
|
+
"type": "boolean",
|
|
35718
|
+
"description": "When true, a non-interactive free-form run takes one extra turn after its answer to check that the task is complete. Off by default. Not kept on restart or fork."
|
|
35719
|
+
},
|
|
34285
35720
|
"notify_endpoints": {
|
|
34286
35721
|
"type": "array",
|
|
34287
35722
|
"items": {
|
|
@@ -35027,7 +36462,7 @@
|
|
|
35027
36462
|
},
|
|
35028
36463
|
"contradicted": {
|
|
35029
36464
|
"type": "boolean",
|
|
35030
|
-
"description": "Only runs whose feedback or
|
|
36465
|
+
"description": "Only runs whose feedback or LLM evaluation contradicts the detectors"
|
|
35031
36466
|
}
|
|
35032
36467
|
}
|
|
35033
36468
|
},
|
|
@@ -35065,6 +36500,10 @@
|
|
|
35065
36500
|
"type": "boolean",
|
|
35066
36501
|
"description": "Whether to generate lessons automatically at completion. Defaults to true; conversation content remains searchable when disabled."
|
|
35067
36502
|
},
|
|
36503
|
+
"evaluate": {
|
|
36504
|
+
"type": "boolean",
|
|
36505
|
+
"description": "Request LLM evaluation when the project evaluation policy is opt_in. Defaults to false. Cannot override disabled or opt out of always_on."
|
|
36506
|
+
},
|
|
35068
36507
|
"parent_run_id": {
|
|
35069
36508
|
"type": "string"
|
|
35070
36509
|
},
|
|
@@ -35711,6 +37150,9 @@
|
|
|
35711
37150
|
"errorType": {
|
|
35712
37151
|
"type": "string"
|
|
35713
37152
|
},
|
|
37153
|
+
"executionRunId": {
|
|
37154
|
+
"type": "string"
|
|
37155
|
+
},
|
|
35714
37156
|
"nestedInteractionId": {
|
|
35715
37157
|
"type": "string"
|
|
35716
37158
|
},
|
|
@@ -36454,7 +37896,7 @@
|
|
|
36454
37896
|
},
|
|
36455
37897
|
"eventType": {
|
|
36456
37898
|
"type": "string",
|
|
36457
|
-
"const": "
|
|
37899
|
+
"const": "turn_llm_evaluation"
|
|
36458
37900
|
},
|
|
36459
37901
|
"evaluationRev": {
|
|
36460
37902
|
"type": "integer",
|
|
@@ -36470,7 +37912,7 @@
|
|
|
36470
37912
|
"maximum": 9007199254740991
|
|
36471
37913
|
},
|
|
36472
37914
|
"gate": {
|
|
36473
|
-
"$ref": "#/components/schemas/
|
|
37915
|
+
"$ref": "#/components/schemas/EvaluationGateReason"
|
|
36474
37916
|
},
|
|
36475
37917
|
"sampleRate": {
|
|
36476
37918
|
"type": "number"
|
|
@@ -36479,10 +37921,10 @@
|
|
|
36479
37921
|
"type": "number"
|
|
36480
37922
|
},
|
|
36481
37923
|
"outcome": {
|
|
36482
|
-
"$ref": "#/components/schemas/
|
|
37924
|
+
"$ref": "#/components/schemas/EvaluationOutcome"
|
|
36483
37925
|
},
|
|
36484
37926
|
"verdict": {
|
|
36485
|
-
"$ref": "#/components/schemas/
|
|
37927
|
+
"$ref": "#/components/schemas/EvaluationVerdict"
|
|
36486
37928
|
},
|
|
36487
37929
|
"score": {
|
|
36488
37930
|
"type": "number"
|
|
@@ -38240,6 +39682,9 @@
|
|
|
38240
39682
|
"checkpoint_tokens": {
|
|
38241
39683
|
"type": "number"
|
|
38242
39684
|
},
|
|
39685
|
+
"budget": {
|
|
39686
|
+
"$ref": "#/components/schemas/AgentBudgetConfiguration"
|
|
39687
|
+
},
|
|
38243
39688
|
"version": {
|
|
38244
39689
|
"type": "number"
|
|
38245
39690
|
},
|
|
@@ -41222,9 +42667,11 @@
|
|
|
41222
42667
|
"provider",
|
|
41223
42668
|
"service_tier",
|
|
41224
42669
|
"interaction",
|
|
41225
|
-
"workflow"
|
|
42670
|
+
"workflow",
|
|
42671
|
+
"agent_run",
|
|
42672
|
+
"workflow_run"
|
|
41226
42673
|
],
|
|
41227
|
-
"description": "Group results by this dimension"
|
|
42674
|
+
"description": "Group results by this dimension. `agent_run` groups by root agent run, including the calls of its sub-agents; `workflow_run` groups by Temporal workflow run, which separates each sub-agent."
|
|
41228
42675
|
},
|
|
41229
42676
|
"resolution": {
|
|
41230
42677
|
"type": "string",
|
|
@@ -41272,6 +42719,10 @@
|
|
|
41272
42719
|
"type": "string",
|
|
41273
42720
|
"description": "Filter by agent run ID"
|
|
41274
42721
|
},
|
|
42722
|
+
"agent_only": {
|
|
42723
|
+
"type": "boolean",
|
|
42724
|
+
"description": "Restrict usage to agent runs and their attributed nested/background inference. Excludes standalone interactions and non-agent workflows. Defaults to false."
|
|
42725
|
+
},
|
|
41275
42726
|
"interaction_id": {
|
|
41276
42727
|
"type": "string",
|
|
41277
42728
|
"description": "Filter by interaction id: stored ObjectId or namespaced in-code id"
|
|
@@ -41441,6 +42892,12 @@
|
|
|
41441
42892
|
"type": "string",
|
|
41442
42893
|
"description": "Processing tier this price applies to"
|
|
41443
42894
|
},
|
|
42895
|
+
"min_prompt_tokens": {
|
|
42896
|
+
"type": "integer",
|
|
42897
|
+
"minimum": 0,
|
|
42898
|
+
"maximum": 9007199254740991,
|
|
42899
|
+
"description": "When set, these prices apply to calls whose prompt (input, cached and cache-write tokens) is longer than this many tokens, in place of the prices without it."
|
|
42900
|
+
},
|
|
41444
42901
|
"input_price_per_m_tokens": {
|
|
41445
42902
|
"type": "number"
|
|
41446
42903
|
},
|
|
@@ -41458,8 +42915,10 @@
|
|
|
41458
42915
|
"enum": [
|
|
41459
42916
|
"billing_export",
|
|
41460
42917
|
"model_pricing_daily",
|
|
42918
|
+
"run_time_estimate",
|
|
41461
42919
|
"unavailable"
|
|
41462
|
-
]
|
|
42920
|
+
],
|
|
42921
|
+
"description": "Where the rates come from. `run_time_estimate` rates are the ones recorded on the calls when their cost was estimated; the others come from the pricing catalog."
|
|
41463
42922
|
}
|
|
41464
42923
|
},
|
|
41465
42924
|
"required": [
|
|
@@ -41743,6 +43202,30 @@
|
|
|
41743
43202
|
],
|
|
41744
43203
|
"additionalProperties": false
|
|
41745
43204
|
}
|
|
43205
|
+
},
|
|
43206
|
+
"cost_by_source": {
|
|
43207
|
+
"type": "object",
|
|
43208
|
+
"properties": {
|
|
43209
|
+
"provider_billed": {
|
|
43210
|
+
"type": "number",
|
|
43211
|
+
"description": "USD the provider reported billing for the calls."
|
|
43212
|
+
},
|
|
43213
|
+
"run_time_estimate": {
|
|
43214
|
+
"type": "number",
|
|
43215
|
+
"description": "USD estimated from list prices when the calls ran, for calls with no billed amount."
|
|
43216
|
+
},
|
|
43217
|
+
"price_table": {
|
|
43218
|
+
"type": "number",
|
|
43219
|
+
"description": "USD computed from the pricing table, for calls with no cost recorded when they ran."
|
|
43220
|
+
}
|
|
43221
|
+
},
|
|
43222
|
+
"required": [
|
|
43223
|
+
"provider_billed",
|
|
43224
|
+
"run_time_estimate",
|
|
43225
|
+
"price_table"
|
|
43226
|
+
],
|
|
43227
|
+
"additionalProperties": false,
|
|
43228
|
+
"description": "How the total cost splits by where each call's cost came from."
|
|
41746
43229
|
}
|
|
41747
43230
|
},
|
|
41748
43231
|
"required": [
|
|
@@ -41838,6 +43321,30 @@
|
|
|
41838
43321
|
],
|
|
41839
43322
|
"additionalProperties": false
|
|
41840
43323
|
}
|
|
43324
|
+
},
|
|
43325
|
+
"cost_by_source": {
|
|
43326
|
+
"type": "object",
|
|
43327
|
+
"properties": {
|
|
43328
|
+
"provider_billed": {
|
|
43329
|
+
"type": "number",
|
|
43330
|
+
"description": "USD the provider reported billing for the calls."
|
|
43331
|
+
},
|
|
43332
|
+
"run_time_estimate": {
|
|
43333
|
+
"type": "number",
|
|
43334
|
+
"description": "USD estimated from list prices when the calls ran, for calls with no billed amount."
|
|
43335
|
+
},
|
|
43336
|
+
"price_table": {
|
|
43337
|
+
"type": "number",
|
|
43338
|
+
"description": "USD computed from the pricing table, for calls with no cost recorded when they ran."
|
|
43339
|
+
}
|
|
43340
|
+
},
|
|
43341
|
+
"required": [
|
|
43342
|
+
"provider_billed",
|
|
43343
|
+
"run_time_estimate",
|
|
43344
|
+
"price_table"
|
|
43345
|
+
],
|
|
43346
|
+
"additionalProperties": false,
|
|
43347
|
+
"description": "How the total cost splits by where each call's cost came from."
|
|
41841
43348
|
}
|
|
41842
43349
|
},
|
|
41843
43350
|
"required": [
|