@rightbrain/brain-api-client 0.0.1-dev.152.8af46e8 → 0.0.1-dev.153.dd63698

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/api.ts +6757 -5175
  2. package/dist/api.d.ts +2115 -949
  3. package/dist/api.js +990 -30
  4. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -1081,6 +1081,11 @@ export interface ConversationalGuardrails {
1081
1081
  */
1082
1082
  'output'?: Array<OutputConversationalGuardrailDefinition>;
1083
1083
  }
1084
+ /**
1085
+ * @type CreateTaskAgentEvalRun422Response
1086
+ * @export
1087
+ */
1088
+ export type CreateTaskAgentEvalRun422Response = HTTPValidationError | ListTaskAgentEvalSets400ResponseOneOf;
1084
1089
  /**
1085
1090
  * Represents a trend report for organization creation.
1086
1091
  * @export
@@ -3949,6 +3954,24 @@ export interface LLMModelInternalView {
3949
3954
  */
3950
3955
  'retired'?: string | null;
3951
3956
  }
3957
+ /**
3958
+ * @type ListTaskAgentEvalSets400Response
3959
+ * @export
3960
+ */
3961
+ export type ListTaskAgentEvalSets400Response = ListTaskAgentEvalSets400ResponseOneOf | MalformedResourceIdentifierErrorResponse;
3962
+ /**
3963
+ *
3964
+ * @export
3965
+ * @interface ListTaskAgentEvalSets400ResponseOneOf
3966
+ */
3967
+ export interface ListTaskAgentEvalSets400ResponseOneOf {
3968
+ /**
3969
+ *
3970
+ * @type {any}
3971
+ * @memberof ListTaskAgentEvalSets400ResponseOneOf
3972
+ */
3973
+ 'detail': any;
3974
+ }
3952
3975
  /**
3953
3976
  *
3954
3977
  * @export
@@ -6583,6 +6606,44 @@ export interface PaginatedResultSetTask {
6583
6606
  */
6584
6607
  'results': Array<Task>;
6585
6608
  }
6609
+ /**
6610
+ *
6611
+ * @export
6612
+ * @interface PaginatedResultSetTaskAgentEvalRunResponse
6613
+ */
6614
+ export interface PaginatedResultSetTaskAgentEvalRunResponse {
6615
+ /**
6616
+ *
6617
+ * @type {PaginationDetails}
6618
+ * @memberof PaginatedResultSetTaskAgentEvalRunResponse
6619
+ */
6620
+ 'pagination'?: PaginationDetails;
6621
+ /**
6622
+ * The list of items returned for the current page.
6623
+ * @type {Array<TaskAgentEvalRunResponse>}
6624
+ * @memberof PaginatedResultSetTaskAgentEvalRunResponse
6625
+ */
6626
+ 'results': Array<TaskAgentEvalRunResponse>;
6627
+ }
6628
+ /**
6629
+ *
6630
+ * @export
6631
+ * @interface PaginatedResultSetTaskAgentEvalSetResponse
6632
+ */
6633
+ export interface PaginatedResultSetTaskAgentEvalSetResponse {
6634
+ /**
6635
+ *
6636
+ * @type {PaginationDetails}
6637
+ * @memberof PaginatedResultSetTaskAgentEvalSetResponse
6638
+ */
6639
+ 'pagination'?: PaginationDetails;
6640
+ /**
6641
+ * The list of items returned for the current page.
6642
+ * @type {Array<TaskAgentEvalSetResponse>}
6643
+ * @memberof PaginatedResultSetTaskAgentEvalSetResponse
6644
+ */
6645
+ 'results': Array<TaskAgentEvalSetResponse>;
6646
+ }
6586
6647
  /**
6587
6648
  *
6588
6649
  * @export
@@ -8772,6 +8833,24 @@ export type Response403Createslackchannelmapping = {
8772
8833
  } & MissingAuthenticationErrorResponse | {
8773
8834
  reason: 'PERMISSION_CHECK_FAILED';
8774
8835
  } & PermissionCheckFailedErrorResponse;
8836
+ /**
8837
+ * @type Response403Createtaskagentevalrun
8838
+ * @export
8839
+ */
8840
+ export type Response403Createtaskagentevalrun = {
8841
+ reason: 'MISSING_AUTHENTICATION';
8842
+ } & MissingAuthenticationErrorResponse | {
8843
+ reason: 'PERMISSION_CHECK_FAILED';
8844
+ } & PermissionCheckFailedErrorResponse;
8845
+ /**
8846
+ * @type Response403Createtaskagentevalset
8847
+ * @export
8848
+ */
8849
+ export type Response403Createtaskagentevalset = {
8850
+ reason: 'MISSING_AUTHENTICATION';
8851
+ } & MissingAuthenticationErrorResponse | {
8852
+ reason: 'PERMISSION_CHECK_FAILED';
8853
+ } & PermissionCheckFailedErrorResponse;
8775
8854
  /**
8776
8855
  * @type Response403Createtaskmcpserver
8777
8856
  * @export
@@ -8880,6 +8959,15 @@ export type Response403Deleteslackinstallation = {
8880
8959
  } & MissingAuthenticationErrorResponse | {
8881
8960
  reason: 'PERMISSION_CHECK_FAILED';
8882
8961
  } & PermissionCheckFailedErrorResponse;
8962
+ /**
8963
+ * @type Response403Deletetaskagentevalset
8964
+ * @export
8965
+ */
8966
+ export type Response403Deletetaskagentevalset = {
8967
+ reason: 'MISSING_AUTHENTICATION';
8968
+ } & MissingAuthenticationErrorResponse | {
8969
+ reason: 'PERMISSION_CHECK_FAILED';
8970
+ } & PermissionCheckFailedErrorResponse;
8883
8971
  /**
8884
8972
  * @type Response403Deletetaskmcpserver
8885
8973
  * @export
@@ -9123,6 +9211,24 @@ export type Response403Getslackinstallation = {
9123
9211
  } & MissingAuthenticationErrorResponse | {
9124
9212
  reason: 'PERMISSION_CHECK_FAILED';
9125
9213
  } & PermissionCheckFailedErrorResponse;
9214
+ /**
9215
+ * @type Response403Gettaskagentevalrun
9216
+ * @export
9217
+ */
9218
+ export type Response403Gettaskagentevalrun = {
9219
+ reason: 'MISSING_AUTHENTICATION';
9220
+ } & MissingAuthenticationErrorResponse | {
9221
+ reason: 'PERMISSION_CHECK_FAILED';
9222
+ } & PermissionCheckFailedErrorResponse;
9223
+ /**
9224
+ * @type Response403Gettaskagentevalset
9225
+ * @export
9226
+ */
9227
+ export type Response403Gettaskagentevalset = {
9228
+ reason: 'MISSING_AUTHENTICATION';
9229
+ } & MissingAuthenticationErrorResponse | {
9230
+ reason: 'PERMISSION_CHECK_FAILED';
9231
+ } & PermissionCheckFailedErrorResponse;
9126
9232
  /**
9127
9233
  * @type Response403Gettaskcreditreport
9128
9234
  * @export
@@ -9348,6 +9454,24 @@ export type Response403Listslackinstallations = {
9348
9454
  } & MissingAuthenticationErrorResponse | {
9349
9455
  reason: 'PERMISSION_CHECK_FAILED';
9350
9456
  } & PermissionCheckFailedErrorResponse;
9457
+ /**
9458
+ * @type Response403Listtaskagentevalruns
9459
+ * @export
9460
+ */
9461
+ export type Response403Listtaskagentevalruns = {
9462
+ reason: 'MISSING_AUTHENTICATION';
9463
+ } & MissingAuthenticationErrorResponse | {
9464
+ reason: 'PERMISSION_CHECK_FAILED';
9465
+ } & PermissionCheckFailedErrorResponse;
9466
+ /**
9467
+ * @type Response403Listtaskagentevalsets
9468
+ * @export
9469
+ */
9470
+ export type Response403Listtaskagentevalsets = {
9471
+ reason: 'MISSING_AUTHENTICATION';
9472
+ } & MissingAuthenticationErrorResponse | {
9473
+ reason: 'PERMISSION_CHECK_FAILED';
9474
+ } & PermissionCheckFailedErrorResponse;
9351
9475
  /**
9352
9476
  * @type Response403Listtaskmcpservercatalog
9353
9477
  * @export
@@ -9951,6 +10075,15 @@ export type Response403Updateslackinstallation = {
9951
10075
  } & MissingAuthenticationErrorResponse | {
9952
10076
  reason: 'PERMISSION_CHECK_FAILED';
9953
10077
  } & PermissionCheckFailedErrorResponse;
10078
+ /**
10079
+ * @type Response403Updatetaskagentevalset
10080
+ * @export
10081
+ */
10082
+ export type Response403Updatetaskagentevalset = {
10083
+ reason: 'MISSING_AUTHENTICATION';
10084
+ } & MissingAuthenticationErrorResponse | {
10085
+ reason: 'PERMISSION_CHECK_FAILED';
10086
+ } & PermissionCheckFailedErrorResponse;
9954
10087
  /**
9955
10088
  * @type Response403Updatetaskmcpserver
9956
10089
  * @export
@@ -11906,1328 +12039,1963 @@ export interface TaskAgentCreditReport {
11906
12039
  'total_runs': number;
11907
12040
  }
11908
12041
  /**
11909
- * Event from a TaskAgent conversation (from ADK session). Note: ADK may store multiple parallel tool calls or results in a single event. Use tool_calls/tool_results lists to access all of them.
12042
+ *
11910
12043
  * @export
11911
- * @interface TaskAgentEvent
12044
+ * @interface TaskAgentEvalCaseReference
11912
12045
  */
11913
- export interface TaskAgentEvent {
12046
+ export interface TaskAgentEvalCaseReference {
11914
12047
  /**
11915
- * Event ID from ADK session.
11916
- * @type {string}
11917
- * @memberof TaskAgentEvent
12048
+ *
12049
+ * @type {number}
12050
+ * @memberof TaskAgentEvalCaseReference
11918
12051
  */
11919
- 'id': string;
12052
+ 'case_order': number;
11920
12053
  /**
11921
- * Event author: \'user\' or agent name.
12054
+ *
11922
12055
  * @type {string}
11923
- * @memberof TaskAgentEvent
12056
+ * @memberof TaskAgentEvalCaseReference
11924
12057
  */
11925
- 'author': string;
12058
+ 'reference_source_run_id': string;
12059
+ }
12060
+ /**
12061
+ *
12062
+ * @export
12063
+ * @interface TaskAgentEvalJudgeModelResponse
12064
+ */
12065
+ export interface TaskAgentEvalJudgeModelResponse {
11926
12066
  /**
11927
- * Text content of the event (extracted from parts).
12067
+ *
11928
12068
  * @type {string}
11929
- * @memberof TaskAgentEvent
12069
+ * @memberof TaskAgentEvalJudgeModelResponse
11930
12070
  */
11931
- 'content'?: string | null;
12071
+ 'name': string;
11932
12072
  /**
11933
- * When the event occurred.
12073
+ *
11934
12074
  * @type {string}
11935
- * @memberof TaskAgentEvent
12075
+ * @memberof TaskAgentEvalJudgeModelResponse
11936
12076
  */
11937
- 'timestamp': string;
12077
+ 'provider': string;
12078
+ }
12079
+ /**
12080
+ *
12081
+ * @export
12082
+ * @interface TaskAgentEvalMetricComparison
12083
+ */
12084
+ export interface TaskAgentEvalMetricComparison {
11938
12085
  /**
11939
- * Type of event.
11940
- * @type {string}
11941
- * @memberof TaskAgentEvent
12086
+ *
12087
+ * @type {number}
12088
+ * @memberof TaskAgentEvalMetricComparison
11942
12089
  */
11943
- 'event_type': string;
12090
+ 'reference_avg': number;
11944
12091
  /**
11945
- * Tool calls made in this event. Multiple if parallel calls.
11946
- * @type {Array<ToolCallInfo>}
11947
- * @memberof TaskAgentEvent
12092
+ *
12093
+ * @type {number}
12094
+ * @memberof TaskAgentEvalMetricComparison
11948
12095
  */
11949
- 'tool_calls'?: Array<ToolCallInfo> | null;
12096
+ 'candidate_avg': number;
11950
12097
  /**
11951
- * Tool results in this event. Multiple if parallel results.
11952
- * @type {Array<ToolResultInfo>}
11953
- * @memberof TaskAgentEvent
12098
+ *
12099
+ * @type {number}
12100
+ * @memberof TaskAgentEvalMetricComparison
11954
12101
  */
11955
- 'tool_results'?: Array<ToolResultInfo> | null;
12102
+ 'delta_pct': number;
12103
+ }
12104
+ /**
12105
+ *
12106
+ * @export
12107
+ * @interface TaskAgentEvalResultMetrics
12108
+ */
12109
+ export interface TaskAgentEvalResultMetrics {
11956
12110
  /**
11957
- * Error message if event_type is error.
11958
- * @type {string}
11959
- * @memberof TaskAgentEvent
12111
+ *
12112
+ * @type {TaskAgentEvalResultRunMetrics}
12113
+ * @memberof TaskAgentEvalResultMetrics
11960
12114
  */
11961
- 'error_message'?: string | null;
12115
+ 'reference'?: TaskAgentEvalResultRunMetrics;
12116
+ /**
12117
+ *
12118
+ * @type {TaskAgentEvalResultRunMetrics}
12119
+ * @memberof TaskAgentEvalResultMetrics
12120
+ */
12121
+ 'candidate'?: TaskAgentEvalResultRunMetrics;
11962
12122
  }
11963
12123
  /**
11964
- * Extended file metadata for TaskAgent runs with provenance tracking. Inherits from TaskRunFileMetadata and adds fields to track whether a file was uploaded with the request or generated by a task tool.
12124
+ *
11965
12125
  * @export
11966
- * @interface TaskAgentFileMetadata
12126
+ * @interface TaskAgentEvalResultResponse
11967
12127
  */
11968
- export interface TaskAgentFileMetadata {
12128
+ export interface TaskAgentEvalResultResponse {
11969
12129
  /**
11970
- * The original filename as submitted by the user
12130
+ *
11971
12131
  * @type {string}
11972
- * @memberof TaskAgentFileMetadata
12132
+ * @memberof TaskAgentEvalResultResponse
11973
12133
  */
11974
- 'original_filename': string;
12134
+ 'id': string;
11975
12135
  /**
11976
- * The generated filename used for storage
12136
+ *
11977
12137
  * @type {string}
11978
- * @memberof TaskAgentFileMetadata
12138
+ * @memberof TaskAgentEvalResultResponse
11979
12139
  */
11980
- 'stored_filename': string;
12140
+ 'eval_run_id': string;
11981
12141
  /**
11982
- * MIME type of the file
12142
+ *
11983
12143
  * @type {string}
11984
- * @memberof TaskAgentFileMetadata
12144
+ * @memberof TaskAgentEvalResultResponse
11985
12145
  */
11986
- 'content_type': string;
12146
+ 'eval_case_id': string;
11987
12147
  /**
11988
- * Relative URL to download the file (generated dynamically, not stored in database)
12148
+ *
11989
12149
  * @type {string}
11990
- * @memberof TaskAgentFileMetadata
12150
+ * @memberof TaskAgentEvalResultResponse
11991
12151
  */
11992
- 'download_url'?: string | null;
12152
+ 'reference_run_id': string;
11993
12153
  /**
11994
- * File size in bytes (if available)
11995
- * @type {number}
11996
- * @memberof TaskAgentFileMetadata
12154
+ *
12155
+ * @type {string}
12156
+ * @memberof TaskAgentEvalResultResponse
11997
12157
  */
11998
- 'size_bytes'?: number | null;
12158
+ 'candidate_run_id'?: string | null;
11999
12159
  /**
12000
- * Source of the file: \'input\' for uploaded files, \'generated\' for task tool outputs
12160
+ *
12161
+ * @type {TaskAgentEvalVerdict}
12162
+ * @memberof TaskAgentEvalResultResponse
12163
+ */
12164
+ 'verdict'?: TaskAgentEvalVerdict;
12165
+ /**
12166
+ *
12001
12167
  * @type {string}
12002
- * @memberof TaskAgentFileMetadata
12168
+ * @memberof TaskAgentEvalResultResponse
12003
12169
  */
12004
- 'source'?: TaskAgentFileMetadataSourceEnum;
12170
+ 'reasoning'?: string | null;
12005
12171
  /**
12006
- * Name of the task tool/task that generated this file (only for generated files)
12172
+ *
12173
+ * @type {number}
12174
+ * @memberof TaskAgentEvalResultResponse
12175
+ */
12176
+ 'judge_input_tokens': number;
12177
+ /**
12178
+ *
12179
+ * @type {number}
12180
+ * @memberof TaskAgentEvalResultResponse
12181
+ */
12182
+ 'judge_output_tokens': number;
12183
+ /**
12184
+ *
12185
+ * @type {boolean}
12186
+ * @memberof TaskAgentEvalResultResponse
12187
+ */
12188
+ 'is_error': boolean;
12189
+ /**
12190
+ *
12007
12191
  * @type {string}
12008
- * @memberof TaskAgentFileMetadata
12192
+ * @memberof TaskAgentEvalResultResponse
12009
12193
  */
12010
- 'source_task_name'?: string | null;
12194
+ 'error_message'?: string | null;
12011
12195
  /**
12012
- * TaskRun ID that generated this file (only for generated files)
12196
+ *
12013
12197
  * @type {string}
12014
- * @memberof TaskAgentFileMetadata
12198
+ * @memberof TaskAgentEvalResultResponse
12015
12199
  */
12016
- 'source_task_run_id'?: string | null;
12200
+ 'created': string;
12201
+ /**
12202
+ *
12203
+ * @type {TaskAgentEvalResultMetrics}
12204
+ * @memberof TaskAgentEvalResultResponse
12205
+ */
12206
+ 'metrics'?: TaskAgentEvalResultMetrics;
12017
12207
  }
12018
- export declare const TaskAgentFileMetadataSourceEnum: {
12019
- readonly Input: "input";
12020
- readonly Generated: "generated";
12021
- };
12022
- export type TaskAgentFileMetadataSourceEnum = typeof TaskAgentFileMetadataSourceEnum[keyof typeof TaskAgentFileMetadataSourceEnum];
12023
12208
  /**
12024
12209
  *
12025
12210
  * @export
12026
- * @interface TaskAgentIAMMemberRoleUpdate
12211
+ * @interface TaskAgentEvalResultRunMetrics
12027
12212
  */
12028
- export interface TaskAgentIAMMemberRoleUpdate {
12213
+ export interface TaskAgentEvalResultRunMetrics {
12029
12214
  /**
12030
- * A list of task_agent roles to grant to the member. Roles in this list are applied to the member AFTER any removals specified in `remove`. This may be combined with `remove_all` to replace the member\'s entire role list.
12031
- * @type {Array<string>}
12032
- * @memberof TaskAgentIAMMemberRoleUpdate
12215
+ *
12216
+ * @type {number}
12217
+ * @memberof TaskAgentEvalResultRunMetrics
12033
12218
  */
12034
- 'add'?: Array<TaskAgentIAMMemberRoleUpdateAddEnum>;
12219
+ 'total_tokens': number;
12035
12220
  /**
12036
- * A list of task_agent roles to revoke from the member.
12037
- * @type {Array<string>}
12038
- * @memberof TaskAgentIAMMemberRoleUpdate
12221
+ *
12222
+ * @type {string}
12223
+ * @memberof TaskAgentEvalResultRunMetrics
12039
12224
  */
12040
- 'remove'?: Array<TaskAgentIAMMemberRoleUpdateRemoveEnum>;
12225
+ 'charged_credits': string;
12041
12226
  /**
12042
- * Removes all existing roles from the member. This may be combined with `add` to replace all existing roles that the member holds.
12043
- * @type {boolean}
12044
- * @memberof TaskAgentIAMMemberRoleUpdate
12045
- */
12046
- 'remove_all'?: boolean | null;
12227
+ *
12228
+ * @type {number}
12229
+ * @memberof TaskAgentEvalResultRunMetrics
12230
+ */
12231
+ 'duration_ms': number | null;
12047
12232
  }
12048
- export declare const TaskAgentIAMMemberRoleUpdateAddEnum: {
12049
- readonly Editor: "editor";
12050
- readonly Owner: "owner";
12051
- readonly Viewer: "viewer";
12052
- };
12053
- export type TaskAgentIAMMemberRoleUpdateAddEnum = typeof TaskAgentIAMMemberRoleUpdateAddEnum[keyof typeof TaskAgentIAMMemberRoleUpdateAddEnum];
12054
- export declare const TaskAgentIAMMemberRoleUpdateRemoveEnum: {
12055
- readonly Editor: "editor";
12056
- readonly Owner: "owner";
12057
- readonly Viewer: "viewer";
12058
- };
12059
- export type TaskAgentIAMMemberRoleUpdateRemoveEnum = typeof TaskAgentIAMMemberRoleUpdateRemoveEnum[keyof typeof TaskAgentIAMMemberRoleUpdateRemoveEnum];
12060
12233
  /**
12061
12234
  *
12062
12235
  * @export
12063
- * @interface TaskAgentIAMPermissionTest
12236
+ * @interface TaskAgentEvalRunCreate
12064
12237
  */
12065
- export interface TaskAgentIAMPermissionTest {
12066
- /**
12067
- * A list of permissions to test on the task_agent.
12068
- * @type {Array<string>}
12069
- * @memberof TaskAgentIAMPermissionTest
12070
- */
12071
- 'permissions': Array<TaskAgentIAMPermissionTestPermissionsEnum>;
12238
+ export interface TaskAgentEvalRunCreate {
12072
12239
  /**
12073
12240
  *
12074
12241
  * @type {string}
12075
- * @memberof TaskAgentIAMPermissionTest
12242
+ * @memberof TaskAgentEvalRunCreate
12076
12243
  */
12077
- 'member'?: string | null;
12078
- }
12079
- export declare const TaskAgentIAMPermissionTestPermissionsEnum: {
12080
- readonly AddEditor: "add_editor";
12081
- readonly AddMember: "add_member";
12082
- readonly AddOwner: "add_owner";
12083
- readonly Edit: "edit";
12084
- readonly RemoveEditor: "remove_editor";
12085
- readonly RemoveMember: "remove_member";
12086
- readonly RemoveOwner: "remove_owner";
12087
- readonly Run: "run";
12088
- readonly View: "view";
12089
- readonly ViewMembers: "view_members";
12090
- };
12091
- export type TaskAgentIAMPermissionTestPermissionsEnum = typeof TaskAgentIAMPermissionTestPermissionsEnum[keyof typeof TaskAgentIAMPermissionTestPermissionsEnum];
12092
- /**
12093
- *
12094
- * @export
12095
- * @interface TaskAgentIntegrationInput
12096
- */
12097
- export interface TaskAgentIntegrationInput {
12244
+ 'candidate_revision_id'?: string | null;
12098
12245
  /**
12099
- * ID of the ProjectIntegration to attach.
12246
+ *
12100
12247
  * @type {string}
12101
- * @memberof TaskAgentIntegrationInput
12248
+ * @memberof TaskAgentEvalRunCreate
12102
12249
  */
12103
- 'project_integration_id': string;
12250
+ 'eval_set_id'?: string | null;
12104
12251
  /**
12105
- * Optional IntegrationTool IDs to expose. None means all enabled integration tools.
12252
+ *
12106
12253
  * @type {Array<string>}
12107
- * @memberof TaskAgentIntegrationInput
12254
+ * @memberof TaskAgentEvalRunCreate
12108
12255
  */
12109
- 'allowed_tool_ids'?: Array<string> | null;
12256
+ 'task_agent_run_ids'?: Array<string> | null;
12257
+ /**
12258
+ *
12259
+ * @type {number}
12260
+ * @memberof TaskAgentEvalRunCreate
12261
+ */
12262
+ 'last_n'?: number | null;
12263
+ /**
12264
+ *
12265
+ * @type {string}
12266
+ * @memberof TaskAgentEvalRunCreate
12267
+ */
12268
+ 'judge_model_id'?: string | null;
12110
12269
  }
12111
12270
  /**
12112
12271
  *
12113
12272
  * @export
12114
- * @interface TaskAgentIntegrationRead
12273
+ * @interface TaskAgentEvalRunDetailResponse
12115
12274
  */
12116
- export interface TaskAgentIntegrationRead {
12275
+ export interface TaskAgentEvalRunDetailResponse {
12117
12276
  /**
12118
12277
  *
12119
12278
  * @type {string}
12120
- * @memberof TaskAgentIntegrationRead
12279
+ * @memberof TaskAgentEvalRunDetailResponse
12121
12280
  */
12122
12281
  'id': string;
12123
12282
  /**
12124
12283
  *
12125
12284
  * @type {string}
12126
- * @memberof TaskAgentIntegrationRead
12285
+ * @memberof TaskAgentEvalRunDetailResponse
12127
12286
  */
12128
- 'project_integration_id': string;
12287
+ 'task_agent_id': string;
12129
12288
  /**
12130
12289
  *
12131
12290
  * @type {string}
12132
- * @memberof TaskAgentIntegrationRead
12291
+ * @memberof TaskAgentEvalRunDetailResponse
12133
12292
  */
12134
- 'integration_type': TaskAgentIntegrationReadIntegrationTypeEnum;
12293
+ 'project_id': string;
12135
12294
  /**
12136
12295
  *
12137
12296
  * @type {string}
12138
- * @memberof TaskAgentIntegrationRead
12297
+ * @memberof TaskAgentEvalRunDetailResponse
12139
12298
  */
12140
- 'integration_name': string;
12299
+ 'candidate_revision_id': string;
12141
12300
  /**
12142
12301
  *
12143
- * @type {number}
12144
- * @memberof TaskAgentIntegrationRead
12302
+ * @type {string}
12303
+ * @memberof TaskAgentEvalRunDetailResponse
12145
12304
  */
12146
- 'order': number;
12305
+ 'eval_set_id'?: string | null;
12147
12306
  /**
12148
12307
  *
12149
- * @type {boolean}
12150
- * @memberof TaskAgentIntegrationRead
12308
+ * @type {TaskAgentEvalStatus}
12309
+ * @memberof TaskAgentEvalRunDetailResponse
12151
12310
  */
12152
- 'enabled': boolean;
12311
+ 'status': TaskAgentEvalStatus;
12153
12312
  /**
12154
12313
  *
12155
- * @type {Array<string>}
12156
- * @memberof TaskAgentIntegrationRead
12314
+ * @type {number}
12315
+ * @memberof TaskAgentEvalRunDetailResponse
12157
12316
  */
12158
- 'allowed_tool_ids'?: Array<string> | null;
12317
+ 'pass_count': number;
12159
12318
  /**
12160
12319
  *
12161
- * @type {string}
12162
- * @memberof TaskAgentIntegrationRead
12320
+ * @type {number}
12321
+ * @memberof TaskAgentEvalRunDetailResponse
12163
12322
  */
12164
- 'provision_source': TaskAgentIntegrationReadProvisionSourceEnum;
12323
+ 'fail_count': number;
12165
12324
  /**
12166
12325
  *
12167
- * @type {string}
12168
- * @memberof TaskAgentIntegrationRead
12326
+ * @type {number}
12327
+ * @memberof TaskAgentEvalRunDetailResponse
12169
12328
  */
12170
- 'source_skill_id'?: string | null;
12329
+ 'error_count': number;
12171
12330
  /**
12172
12331
  *
12173
12332
  * @type {string}
12174
- * @memberof TaskAgentIntegrationRead
12333
+ * @memberof TaskAgentEvalRunDetailResponse
12175
12334
  */
12176
- 'source_skill_revision_id'?: string | null;
12335
+ 'started_at'?: string | null;
12177
12336
  /**
12178
12337
  *
12179
12338
  * @type {string}
12180
- * @memberof TaskAgentIntegrationRead
12181
- */
12182
- 'source_capability_id'?: string | null;
12183
- /**
12184
- * Number of integration tools available to the agent.
12185
- * @type {number}
12186
- * @memberof TaskAgentIntegrationRead
12339
+ * @memberof TaskAgentEvalRunDetailResponse
12187
12340
  */
12188
- 'tool_count': number;
12189
- }
12190
- export declare const TaskAgentIntegrationReadIntegrationTypeEnum: {
12191
- readonly Sheets: "google_sheets";
12192
- readonly Docs: "google_docs";
12193
- readonly Slides: "google_slides";
12194
- readonly Calendar: "google_calendar";
12195
- readonly Gmail: "google_gmail";
12196
- };
12197
- export type TaskAgentIntegrationReadIntegrationTypeEnum = typeof TaskAgentIntegrationReadIntegrationTypeEnum[keyof typeof TaskAgentIntegrationReadIntegrationTypeEnum];
12198
- export declare const TaskAgentIntegrationReadProvisionSourceEnum: {
12199
- readonly Manual: "manual";
12200
- readonly SkillCapability: "skill_capability";
12201
- };
12202
- export type TaskAgentIntegrationReadProvisionSourceEnum = typeof TaskAgentIntegrationReadProvisionSourceEnum[keyof typeof TaskAgentIntegrationReadProvisionSourceEnum];
12203
- /**
12204
- * MCP server to attach to a TaskAgent.
12205
- * @export
12206
- * @interface TaskAgentMcpServerInput
12207
- */
12208
- export interface TaskAgentMcpServerInput {
12341
+ 'completed_at'?: string | null;
12209
12342
  /**
12210
- * ID of the TaskMcpServer to attach.
12343
+ *
12211
12344
  * @type {string}
12212
- * @memberof TaskAgentMcpServerInput
12345
+ * @memberof TaskAgentEvalRunDetailResponse
12213
12346
  */
12214
- 'task_mcp_server_id': string;
12347
+ 'last_activity_at'?: string | null;
12215
12348
  /**
12216
- * Optional TaskMcpTool IDs to expose. None means all enabled server tools.
12217
- * @type {Array<string>}
12218
- * @memberof TaskAgentMcpServerInput
12349
+ *
12350
+ * @type {string}
12351
+ * @memberof TaskAgentEvalRunDetailResponse
12219
12352
  */
12220
- 'allowed_tool_ids'?: Array<string> | null;
12221
- }
12222
- /**
12223
- * MCP server association in a TaskAgent read response.
12224
- * @export
12225
- * @interface TaskAgentMcpServerRead
12226
- */
12227
- export interface TaskAgentMcpServerRead {
12353
+ 'error_message'?: string | null;
12228
12354
  /**
12229
12355
  *
12230
12356
  * @type {string}
12231
- * @memberof TaskAgentMcpServerRead
12357
+ * @memberof TaskAgentEvalRunDetailResponse
12232
12358
  */
12233
- 'id': string;
12359
+ 'created': string;
12234
12360
  /**
12235
12361
  *
12236
12362
  * @type {string}
12237
- * @memberof TaskAgentMcpServerRead
12363
+ * @memberof TaskAgentEvalRunDetailResponse
12238
12364
  */
12239
- 'task_mcp_server_id': string;
12365
+ 'modified': string;
12240
12366
  /**
12241
- * Name of the MCP server.
12367
+ *
12242
12368
  * @type {string}
12243
- * @memberof TaskAgentMcpServerRead
12369
+ * @memberof TaskAgentEvalRunDetailResponse
12244
12370
  */
12245
- 'task_mcp_server_name': string;
12371
+ 'created_by_user_id'?: string | null;
12246
12372
  /**
12247
- * Execution order (0-indexed).
12248
- * @type {number}
12249
- * @memberof TaskAgentMcpServerRead
12373
+ *
12374
+ * @type {TaskAgentEvalJudgeModelResponse}
12375
+ * @memberof TaskAgentEvalRunDetailResponse
12250
12376
  */
12251
- 'order': number;
12377
+ 'judge_model': TaskAgentEvalJudgeModelResponse;
12252
12378
  /**
12253
- * Whether this MCP server is enabled.
12254
- * @type {boolean}
12255
- * @memberof TaskAgentMcpServerRead
12379
+ *
12380
+ * @type {TaskAgentEvalRunMetrics}
12381
+ * @memberof TaskAgentEvalRunDetailResponse
12256
12382
  */
12257
- 'enabled': boolean;
12383
+ 'metrics'?: TaskAgentEvalRunMetrics;
12258
12384
  /**
12259
- * Restricted tool IDs, or None when all enabled tools are available.
12260
- * @type {Array<string>}
12261
- * @memberof TaskAgentMcpServerRead
12385
+ *
12386
+ * @type {Array<TaskAgentEvalResultResponse>}
12387
+ * @memberof TaskAgentEvalRunDetailResponse
12262
12388
  */
12263
- 'allowed_tool_ids'?: Array<string> | null;
12389
+ 'results'?: Array<TaskAgentEvalResultResponse>;
12264
12390
  /**
12265
12391
  *
12266
- * @type {string}
12267
- * @memberof TaskAgentMcpServerRead
12392
+ * @type {Array<string>}
12393
+ * @memberof TaskAgentEvalRunDetailResponse
12268
12394
  */
12269
- 'provision_source': TaskAgentMcpServerReadProvisionSourceEnum;
12395
+ 'task_agent_run_ids': Array<string>;
12270
12396
  /**
12271
12397
  *
12272
- * @type {string}
12273
- * @memberof TaskAgentMcpServerRead
12398
+ * @type {number}
12399
+ * @memberof TaskAgentEvalRunDetailResponse
12274
12400
  */
12275
- 'source_skill_id'?: string | null;
12401
+ 'pass_rate': number | null;
12402
+ }
12403
+ /**
12404
+ *
12405
+ * @export
12406
+ * @interface TaskAgentEvalRunMetrics
12407
+ */
12408
+ export interface TaskAgentEvalRunMetrics {
12276
12409
  /**
12277
12410
  *
12278
- * @type {string}
12279
- * @memberof TaskAgentMcpServerRead
12411
+ * @type {TaskAgentEvalMetricComparison}
12412
+ * @memberof TaskAgentEvalRunMetrics
12280
12413
  */
12281
- 'source_skill_revision_id'?: string | null;
12414
+ 'token_cost'?: TaskAgentEvalMetricComparison;
12282
12415
  /**
12283
12416
  *
12284
- * @type {string}
12285
- * @memberof TaskAgentMcpServerRead
12417
+ * @type {TaskAgentEvalMetricComparison}
12418
+ * @memberof TaskAgentEvalRunMetrics
12286
12419
  */
12287
- 'source_capability_id'?: string | null;
12420
+ 'charged_credits'?: TaskAgentEvalMetricComparison;
12288
12421
  /**
12289
- * Number of tools available to the agent.
12290
- * @type {number}
12291
- * @memberof TaskAgentMcpServerRead
12422
+ *
12423
+ * @type {TaskAgentEvalMetricComparison}
12424
+ * @memberof TaskAgentEvalRunMetrics
12292
12425
  */
12293
- 'tool_count': number;
12426
+ 'duration_ms'?: TaskAgentEvalMetricComparison;
12294
12427
  }
12295
- export declare const TaskAgentMcpServerReadProvisionSourceEnum: {
12296
- readonly Manual: "manual";
12297
- readonly SkillCapability: "skill_capability";
12298
- };
12299
- export type TaskAgentMcpServerReadProvisionSourceEnum = typeof TaskAgentMcpServerReadProvisionSourceEnum[keyof typeof TaskAgentMcpServerReadProvisionSourceEnum];
12300
- /**
12301
- * Execution mode for TaskAgent.
12302
- * @export
12303
- * @enum {string}
12304
- */
12305
- export declare const TaskAgentMode: {
12306
- readonly Agentic: "agentic";
12307
- readonly Sequential: "sequential";
12308
- };
12309
- export type TaskAgentMode = typeof TaskAgentMode[keyof typeof TaskAgentMode];
12310
12428
  /**
12311
- * Schema for reading a TaskAgent.
12429
+ *
12312
12430
  * @export
12313
- * @interface TaskAgentRead
12431
+ * @interface TaskAgentEvalRunResponse
12314
12432
  */
12315
- export interface TaskAgentRead {
12433
+ export interface TaskAgentEvalRunResponse {
12316
12434
  /**
12317
12435
  *
12318
12436
  * @type {string}
12319
- * @memberof TaskAgentRead
12437
+ * @memberof TaskAgentEvalRunResponse
12320
12438
  */
12321
12439
  'id': string;
12322
12440
  /**
12323
12441
  *
12324
12442
  * @type {string}
12325
- * @memberof TaskAgentRead
12443
+ * @memberof TaskAgentEvalRunResponse
12326
12444
  */
12327
- 'name': string;
12445
+ 'task_agent_id': string;
12328
12446
  /**
12329
12447
  *
12330
- * @type {TaskAgentRevisionSummary}
12331
- * @memberof TaskAgentRead
12448
+ * @type {string}
12449
+ * @memberof TaskAgentEvalRunResponse
12332
12450
  */
12333
- 'active_revision'?: TaskAgentRevisionSummary;
12451
+ 'project_id': string;
12334
12452
  /**
12335
12453
  *
12336
- * @type {Array<TaskAgentRevisionRead>}
12337
- * @memberof TaskAgentRead
12454
+ * @type {string}
12455
+ * @memberof TaskAgentEvalRunResponse
12338
12456
  */
12339
- 'revisions'?: Array<TaskAgentRevisionRead>;
12457
+ 'candidate_revision_id': string;
12340
12458
  /**
12341
12459
  *
12342
12460
  * @type {string}
12343
- * @memberof TaskAgentRead
12461
+ * @memberof TaskAgentEvalRunResponse
12344
12462
  */
12345
- 'task_agent_run_visibility': TaskAgentReadTaskAgentRunVisibilityEnum;
12463
+ 'eval_set_id'?: string | null;
12346
12464
  /**
12347
12465
  *
12348
- * @type {boolean}
12349
- * @memberof TaskAgentRead
12466
+ * @type {TaskAgentEvalStatus}
12467
+ * @memberof TaskAgentEvalRunResponse
12350
12468
  */
12351
- 'is_deleted': boolean;
12469
+ 'status': TaskAgentEvalStatus;
12352
12470
  /**
12353
12471
  *
12354
- * @type {string}
12355
- * @memberof TaskAgentRead
12472
+ * @type {number}
12473
+ * @memberof TaskAgentEvalRunResponse
12356
12474
  */
12357
- 'created': string;
12475
+ 'pass_count': number;
12358
12476
  /**
12359
12477
  *
12360
- * @type {string}
12361
- * @memberof TaskAgentRead
12478
+ * @type {number}
12479
+ * @memberof TaskAgentEvalRunResponse
12362
12480
  */
12363
- 'modified': string;
12364
- }
12365
- export declare const TaskAgentReadTaskAgentRunVisibilityEnum: {
12366
- readonly OwnerOnly: "owner_only";
12367
- readonly EditorsAndOwners: "editors_and_owners";
12368
- readonly AllViewers: "all_viewers";
12369
- };
12370
- export type TaskAgentReadTaskAgentRunVisibilityEnum = typeof TaskAgentReadTaskAgentRunVisibilityEnum[keyof typeof TaskAgentReadTaskAgentRunVisibilityEnum];
12371
- /**
12372
- * Registered first-party tool association in a TaskAgent read response.
12373
- * @export
12374
- * @interface TaskAgentRegisteredToolRead
12375
- */
12376
- export interface TaskAgentRegisteredToolRead {
12481
+ 'fail_count': number;
12377
12482
  /**
12378
12483
  *
12379
- * @type {string}
12380
- * @memberof TaskAgentRegisteredToolRead
12484
+ * @type {number}
12485
+ * @memberof TaskAgentEvalRunResponse
12381
12486
  */
12382
- 'id': string;
12487
+ 'error_count': number;
12383
12488
  /**
12384
12489
  *
12385
12490
  * @type {string}
12386
- * @memberof TaskAgentRegisteredToolRead
12491
+ * @memberof TaskAgentEvalRunResponse
12387
12492
  */
12388
- 'registered_tool_key': string;
12493
+ 'started_at'?: string | null;
12389
12494
  /**
12390
- * Pinned immutable runtime implementation version.
12495
+ *
12391
12496
  * @type {string}
12392
- * @memberof TaskAgentRegisteredToolRead
12393
- */
12394
- 'registered_tool_version': string;
12395
- /**
12396
- * Attachment order (0-indexed).
12397
- * @type {number}
12398
- * @memberof TaskAgentRegisteredToolRead
12399
- */
12400
- 'order': number;
12401
- /**
12402
- * Whether this registered tool is enabled.
12403
- * @type {boolean}
12404
- * @memberof TaskAgentRegisteredToolRead
12497
+ * @memberof TaskAgentEvalRunResponse
12405
12498
  */
12406
- 'enabled': boolean;
12499
+ 'completed_at'?: string | null;
12407
12500
  /**
12408
12501
  *
12409
12502
  * @type {string}
12410
- * @memberof TaskAgentRegisteredToolRead
12503
+ * @memberof TaskAgentEvalRunResponse
12411
12504
  */
12412
- 'provision_source': TaskAgentRegisteredToolReadProvisionSourceEnum;
12505
+ 'last_activity_at'?: string | null;
12413
12506
  /**
12414
12507
  *
12415
12508
  * @type {string}
12416
- * @memberof TaskAgentRegisteredToolRead
12509
+ * @memberof TaskAgentEvalRunResponse
12417
12510
  */
12418
- 'source_skill_id'?: string | null;
12511
+ 'error_message'?: string | null;
12419
12512
  /**
12420
12513
  *
12421
12514
  * @type {string}
12422
- * @memberof TaskAgentRegisteredToolRead
12515
+ * @memberof TaskAgentEvalRunResponse
12423
12516
  */
12424
- 'source_skill_revision_id'?: string | null;
12517
+ 'created': string;
12425
12518
  /**
12426
12519
  *
12427
12520
  * @type {string}
12428
- * @memberof TaskAgentRegisteredToolRead
12521
+ * @memberof TaskAgentEvalRunResponse
12429
12522
  */
12430
- 'source_capability_id'?: string | null;
12523
+ 'modified': string;
12431
12524
  /**
12432
- * Human-readable name of the registered first-party tool.
12525
+ *
12433
12526
  * @type {string}
12434
- * @memberof TaskAgentRegisteredToolRead
12527
+ * @memberof TaskAgentEvalRunResponse
12435
12528
  */
12436
- 'name': string;
12529
+ 'created_by_user_id'?: string | null;
12437
12530
  /**
12438
- * Concrete tool names reserved by this registered tool.
12531
+ *
12439
12532
  * @type {Array<string>}
12440
- * @memberof TaskAgentRegisteredToolRead
12533
+ * @memberof TaskAgentEvalRunResponse
12441
12534
  */
12442
- 'tool_names': Array<string>;
12535
+ 'task_agent_run_ids': Array<string>;
12443
12536
  /**
12444
- * Optional description of the registered tool capability.
12445
- * @type {string}
12446
- * @memberof TaskAgentRegisteredToolRead
12537
+ *
12538
+ * @type {number}
12539
+ * @memberof TaskAgentEvalRunResponse
12447
12540
  */
12448
- 'description': string | null;
12541
+ 'pass_rate': number | null;
12449
12542
  }
12450
- export declare const TaskAgentRegisteredToolReadProvisionSourceEnum: {
12451
- readonly Manual: "manual";
12452
- readonly SkillCapability: "skill_capability";
12453
- };
12454
- export type TaskAgentRegisteredToolReadProvisionSourceEnum = typeof TaskAgentRegisteredToolReadProvisionSourceEnum[keyof typeof TaskAgentRegisteredToolReadProvisionSourceEnum];
12455
12543
  /**
12456
- * Full TaskAgent revision read schema.
12544
+ *
12457
12545
  * @export
12458
- * @interface TaskAgentRevisionRead
12546
+ * @interface TaskAgentEvalSetCreate
12459
12547
  */
12460
- export interface TaskAgentRevisionRead {
12548
+ export interface TaskAgentEvalSetCreate {
12461
12549
  /**
12462
12550
  *
12463
12551
  * @type {string}
12464
- * @memberof TaskAgentRevisionRead
12552
+ * @memberof TaskAgentEvalSetCreate
12465
12553
  */
12466
- 'id': string;
12554
+ 'name': string;
12467
12555
  /**
12468
12556
  *
12469
12557
  * @type {string}
12470
- * @memberof TaskAgentRevisionRead
12558
+ * @memberof TaskAgentEvalSetCreate
12471
12559
  */
12472
- 'task_agent_id': string;
12560
+ 'description'?: string | null;
12473
12561
  /**
12474
12562
  *
12475
- * @type {string}
12476
- * @memberof TaskAgentRevisionRead
12563
+ * @type {Array<string>}
12564
+ * @memberof TaskAgentEvalSetCreate
12477
12565
  */
12478
- 'description': string | null;
12566
+ 'task_agent_run_ids': Array<string>;
12567
+ }
12568
+ /**
12569
+ *
12570
+ * @export
12571
+ * @interface TaskAgentEvalSetResponse
12572
+ */
12573
+ export interface TaskAgentEvalSetResponse {
12479
12574
  /**
12480
12575
  *
12481
12576
  * @type {string}
12482
- * @memberof TaskAgentRevisionRead
12577
+ * @memberof TaskAgentEvalSetResponse
12483
12578
  */
12484
- 'instruction': string;
12579
+ 'id': string;
12485
12580
  /**
12486
12581
  *
12487
- * @type {TaskAgentMode}
12488
- * @memberof TaskAgentRevisionRead
12582
+ * @type {string}
12583
+ * @memberof TaskAgentEvalSetResponse
12489
12584
  */
12490
- 'mode': TaskAgentMode;
12585
+ 'name': string;
12491
12586
  /**
12492
12587
  *
12493
12588
  * @type {string}
12494
- * @memberof TaskAgentRevisionRead
12589
+ * @memberof TaskAgentEvalSetResponse
12495
12590
  */
12496
- 'llm_model_id': string | null;
12591
+ 'description'?: string | null;
12497
12592
  /**
12498
12593
  *
12499
- * @type {LLMModel}
12500
- * @memberof TaskAgentRevisionRead
12594
+ * @type {string}
12595
+ * @memberof TaskAgentEvalSetResponse
12501
12596
  */
12502
- 'llm_model'?: LLMModel;
12597
+ 'task_agent_id': string;
12503
12598
  /**
12504
12599
  *
12505
12600
  * @type {string}
12506
- * @memberof TaskAgentRevisionRead
12601
+ * @memberof TaskAgentEvalSetResponse
12507
12602
  */
12508
- 'fallback_llm_model_id': string | null;
12603
+ 'project_id': string;
12509
12604
  /**
12510
12605
  *
12511
- * @type {LLMModel}
12512
- * @memberof TaskAgentRevisionRead
12606
+ * @type {string}
12607
+ * @memberof TaskAgentEvalSetResponse
12513
12608
  */
12514
- 'fallback_llm_model'?: LLMModel;
12609
+ 'created': string;
12515
12610
  /**
12516
12611
  *
12517
- * @type {Array<TaskAgentTaskToolRead>}
12518
- * @memberof TaskAgentRevisionRead
12612
+ * @type {string}
12613
+ * @memberof TaskAgentEvalSetResponse
12519
12614
  */
12520
- 'task_tools'?: Array<TaskAgentTaskToolRead>;
12615
+ 'modified': string;
12521
12616
  /**
12522
12617
  *
12523
- * @type {Array<TaskAgentIntegrationRead>}
12524
- * @memberof TaskAgentRevisionRead
12618
+ * @type {string}
12619
+ * @memberof TaskAgentEvalSetResponse
12525
12620
  */
12526
- 'integrations'?: Array<TaskAgentIntegrationRead>;
12621
+ 'created_by_user_id'?: string | null;
12527
12622
  /**
12528
12623
  *
12529
- * @type {Array<TaskAgentSkillRead>}
12530
- * @memberof TaskAgentRevisionRead
12624
+ * @type {Array<string>}
12625
+ * @memberof TaskAgentEvalSetResponse
12531
12626
  */
12532
- 'skills'?: Array<TaskAgentSkillRead>;
12627
+ 'task_agent_run_ids': Array<string>;
12628
+ }
12629
+ /**
12630
+ *
12631
+ * @export
12632
+ * @interface TaskAgentEvalSetUpdate
12633
+ */
12634
+ export interface TaskAgentEvalSetUpdate {
12533
12635
  /**
12534
12636
  *
12535
- * @type {Array<TaskAgentMcpServerRead>}
12536
- * @memberof TaskAgentRevisionRead
12637
+ * @type {string}
12638
+ * @memberof TaskAgentEvalSetUpdate
12537
12639
  */
12538
- 'mcp_servers'?: Array<TaskAgentMcpServerRead>;
12640
+ 'name'?: string | null;
12539
12641
  /**
12540
12642
  *
12541
- * @type {Array<TaskAgentRegisteredToolRead>}
12542
- * @memberof TaskAgentRevisionRead
12643
+ * @type {string}
12644
+ * @memberof TaskAgentEvalSetUpdate
12543
12645
  */
12544
- 'registered_tools'?: Array<TaskAgentRegisteredToolRead>;
12646
+ 'description'?: string | null;
12545
12647
  /**
12546
12648
  *
12547
- * @type {Array<Tag>}
12548
- * @memberof TaskAgentRevisionRead
12649
+ * @type {Array<string>}
12650
+ * @memberof TaskAgentEvalSetUpdate
12549
12651
  */
12550
- 'tags'?: Array<Tag>;
12652
+ 'task_agent_run_ids'?: Array<string> | null;
12653
+ }
12654
+ /**
12655
+ * Status of a TaskAgent eval run.
12656
+ * @export
12657
+ * @enum {string}
12658
+ */
12659
+ export declare const TaskAgentEvalStatus: {
12660
+ readonly Pending: "pending";
12661
+ readonly Running: "running";
12662
+ readonly Completed: "completed";
12663
+ readonly Failed: "failed";
12664
+ };
12665
+ export type TaskAgentEvalStatus = typeof TaskAgentEvalStatus[keyof typeof TaskAgentEvalStatus];
12666
+ /**
12667
+ * Judge verdict for a TaskAgent eval result.
12668
+ * @export
12669
+ * @enum {string}
12670
+ */
12671
+ export declare const TaskAgentEvalVerdict: {
12672
+ readonly Pass: "pass";
12673
+ readonly Fail: "fail";
12674
+ };
12675
+ export type TaskAgentEvalVerdict = typeof TaskAgentEvalVerdict[keyof typeof TaskAgentEvalVerdict];
12676
+ /**
12677
+ * Event from a TaskAgent conversation (from ADK session). Note: ADK may store multiple parallel tool calls or results in a single event. Use tool_calls/tool_results lists to access all of them.
12678
+ * @export
12679
+ * @interface TaskAgentEvent
12680
+ */
12681
+ export interface TaskAgentEvent {
12551
12682
  /**
12552
- *
12683
+ * Event ID from ADK session.
12553
12684
  * @type {string}
12554
- * @memberof TaskAgentRevisionRead
12685
+ * @memberof TaskAgentEvent
12555
12686
  */
12556
- 'memory_strategy'?: string | null;
12687
+ 'id': string;
12557
12688
  /**
12558
- *
12559
- * @type {{ [key: string]: any; }}
12560
- * @memberof TaskAgentRevisionRead
12689
+ * Event author: \'user\' or agent name.
12690
+ * @type {string}
12691
+ * @memberof TaskAgentEvent
12561
12692
  */
12562
- 'memory_config'?: {
12563
- [key: string]: any;
12564
- } | null;
12693
+ 'author': string;
12565
12694
  /**
12566
- *
12567
- * @type {number}
12568
- * @memberof TaskAgentRevisionRead
12695
+ * Text content of the event (extracted from parts).
12696
+ * @type {string}
12697
+ * @memberof TaskAgentEvent
12569
12698
  */
12570
- 'max_turns'?: number | null;
12699
+ 'content'?: string | null;
12571
12700
  /**
12572
- *
12573
- * @type {boolean}
12574
- * @memberof TaskAgentRevisionRead
12701
+ * When the event occurred.
12702
+ * @type {string}
12703
+ * @memberof TaskAgentEvent
12575
12704
  */
12576
- 'active'?: boolean;
12705
+ 'timestamp': string;
12577
12706
  /**
12578
- *
12707
+ * Type of event.
12579
12708
  * @type {string}
12580
- * @memberof TaskAgentRevisionRead
12709
+ * @memberof TaskAgentEvent
12581
12710
  */
12582
- 'created': string;
12711
+ 'event_type': string;
12583
12712
  /**
12584
- *
12713
+ * Tool calls made in this event. Multiple if parallel calls.
12714
+ * @type {Array<ToolCallInfo>}
12715
+ * @memberof TaskAgentEvent
12716
+ */
12717
+ 'tool_calls'?: Array<ToolCallInfo> | null;
12718
+ /**
12719
+ * Tool results in this event. Multiple if parallel results.
12720
+ * @type {Array<ToolResultInfo>}
12721
+ * @memberof TaskAgentEvent
12722
+ */
12723
+ 'tool_results'?: Array<ToolResultInfo> | null;
12724
+ /**
12725
+ * Error message if event_type is error.
12585
12726
  * @type {string}
12586
- * @memberof TaskAgentRevisionRead
12727
+ * @memberof TaskAgentEvent
12587
12728
  */
12588
- 'modified'?: string | null;
12729
+ 'error_message'?: string | null;
12589
12730
  }
12590
12731
  /**
12591
- * Summary of the active TaskAgent revision.
12732
+ * Extended file metadata for TaskAgent runs with provenance tracking. Inherits from TaskRunFileMetadata and adds fields to track whether a file was uploaded with the request or generated by a task tool.
12592
12733
  * @export
12593
- * @interface TaskAgentRevisionSummary
12734
+ * @interface TaskAgentFileMetadata
12594
12735
  */
12595
- export interface TaskAgentRevisionSummary {
12736
+ export interface TaskAgentFileMetadata {
12596
12737
  /**
12597
- *
12738
+ * The original filename as submitted by the user
12598
12739
  * @type {string}
12599
- * @memberof TaskAgentRevisionSummary
12740
+ * @memberof TaskAgentFileMetadata
12600
12741
  */
12601
- 'id': string;
12742
+ 'original_filename': string;
12602
12743
  /**
12603
- *
12744
+ * The generated filename used for storage
12604
12745
  * @type {string}
12605
- * @memberof TaskAgentRevisionSummary
12746
+ * @memberof TaskAgentFileMetadata
12606
12747
  */
12607
- 'task_agent_id': string;
12748
+ 'stored_filename': string;
12608
12749
  /**
12609
- *
12750
+ * MIME type of the file
12610
12751
  * @type {string}
12611
- * @memberof TaskAgentRevisionSummary
12752
+ * @memberof TaskAgentFileMetadata
12612
12753
  */
12613
- 'created': string;
12754
+ 'content_type': string;
12614
12755
  /**
12615
- *
12756
+ * Relative URL to download the file (generated dynamically, not stored in database)
12616
12757
  * @type {string}
12617
- * @memberof TaskAgentRevisionSummary
12758
+ * @memberof TaskAgentFileMetadata
12618
12759
  */
12619
- 'modified'?: string | null;
12620
- }
12621
- /**
12622
- * Response containing events for a TaskAgentRun.
12623
- * @export
12624
- * @interface TaskAgentRunEventsResponse
12760
+ 'download_url'?: string | null;
12761
+ /**
12762
+ * File size in bytes (if available)
12763
+ * @type {number}
12764
+ * @memberof TaskAgentFileMetadata
12765
+ */
12766
+ 'size_bytes'?: number | null;
12767
+ /**
12768
+ * Source of the file: \'input\' for uploaded files, \'generated\' for task tool outputs
12769
+ * @type {string}
12770
+ * @memberof TaskAgentFileMetadata
12771
+ */
12772
+ 'source'?: TaskAgentFileMetadataSourceEnum;
12773
+ /**
12774
+ * Name of the task tool/task that generated this file (only for generated files)
12775
+ * @type {string}
12776
+ * @memberof TaskAgentFileMetadata
12777
+ */
12778
+ 'source_task_name'?: string | null;
12779
+ /**
12780
+ * TaskRun ID that generated this file (only for generated files)
12781
+ * @type {string}
12782
+ * @memberof TaskAgentFileMetadata
12783
+ */
12784
+ 'source_task_run_id'?: string | null;
12785
+ }
12786
+ export declare const TaskAgentFileMetadataSourceEnum: {
12787
+ readonly Input: "input";
12788
+ readonly Generated: "generated";
12789
+ };
12790
+ export type TaskAgentFileMetadataSourceEnum = typeof TaskAgentFileMetadataSourceEnum[keyof typeof TaskAgentFileMetadataSourceEnum];
12791
+ /**
12792
+ *
12793
+ * @export
12794
+ * @interface TaskAgentIAMMemberRoleUpdate
12625
12795
  */
12626
- export interface TaskAgentRunEventsResponse {
12796
+ export interface TaskAgentIAMMemberRoleUpdate {
12627
12797
  /**
12628
- * ID of the TaskAgentRun.
12798
+ * A list of task_agent roles to grant to the member. Roles in this list are applied to the member AFTER any removals specified in `remove`. This may be combined with `remove_all` to replace the member\'s entire role list.
12799
+ * @type {Array<string>}
12800
+ * @memberof TaskAgentIAMMemberRoleUpdate
12801
+ */
12802
+ 'add'?: Array<TaskAgentIAMMemberRoleUpdateAddEnum>;
12803
+ /**
12804
+ * A list of task_agent roles to revoke from the member.
12805
+ * @type {Array<string>}
12806
+ * @memberof TaskAgentIAMMemberRoleUpdate
12807
+ */
12808
+ 'remove'?: Array<TaskAgentIAMMemberRoleUpdateRemoveEnum>;
12809
+ /**
12810
+ * Removes all existing roles from the member. This may be combined with `add` to replace all existing roles that the member holds.
12811
+ * @type {boolean}
12812
+ * @memberof TaskAgentIAMMemberRoleUpdate
12813
+ */
12814
+ 'remove_all'?: boolean | null;
12815
+ }
12816
+ export declare const TaskAgentIAMMemberRoleUpdateAddEnum: {
12817
+ readonly Editor: "editor";
12818
+ readonly Owner: "owner";
12819
+ readonly Viewer: "viewer";
12820
+ };
12821
+ export type TaskAgentIAMMemberRoleUpdateAddEnum = typeof TaskAgentIAMMemberRoleUpdateAddEnum[keyof typeof TaskAgentIAMMemberRoleUpdateAddEnum];
12822
+ export declare const TaskAgentIAMMemberRoleUpdateRemoveEnum: {
12823
+ readonly Editor: "editor";
12824
+ readonly Owner: "owner";
12825
+ readonly Viewer: "viewer";
12826
+ };
12827
+ export type TaskAgentIAMMemberRoleUpdateRemoveEnum = typeof TaskAgentIAMMemberRoleUpdateRemoveEnum[keyof typeof TaskAgentIAMMemberRoleUpdateRemoveEnum];
12828
+ /**
12829
+ *
12830
+ * @export
12831
+ * @interface TaskAgentIAMPermissionTest
12832
+ */
12833
+ export interface TaskAgentIAMPermissionTest {
12834
+ /**
12835
+ * A list of permissions to test on the task_agent.
12836
+ * @type {Array<string>}
12837
+ * @memberof TaskAgentIAMPermissionTest
12838
+ */
12839
+ 'permissions': Array<TaskAgentIAMPermissionTestPermissionsEnum>;
12840
+ /**
12841
+ *
12629
12842
  * @type {string}
12630
- * @memberof TaskAgentRunEventsResponse
12843
+ * @memberof TaskAgentIAMPermissionTest
12631
12844
  */
12632
- 'run_id': string;
12845
+ 'member'?: string | null;
12846
+ }
12847
+ export declare const TaskAgentIAMPermissionTestPermissionsEnum: {
12848
+ readonly AddEditor: "add_editor";
12849
+ readonly AddMember: "add_member";
12850
+ readonly AddOwner: "add_owner";
12851
+ readonly Edit: "edit";
12852
+ readonly RemoveEditor: "remove_editor";
12853
+ readonly RemoveMember: "remove_member";
12854
+ readonly RemoveOwner: "remove_owner";
12855
+ readonly Run: "run";
12856
+ readonly View: "view";
12857
+ readonly ViewMembers: "view_members";
12858
+ };
12859
+ export type TaskAgentIAMPermissionTestPermissionsEnum = typeof TaskAgentIAMPermissionTestPermissionsEnum[keyof typeof TaskAgentIAMPermissionTestPermissionsEnum];
12860
+ /**
12861
+ *
12862
+ * @export
12863
+ * @interface TaskAgentIntegrationInput
12864
+ */
12865
+ export interface TaskAgentIntegrationInput {
12633
12866
  /**
12634
- * ADK session ID.
12867
+ * ID of the ProjectIntegration to attach.
12635
12868
  * @type {string}
12636
- * @memberof TaskAgentRunEventsResponse
12869
+ * @memberof TaskAgentIntegrationInput
12637
12870
  */
12638
- 'session_id': string;
12871
+ 'project_integration_id': string;
12639
12872
  /**
12640
- * Conversation events from the session.
12641
- * @type {Array<TaskAgentEvent>}
12642
- * @memberof TaskAgentRunEventsResponse
12873
+ * Optional IntegrationTool IDs to expose. None means all enabled integration tools.
12874
+ * @type {Array<string>}
12875
+ * @memberof TaskAgentIntegrationInput
12643
12876
  */
12644
- 'events'?: Array<TaskAgentEvent>;
12877
+ 'allowed_tool_ids'?: Array<string> | null;
12645
12878
  }
12646
12879
  /**
12647
- * Schema for reading per-model TaskAgent run usage.
12880
+ *
12648
12881
  * @export
12649
- * @interface TaskAgentRunModelUsageRead
12882
+ * @interface TaskAgentIntegrationRead
12650
12883
  */
12651
- export interface TaskAgentRunModelUsageRead {
12884
+ export interface TaskAgentIntegrationRead {
12652
12885
  /**
12653
12886
  *
12654
12887
  * @type {string}
12655
- * @memberof TaskAgentRunModelUsageRead
12888
+ * @memberof TaskAgentIntegrationRead
12656
12889
  */
12657
12890
  'id': string;
12658
12891
  /**
12659
12892
  *
12660
12893
  * @type {string}
12661
- * @memberof TaskAgentRunModelUsageRead
12894
+ * @memberof TaskAgentIntegrationRead
12662
12895
  */
12663
- 'task_agent_run_id': string;
12896
+ 'project_integration_id': string;
12664
12897
  /**
12665
12898
  *
12666
12899
  * @type {string}
12667
- * @memberof TaskAgentRunModelUsageRead
12900
+ * @memberof TaskAgentIntegrationRead
12668
12901
  */
12669
- 'llm_model_id': string | null;
12902
+ 'integration_type': TaskAgentIntegrationReadIntegrationTypeEnum;
12670
12903
  /**
12671
12904
  *
12672
12905
  * @type {string}
12673
- * @memberof TaskAgentRunModelUsageRead
12906
+ * @memberof TaskAgentIntegrationRead
12674
12907
  */
12675
- 'usage_type': TaskAgentRunModelUsageReadUsageTypeEnum;
12908
+ 'integration_name': string;
12676
12909
  /**
12677
12910
  *
12678
12911
  * @type {number}
12679
- * @memberof TaskAgentRunModelUsageRead
12912
+ * @memberof TaskAgentIntegrationRead
12680
12913
  */
12681
- 'input_tokens': number;
12914
+ 'order': number;
12682
12915
  /**
12683
12916
  *
12684
- * @type {number}
12685
- * @memberof TaskAgentRunModelUsageRead
12917
+ * @type {boolean}
12918
+ * @memberof TaskAgentIntegrationRead
12686
12919
  */
12687
- 'output_tokens': number;
12920
+ 'enabled': boolean;
12688
12921
  /**
12689
12922
  *
12690
- * @type {number}
12691
- * @memberof TaskAgentRunModelUsageRead
12923
+ * @type {Array<string>}
12924
+ * @memberof TaskAgentIntegrationRead
12692
12925
  */
12693
- 'total_tokens': number;
12926
+ 'allowed_tool_ids'?: Array<string> | null;
12694
12927
  /**
12695
12928
  *
12696
12929
  * @type {string}
12697
- * @memberof TaskAgentRunModelUsageRead
12930
+ * @memberof TaskAgentIntegrationRead
12698
12931
  */
12699
- 'charged_credits': string | null;
12932
+ 'provision_source': TaskAgentIntegrationReadProvisionSourceEnum;
12700
12933
  /**
12701
12934
  *
12702
- * @type {number}
12703
- * @memberof TaskAgentRunModelUsageRead
12935
+ * @type {string}
12936
+ * @memberof TaskAgentIntegrationRead
12704
12937
  */
12705
- 'call_count': number;
12938
+ 'source_skill_id'?: string | null;
12706
12939
  /**
12707
12940
  *
12708
12941
  * @type {string}
12709
- * @memberof TaskAgentRunModelUsageRead
12942
+ * @memberof TaskAgentIntegrationRead
12710
12943
  */
12711
- 'created': string;
12944
+ 'source_skill_revision_id'?: string | null;
12712
12945
  /**
12713
12946
  *
12714
12947
  * @type {string}
12715
- * @memberof TaskAgentRunModelUsageRead
12948
+ * @memberof TaskAgentIntegrationRead
12716
12949
  */
12717
- 'modified': string | null;
12950
+ 'source_capability_id'?: string | null;
12951
+ /**
12952
+ * Number of integration tools available to the agent.
12953
+ * @type {number}
12954
+ * @memberof TaskAgentIntegrationRead
12955
+ */
12956
+ 'tool_count': number;
12718
12957
  }
12719
- export declare const TaskAgentRunModelUsageReadUsageTypeEnum: {
12720
- readonly Primary: "primary";
12721
- readonly Fallback: "fallback";
12958
+ export declare const TaskAgentIntegrationReadIntegrationTypeEnum: {
12959
+ readonly Sheets: "google_sheets";
12960
+ readonly Docs: "google_docs";
12961
+ readonly Slides: "google_slides";
12962
+ readonly Calendar: "google_calendar";
12963
+ readonly Gmail: "google_gmail";
12722
12964
  };
12723
- export type TaskAgentRunModelUsageReadUsageTypeEnum = typeof TaskAgentRunModelUsageReadUsageTypeEnum[keyof typeof TaskAgentRunModelUsageReadUsageTypeEnum];
12965
+ export type TaskAgentIntegrationReadIntegrationTypeEnum = typeof TaskAgentIntegrationReadIntegrationTypeEnum[keyof typeof TaskAgentIntegrationReadIntegrationTypeEnum];
12966
+ export declare const TaskAgentIntegrationReadProvisionSourceEnum: {
12967
+ readonly Manual: "manual";
12968
+ readonly SkillCapability: "skill_capability";
12969
+ };
12970
+ export type TaskAgentIntegrationReadProvisionSourceEnum = typeof TaskAgentIntegrationReadProvisionSourceEnum[keyof typeof TaskAgentIntegrationReadProvisionSourceEnum];
12724
12971
  /**
12725
- * Schema for reading a TaskAgentRun.
12972
+ * MCP server to attach to a TaskAgent.
12726
12973
  * @export
12727
- * @interface TaskAgentRunRead
12974
+ * @interface TaskAgentMcpServerInput
12728
12975
  */
12729
- export interface TaskAgentRunRead {
12976
+ export interface TaskAgentMcpServerInput {
12730
12977
  /**
12731
- *
12978
+ * ID of the TaskMcpServer to attach.
12732
12979
  * @type {string}
12733
- * @memberof TaskAgentRunRead
12980
+ * @memberof TaskAgentMcpServerInput
12734
12981
  */
12735
- 'id': string;
12982
+ 'task_mcp_server_id': string;
12736
12983
  /**
12737
- *
12738
- * @type {string}
12739
- * @memberof TaskAgentRunRead
12984
+ * Optional TaskMcpTool IDs to expose. None means all enabled server tools.
12985
+ * @type {Array<string>}
12986
+ * @memberof TaskAgentMcpServerInput
12740
12987
  */
12741
- 'task_agent_id': string;
12988
+ 'allowed_tool_ids'?: Array<string> | null;
12989
+ }
12990
+ /**
12991
+ * MCP server association in a TaskAgent read response.
12992
+ * @export
12993
+ * @interface TaskAgentMcpServerRead
12994
+ */
12995
+ export interface TaskAgentMcpServerRead {
12742
12996
  /**
12743
12997
  *
12744
12998
  * @type {string}
12745
- * @memberof TaskAgentRunRead
12999
+ * @memberof TaskAgentMcpServerRead
12746
13000
  */
12747
- 'task_agent_revision_id'?: string | null;
13001
+ 'id': string;
12748
13002
  /**
12749
- * ADK session ID (string format).
13003
+ *
12750
13004
  * @type {string}
12751
- * @memberof TaskAgentRunRead
13005
+ * @memberof TaskAgentMcpServerRead
12752
13006
  */
12753
- 'session_id': string;
13007
+ 'task_mcp_server_id': string;
12754
13008
  /**
12755
- *
13009
+ * Name of the MCP server.
12756
13010
  * @type {string}
12757
- * @memberof TaskAgentRunRead
13011
+ * @memberof TaskAgentMcpServerRead
12758
13012
  */
12759
- 'user_id': string | null;
13013
+ 'task_mcp_server_name': string;
12760
13014
  /**
12761
- *
12762
- * @type {string}
12763
- * @memberof TaskAgentRunRead
13015
+ * Execution order (0-indexed).
13016
+ * @type {number}
13017
+ * @memberof TaskAgentMcpServerRead
12764
13018
  */
12765
- 'invocation_id'?: string | null;
13019
+ 'order': number;
12766
13020
  /**
12767
- *
13021
+ * Whether this MCP server is enabled.
12768
13022
  * @type {boolean}
12769
- * @memberof TaskAgentRunRead
13023
+ * @memberof TaskAgentMcpServerRead
12770
13024
  */
12771
- 'is_continuation'?: boolean;
13025
+ 'enabled': boolean;
12772
13026
  /**
12773
- *
12774
- * @type {string}
12775
- * @memberof TaskAgentRunRead
13027
+ * Restricted tool IDs, or None when all enabled tools are available.
13028
+ * @type {Array<string>}
13029
+ * @memberof TaskAgentMcpServerRead
12776
13030
  */
12777
- 'primary_llm_model_id'?: string | null;
13031
+ 'allowed_tool_ids'?: Array<string> | null;
12778
13032
  /**
12779
13033
  *
12780
13034
  * @type {string}
12781
- * @memberof TaskAgentRunRead
13035
+ * @memberof TaskAgentMcpServerRead
12782
13036
  */
12783
- 'fallback_llm_model_id'?: string | null;
13037
+ 'provision_source': TaskAgentMcpServerReadProvisionSourceEnum;
12784
13038
  /**
12785
13039
  *
12786
- * @type {boolean}
12787
- * @memberof TaskAgentRunRead
13040
+ * @type {string}
13041
+ * @memberof TaskAgentMcpServerRead
12788
13042
  */
12789
- 'used_fallback_model'?: boolean;
13043
+ 'source_skill_id'?: string | null;
12790
13044
  /**
12791
13045
  *
12792
13046
  * @type {string}
12793
- * @memberof TaskAgentRunRead
13047
+ * @memberof TaskAgentMcpServerRead
12794
13048
  */
12795
- 'primary_failure_reason'?: string | null;
13049
+ 'source_skill_revision_id'?: string | null;
12796
13050
  /**
12797
13051
  *
12798
- * @type {number}
12799
- * @memberof TaskAgentRunRead
13052
+ * @type {string}
13053
+ * @memberof TaskAgentMcpServerRead
12800
13054
  */
12801
- 'input_tokens': number;
13055
+ 'source_capability_id'?: string | null;
12802
13056
  /**
12803
- *
13057
+ * Number of tools available to the agent.
12804
13058
  * @type {number}
12805
- * @memberof TaskAgentRunRead
13059
+ * @memberof TaskAgentMcpServerRead
12806
13060
  */
12807
- 'output_tokens': number;
13061
+ 'tool_count': number;
13062
+ }
13063
+ export declare const TaskAgentMcpServerReadProvisionSourceEnum: {
13064
+ readonly Manual: "manual";
13065
+ readonly SkillCapability: "skill_capability";
13066
+ };
13067
+ export type TaskAgentMcpServerReadProvisionSourceEnum = typeof TaskAgentMcpServerReadProvisionSourceEnum[keyof typeof TaskAgentMcpServerReadProvisionSourceEnum];
13068
+ /**
13069
+ * Execution mode for TaskAgent.
13070
+ * @export
13071
+ * @enum {string}
13072
+ */
13073
+ export declare const TaskAgentMode: {
13074
+ readonly Agentic: "agentic";
13075
+ readonly Sequential: "sequential";
13076
+ };
13077
+ export type TaskAgentMode = typeof TaskAgentMode[keyof typeof TaskAgentMode];
13078
+ /**
13079
+ * Schema for reading a TaskAgent.
13080
+ * @export
13081
+ * @interface TaskAgentRead
13082
+ */
13083
+ export interface TaskAgentRead {
12808
13084
  /**
12809
13085
  *
12810
- * @type {number}
12811
- * @memberof TaskAgentRunRead
13086
+ * @type {string}
13087
+ * @memberof TaskAgentRead
12812
13088
  */
12813
- 'total_tokens': number;
13089
+ 'id': string;
12814
13090
  /**
12815
13091
  *
12816
13092
  * @type {string}
12817
- * @memberof TaskAgentRunRead
13093
+ * @memberof TaskAgentRead
12818
13094
  */
12819
- 'charged_credits': string | null;
13095
+ 'name': string;
12820
13096
  /**
12821
13097
  *
12822
- * @type {string}
12823
- * @memberof TaskAgentRunRead
13098
+ * @type {TaskAgentRevisionSummary}
13099
+ * @memberof TaskAgentRead
12824
13100
  */
12825
- 'total_charged_credits'?: string | null;
13101
+ 'active_revision'?: TaskAgentRevisionSummary;
12826
13102
  /**
12827
13103
  *
12828
- * @type {string}
12829
- * @memberof TaskAgentRunRead
13104
+ * @type {Array<TaskAgentRevisionRead>}
13105
+ * @memberof TaskAgentRead
12830
13106
  */
12831
- 'created': string;
13107
+ 'revisions'?: Array<TaskAgentRevisionRead>;
12832
13108
  /**
12833
13109
  *
12834
13110
  * @type {string}
12835
- * @memberof TaskAgentRunRead
13111
+ * @memberof TaskAgentRead
12836
13112
  */
12837
- 'completed': string | null;
13113
+ 'task_agent_run_visibility': TaskAgentReadTaskAgentRunVisibilityEnum;
12838
13114
  /**
12839
13115
  *
12840
- * @type {number}
12841
- * @memberof TaskAgentRunRead
13116
+ * @type {boolean}
13117
+ * @memberof TaskAgentRead
12842
13118
  */
12843
- 'duration_ms': number | null;
13119
+ 'is_deleted': boolean;
12844
13120
  /**
12845
13121
  *
12846
- * @type {TaskAgentRunStatus}
12847
- * @memberof TaskAgentRunRead
13122
+ * @type {string}
13123
+ * @memberof TaskAgentRead
12848
13124
  */
12849
- 'status': TaskAgentRunStatus;
13125
+ 'created': string;
12850
13126
  /**
12851
13127
  *
12852
- * @type {boolean}
12853
- * @memberof TaskAgentRunRead
13128
+ * @type {string}
13129
+ * @memberof TaskAgentRead
12854
13130
  */
12855
- 'is_error': boolean;
13131
+ 'modified': string;
13132
+ }
13133
+ export declare const TaskAgentReadTaskAgentRunVisibilityEnum: {
13134
+ readonly OwnerOnly: "owner_only";
13135
+ readonly EditorsAndOwners: "editors_and_owners";
13136
+ readonly AllViewers: "all_viewers";
13137
+ };
13138
+ export type TaskAgentReadTaskAgentRunVisibilityEnum = typeof TaskAgentReadTaskAgentRunVisibilityEnum[keyof typeof TaskAgentReadTaskAgentRunVisibilityEnum];
13139
+ /**
13140
+ * Registered first-party tool association in a TaskAgent read response.
13141
+ * @export
13142
+ * @interface TaskAgentRegisteredToolRead
13143
+ */
13144
+ export interface TaskAgentRegisteredToolRead {
12856
13145
  /**
12857
13146
  *
12858
- * @type {boolean}
12859
- * @memberof TaskAgentRunRead
13147
+ * @type {string}
13148
+ * @memberof TaskAgentRegisteredToolRead
12860
13149
  */
12861
- 'had_task_tool_fail'?: boolean;
13150
+ 'id': string;
12862
13151
  /**
12863
13152
  *
12864
- * @type {boolean}
12865
- * @memberof TaskAgentRunRead
13153
+ * @type {string}
13154
+ * @memberof TaskAgentRegisteredToolRead
12866
13155
  */
12867
- 'had_mcp_tool_fail'?: boolean;
13156
+ 'registered_tool_key': string;
12868
13157
  /**
12869
- *
12870
- * @type {boolean}
12871
- * @memberof TaskAgentRunRead
13158
+ * Pinned immutable runtime implementation version.
13159
+ * @type {string}
13160
+ * @memberof TaskAgentRegisteredToolRead
12872
13161
  */
12873
- 'had_integration_tool_fail'?: boolean;
13162
+ 'registered_tool_version': string;
12874
13163
  /**
12875
- *
12876
- * @type {Array<TaskToolInvocationRead>}
12877
- * @memberof TaskAgentRunRead
13164
+ * Attachment order (0-indexed).
13165
+ * @type {number}
13166
+ * @memberof TaskAgentRegisteredToolRead
12878
13167
  */
12879
- 'task_tools_invoked': Array<TaskToolInvocationRead> | null;
13168
+ 'order': number;
12880
13169
  /**
12881
- *
12882
- * @type {Array<SkillActivationRead>}
12883
- * @memberof TaskAgentRunRead
13170
+ * Whether this registered tool is enabled.
13171
+ * @type {boolean}
13172
+ * @memberof TaskAgentRegisteredToolRead
12884
13173
  */
12885
- 'skills_activated'?: Array<SkillActivationRead> | null;
13174
+ 'enabled': boolean;
12886
13175
  /**
12887
13176
  *
12888
- * @type {Array<McpToolInvocationRead>}
12889
- * @memberof TaskAgentRunRead
13177
+ * @type {string}
13178
+ * @memberof TaskAgentRegisteredToolRead
12890
13179
  */
12891
- 'mcp_tools_invoked'?: Array<McpToolInvocationRead> | null;
13180
+ 'provision_source': TaskAgentRegisteredToolReadProvisionSourceEnum;
12892
13181
  /**
12893
13182
  *
12894
- * @type {Array<IntegrationToolInvocationRead>}
12895
- * @memberof TaskAgentRunRead
13183
+ * @type {string}
13184
+ * @memberof TaskAgentRegisteredToolRead
12896
13185
  */
12897
- 'integration_tools_invoked'?: Array<IntegrationToolInvocationRead> | null;
13186
+ 'source_skill_id'?: string | null;
12898
13187
  /**
12899
13188
  *
12900
- * @type {Array<PhaseTimingEntry>}
12901
- * @memberof TaskAgentRunRead
13189
+ * @type {string}
13190
+ * @memberof TaskAgentRegisteredToolRead
12902
13191
  */
12903
- 'phase_timings'?: Array<PhaseTimingEntry> | null;
13192
+ 'source_skill_revision_id'?: string | null;
12904
13193
  /**
12905
13194
  *
12906
13195
  * @type {string}
12907
- * @memberof TaskAgentRunRead
13196
+ * @memberof TaskAgentRegisteredToolRead
12908
13197
  */
12909
- 'termination_reason'?: string | null;
13198
+ 'source_capability_id'?: string | null;
12910
13199
  /**
12911
- *
13200
+ * Human-readable name of the registered first-party tool.
12912
13201
  * @type {string}
12913
- * @memberof TaskAgentRunRead
13202
+ * @memberof TaskAgentRegisteredToolRead
12914
13203
  */
12915
- 'last_activity_at'?: string | null;
13204
+ 'name': string;
12916
13205
  /**
12917
- *
12918
- * @type {Array<TaskAgentRunModelUsageRead>}
12919
- * @memberof TaskAgentRunRead
13206
+ * Concrete tool names reserved by this registered tool.
13207
+ * @type {Array<string>}
13208
+ * @memberof TaskAgentRegisteredToolRead
12920
13209
  */
12921
- 'model_usages'?: Array<TaskAgentRunModelUsageRead>;
13210
+ 'tool_names': Array<string>;
12922
13211
  /**
12923
- * Files associated with this agent run (both uploaded and generated by task tools)
12924
- * @type {Array<TaskAgentFileMetadata>}
12925
- * @memberof TaskAgentRunRead
13212
+ * Optional description of the registered tool capability.
13213
+ * @type {string}
13214
+ * @memberof TaskAgentRegisteredToolRead
12926
13215
  */
12927
- 'files'?: Array<TaskAgentFileMetadata>;
13216
+ 'description': string | null;
12928
13217
  }
12929
- /**
12930
- * Status of a TaskAgent run.
12931
- * @export
12932
- * @enum {string}
12933
- */
12934
- export declare const TaskAgentRunStatus: {
12935
- readonly Running: "running";
12936
- readonly Completed: "completed";
12937
- readonly Failed: "failed";
13218
+ export declare const TaskAgentRegisteredToolReadProvisionSourceEnum: {
13219
+ readonly Manual: "manual";
13220
+ readonly SkillCapability: "skill_capability";
12938
13221
  };
12939
- export type TaskAgentRunStatus = typeof TaskAgentRunStatus[keyof typeof TaskAgentRunStatus];
13222
+ export type TaskAgentRegisteredToolReadProvisionSourceEnum = typeof TaskAgentRegisteredToolReadProvisionSourceEnum[keyof typeof TaskAgentRegisteredToolReadProvisionSourceEnum];
12940
13223
  /**
12941
- * Detailed session info including individual runs.
13224
+ * Full TaskAgent revision read schema.
12942
13225
  * @export
12943
- * @interface TaskAgentSessionDetail
13226
+ * @interface TaskAgentRevisionRead
12944
13227
  */
12945
- export interface TaskAgentSessionDetail {
13228
+ export interface TaskAgentRevisionRead {
12946
13229
  /**
12947
- * ADK session ID (string format).
13230
+ *
12948
13231
  * @type {string}
12949
- * @memberof TaskAgentSessionDetail
13232
+ * @memberof TaskAgentRevisionRead
12950
13233
  */
12951
- 'session_id': string;
13234
+ 'id': string;
12952
13235
  /**
12953
13236
  *
12954
13237
  * @type {string}
12955
- * @memberof TaskAgentSessionDetail
13238
+ * @memberof TaskAgentRevisionRead
12956
13239
  */
12957
13240
  'task_agent_id': string;
12958
13241
  /**
12959
- * Number of runs in this session.
12960
- * @type {number}
12961
- * @memberof TaskAgentSessionDetail
13242
+ *
13243
+ * @type {string}
13244
+ * @memberof TaskAgentRevisionRead
12962
13245
  */
12963
- 'run_count': number;
13246
+ 'description': string | null;
12964
13247
  /**
12965
13248
  *
12966
13249
  * @type {string}
12967
- * @memberof TaskAgentSessionDetail
13250
+ * @memberof TaskAgentRevisionRead
12968
13251
  */
12969
- 'first_run': string;
13252
+ 'instruction': string;
13253
+ /**
13254
+ *
13255
+ * @type {TaskAgentMode}
13256
+ * @memberof TaskAgentRevisionRead
13257
+ */
13258
+ 'mode': TaskAgentMode;
12970
13259
  /**
12971
13260
  *
12972
13261
  * @type {string}
12973
- * @memberof TaskAgentSessionDetail
13262
+ * @memberof TaskAgentRevisionRead
12974
13263
  */
12975
- 'last_run': string;
13264
+ 'llm_model_id': string | null;
12976
13265
  /**
12977
13266
  *
12978
- * @type {number}
12979
- * @memberof TaskAgentSessionDetail
13267
+ * @type {LLMModel}
13268
+ * @memberof TaskAgentRevisionRead
12980
13269
  */
12981
- 'total_tokens': number;
13270
+ 'llm_model'?: LLMModel;
12982
13271
  /**
12983
- * Sum of total_charged_credits across all runs in this session.
13272
+ *
12984
13273
  * @type {string}
12985
- * @memberof TaskAgentSessionDetail
13274
+ * @memberof TaskAgentRevisionRead
12986
13275
  */
12987
- 'total_charged_credits': string;
13276
+ 'fallback_llm_model_id': string | null;
12988
13277
  /**
12989
- * Runs in this session.
12990
- * @type {Array<TaskAgentRunRead>}
12991
- * @memberof TaskAgentSessionDetail
13278
+ *
13279
+ * @type {LLMModel}
13280
+ * @memberof TaskAgentRevisionRead
12992
13281
  */
12993
- 'runs'?: Array<TaskAgentRunRead>;
12994
- }
12995
- /**
12996
- * Summary of a session, derived from TaskAgentRun records + ADK session.
12997
- * @export
12998
- * @interface TaskAgentSessionSummary
12999
- */
13000
- export interface TaskAgentSessionSummary {
13282
+ 'fallback_llm_model'?: LLMModel;
13001
13283
  /**
13002
- * ADK session ID (string format).
13003
- * @type {string}
13004
- * @memberof TaskAgentSessionSummary
13284
+ *
13285
+ * @type {Array<TaskAgentTaskToolRead>}
13286
+ * @memberof TaskAgentRevisionRead
13005
13287
  */
13006
- 'session_id': string;
13288
+ 'task_tools'?: Array<TaskAgentTaskToolRead>;
13007
13289
  /**
13008
13290
  *
13009
- * @type {string}
13010
- * @memberof TaskAgentSessionSummary
13291
+ * @type {Array<TaskAgentIntegrationRead>}
13292
+ * @memberof TaskAgentRevisionRead
13011
13293
  */
13012
- 'task_agent_id': string;
13294
+ 'integrations'?: Array<TaskAgentIntegrationRead>;
13013
13295
  /**
13014
- * Number of runs in this session.
13015
- * @type {number}
13016
- * @memberof TaskAgentSessionSummary
13296
+ *
13297
+ * @type {Array<TaskAgentSkillRead>}
13298
+ * @memberof TaskAgentRevisionRead
13017
13299
  */
13018
- 'run_count': number;
13300
+ 'skills'?: Array<TaskAgentSkillRead>;
13019
13301
  /**
13020
13302
  *
13021
- * @type {string}
13022
- * @memberof TaskAgentSessionSummary
13303
+ * @type {Array<TaskAgentMcpServerRead>}
13304
+ * @memberof TaskAgentRevisionRead
13023
13305
  */
13024
- 'first_run': string;
13306
+ 'mcp_servers'?: Array<TaskAgentMcpServerRead>;
13025
13307
  /**
13026
13308
  *
13027
- * @type {string}
13028
- * @memberof TaskAgentSessionSummary
13309
+ * @type {Array<TaskAgentRegisteredToolRead>}
13310
+ * @memberof TaskAgentRevisionRead
13029
13311
  */
13030
- 'last_run': string;
13312
+ 'registered_tools'?: Array<TaskAgentRegisteredToolRead>;
13031
13313
  /**
13032
13314
  *
13033
- * @type {number}
13034
- * @memberof TaskAgentSessionSummary
13315
+ * @type {Array<Tag>}
13316
+ * @memberof TaskAgentRevisionRead
13035
13317
  */
13036
- 'total_tokens': number;
13318
+ 'tags'?: Array<Tag>;
13037
13319
  /**
13038
- * Sum of total_charged_credits across all runs in this session.
13320
+ *
13039
13321
  * @type {string}
13040
- * @memberof TaskAgentSessionSummary
13322
+ * @memberof TaskAgentRevisionRead
13041
13323
  */
13042
- 'total_charged_credits': string;
13043
- }
13044
- /**
13045
- * Authenticated TaskAgent share response.
13046
- * @export
13047
- * @interface TaskAgentShare
13048
- */
13049
- export interface TaskAgentShare {
13324
+ 'memory_strategy'?: string | null;
13050
13325
  /**
13051
13326
  *
13052
- * @type {string}
13053
- * @memberof TaskAgentShare
13327
+ * @type {{ [key: string]: any; }}
13328
+ * @memberof TaskAgentRevisionRead
13054
13329
  */
13055
- 'title'?: string | null;
13330
+ 'memory_config'?: {
13331
+ [key: string]: any;
13332
+ } | null;
13056
13333
  /**
13057
13334
  *
13058
- * @type {string}
13059
- * @memberof TaskAgentShare
13335
+ * @type {number}
13336
+ * @memberof TaskAgentRevisionRead
13060
13337
  */
13061
- 'description'?: string | null;
13338
+ 'max_turns'?: number | null;
13339
+ /**
13340
+ *
13341
+ * @type {boolean}
13342
+ * @memberof TaskAgentRevisionRead
13343
+ */
13344
+ 'active'?: boolean;
13062
13345
  /**
13063
13346
  *
13064
13347
  * @type {string}
13065
- * @memberof TaskAgentShare
13348
+ * @memberof TaskAgentRevisionRead
13066
13349
  */
13067
- 'expires_at'?: string | null;
13350
+ 'created': string;
13068
13351
  /**
13069
13352
  *
13070
13353
  * @type {string}
13071
- * @memberof TaskAgentShare
13354
+ * @memberof TaskAgentRevisionRead
13072
13355
  */
13073
- 'id': string;
13356
+ 'modified'?: string | null;
13357
+ }
13358
+ /**
13359
+ * Summary of the active TaskAgent revision.
13360
+ * @export
13361
+ * @interface TaskAgentRevisionSummary
13362
+ */
13363
+ export interface TaskAgentRevisionSummary {
13074
13364
  /**
13075
13365
  *
13076
13366
  * @type {string}
13077
- * @memberof TaskAgentShare
13367
+ * @memberof TaskAgentRevisionSummary
13078
13368
  */
13079
- 'project_id': string;
13369
+ 'id': string;
13080
13370
  /**
13081
13371
  *
13082
13372
  * @type {string}
13083
- * @memberof TaskAgentShare
13373
+ * @memberof TaskAgentRevisionSummary
13084
13374
  */
13085
13375
  'task_agent_id': string;
13086
13376
  /**
13087
13377
  *
13088
13378
  * @type {string}
13089
- * @memberof TaskAgentShare
13379
+ * @memberof TaskAgentRevisionSummary
13090
13380
  */
13091
- 'task_agent_revision_id': string;
13381
+ 'created': string;
13092
13382
  /**
13093
13383
  *
13094
13384
  * @type {string}
13095
- * @memberof TaskAgentShare
13385
+ * @memberof TaskAgentRevisionSummary
13096
13386
  */
13097
- 'user_id': string;
13387
+ 'modified'?: string | null;
13388
+ }
13389
+ /**
13390
+ * Response containing events for a TaskAgentRun.
13391
+ * @export
13392
+ * @interface TaskAgentRunEventsResponse
13393
+ */
13394
+ export interface TaskAgentRunEventsResponse {
13098
13395
  /**
13099
- *
13396
+ * ID of the TaskAgentRun.
13100
13397
  * @type {string}
13101
- * @memberof TaskAgentShare
13398
+ * @memberof TaskAgentRunEventsResponse
13102
13399
  */
13103
- 'task_agent_name': string;
13400
+ 'run_id': string;
13104
13401
  /**
13105
- *
13402
+ * ADK session ID.
13106
13403
  * @type {string}
13107
- * @memberof TaskAgentShare
13404
+ * @memberof TaskAgentRunEventsResponse
13108
13405
  */
13109
- 'short_id': string;
13406
+ 'session_id': string;
13110
13407
  /**
13111
- *
13112
- * @type {number}
13113
- * @memberof TaskAgentShare
13408
+ * Conversation events from the session.
13409
+ * @type {Array<TaskAgentEvent>}
13410
+ * @memberof TaskAgentRunEventsResponse
13114
13411
  */
13115
- 'views_count': number;
13412
+ 'events'?: Array<TaskAgentEvent>;
13413
+ }
13414
+ /**
13415
+ * Schema for reading per-model TaskAgent run usage.
13416
+ * @export
13417
+ * @interface TaskAgentRunModelUsageRead
13418
+ */
13419
+ export interface TaskAgentRunModelUsageRead {
13116
13420
  /**
13117
13421
  *
13118
- * @type {boolean}
13119
- * @memberof TaskAgentShare
13422
+ * @type {string}
13423
+ * @memberof TaskAgentRunModelUsageRead
13120
13424
  */
13121
- 'active': boolean;
13425
+ 'id': string;
13122
13426
  /**
13123
13427
  *
13124
13428
  * @type {string}
13125
- * @memberof TaskAgentShare
13429
+ * @memberof TaskAgentRunModelUsageRead
13126
13430
  */
13127
- 'created': string;
13431
+ 'task_agent_run_id': string;
13128
13432
  /**
13129
13433
  *
13130
13434
  * @type {string}
13131
- * @memberof TaskAgentShare
13435
+ * @memberof TaskAgentRunModelUsageRead
13132
13436
  */
13133
- 'modified'?: string | null;
13437
+ 'llm_model_id': string | null;
13134
13438
  /**
13135
13439
  *
13136
13440
  * @type {string}
13137
- * @memberof TaskAgentShare
13441
+ * @memberof TaskAgentRunModelUsageRead
13138
13442
  */
13139
- 'share_url': string;
13140
- }
13141
- /**
13142
- * Request schema for creating a TaskAgent share.
13143
- * @export
13144
- * @interface TaskAgentShareCreate
13145
- */
13146
- export interface TaskAgentShareCreate {
13443
+ 'usage_type': TaskAgentRunModelUsageReadUsageTypeEnum;
13147
13444
  /**
13148
13445
  *
13149
- * @type {string}
13150
- * @memberof TaskAgentShareCreate
13446
+ * @type {number}
13447
+ * @memberof TaskAgentRunModelUsageRead
13151
13448
  */
13152
- 'title'?: string | null;
13449
+ 'input_tokens': number;
13153
13450
  /**
13154
13451
  *
13155
- * @type {string}
13156
- * @memberof TaskAgentShareCreate
13452
+ * @type {number}
13453
+ * @memberof TaskAgentRunModelUsageRead
13157
13454
  */
13158
- 'description'?: string | null;
13455
+ 'output_tokens': number;
13159
13456
  /**
13160
13457
  *
13161
- * @type {string}
13162
- * @memberof TaskAgentShareCreate
13458
+ * @type {number}
13459
+ * @memberof TaskAgentRunModelUsageRead
13163
13460
  */
13164
- 'expires_at'?: string | null;
13461
+ 'total_tokens': number;
13165
13462
  /**
13166
- * Optional pinned TaskAgent revision. Defaults to the active revision.
13463
+ *
13167
13464
  * @type {string}
13168
- * @memberof TaskAgentShareCreate
13465
+ * @memberof TaskAgentRunModelUsageRead
13169
13466
  */
13170
- 'task_agent_revision_id'?: string | null;
13467
+ 'charged_credits': string | null;
13171
13468
  /**
13172
- * Optional custom public short ID.
13173
- * @type {string}
13174
- * @memberof TaskAgentShareCreate
13469
+ *
13470
+ * @type {number}
13471
+ * @memberof TaskAgentRunModelUsageRead
13175
13472
  */
13176
- 'custom_short_id'?: string | null;
13177
- }
13178
- /**
13179
- * Declarative skill to attach to a TaskAgent.
13180
- * @export
13181
- * @interface TaskAgentSkillInput
13182
- */
13183
- export interface TaskAgentSkillInput {
13473
+ 'call_count': number;
13184
13474
  /**
13185
- * ID of the declarative Skill to attach.
13475
+ *
13186
13476
  * @type {string}
13187
- * @memberof TaskAgentSkillInput
13477
+ * @memberof TaskAgentRunModelUsageRead
13188
13478
  */
13189
- 'skill_id': string;
13479
+ 'created': string;
13190
13480
  /**
13191
- * Pinned skill revision. None is only valid for non-capability skills; skills with capabilities must be pinned to a concrete revision.
13481
+ *
13192
13482
  * @type {string}
13193
- * @memberof TaskAgentSkillInput
13483
+ * @memberof TaskAgentRunModelUsageRead
13194
13484
  */
13195
- 'skill_revision_id'?: string | null;
13485
+ 'modified': string | null;
13196
13486
  }
13487
+ export declare const TaskAgentRunModelUsageReadUsageTypeEnum: {
13488
+ readonly Primary: "primary";
13489
+ readonly Fallback: "fallback";
13490
+ };
13491
+ export type TaskAgentRunModelUsageReadUsageTypeEnum = typeof TaskAgentRunModelUsageReadUsageTypeEnum[keyof typeof TaskAgentRunModelUsageReadUsageTypeEnum];
13197
13492
  /**
13198
- * Declarative skill association in a TaskAgent read response.
13493
+ * Schema for reading a TaskAgentRun.
13199
13494
  * @export
13200
- * @interface TaskAgentSkillRead
13495
+ * @interface TaskAgentRunRead
13201
13496
  */
13202
- export interface TaskAgentSkillRead {
13497
+ export interface TaskAgentRunRead {
13203
13498
  /**
13204
13499
  *
13205
13500
  * @type {string}
13206
- * @memberof TaskAgentSkillRead
13501
+ * @memberof TaskAgentRunRead
13207
13502
  */
13208
13503
  'id': string;
13209
13504
  /**
13210
13505
  *
13211
13506
  * @type {string}
13212
- * @memberof TaskAgentSkillRead
13507
+ * @memberof TaskAgentRunRead
13213
13508
  */
13214
- 'skill_id': string;
13509
+ 'task_agent_id': string;
13215
13510
  /**
13216
- * Stable kebab-case skill slug used by ADK.
13511
+ *
13217
13512
  * @type {string}
13218
- * @memberof TaskAgentSkillRead
13513
+ * @memberof TaskAgentRunRead
13219
13514
  */
13220
- 'skill_slug': string;
13515
+ 'task_agent_revision_id'?: string | null;
13221
13516
  /**
13222
- * Human-readable skill display name.
13517
+ * ADK session ID (string format).
13223
13518
  * @type {string}
13224
- * @memberof TaskAgentSkillRead
13519
+ * @memberof TaskAgentRunRead
13225
13520
  */
13226
- 'skill_display_name': string;
13521
+ 'session_id': string;
13227
13522
  /**
13228
- * Pinned revision ID. None is only valid for non-capability skills; skills with capabilities must be pinned to a concrete revision.
13523
+ *
13229
13524
  * @type {string}
13230
- * @memberof TaskAgentSkillRead
13525
+ * @memberof TaskAgentRunRead
13526
+ */
13527
+ 'user_id': string | null;
13528
+ /**
13529
+ *
13530
+ * @type {string}
13531
+ * @memberof TaskAgentRunRead
13532
+ */
13533
+ 'invocation_id'?: string | null;
13534
+ /**
13535
+ *
13536
+ * @type {boolean}
13537
+ * @memberof TaskAgentRunRead
13538
+ */
13539
+ 'is_continuation'?: boolean;
13540
+ /**
13541
+ *
13542
+ * @type {string}
13543
+ * @memberof TaskAgentRunRead
13544
+ */
13545
+ 'primary_llm_model_id'?: string | null;
13546
+ /**
13547
+ *
13548
+ * @type {string}
13549
+ * @memberof TaskAgentRunRead
13550
+ */
13551
+ 'fallback_llm_model_id'?: string | null;
13552
+ /**
13553
+ *
13554
+ * @type {boolean}
13555
+ * @memberof TaskAgentRunRead
13556
+ */
13557
+ 'used_fallback_model'?: boolean;
13558
+ /**
13559
+ *
13560
+ * @type {string}
13561
+ * @memberof TaskAgentRunRead
13562
+ */
13563
+ 'primary_failure_reason'?: string | null;
13564
+ /**
13565
+ *
13566
+ * @type {number}
13567
+ * @memberof TaskAgentRunRead
13568
+ */
13569
+ 'input_tokens': number;
13570
+ /**
13571
+ *
13572
+ * @type {number}
13573
+ * @memberof TaskAgentRunRead
13574
+ */
13575
+ 'output_tokens': number;
13576
+ /**
13577
+ *
13578
+ * @type {number}
13579
+ * @memberof TaskAgentRunRead
13580
+ */
13581
+ 'total_tokens': number;
13582
+ /**
13583
+ *
13584
+ * @type {string}
13585
+ * @memberof TaskAgentRunRead
13586
+ */
13587
+ 'charged_credits': string | null;
13588
+ /**
13589
+ *
13590
+ * @type {string}
13591
+ * @memberof TaskAgentRunRead
13592
+ */
13593
+ 'total_charged_credits'?: string | null;
13594
+ /**
13595
+ *
13596
+ * @type {string}
13597
+ * @memberof TaskAgentRunRead
13598
+ */
13599
+ 'created': string;
13600
+ /**
13601
+ *
13602
+ * @type {string}
13603
+ * @memberof TaskAgentRunRead
13604
+ */
13605
+ 'completed': string | null;
13606
+ /**
13607
+ *
13608
+ * @type {number}
13609
+ * @memberof TaskAgentRunRead
13610
+ */
13611
+ 'duration_ms': number | null;
13612
+ /**
13613
+ *
13614
+ * @type {TaskAgentRunStatus}
13615
+ * @memberof TaskAgentRunRead
13616
+ */
13617
+ 'status': TaskAgentRunStatus;
13618
+ /**
13619
+ *
13620
+ * @type {boolean}
13621
+ * @memberof TaskAgentRunRead
13622
+ */
13623
+ 'is_error': boolean;
13624
+ /**
13625
+ *
13626
+ * @type {boolean}
13627
+ * @memberof TaskAgentRunRead
13628
+ */
13629
+ 'had_task_tool_fail'?: boolean;
13630
+ /**
13631
+ *
13632
+ * @type {boolean}
13633
+ * @memberof TaskAgentRunRead
13634
+ */
13635
+ 'had_mcp_tool_fail'?: boolean;
13636
+ /**
13637
+ *
13638
+ * @type {boolean}
13639
+ * @memberof TaskAgentRunRead
13640
+ */
13641
+ 'had_integration_tool_fail'?: boolean;
13642
+ /**
13643
+ *
13644
+ * @type {Array<TaskToolInvocationRead>}
13645
+ * @memberof TaskAgentRunRead
13646
+ */
13647
+ 'task_tools_invoked': Array<TaskToolInvocationRead> | null;
13648
+ /**
13649
+ *
13650
+ * @type {Array<SkillActivationRead>}
13651
+ * @memberof TaskAgentRunRead
13652
+ */
13653
+ 'skills_activated'?: Array<SkillActivationRead> | null;
13654
+ /**
13655
+ *
13656
+ * @type {Array<McpToolInvocationRead>}
13657
+ * @memberof TaskAgentRunRead
13658
+ */
13659
+ 'mcp_tools_invoked'?: Array<McpToolInvocationRead> | null;
13660
+ /**
13661
+ *
13662
+ * @type {Array<IntegrationToolInvocationRead>}
13663
+ * @memberof TaskAgentRunRead
13664
+ */
13665
+ 'integration_tools_invoked'?: Array<IntegrationToolInvocationRead> | null;
13666
+ /**
13667
+ *
13668
+ * @type {Array<PhaseTimingEntry>}
13669
+ * @memberof TaskAgentRunRead
13670
+ */
13671
+ 'phase_timings'?: Array<PhaseTimingEntry> | null;
13672
+ /**
13673
+ *
13674
+ * @type {string}
13675
+ * @memberof TaskAgentRunRead
13676
+ */
13677
+ 'termination_reason'?: string | null;
13678
+ /**
13679
+ *
13680
+ * @type {string}
13681
+ * @memberof TaskAgentRunRead
13682
+ */
13683
+ 'last_activity_at'?: string | null;
13684
+ /**
13685
+ *
13686
+ * @type {Array<TaskAgentRunModelUsageRead>}
13687
+ * @memberof TaskAgentRunRead
13688
+ */
13689
+ 'model_usages'?: Array<TaskAgentRunModelUsageRead>;
13690
+ /**
13691
+ * Files associated with this agent run (both uploaded and generated by task tools)
13692
+ * @type {Array<TaskAgentFileMetadata>}
13693
+ * @memberof TaskAgentRunRead
13694
+ */
13695
+ 'files'?: Array<TaskAgentFileMetadata>;
13696
+ }
13697
+ /**
13698
+ * Status of a TaskAgent run.
13699
+ * @export
13700
+ * @enum {string}
13701
+ */
13702
+ export declare const TaskAgentRunStatus: {
13703
+ readonly Running: "running";
13704
+ readonly Completed: "completed";
13705
+ readonly Failed: "failed";
13706
+ };
13707
+ export type TaskAgentRunStatus = typeof TaskAgentRunStatus[keyof typeof TaskAgentRunStatus];
13708
+ /**
13709
+ * Detailed session info including individual runs.
13710
+ * @export
13711
+ * @interface TaskAgentSessionDetail
13712
+ */
13713
+ export interface TaskAgentSessionDetail {
13714
+ /**
13715
+ * ADK session ID (string format).
13716
+ * @type {string}
13717
+ * @memberof TaskAgentSessionDetail
13718
+ */
13719
+ 'session_id': string;
13720
+ /**
13721
+ *
13722
+ * @type {string}
13723
+ * @memberof TaskAgentSessionDetail
13724
+ */
13725
+ 'task_agent_id': string;
13726
+ /**
13727
+ * Number of runs in this session.
13728
+ * @type {number}
13729
+ * @memberof TaskAgentSessionDetail
13730
+ */
13731
+ 'run_count': number;
13732
+ /**
13733
+ *
13734
+ * @type {string}
13735
+ * @memberof TaskAgentSessionDetail
13736
+ */
13737
+ 'first_run': string;
13738
+ /**
13739
+ *
13740
+ * @type {string}
13741
+ * @memberof TaskAgentSessionDetail
13742
+ */
13743
+ 'last_run': string;
13744
+ /**
13745
+ *
13746
+ * @type {number}
13747
+ * @memberof TaskAgentSessionDetail
13748
+ */
13749
+ 'total_tokens': number;
13750
+ /**
13751
+ * Sum of total_charged_credits across all runs in this session.
13752
+ * @type {string}
13753
+ * @memberof TaskAgentSessionDetail
13754
+ */
13755
+ 'total_charged_credits': string;
13756
+ /**
13757
+ * Runs in this session.
13758
+ * @type {Array<TaskAgentRunRead>}
13759
+ * @memberof TaskAgentSessionDetail
13760
+ */
13761
+ 'runs'?: Array<TaskAgentRunRead>;
13762
+ }
13763
+ /**
13764
+ * Summary of a session, derived from TaskAgentRun records + ADK session.
13765
+ * @export
13766
+ * @interface TaskAgentSessionSummary
13767
+ */
13768
+ export interface TaskAgentSessionSummary {
13769
+ /**
13770
+ * ADK session ID (string format).
13771
+ * @type {string}
13772
+ * @memberof TaskAgentSessionSummary
13773
+ */
13774
+ 'session_id': string;
13775
+ /**
13776
+ *
13777
+ * @type {string}
13778
+ * @memberof TaskAgentSessionSummary
13779
+ */
13780
+ 'task_agent_id': string;
13781
+ /**
13782
+ * Number of runs in this session.
13783
+ * @type {number}
13784
+ * @memberof TaskAgentSessionSummary
13785
+ */
13786
+ 'run_count': number;
13787
+ /**
13788
+ *
13789
+ * @type {string}
13790
+ * @memberof TaskAgentSessionSummary
13791
+ */
13792
+ 'first_run': string;
13793
+ /**
13794
+ *
13795
+ * @type {string}
13796
+ * @memberof TaskAgentSessionSummary
13797
+ */
13798
+ 'last_run': string;
13799
+ /**
13800
+ *
13801
+ * @type {number}
13802
+ * @memberof TaskAgentSessionSummary
13803
+ */
13804
+ 'total_tokens': number;
13805
+ /**
13806
+ * Sum of total_charged_credits across all runs in this session.
13807
+ * @type {string}
13808
+ * @memberof TaskAgentSessionSummary
13809
+ */
13810
+ 'total_charged_credits': string;
13811
+ }
13812
+ /**
13813
+ * Authenticated TaskAgent share response.
13814
+ * @export
13815
+ * @interface TaskAgentShare
13816
+ */
13817
+ export interface TaskAgentShare {
13818
+ /**
13819
+ *
13820
+ * @type {string}
13821
+ * @memberof TaskAgentShare
13822
+ */
13823
+ 'title'?: string | null;
13824
+ /**
13825
+ *
13826
+ * @type {string}
13827
+ * @memberof TaskAgentShare
13828
+ */
13829
+ 'description'?: string | null;
13830
+ /**
13831
+ *
13832
+ * @type {string}
13833
+ * @memberof TaskAgentShare
13834
+ */
13835
+ 'expires_at'?: string | null;
13836
+ /**
13837
+ *
13838
+ * @type {string}
13839
+ * @memberof TaskAgentShare
13840
+ */
13841
+ 'id': string;
13842
+ /**
13843
+ *
13844
+ * @type {string}
13845
+ * @memberof TaskAgentShare
13846
+ */
13847
+ 'project_id': string;
13848
+ /**
13849
+ *
13850
+ * @type {string}
13851
+ * @memberof TaskAgentShare
13852
+ */
13853
+ 'task_agent_id': string;
13854
+ /**
13855
+ *
13856
+ * @type {string}
13857
+ * @memberof TaskAgentShare
13858
+ */
13859
+ 'task_agent_revision_id': string;
13860
+ /**
13861
+ *
13862
+ * @type {string}
13863
+ * @memberof TaskAgentShare
13864
+ */
13865
+ 'user_id': string;
13866
+ /**
13867
+ *
13868
+ * @type {string}
13869
+ * @memberof TaskAgentShare
13870
+ */
13871
+ 'task_agent_name': string;
13872
+ /**
13873
+ *
13874
+ * @type {string}
13875
+ * @memberof TaskAgentShare
13876
+ */
13877
+ 'short_id': string;
13878
+ /**
13879
+ *
13880
+ * @type {number}
13881
+ * @memberof TaskAgentShare
13882
+ */
13883
+ 'views_count': number;
13884
+ /**
13885
+ *
13886
+ * @type {boolean}
13887
+ * @memberof TaskAgentShare
13888
+ */
13889
+ 'active': boolean;
13890
+ /**
13891
+ *
13892
+ * @type {string}
13893
+ * @memberof TaskAgentShare
13894
+ */
13895
+ 'created': string;
13896
+ /**
13897
+ *
13898
+ * @type {string}
13899
+ * @memberof TaskAgentShare
13900
+ */
13901
+ 'modified'?: string | null;
13902
+ /**
13903
+ *
13904
+ * @type {string}
13905
+ * @memberof TaskAgentShare
13906
+ */
13907
+ 'share_url': string;
13908
+ }
13909
+ /**
13910
+ * Request schema for creating a TaskAgent share.
13911
+ * @export
13912
+ * @interface TaskAgentShareCreate
13913
+ */
13914
+ export interface TaskAgentShareCreate {
13915
+ /**
13916
+ *
13917
+ * @type {string}
13918
+ * @memberof TaskAgentShareCreate
13919
+ */
13920
+ 'title'?: string | null;
13921
+ /**
13922
+ *
13923
+ * @type {string}
13924
+ * @memberof TaskAgentShareCreate
13925
+ */
13926
+ 'description'?: string | null;
13927
+ /**
13928
+ *
13929
+ * @type {string}
13930
+ * @memberof TaskAgentShareCreate
13931
+ */
13932
+ 'expires_at'?: string | null;
13933
+ /**
13934
+ * Optional pinned TaskAgent revision. Defaults to the active revision.
13935
+ * @type {string}
13936
+ * @memberof TaskAgentShareCreate
13937
+ */
13938
+ 'task_agent_revision_id'?: string | null;
13939
+ /**
13940
+ * Optional custom public short ID.
13941
+ * @type {string}
13942
+ * @memberof TaskAgentShareCreate
13943
+ */
13944
+ 'custom_short_id'?: string | null;
13945
+ }
13946
+ /**
13947
+ * Declarative skill to attach to a TaskAgent.
13948
+ * @export
13949
+ * @interface TaskAgentSkillInput
13950
+ */
13951
+ export interface TaskAgentSkillInput {
13952
+ /**
13953
+ * ID of the declarative Skill to attach.
13954
+ * @type {string}
13955
+ * @memberof TaskAgentSkillInput
13956
+ */
13957
+ 'skill_id': string;
13958
+ /**
13959
+ * Pinned skill revision. None is only valid for non-capability skills; skills with capabilities must be pinned to a concrete revision.
13960
+ * @type {string}
13961
+ * @memberof TaskAgentSkillInput
13962
+ */
13963
+ 'skill_revision_id'?: string | null;
13964
+ }
13965
+ /**
13966
+ * Declarative skill association in a TaskAgent read response.
13967
+ * @export
13968
+ * @interface TaskAgentSkillRead
13969
+ */
13970
+ export interface TaskAgentSkillRead {
13971
+ /**
13972
+ *
13973
+ * @type {string}
13974
+ * @memberof TaskAgentSkillRead
13975
+ */
13976
+ 'id': string;
13977
+ /**
13978
+ *
13979
+ * @type {string}
13980
+ * @memberof TaskAgentSkillRead
13981
+ */
13982
+ 'skill_id': string;
13983
+ /**
13984
+ * Stable kebab-case skill slug used by ADK.
13985
+ * @type {string}
13986
+ * @memberof TaskAgentSkillRead
13987
+ */
13988
+ 'skill_slug': string;
13989
+ /**
13990
+ * Human-readable skill display name.
13991
+ * @type {string}
13992
+ * @memberof TaskAgentSkillRead
13993
+ */
13994
+ 'skill_display_name': string;
13995
+ /**
13996
+ * Pinned revision ID. None is only valid for non-capability skills; skills with capabilities must be pinned to a concrete revision.
13997
+ * @type {string}
13998
+ * @memberof TaskAgentSkillRead
13231
13999
  */
13232
14000
  'skill_revision_id'?: string | null;
13233
14001
  /**
@@ -27292,19 +28060,191 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
27292
28060
  */
27293
28061
  export declare class SystemApi extends BaseAPI {
27294
28062
  /**
27295
- * Get current authenticated user information including token details. Returns the authenticated user\'s basic information (ID, email, name). If authenticated via OAuth client credentials, also includes the client\'s organization and project context.
27296
- * @summary Get Current User
28063
+ * Get current authenticated user information including token details. Returns the authenticated user\'s basic information (ID, email, name). If authenticated via OAuth client credentials, also includes the client\'s organization and project context.
28064
+ * @summary Get Current User
28065
+ * @param {*} [options] Override http request option.
28066
+ * @throws {RequiredError}
28067
+ * @memberof SystemApi
28068
+ */
28069
+ whoami(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WhoAmIResponse, any, {}>>;
28070
+ }
28071
+ /**
28072
+ * TagsApi - axios parameter creator
28073
+ * @export
28074
+ */
28075
+ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) => {
28076
+ /**
28077
+ * Add a tag to multiple supported entities at once.
28078
+ * @summary Add Tag to Entities
28079
+ * @param {string} orgId The unique identifier of the organization.
28080
+ * @param {string} projectId The unique identifier of the project.
28081
+ * @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28082
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28083
+ * @param {TagEntityAdd} tagEntityAdd
28084
+ * @param {*} [options] Override http request option.
28085
+ * @throws {RequiredError}
28086
+ */
28087
+ addTagToEntities: (orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28088
+ /**
28089
+ * Create a new tag for organizing resources. Tags can be applied to supported entity types: - Tasks - Task revisions - Task shares - Skills - TaskAgent revisions Tags support hierarchical organization using prefixes.
28090
+ * @summary Create Tag
28091
+ * @param {string} orgId The unique identifier of the organization.
28092
+ * @param {string} projectId The unique identifier of the project.
28093
+ * @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28094
+ * @param {TagCreate} tagCreate
28095
+ * @param {*} [options] Override http request option.
28096
+ * @throws {RequiredError}
28097
+ */
28098
+ createTag: (orgId: string, projectId: string, entityType: CreateTagEntityTypeEnum, tagCreate: TagCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28099
+ /**
28100
+ * Delete a tag and remove it from all resources
28101
+ * @summary Delete Tag
28102
+ * @param {string} orgId The unique identifier of the organization.
28103
+ * @param {string} projectId The unique identifier of the project.
28104
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28105
+ * @param {*} [options] Override http request option.
28106
+ * @throws {RequiredError}
28107
+ */
28108
+ deleteTag: (orgId: string, projectId: string, tagId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28109
+ /**
28110
+ * Get tag details for the requested entity type.
28111
+ * @summary Get Tag
28112
+ * @param {string} orgId The unique identifier of the organization.
28113
+ * @param {string} projectId The unique identifier of the project.
28114
+ * @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28115
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28116
+ * @param {*} [options] Override http request option.
28117
+ * @throws {RequiredError}
28118
+ */
28119
+ getTag: (orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28120
+ /**
28121
+ * List all tags in the project for the requested entity type.
28122
+ * @summary List Tags
28123
+ * @param {string} orgId The unique identifier of the organization.
28124
+ * @param {string} projectId The unique identifier of the project.
28125
+ * @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28126
+ * @param {number | null} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28127
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
28128
+ * @param {*} [options] Override http request option.
28129
+ * @throws {RequiredError}
28130
+ */
28131
+ listTags: (orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28132
+ /**
28133
+ * Remove a tag from multiple supported entities at once.
28134
+ * @summary Remove Tag from Entities
28135
+ * @param {string} orgId The unique identifier of the organization.
28136
+ * @param {string} projectId The unique identifier of the project.
28137
+ * @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28138
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28139
+ * @param {TagEntityRemove} tagEntityRemove
28140
+ * @param {*} [options] Override http request option.
28141
+ * @throws {RequiredError}
28142
+ */
28143
+ removeTagFromEntities: (orgId: string, projectId: string, entityType: RemoveTagFromEntitiesEntityTypeEnum, tagId: string, tagEntityRemove: TagEntityRemove, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28144
+ /**
28145
+ * Update tag properties
28146
+ * @summary Update Tag
28147
+ * @param {string} orgId The unique identifier of the organization.
28148
+ * @param {string} projectId The unique identifier of the project.
28149
+ * @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28150
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28151
+ * @param {TagUpdate} tagUpdate
28152
+ * @param {*} [options] Override http request option.
28153
+ * @throws {RequiredError}
28154
+ */
28155
+ updateTag: (orgId: string, projectId: string, entityType: UpdateTagEntityTypeEnum, tagId: string, tagUpdate: TagUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28156
+ };
28157
+ /**
28158
+ * TagsApi - functional programming interface
28159
+ * @export
28160
+ */
28161
+ export declare const TagsApiFp: (configuration?: Configuration) => {
28162
+ /**
28163
+ * Add a tag to multiple supported entities at once.
28164
+ * @summary Add Tag to Entities
28165
+ * @param {string} orgId The unique identifier of the organization.
28166
+ * @param {string} projectId The unique identifier of the project.
28167
+ * @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28168
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28169
+ * @param {TagEntityAdd} tagEntityAdd
28170
+ * @param {*} [options] Override http request option.
28171
+ * @throws {RequiredError}
28172
+ */
28173
+ addTagToEntities(orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
28174
+ /**
28175
+ * Create a new tag for organizing resources. Tags can be applied to supported entity types: - Tasks - Task revisions - Task shares - Skills - TaskAgent revisions Tags support hierarchical organization using prefixes.
28176
+ * @summary Create Tag
28177
+ * @param {string} orgId The unique identifier of the organization.
28178
+ * @param {string} projectId The unique identifier of the project.
28179
+ * @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28180
+ * @param {TagCreate} tagCreate
28181
+ * @param {*} [options] Override http request option.
28182
+ * @throws {RequiredError}
28183
+ */
28184
+ createTag(orgId: string, projectId: string, entityType: CreateTagEntityTypeEnum, tagCreate: TagCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tag>>;
28185
+ /**
28186
+ * Delete a tag and remove it from all resources
28187
+ * @summary Delete Tag
28188
+ * @param {string} orgId The unique identifier of the organization.
28189
+ * @param {string} projectId The unique identifier of the project.
28190
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28191
+ * @param {*} [options] Override http request option.
28192
+ * @throws {RequiredError}
28193
+ */
28194
+ deleteTag(orgId: string, projectId: string, tagId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
28195
+ /**
28196
+ * Get tag details for the requested entity type.
28197
+ * @summary Get Tag
28198
+ * @param {string} orgId The unique identifier of the organization.
28199
+ * @param {string} projectId The unique identifier of the project.
28200
+ * @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28201
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28202
+ * @param {*} [options] Override http request option.
28203
+ * @throws {RequiredError}
28204
+ */
28205
+ getTag(orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tag>>;
28206
+ /**
28207
+ * List all tags in the project for the requested entity type.
28208
+ * @summary List Tags
28209
+ * @param {string} orgId The unique identifier of the organization.
28210
+ * @param {string} projectId The unique identifier of the project.
28211
+ * @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28212
+ * @param {number | null} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28213
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
28214
+ * @param {*} [options] Override http request option.
28215
+ * @throws {RequiredError}
28216
+ */
28217
+ listTags(orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetTag>>;
28218
+ /**
28219
+ * Remove a tag from multiple supported entities at once.
28220
+ * @summary Remove Tag from Entities
28221
+ * @param {string} orgId The unique identifier of the organization.
28222
+ * @param {string} projectId The unique identifier of the project.
28223
+ * @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28224
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28225
+ * @param {TagEntityRemove} tagEntityRemove
28226
+ * @param {*} [options] Override http request option.
28227
+ * @throws {RequiredError}
28228
+ */
28229
+ removeTagFromEntities(orgId: string, projectId: string, entityType: RemoveTagFromEntitiesEntityTypeEnum, tagId: string, tagEntityRemove: TagEntityRemove, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
28230
+ /**
28231
+ * Update tag properties
28232
+ * @summary Update Tag
28233
+ * @param {string} orgId The unique identifier of the organization.
28234
+ * @param {string} projectId The unique identifier of the project.
28235
+ * @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28236
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28237
+ * @param {TagUpdate} tagUpdate
27297
28238
  * @param {*} [options] Override http request option.
27298
28239
  * @throws {RequiredError}
27299
- * @memberof SystemApi
27300
28240
  */
27301
- whoami(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WhoAmIResponse, any, {}>>;
27302
- }
28241
+ updateTag(orgId: string, projectId: string, entityType: UpdateTagEntityTypeEnum, tagId: string, tagUpdate: TagUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tag>>;
28242
+ };
27303
28243
  /**
27304
- * TagsApi - axios parameter creator
28244
+ * TagsApi - factory interface
27305
28245
  * @export
27306
28246
  */
27307
- export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) => {
28247
+ export declare const TagsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
27308
28248
  /**
27309
28249
  * Add a tag to multiple supported entities at once.
27310
28250
  * @summary Add Tag to Entities
@@ -27316,7 +28256,7 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
27316
28256
  * @param {*} [options] Override http request option.
27317
28257
  * @throws {RequiredError}
27318
28258
  */
27319
- addTagToEntities: (orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28259
+ addTagToEntities(orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: any): AxiosPromise<any>;
27320
28260
  /**
27321
28261
  * Create a new tag for organizing resources. Tags can be applied to supported entity types: - Tasks - Task revisions - Task shares - Skills - TaskAgent revisions Tags support hierarchical organization using prefixes.
27322
28262
  * @summary Create Tag
@@ -27327,7 +28267,7 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
27327
28267
  * @param {*} [options] Override http request option.
27328
28268
  * @throws {RequiredError}
27329
28269
  */
27330
- createTag: (orgId: string, projectId: string, entityType: CreateTagEntityTypeEnum, tagCreate: TagCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28270
+ createTag(orgId: string, projectId: string, entityType: CreateTagEntityTypeEnum, tagCreate: TagCreate, options?: any): AxiosPromise<Tag>;
27331
28271
  /**
27332
28272
  * Delete a tag and remove it from all resources
27333
28273
  * @summary Delete Tag
@@ -27337,7 +28277,7 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
27337
28277
  * @param {*} [options] Override http request option.
27338
28278
  * @throws {RequiredError}
27339
28279
  */
27340
- deleteTag: (orgId: string, projectId: string, tagId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28280
+ deleteTag(orgId: string, projectId: string, tagId: string, options?: any): AxiosPromise<void>;
27341
28281
  /**
27342
28282
  * Get tag details for the requested entity type.
27343
28283
  * @summary Get Tag
@@ -27348,7 +28288,7 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
27348
28288
  * @param {*} [options] Override http request option.
27349
28289
  * @throws {RequiredError}
27350
28290
  */
27351
- getTag: (orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28291
+ getTag(orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: any): AxiosPromise<Tag>;
27352
28292
  /**
27353
28293
  * List all tags in the project for the requested entity type.
27354
28294
  * @summary List Tags
@@ -27360,7 +28300,7 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
27360
28300
  * @param {*} [options] Override http request option.
27361
28301
  * @throws {RequiredError}
27362
28302
  */
27363
- listTags: (orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28303
+ listTags(orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: any): AxiosPromise<PaginatedResultSetTag>;
27364
28304
  /**
27365
28305
  * Remove a tag from multiple supported entities at once.
27366
28306
  * @summary Remove Tag from Entities
@@ -27372,7 +28312,7 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
27372
28312
  * @param {*} [options] Override http request option.
27373
28313
  * @throws {RequiredError}
27374
28314
  */
27375
- removeTagFromEntities: (orgId: string, projectId: string, entityType: RemoveTagFromEntitiesEntityTypeEnum, tagId: string, tagEntityRemove: TagEntityRemove, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28315
+ removeTagFromEntities(orgId: string, projectId: string, entityType: RemoveTagFromEntitiesEntityTypeEnum, tagId: string, tagEntityRemove: TagEntityRemove, options?: any): AxiosPromise<any>;
27376
28316
  /**
27377
28317
  * Update tag properties
27378
28318
  * @summary Update Tag
@@ -27384,13 +28324,15 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
27384
28324
  * @param {*} [options] Override http request option.
27385
28325
  * @throws {RequiredError}
27386
28326
  */
27387
- updateTag: (orgId: string, projectId: string, entityType: UpdateTagEntityTypeEnum, tagId: string, tagUpdate: TagUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28327
+ updateTag(orgId: string, projectId: string, entityType: UpdateTagEntityTypeEnum, tagId: string, tagUpdate: TagUpdate, options?: any): AxiosPromise<Tag>;
27388
28328
  };
27389
28329
  /**
27390
- * TagsApi - functional programming interface
28330
+ * TagsApi - object-oriented interface
27391
28331
  * @export
28332
+ * @class TagsApi
28333
+ * @extends {BaseAPI}
27392
28334
  */
27393
- export declare const TagsApiFp: (configuration?: Configuration) => {
28335
+ export declare class TagsApi extends BaseAPI {
27394
28336
  /**
27395
28337
  * Add a tag to multiple supported entities at once.
27396
28338
  * @summary Add Tag to Entities
@@ -27401,8 +28343,9 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
27401
28343
  * @param {TagEntityAdd} tagEntityAdd
27402
28344
  * @param {*} [options] Override http request option.
27403
28345
  * @throws {RequiredError}
28346
+ * @memberof TagsApi
27404
28347
  */
27405
- addTagToEntities(orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
28348
+ addTagToEntities(orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
27406
28349
  /**
27407
28350
  * Create a new tag for organizing resources. Tags can be applied to supported entity types: - Tasks - Task revisions - Task shares - Skills - TaskAgent revisions Tags support hierarchical organization using prefixes.
27408
28351
  * @summary Create Tag
@@ -27412,8 +28355,9 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
27412
28355
  * @param {TagCreate} tagCreate
27413
28356
  * @param {*} [options] Override http request option.
27414
28357
  * @throws {RequiredError}
28358
+ * @memberof TagsApi
27415
28359
  */
27416
- createTag(orgId: string, projectId: string, entityType: CreateTagEntityTypeEnum, tagCreate: TagCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tag>>;
28360
+ createTag(orgId: string, projectId: string, entityType: CreateTagEntityTypeEnum, tagCreate: TagCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any, {}>>;
27417
28361
  /**
27418
28362
  * Delete a tag and remove it from all resources
27419
28363
  * @summary Delete Tag
@@ -27422,8 +28366,9 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
27422
28366
  * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
27423
28367
  * @param {*} [options] Override http request option.
27424
28368
  * @throws {RequiredError}
28369
+ * @memberof TagsApi
27425
28370
  */
27426
- deleteTag(orgId: string, projectId: string, tagId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
28371
+ deleteTag(orgId: string, projectId: string, tagId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
27427
28372
  /**
27428
28373
  * Get tag details for the requested entity type.
27429
28374
  * @summary Get Tag
@@ -27433,8 +28378,9 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
27433
28378
  * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
27434
28379
  * @param {*} [options] Override http request option.
27435
28380
  * @throws {RequiredError}
28381
+ * @memberof TagsApi
27436
28382
  */
27437
- getTag(orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tag>>;
28383
+ getTag(orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any, {}>>;
27438
28384
  /**
27439
28385
  * List all tags in the project for the requested entity type.
27440
28386
  * @summary List Tags
@@ -27445,8 +28391,9 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
27445
28391
  * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
27446
28392
  * @param {*} [options] Override http request option.
27447
28393
  * @throws {RequiredError}
28394
+ * @memberof TagsApi
27448
28395
  */
27449
- listTags(orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetTag>>;
28396
+ listTags(orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedResultSetTag, any, {}>>;
27450
28397
  /**
27451
28398
  * Remove a tag from multiple supported entities at once.
27452
28399
  * @summary Remove Tag from Entities
@@ -27457,275 +28404,494 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
27457
28404
  * @param {TagEntityRemove} tagEntityRemove
27458
28405
  * @param {*} [options] Override http request option.
27459
28406
  * @throws {RequiredError}
28407
+ * @memberof TagsApi
28408
+ */
28409
+ removeTagFromEntities(orgId: string, projectId: string, entityType: RemoveTagFromEntitiesEntityTypeEnum, tagId: string, tagEntityRemove: TagEntityRemove, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
28410
+ /**
28411
+ * Update tag properties
28412
+ * @summary Update Tag
28413
+ * @param {string} orgId The unique identifier of the organization.
28414
+ * @param {string} projectId The unique identifier of the project.
28415
+ * @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
28416
+ * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28417
+ * @param {TagUpdate} tagUpdate
28418
+ * @param {*} [options] Override http request option.
28419
+ * @throws {RequiredError}
28420
+ * @memberof TagsApi
28421
+ */
28422
+ updateTag(orgId: string, projectId: string, entityType: UpdateTagEntityTypeEnum, tagId: string, tagUpdate: TagUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any, {}>>;
28423
+ }
28424
+ /**
28425
+ * @export
28426
+ */
28427
+ export declare const AddTagToEntitiesEntityTypeEnum: {
28428
+ readonly Task: "task";
28429
+ readonly TaskRevision: "task_revision";
28430
+ readonly TaskShare: "task_share";
28431
+ readonly Skill: "skill";
28432
+ readonly TaskAgentRevision: "task_agent_revision";
28433
+ };
28434
+ export type AddTagToEntitiesEntityTypeEnum = typeof AddTagToEntitiesEntityTypeEnum[keyof typeof AddTagToEntitiesEntityTypeEnum];
28435
+ /**
28436
+ * @export
28437
+ */
28438
+ export declare const CreateTagEntityTypeEnum: {
28439
+ readonly Task: "task";
28440
+ readonly TaskRevision: "task_revision";
28441
+ readonly TaskShare: "task_share";
28442
+ readonly Skill: "skill";
28443
+ readonly TaskAgentRevision: "task_agent_revision";
28444
+ };
28445
+ export type CreateTagEntityTypeEnum = typeof CreateTagEntityTypeEnum[keyof typeof CreateTagEntityTypeEnum];
28446
+ /**
28447
+ * @export
28448
+ */
28449
+ export declare const GetTagEntityTypeEnum: {
28450
+ readonly Task: "task";
28451
+ readonly TaskRevision: "task_revision";
28452
+ readonly TaskShare: "task_share";
28453
+ readonly Skill: "skill";
28454
+ readonly TaskAgentRevision: "task_agent_revision";
28455
+ };
28456
+ export type GetTagEntityTypeEnum = typeof GetTagEntityTypeEnum[keyof typeof GetTagEntityTypeEnum];
28457
+ /**
28458
+ * @export
28459
+ */
28460
+ export declare const ListTagsEntityTypeEnum: {
28461
+ readonly Task: "task";
28462
+ readonly TaskRevision: "task_revision";
28463
+ readonly TaskShare: "task_share";
28464
+ readonly Skill: "skill";
28465
+ readonly TaskAgentRevision: "task_agent_revision";
28466
+ };
28467
+ export type ListTagsEntityTypeEnum = typeof ListTagsEntityTypeEnum[keyof typeof ListTagsEntityTypeEnum];
28468
+ /**
28469
+ * @export
28470
+ */
28471
+ export declare const RemoveTagFromEntitiesEntityTypeEnum: {
28472
+ readonly Task: "task";
28473
+ readonly TaskRevision: "task_revision";
28474
+ readonly TaskShare: "task_share";
28475
+ readonly Skill: "skill";
28476
+ readonly TaskAgentRevision: "task_agent_revision";
28477
+ };
28478
+ export type RemoveTagFromEntitiesEntityTypeEnum = typeof RemoveTagFromEntitiesEntityTypeEnum[keyof typeof RemoveTagFromEntitiesEntityTypeEnum];
28479
+ /**
28480
+ * @export
28481
+ */
28482
+ export declare const UpdateTagEntityTypeEnum: {
28483
+ readonly Task: "task";
28484
+ readonly TaskRevision: "task_revision";
28485
+ readonly TaskShare: "task_share";
28486
+ readonly Skill: "skill";
28487
+ readonly TaskAgentRevision: "task_agent_revision";
28488
+ };
28489
+ export type UpdateTagEntityTypeEnum = typeof UpdateTagEntityTypeEnum[keyof typeof UpdateTagEntityTypeEnum];
28490
+ /**
28491
+ * TaskAgentEvalsApi - axios parameter creator
28492
+ * @export
28493
+ */
28494
+ export declare const TaskAgentEvalsApiAxiosParamCreator: (configuration?: Configuration) => {
28495
+ /**
28496
+ * Create a TaskAgent eval run and enqueue background execution. Callers are responsible for understanding candidate run side effects, external tool or integration mutations, and quota usage before starting an eval.
28497
+ * @summary Start TaskAgent Eval Run
28498
+ * @param {string} orgId The organization ID
28499
+ * @param {string} projectId The project ID
28500
+ * @param {string} taskAgentId The task agent ID
28501
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
28502
+ * @param {*} [options] Override http request option.
28503
+ * @throws {RequiredError}
28504
+ */
28505
+ createTaskAgentEvalRun: (orgId: string, projectId: string, taskAgentId: string, taskAgentEvalRunCreate: TaskAgentEvalRunCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28506
+ /**
28507
+ * Create a reusable TaskAgent eval set from completed, replayable TaskAgent runs. Reference inputs and outputs are snapshotted for stable future evals but are not exposed in this API version.
28508
+ * @summary Create TaskAgent Eval Set
28509
+ * @param {string} orgId The organization ID
28510
+ * @param {string} projectId The project ID
28511
+ * @param {string} taskAgentId The task agent ID
28512
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
28513
+ * @param {*} [options] Override http request option.
28514
+ * @throws {RequiredError}
28515
+ */
28516
+ createTaskAgentEvalSet: (orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetCreate: TaskAgentEvalSetCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28517
+ /**
28518
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
28519
+ * @summary Delete TaskAgent Eval Set
28520
+ * @param {string} orgId The organization ID
28521
+ * @param {string} projectId The project ID
28522
+ * @param {string} taskAgentId The task agent ID
28523
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28524
+ * @param {*} [options] Override http request option.
28525
+ * @throws {RequiredError}
28526
+ */
28527
+ deleteTaskAgentEvalSet: (orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28528
+ /**
28529
+ * Get TaskAgent eval run detail, including verdicts, aggregate metrics, and per-result run metrics when the underlying source rows still exist. Encrypted reference and candidate output snapshots are not exposed.
28530
+ * @summary Get TaskAgent Eval Run
28531
+ * @param {string} orgId The organization ID
28532
+ * @param {string} projectId The project ID
28533
+ * @param {string} taskAgentId The task agent ID
28534
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
28535
+ * @param {*} [options] Override http request option.
28536
+ * @throws {RequiredError}
28537
+ */
28538
+ getTaskAgentEvalRun: (orgId: string, projectId: string, taskAgentId: string, taskAgentEvalRunId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28539
+ /**
28540
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
28541
+ * @summary Get TaskAgent Eval Set
28542
+ * @param {string} orgId The organization ID
28543
+ * @param {string} projectId The project ID
28544
+ * @param {string} taskAgentId The task agent ID
28545
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28546
+ * @param {*} [options] Override http request option.
28547
+ * @throws {RequiredError}
28548
+ */
28549
+ getTaskAgentEvalSet: (orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28550
+ /**
28551
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
28552
+ * @summary List TaskAgent Eval Runs
28553
+ * @param {string} orgId The organization ID
28554
+ * @param {string} projectId The project ID
28555
+ * @param {string} taskAgentId The task agent ID
28556
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28557
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
28558
+ * @param {*} [options] Override http request option.
28559
+ * @throws {RequiredError}
28560
+ */
28561
+ listTaskAgentEvalRuns: (orgId: string, projectId: string, taskAgentId: string, limit?: number, cursor?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28562
+ /**
28563
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
28564
+ * @summary List TaskAgent Eval Sets
28565
+ * @param {string} orgId The organization ID
28566
+ * @param {string} projectId The project ID
28567
+ * @param {string} taskAgentId The task agent ID
28568
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28569
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
28570
+ * @param {*} [options] Override http request option.
28571
+ * @throws {RequiredError}
28572
+ */
28573
+ listTaskAgentEvalSets: (orgId: string, projectId: string, taskAgentId: string, limit?: number, cursor?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28574
+ /**
28575
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
28576
+ * @summary Update TaskAgent Eval Set
28577
+ * @param {string} orgId The organization ID
28578
+ * @param {string} projectId The project ID
28579
+ * @param {string} taskAgentId The task agent ID
28580
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28581
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
28582
+ * @param {*} [options] Override http request option.
28583
+ * @throws {RequiredError}
28584
+ */
28585
+ updateTaskAgentEvalSet: (orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, taskAgentEvalSetUpdate: TaskAgentEvalSetUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28586
+ };
28587
+ /**
28588
+ * TaskAgentEvalsApi - functional programming interface
28589
+ * @export
28590
+ */
28591
+ export declare const TaskAgentEvalsApiFp: (configuration?: Configuration) => {
28592
+ /**
28593
+ * Create a TaskAgent eval run and enqueue background execution. Callers are responsible for understanding candidate run side effects, external tool or integration mutations, and quota usage before starting an eval.
28594
+ * @summary Start TaskAgent Eval Run
28595
+ * @param {string} orgId The organization ID
28596
+ * @param {string} projectId The project ID
28597
+ * @param {string} taskAgentId The task agent ID
28598
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
28599
+ * @param {*} [options] Override http request option.
28600
+ * @throws {RequiredError}
28601
+ */
28602
+ createTaskAgentEvalRun(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalRunCreate: TaskAgentEvalRunCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentEvalRunResponse>>;
28603
+ /**
28604
+ * Create a reusable TaskAgent eval set from completed, replayable TaskAgent runs. Reference inputs and outputs are snapshotted for stable future evals but are not exposed in this API version.
28605
+ * @summary Create TaskAgent Eval Set
28606
+ * @param {string} orgId The organization ID
28607
+ * @param {string} projectId The project ID
28608
+ * @param {string} taskAgentId The task agent ID
28609
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
28610
+ * @param {*} [options] Override http request option.
28611
+ * @throws {RequiredError}
28612
+ */
28613
+ createTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetCreate: TaskAgentEvalSetCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentEvalSetResponse>>;
28614
+ /**
28615
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
28616
+ * @summary Delete TaskAgent Eval Set
28617
+ * @param {string} orgId The organization ID
28618
+ * @param {string} projectId The project ID
28619
+ * @param {string} taskAgentId The task agent ID
28620
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28621
+ * @param {*} [options] Override http request option.
28622
+ * @throws {RequiredError}
28623
+ */
28624
+ deleteTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
28625
+ /**
28626
+ * Get TaskAgent eval run detail, including verdicts, aggregate metrics, and per-result run metrics when the underlying source rows still exist. Encrypted reference and candidate output snapshots are not exposed.
28627
+ * @summary Get TaskAgent Eval Run
28628
+ * @param {string} orgId The organization ID
28629
+ * @param {string} projectId The project ID
28630
+ * @param {string} taskAgentId The task agent ID
28631
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
28632
+ * @param {*} [options] Override http request option.
28633
+ * @throws {RequiredError}
28634
+ */
28635
+ getTaskAgentEvalRun(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalRunId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentEvalRunDetailResponse>>;
28636
+ /**
28637
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
28638
+ * @summary Get TaskAgent Eval Set
28639
+ * @param {string} orgId The organization ID
28640
+ * @param {string} projectId The project ID
28641
+ * @param {string} taskAgentId The task agent ID
28642
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28643
+ * @param {*} [options] Override http request option.
28644
+ * @throws {RequiredError}
28645
+ */
28646
+ getTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentEvalSetResponse>>;
28647
+ /**
28648
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
28649
+ * @summary List TaskAgent Eval Runs
28650
+ * @param {string} orgId The organization ID
28651
+ * @param {string} projectId The project ID
28652
+ * @param {string} taskAgentId The task agent ID
28653
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28654
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
28655
+ * @param {*} [options] Override http request option.
28656
+ * @throws {RequiredError}
28657
+ */
28658
+ listTaskAgentEvalRuns(orgId: string, projectId: string, taskAgentId: string, limit?: number, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetTaskAgentEvalRunResponse>>;
28659
+ /**
28660
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
28661
+ * @summary List TaskAgent Eval Sets
28662
+ * @param {string} orgId The organization ID
28663
+ * @param {string} projectId The project ID
28664
+ * @param {string} taskAgentId The task agent ID
28665
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28666
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
28667
+ * @param {*} [options] Override http request option.
28668
+ * @throws {RequiredError}
27460
28669
  */
27461
- removeTagFromEntities(orgId: string, projectId: string, entityType: RemoveTagFromEntitiesEntityTypeEnum, tagId: string, tagEntityRemove: TagEntityRemove, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
28670
+ listTaskAgentEvalSets(orgId: string, projectId: string, taskAgentId: string, limit?: number, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetTaskAgentEvalSetResponse>>;
27462
28671
  /**
27463
- * Update tag properties
27464
- * @summary Update Tag
27465
- * @param {string} orgId The unique identifier of the organization.
27466
- * @param {string} projectId The unique identifier of the project.
27467
- * @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27468
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
27469
- * @param {TagUpdate} tagUpdate
28672
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
28673
+ * @summary Update TaskAgent Eval Set
28674
+ * @param {string} orgId The organization ID
28675
+ * @param {string} projectId The project ID
28676
+ * @param {string} taskAgentId The task agent ID
28677
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28678
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
27470
28679
  * @param {*} [options] Override http request option.
27471
28680
  * @throws {RequiredError}
27472
28681
  */
27473
- updateTag(orgId: string, projectId: string, entityType: UpdateTagEntityTypeEnum, tagId: string, tagUpdate: TagUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tag>>;
28682
+ updateTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, taskAgentEvalSetUpdate: TaskAgentEvalSetUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentEvalSetResponse>>;
27474
28683
  };
27475
28684
  /**
27476
- * TagsApi - factory interface
28685
+ * TaskAgentEvalsApi - factory interface
27477
28686
  * @export
27478
28687
  */
27479
- export declare const TagsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
28688
+ export declare const TaskAgentEvalsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
27480
28689
  /**
27481
- * Add a tag to multiple supported entities at once.
27482
- * @summary Add Tag to Entities
27483
- * @param {string} orgId The unique identifier of the organization.
27484
- * @param {string} projectId The unique identifier of the project.
27485
- * @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27486
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
27487
- * @param {TagEntityAdd} tagEntityAdd
28690
+ * Create a TaskAgent eval run and enqueue background execution. Callers are responsible for understanding candidate run side effects, external tool or integration mutations, and quota usage before starting an eval.
28691
+ * @summary Start TaskAgent Eval Run
28692
+ * @param {string} orgId The organization ID
28693
+ * @param {string} projectId The project ID
28694
+ * @param {string} taskAgentId The task agent ID
28695
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
27488
28696
  * @param {*} [options] Override http request option.
27489
28697
  * @throws {RequiredError}
27490
28698
  */
27491
- addTagToEntities(orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: any): AxiosPromise<any>;
28699
+ createTaskAgentEvalRun(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalRunCreate: TaskAgentEvalRunCreate, options?: any): AxiosPromise<TaskAgentEvalRunResponse>;
27492
28700
  /**
27493
- * Create a new tag for organizing resources. Tags can be applied to supported entity types: - Tasks - Task revisions - Task shares - Skills - TaskAgent revisions Tags support hierarchical organization using prefixes.
27494
- * @summary Create Tag
27495
- * @param {string} orgId The unique identifier of the organization.
27496
- * @param {string} projectId The unique identifier of the project.
27497
- * @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27498
- * @param {TagCreate} tagCreate
28701
+ * Create a reusable TaskAgent eval set from completed, replayable TaskAgent runs. Reference inputs and outputs are snapshotted for stable future evals but are not exposed in this API version.
28702
+ * @summary Create TaskAgent Eval Set
28703
+ * @param {string} orgId The organization ID
28704
+ * @param {string} projectId The project ID
28705
+ * @param {string} taskAgentId The task agent ID
28706
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
27499
28707
  * @param {*} [options] Override http request option.
27500
28708
  * @throws {RequiredError}
27501
28709
  */
27502
- createTag(orgId: string, projectId: string, entityType: CreateTagEntityTypeEnum, tagCreate: TagCreate, options?: any): AxiosPromise<Tag>;
28710
+ createTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetCreate: TaskAgentEvalSetCreate, options?: any): AxiosPromise<TaskAgentEvalSetResponse>;
27503
28711
  /**
27504
- * Delete a tag and remove it from all resources
27505
- * @summary Delete Tag
27506
- * @param {string} orgId The unique identifier of the organization.
27507
- * @param {string} projectId The unique identifier of the project.
27508
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28712
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
28713
+ * @summary Delete TaskAgent Eval Set
28714
+ * @param {string} orgId The organization ID
28715
+ * @param {string} projectId The project ID
28716
+ * @param {string} taskAgentId The task agent ID
28717
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27509
28718
  * @param {*} [options] Override http request option.
27510
28719
  * @throws {RequiredError}
27511
28720
  */
27512
- deleteTag(orgId: string, projectId: string, tagId: string, options?: any): AxiosPromise<void>;
28721
+ deleteTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, options?: any): AxiosPromise<void>;
27513
28722
  /**
27514
- * Get tag details for the requested entity type.
27515
- * @summary Get Tag
27516
- * @param {string} orgId The unique identifier of the organization.
27517
- * @param {string} projectId The unique identifier of the project.
27518
- * @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27519
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28723
+ * Get TaskAgent eval run detail, including verdicts, aggregate metrics, and per-result run metrics when the underlying source rows still exist. Encrypted reference and candidate output snapshots are not exposed.
28724
+ * @summary Get TaskAgent Eval Run
28725
+ * @param {string} orgId The organization ID
28726
+ * @param {string} projectId The project ID
28727
+ * @param {string} taskAgentId The task agent ID
28728
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
27520
28729
  * @param {*} [options] Override http request option.
27521
28730
  * @throws {RequiredError}
27522
28731
  */
27523
- getTag(orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: any): AxiosPromise<Tag>;
28732
+ getTaskAgentEvalRun(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalRunId: string, options?: any): AxiosPromise<TaskAgentEvalRunDetailResponse>;
27524
28733
  /**
27525
- * List all tags in the project for the requested entity type.
27526
- * @summary List Tags
27527
- * @param {string} orgId The unique identifier of the organization.
27528
- * @param {string} projectId The unique identifier of the project.
27529
- * @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27530
- * @param {number | null} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28734
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
28735
+ * @summary Get TaskAgent Eval Set
28736
+ * @param {string} orgId The organization ID
28737
+ * @param {string} projectId The project ID
28738
+ * @param {string} taskAgentId The task agent ID
28739
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28740
+ * @param {*} [options] Override http request option.
28741
+ * @throws {RequiredError}
28742
+ */
28743
+ getTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, options?: any): AxiosPromise<TaskAgentEvalSetResponse>;
28744
+ /**
28745
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
28746
+ * @summary List TaskAgent Eval Runs
28747
+ * @param {string} orgId The organization ID
28748
+ * @param {string} projectId The project ID
28749
+ * @param {string} taskAgentId The task agent ID
28750
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
27531
28751
  * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
27532
28752
  * @param {*} [options] Override http request option.
27533
28753
  * @throws {RequiredError}
27534
28754
  */
27535
- listTags(orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: any): AxiosPromise<PaginatedResultSetTag>;
28755
+ listTaskAgentEvalRuns(orgId: string, projectId: string, taskAgentId: string, limit?: number, cursor?: string | null, options?: any): AxiosPromise<PaginatedResultSetTaskAgentEvalRunResponse>;
27536
28756
  /**
27537
- * Remove a tag from multiple supported entities at once.
27538
- * @summary Remove Tag from Entities
27539
- * @param {string} orgId The unique identifier of the organization.
27540
- * @param {string} projectId The unique identifier of the project.
27541
- * @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27542
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
27543
- * @param {TagEntityRemove} tagEntityRemove
28757
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
28758
+ * @summary List TaskAgent Eval Sets
28759
+ * @param {string} orgId The organization ID
28760
+ * @param {string} projectId The project ID
28761
+ * @param {string} taskAgentId The task agent ID
28762
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28763
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
27544
28764
  * @param {*} [options] Override http request option.
27545
28765
  * @throws {RequiredError}
27546
28766
  */
27547
- removeTagFromEntities(orgId: string, projectId: string, entityType: RemoveTagFromEntitiesEntityTypeEnum, tagId: string, tagEntityRemove: TagEntityRemove, options?: any): AxiosPromise<any>;
28767
+ listTaskAgentEvalSets(orgId: string, projectId: string, taskAgentId: string, limit?: number, cursor?: string | null, options?: any): AxiosPromise<PaginatedResultSetTaskAgentEvalSetResponse>;
27548
28768
  /**
27549
- * Update tag properties
27550
- * @summary Update Tag
27551
- * @param {string} orgId The unique identifier of the organization.
27552
- * @param {string} projectId The unique identifier of the project.
27553
- * @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27554
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
27555
- * @param {TagUpdate} tagUpdate
28769
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
28770
+ * @summary Update TaskAgent Eval Set
28771
+ * @param {string} orgId The organization ID
28772
+ * @param {string} projectId The project ID
28773
+ * @param {string} taskAgentId The task agent ID
28774
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28775
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
27556
28776
  * @param {*} [options] Override http request option.
27557
28777
  * @throws {RequiredError}
27558
28778
  */
27559
- updateTag(orgId: string, projectId: string, entityType: UpdateTagEntityTypeEnum, tagId: string, tagUpdate: TagUpdate, options?: any): AxiosPromise<Tag>;
28779
+ updateTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, taskAgentEvalSetUpdate: TaskAgentEvalSetUpdate, options?: any): AxiosPromise<TaskAgentEvalSetResponse>;
27560
28780
  };
27561
28781
  /**
27562
- * TagsApi - object-oriented interface
28782
+ * TaskAgentEvalsApi - object-oriented interface
27563
28783
  * @export
27564
- * @class TagsApi
28784
+ * @class TaskAgentEvalsApi
27565
28785
  * @extends {BaseAPI}
27566
28786
  */
27567
- export declare class TagsApi extends BaseAPI {
28787
+ export declare class TaskAgentEvalsApi extends BaseAPI {
27568
28788
  /**
27569
- * Add a tag to multiple supported entities at once.
27570
- * @summary Add Tag to Entities
27571
- * @param {string} orgId The unique identifier of the organization.
27572
- * @param {string} projectId The unique identifier of the project.
27573
- * @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27574
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
27575
- * @param {TagEntityAdd} tagEntityAdd
28789
+ * Create a TaskAgent eval run and enqueue background execution. Callers are responsible for understanding candidate run side effects, external tool or integration mutations, and quota usage before starting an eval.
28790
+ * @summary Start TaskAgent Eval Run
28791
+ * @param {string} orgId The organization ID
28792
+ * @param {string} projectId The project ID
28793
+ * @param {string} taskAgentId The task agent ID
28794
+ * @param {TaskAgentEvalRunCreate} taskAgentEvalRunCreate
27576
28795
  * @param {*} [options] Override http request option.
27577
28796
  * @throws {RequiredError}
27578
- * @memberof TagsApi
28797
+ * @memberof TaskAgentEvalsApi
27579
28798
  */
27580
- addTagToEntities(orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
28799
+ createTaskAgentEvalRun(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalRunCreate: TaskAgentEvalRunCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentEvalRunResponse, any, {}>>;
27581
28800
  /**
27582
- * Create a new tag for organizing resources. Tags can be applied to supported entity types: - Tasks - Task revisions - Task shares - Skills - TaskAgent revisions Tags support hierarchical organization using prefixes.
27583
- * @summary Create Tag
27584
- * @param {string} orgId The unique identifier of the organization.
27585
- * @param {string} projectId The unique identifier of the project.
27586
- * @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27587
- * @param {TagCreate} tagCreate
28801
+ * Create a reusable TaskAgent eval set from completed, replayable TaskAgent runs. Reference inputs and outputs are snapshotted for stable future evals but are not exposed in this API version.
28802
+ * @summary Create TaskAgent Eval Set
28803
+ * @param {string} orgId The organization ID
28804
+ * @param {string} projectId The project ID
28805
+ * @param {string} taskAgentId The task agent ID
28806
+ * @param {TaskAgentEvalSetCreate} taskAgentEvalSetCreate
27588
28807
  * @param {*} [options] Override http request option.
27589
28808
  * @throws {RequiredError}
27590
- * @memberof TagsApi
28809
+ * @memberof TaskAgentEvalsApi
27591
28810
  */
27592
- createTag(orgId: string, projectId: string, entityType: CreateTagEntityTypeEnum, tagCreate: TagCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any, {}>>;
28811
+ createTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetCreate: TaskAgentEvalSetCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentEvalSetResponse, any, {}>>;
27593
28812
  /**
27594
- * Delete a tag and remove it from all resources
27595
- * @summary Delete Tag
27596
- * @param {string} orgId The unique identifier of the organization.
27597
- * @param {string} projectId The unique identifier of the project.
27598
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28813
+ * Delete a TaskAgent eval set when it is not referenced by a pending or running eval run.
28814
+ * @summary Delete TaskAgent Eval Set
28815
+ * @param {string} orgId The organization ID
28816
+ * @param {string} projectId The project ID
28817
+ * @param {string} taskAgentId The task agent ID
28818
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
27599
28819
  * @param {*} [options] Override http request option.
27600
28820
  * @throws {RequiredError}
27601
- * @memberof TagsApi
28821
+ * @memberof TaskAgentEvalsApi
27602
28822
  */
27603
- deleteTag(orgId: string, projectId: string, tagId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
28823
+ deleteTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
27604
28824
  /**
27605
- * Get tag details for the requested entity type.
27606
- * @summary Get Tag
27607
- * @param {string} orgId The unique identifier of the organization.
27608
- * @param {string} projectId The unique identifier of the project.
27609
- * @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27610
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
28825
+ * Get TaskAgent eval run detail, including verdicts, aggregate metrics, and per-result run metrics when the underlying source rows still exist. Encrypted reference and candidate output snapshots are not exposed.
28826
+ * @summary Get TaskAgent Eval Run
28827
+ * @param {string} orgId The organization ID
28828
+ * @param {string} projectId The project ID
28829
+ * @param {string} taskAgentId The task agent ID
28830
+ * @param {string} taskAgentEvalRunId The TaskAgent eval run ID
27611
28831
  * @param {*} [options] Override http request option.
27612
28832
  * @throws {RequiredError}
27613
- * @memberof TagsApi
28833
+ * @memberof TaskAgentEvalsApi
27614
28834
  */
27615
- getTag(orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any, {}>>;
28835
+ getTaskAgentEvalRun(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalRunId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentEvalRunDetailResponse, any, {}>>;
27616
28836
  /**
27617
- * List all tags in the project for the requested entity type.
27618
- * @summary List Tags
27619
- * @param {string} orgId The unique identifier of the organization.
27620
- * @param {string} projectId The unique identifier of the project.
27621
- * @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27622
- * @param {number | null} [pageLimit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28837
+ * Get one TaskAgent eval set by ID. The response includes preserved source TaskAgent run IDs but not encrypted snapshot text.
28838
+ * @summary Get TaskAgent Eval Set
28839
+ * @param {string} orgId The organization ID
28840
+ * @param {string} projectId The project ID
28841
+ * @param {string} taskAgentId The task agent ID
28842
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28843
+ * @param {*} [options] Override http request option.
28844
+ * @throws {RequiredError}
28845
+ * @memberof TaskAgentEvalsApi
28846
+ */
28847
+ getTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentEvalSetResponse, any, {}>>;
28848
+ /**
28849
+ * List TaskAgent eval runs visible to the caller. Viewers without full run visibility only see eval runs they created.
28850
+ * @summary List TaskAgent Eval Runs
28851
+ * @param {string} orgId The organization ID
28852
+ * @param {string} projectId The project ID
28853
+ * @param {string} taskAgentId The task agent ID
28854
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
27623
28855
  * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
27624
28856
  * @param {*} [options] Override http request option.
27625
28857
  * @throws {RequiredError}
27626
- * @memberof TagsApi
28858
+ * @memberof TaskAgentEvalsApi
27627
28859
  */
27628
- listTags(orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedResultSetTag, any, {}>>;
28860
+ listTaskAgentEvalRuns(orgId: string, projectId: string, taskAgentId: string, limit?: number, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedResultSetTaskAgentEvalRunResponse, any, {}>>;
27629
28861
  /**
27630
- * Remove a tag from multiple supported entities at once.
27631
- * @summary Remove Tag from Entities
27632
- * @param {string} orgId The unique identifier of the organization.
27633
- * @param {string} projectId The unique identifier of the project.
27634
- * @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27635
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
27636
- * @param {TagEntityRemove} tagEntityRemove
28862
+ * List TaskAgent eval sets visible to the caller. Viewers without full run visibility only see eval artifacts they created.
28863
+ * @summary List TaskAgent Eval Sets
28864
+ * @param {string} orgId The organization ID
28865
+ * @param {string} projectId The project ID
28866
+ * @param {string} taskAgentId The task agent ID
28867
+ * @param {number} [limit] The maximum number of items to return per page. Defaults to &#x60;100&#x60; if not specified.
28868
+ * @param {string | null} [cursor] A cursor for pagination. Use the &#x60;next_cursor&#x60; value from the previous response to get the next page of results.
27637
28869
  * @param {*} [options] Override http request option.
27638
28870
  * @throws {RequiredError}
27639
- * @memberof TagsApi
28871
+ * @memberof TaskAgentEvalsApi
27640
28872
  */
27641
- removeTagFromEntities(orgId: string, projectId: string, entityType: RemoveTagFromEntitiesEntityTypeEnum, tagId: string, tagEntityRemove: TagEntityRemove, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
28873
+ listTaskAgentEvalSets(orgId: string, projectId: string, taskAgentId: string, limit?: number, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedResultSetTaskAgentEvalSetResponse, any, {}>>;
27642
28874
  /**
27643
- * Update tag properties
27644
- * @summary Update Tag
27645
- * @param {string} orgId The unique identifier of the organization.
27646
- * @param {string} projectId The unique identifier of the project.
27647
- * @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (&#x60;task&#x60;, &#x60;task_revision&#x60;, &#x60;task_share&#x60;, &#x60;skill&#x60;, or &#x60;task_agent_revision&#x60;).
27648
- * @param {string} tagId The unique identifier (UUID) of the tag to operate on.
27649
- * @param {TagUpdate} tagUpdate
28875
+ * Update a TaskAgent eval set name, description, or reference runs. Replacing reference runs creates fresh encrypted snapshots and preserves the submitted order.
28876
+ * @summary Update TaskAgent Eval Set
28877
+ * @param {string} orgId The organization ID
28878
+ * @param {string} projectId The project ID
28879
+ * @param {string} taskAgentId The task agent ID
28880
+ * @param {string} taskAgentEvalSetId The TaskAgent eval set ID
28881
+ * @param {TaskAgentEvalSetUpdate} taskAgentEvalSetUpdate
27650
28882
  * @param {*} [options] Override http request option.
27651
28883
  * @throws {RequiredError}
27652
- * @memberof TagsApi
28884
+ * @memberof TaskAgentEvalsApi
27653
28885
  */
27654
- updateTag(orgId: string, projectId: string, entityType: UpdateTagEntityTypeEnum, tagId: string, tagUpdate: TagUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any, {}>>;
28886
+ updateTaskAgentEvalSet(orgId: string, projectId: string, taskAgentId: string, taskAgentEvalSetId: string, taskAgentEvalSetUpdate: TaskAgentEvalSetUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentEvalSetResponse, any, {}>>;
27655
28887
  }
27656
- /**
27657
- * @export
27658
- */
27659
- export declare const AddTagToEntitiesEntityTypeEnum: {
27660
- readonly Task: "task";
27661
- readonly TaskRevision: "task_revision";
27662
- readonly TaskShare: "task_share";
27663
- readonly Skill: "skill";
27664
- readonly TaskAgentRevision: "task_agent_revision";
27665
- };
27666
- export type AddTagToEntitiesEntityTypeEnum = typeof AddTagToEntitiesEntityTypeEnum[keyof typeof AddTagToEntitiesEntityTypeEnum];
27667
- /**
27668
- * @export
27669
- */
27670
- export declare const CreateTagEntityTypeEnum: {
27671
- readonly Task: "task";
27672
- readonly TaskRevision: "task_revision";
27673
- readonly TaskShare: "task_share";
27674
- readonly Skill: "skill";
27675
- readonly TaskAgentRevision: "task_agent_revision";
27676
- };
27677
- export type CreateTagEntityTypeEnum = typeof CreateTagEntityTypeEnum[keyof typeof CreateTagEntityTypeEnum];
27678
- /**
27679
- * @export
27680
- */
27681
- export declare const GetTagEntityTypeEnum: {
27682
- readonly Task: "task";
27683
- readonly TaskRevision: "task_revision";
27684
- readonly TaskShare: "task_share";
27685
- readonly Skill: "skill";
27686
- readonly TaskAgentRevision: "task_agent_revision";
27687
- };
27688
- export type GetTagEntityTypeEnum = typeof GetTagEntityTypeEnum[keyof typeof GetTagEntityTypeEnum];
27689
- /**
27690
- * @export
27691
- */
27692
- export declare const ListTagsEntityTypeEnum: {
27693
- readonly Task: "task";
27694
- readonly TaskRevision: "task_revision";
27695
- readonly TaskShare: "task_share";
27696
- readonly Skill: "skill";
27697
- readonly TaskAgentRevision: "task_agent_revision";
27698
- };
27699
- export type ListTagsEntityTypeEnum = typeof ListTagsEntityTypeEnum[keyof typeof ListTagsEntityTypeEnum];
27700
- /**
27701
- * @export
27702
- */
27703
- export declare const RemoveTagFromEntitiesEntityTypeEnum: {
27704
- readonly Task: "task";
27705
- readonly TaskRevision: "task_revision";
27706
- readonly TaskShare: "task_share";
27707
- readonly Skill: "skill";
27708
- readonly TaskAgentRevision: "task_agent_revision";
27709
- };
27710
- export type RemoveTagFromEntitiesEntityTypeEnum = typeof RemoveTagFromEntitiesEntityTypeEnum[keyof typeof RemoveTagFromEntitiesEntityTypeEnum];
27711
- /**
27712
- * @export
27713
- */
27714
- export declare const UpdateTagEntityTypeEnum: {
27715
- readonly Task: "task";
27716
- readonly TaskRevision: "task_revision";
27717
- readonly TaskShare: "task_share";
27718
- readonly Skill: "skill";
27719
- readonly TaskAgentRevision: "task_agent_revision";
27720
- };
27721
- export type UpdateTagEntityTypeEnum = typeof UpdateTagEntityTypeEnum[keyof typeof UpdateTagEntityTypeEnum];
27722
28888
  /**
27723
28889
  * TaskAgentSharesApi - axios parameter creator
27724
28890
  * @export
27725
28891
  */
27726
28892
  export declare const TaskAgentSharesApiAxiosParamCreator: (configuration?: Configuration) => {
27727
28893
  /**
27728
- * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
28894
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server. MCP-backed Task-tool revisions are cloned by reusing compatible target-project MCP server/tool metadata or copying non-secret metadata. MCP credentials and auth_config are never copied. Auth-required Task-tool MCP dependencies may clone successfully with `runnable=false` and setup-required dependency report entries.
27729
28895
  * @summary Clone Shared TaskAgent
27730
28896
  * @param {string} shortId TaskAgent share short ID
27731
28897
  * @param {string} orgId The organization ID
@@ -27735,7 +28901,7 @@ export declare const TaskAgentSharesApiAxiosParamCreator: (configuration?: Confi
27735
28901
  */
27736
28902
  cloneSharedTaskAgent: (shortId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27737
28903
  /**
27738
- * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
28904
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters. TaskAgent shares cannot include Task-tool revisions backed by RAG collections, including disabled Task-tool attachments, because those collections are project-local and are not cloned. TaskAgent shares also cannot include deleted Task-tool dependencies.
27739
28905
  * @summary Create TaskAgent Share
27740
28906
  * @param {string} orgId The organization ID
27741
28907
  * @param {string} projectId The project ID
@@ -27796,7 +28962,7 @@ export declare const TaskAgentSharesApiAxiosParamCreator: (configuration?: Confi
27796
28962
  */
27797
28963
  export declare const TaskAgentSharesApiFp: (configuration?: Configuration) => {
27798
28964
  /**
27799
- * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
28965
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server. MCP-backed Task-tool revisions are cloned by reusing compatible target-project MCP server/tool metadata or copying non-secret metadata. MCP credentials and auth_config are never copied. Auth-required Task-tool MCP dependencies may clone successfully with `runnable=false` and setup-required dependency report entries.
27800
28966
  * @summary Clone Shared TaskAgent
27801
28967
  * @param {string} shortId TaskAgent share short ID
27802
28968
  * @param {string} orgId The organization ID
@@ -27806,7 +28972,7 @@ export declare const TaskAgentSharesApiFp: (configuration?: Configuration) => {
27806
28972
  */
27807
28973
  cloneSharedTaskAgent(shortId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentCloneResult>>;
27808
28974
  /**
27809
- * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
28975
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters. TaskAgent shares cannot include Task-tool revisions backed by RAG collections, including disabled Task-tool attachments, because those collections are project-local and are not cloned. TaskAgent shares also cannot include deleted Task-tool dependencies.
27810
28976
  * @summary Create TaskAgent Share
27811
28977
  * @param {string} orgId The organization ID
27812
28978
  * @param {string} projectId The project ID
@@ -27867,7 +29033,7 @@ export declare const TaskAgentSharesApiFp: (configuration?: Configuration) => {
27867
29033
  */
27868
29034
  export declare const TaskAgentSharesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
27869
29035
  /**
27870
- * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
29036
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server. MCP-backed Task-tool revisions are cloned by reusing compatible target-project MCP server/tool metadata or copying non-secret metadata. MCP credentials and auth_config are never copied. Auth-required Task-tool MCP dependencies may clone successfully with `runnable=false` and setup-required dependency report entries.
27871
29037
  * @summary Clone Shared TaskAgent
27872
29038
  * @param {string} shortId TaskAgent share short ID
27873
29039
  * @param {string} orgId The organization ID
@@ -27877,7 +29043,7 @@ export declare const TaskAgentSharesApiFactory: (configuration?: Configuration,
27877
29043
  */
27878
29044
  cloneSharedTaskAgent(shortId: string, orgId: string, projectId: string, options?: any): AxiosPromise<TaskAgentCloneResult>;
27879
29045
  /**
27880
- * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
29046
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters. TaskAgent shares cannot include Task-tool revisions backed by RAG collections, including disabled Task-tool attachments, because those collections are project-local and are not cloned. TaskAgent shares also cannot include deleted Task-tool dependencies.
27881
29047
  * @summary Create TaskAgent Share
27882
29048
  * @param {string} orgId The organization ID
27883
29049
  * @param {string} projectId The project ID
@@ -27940,7 +29106,7 @@ export declare const TaskAgentSharesApiFactory: (configuration?: Configuration,
27940
29106
  */
27941
29107
  export declare class TaskAgentSharesApi extends BaseAPI {
27942
29108
  /**
27943
- * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server.
29109
+ * Clone a shared TaskAgent revision into the target project. Requires `project:create_task_agent` on the target project. The clone path commits new database rows before writing IAM relationships, never copies source IAM relationships, and conditionally checks dependency-specific create permissions before cloning Tasks, Skills, integrations, or MCP servers. The response includes a dependency report. `runnable=false` means at least one dependency requires setup, such as reauthorizing a copied integration or MCP server. MCP-backed Task-tool revisions are cloned by reusing compatible target-project MCP server/tool metadata or copying non-secret metadata. MCP credentials and auth_config are never copied. Auth-required Task-tool MCP dependencies may clone successfully with `runnable=false` and setup-required dependency report entries.
27944
29110
  * @summary Clone Shared TaskAgent
27945
29111
  * @param {string} shortId TaskAgent share short ID
27946
29112
  * @param {string} orgId The organization ID
@@ -27951,7 +29117,7 @@ export declare class TaskAgentSharesApi extends BaseAPI {
27951
29117
  */
27952
29118
  cloneSharedTaskAgent(shortId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentCloneResult, any, {}>>;
27953
29119
  /**
27954
- * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters.
29120
+ * Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters. TaskAgent shares cannot include Task-tool revisions backed by RAG collections, including disabled Task-tool attachments, because those collections are project-local and are not cloned. TaskAgent shares also cannot include deleted Task-tool dependencies.
27955
29121
  * @summary Create TaskAgent Share
27956
29122
  * @param {string} orgId The organization ID
27957
29123
  * @param {string} projectId The project ID
@@ -30971,7 +32137,7 @@ export declare class TaskMCPToolsApi extends BaseAPI {
30971
32137
  */
30972
32138
  export declare const TasksApiAxiosParamCreator: (configuration?: Configuration) => {
30973
32139
  /**
30974
- * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight Requires create_task permission on the target project.
32140
+ * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight MCP-backed Task revisions are cloned by reusing a compatible target-project MCP server or copying non-secret MCP server/tool metadata. MCP credentials and auth_config are never copied. Direct Task clone rejects auth-required MCP dependencies with 422 until this response model can represent setup-required clones. Requires create_task permission on the target project.
30975
32141
  * @summary Clone Shared Task
30976
32142
  * @param {string} shortId The unique share link identifier
30977
32143
  * @param {string} orgId The unique identifier of the organization.
@@ -30991,7 +32157,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
30991
32157
  */
30992
32158
  createTask: (orgId: string, projectId: string, taskCreate: TaskCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30993
32159
  /**
30994
- * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility Share links are perfect for demos, external testing, and public task access.
32160
+ * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility RAG-backed Task revisions are not currently shareable because their collections are project-local. MCP-backed Task revisions can be shared; clone copies or reuses MCP server and tool metadata without copying credentials.
30995
32161
  * @summary Create Task Share
30996
32162
  * @param {string} orgId The unique identifier of the organization.
30997
32163
  * @param {string} projectId The unique identifier of the project.
@@ -31002,7 +32168,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
31002
32168
  */
31003
32169
  createTaskShare: (orgId: string, projectId: string, taskId: string, taskShareCreate: TaskShareCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31004
32170
  /**
31005
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
32171
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
31006
32172
  * @summary Delete Task
31007
32173
  * @param {string} orgId The unique identifier of the organization.
31008
32174
  * @param {string} projectId The unique identifier of the project.
@@ -31012,7 +32178,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
31012
32178
  */
31013
32179
  deleteTask: (orgId: string, projectId: string, taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31014
32180
  /**
31015
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
32181
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
31016
32182
  * @summary Delete Task
31017
32183
  * @param {string} orgId The unique identifier of the organization.
31018
32184
  * @param {string} projectId The unique identifier of the project.
@@ -31325,7 +32491,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
31325
32491
  */
31326
32492
  export declare const TasksApiFp: (configuration?: Configuration) => {
31327
32493
  /**
31328
- * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight Requires create_task permission on the target project.
32494
+ * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight MCP-backed Task revisions are cloned by reusing a compatible target-project MCP server or copying non-secret MCP server/tool metadata. MCP credentials and auth_config are never copied. Direct Task clone rejects auth-required MCP dependencies with 422 until this response model can represent setup-required clones. Requires create_task permission on the target project.
31329
32495
  * @summary Clone Shared Task
31330
32496
  * @param {string} shortId The unique share link identifier
31331
32497
  * @param {string} orgId The unique identifier of the organization.
@@ -31345,7 +32511,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
31345
32511
  */
31346
32512
  createTask(orgId: string, projectId: string, taskCreate: TaskCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Task>>;
31347
32513
  /**
31348
- * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility Share links are perfect for demos, external testing, and public task access.
32514
+ * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility RAG-backed Task revisions are not currently shareable because their collections are project-local. MCP-backed Task revisions can be shared; clone copies or reuses MCP server and tool metadata without copying credentials.
31349
32515
  * @summary Create Task Share
31350
32516
  * @param {string} orgId The unique identifier of the organization.
31351
32517
  * @param {string} projectId The unique identifier of the project.
@@ -31356,7 +32522,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
31356
32522
  */
31357
32523
  createTaskShare(orgId: string, projectId: string, taskId: string, taskShareCreate: TaskShareCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskShare>>;
31358
32524
  /**
31359
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
32525
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
31360
32526
  * @summary Delete Task
31361
32527
  * @param {string} orgId The unique identifier of the organization.
31362
32528
  * @param {string} projectId The unique identifier of the project.
@@ -31366,7 +32532,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
31366
32532
  */
31367
32533
  deleteTask(orgId: string, projectId: string, taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
31368
32534
  /**
31369
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
32535
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
31370
32536
  * @summary Delete Task
31371
32537
  * @param {string} orgId The unique identifier of the organization.
31372
32538
  * @param {string} projectId The unique identifier of the project.
@@ -31679,7 +32845,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
31679
32845
  */
31680
32846
  export declare const TasksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
31681
32847
  /**
31682
- * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight Requires create_task permission on the target project.
32848
+ * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight MCP-backed Task revisions are cloned by reusing a compatible target-project MCP server or copying non-secret MCP server/tool metadata. MCP credentials and auth_config are never copied. Direct Task clone rejects auth-required MCP dependencies with 422 until this response model can represent setup-required clones. Requires create_task permission on the target project.
31683
32849
  * @summary Clone Shared Task
31684
32850
  * @param {string} shortId The unique share link identifier
31685
32851
  * @param {string} orgId The unique identifier of the organization.
@@ -31699,7 +32865,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
31699
32865
  */
31700
32866
  createTask(orgId: string, projectId: string, taskCreate: TaskCreate, options?: any): AxiosPromise<Task>;
31701
32867
  /**
31702
- * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility Share links are perfect for demos, external testing, and public task access.
32868
+ * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility RAG-backed Task revisions are not currently shareable because their collections are project-local. MCP-backed Task revisions can be shared; clone copies or reuses MCP server and tool metadata without copying credentials.
31703
32869
  * @summary Create Task Share
31704
32870
  * @param {string} orgId The unique identifier of the organization.
31705
32871
  * @param {string} projectId The unique identifier of the project.
@@ -31710,7 +32876,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
31710
32876
  */
31711
32877
  createTaskShare(orgId: string, projectId: string, taskId: string, taskShareCreate: TaskShareCreate, options?: any): AxiosPromise<TaskShare>;
31712
32878
  /**
31713
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
32879
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
31714
32880
  * @summary Delete Task
31715
32881
  * @param {string} orgId The unique identifier of the organization.
31716
32882
  * @param {string} projectId The unique identifier of the project.
@@ -31720,7 +32886,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
31720
32886
  */
31721
32887
  deleteTask(orgId: string, projectId: string, taskId: string, options?: any): AxiosPromise<any>;
31722
32888
  /**
31723
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
32889
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
31724
32890
  * @summary Delete Task
31725
32891
  * @param {string} orgId The unique identifier of the organization.
31726
32892
  * @param {string} projectId The unique identifier of the project.
@@ -32035,7 +33201,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
32035
33201
  */
32036
33202
  export declare class TasksApi extends BaseAPI {
32037
33203
  /**
32038
- * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight Requires create_task permission on the target project.
33204
+ * Clone a shared task into a specified project. This endpoint allows authenticated users to clone a shared task into their own project. The cloned task will: - Copy all task settings (name, description, configuration) - Copy only the shared revision (not all revisions) - Automatically resolve name conflicts by appending (2), (3), etc. - Set cloned_from_task_revision_id to maintain a link to the original - Be set as active with 100% weight MCP-backed Task revisions are cloned by reusing a compatible target-project MCP server or copying non-secret MCP server/tool metadata. MCP credentials and auth_config are never copied. Direct Task clone rejects auth-required MCP dependencies with 422 until this response model can represent setup-required clones. Requires create_task permission on the target project.
32039
33205
  * @summary Clone Shared Task
32040
33206
  * @param {string} shortId The unique share link identifier
32041
33207
  * @param {string} orgId The unique identifier of the organization.
@@ -32057,7 +33223,7 @@ export declare class TasksApi extends BaseAPI {
32057
33223
  */
32058
33224
  createTask(orgId: string, projectId: string, taskCreate: TaskCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Task, any, {}>>;
32059
33225
  /**
32060
- * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility Share links are perfect for demos, external testing, and public task access.
33226
+ * Create a shareable link for a task. Share links allow external users to: - View task details without authentication - Run tasks with pre-configured inputs - Access task results Configure share settings: - Expiration time (in hours) - Usage limits (maximum number of uses) - Custom short link identifier (optional) - Allowed inputs - Output visibility RAG-backed Task revisions are not currently shareable because their collections are project-local. MCP-backed Task revisions can be shared; clone copies or reuses MCP server and tool metadata without copying credentials.
32061
33227
  * @summary Create Task Share
32062
33228
  * @param {string} orgId The unique identifier of the organization.
32063
33229
  * @param {string} projectId The unique identifier of the project.
@@ -32069,7 +33235,7 @@ export declare class TasksApi extends BaseAPI {
32069
33235
  */
32070
33236
  createTaskShare(orgId: string, projectId: string, taskId: string, taskShareCreate: TaskShareCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskShare, any, {}>>;
32071
33237
  /**
32072
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
33238
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
32073
33239
  * @summary Delete Task
32074
33240
  * @param {string} orgId The unique identifier of the organization.
32075
33241
  * @param {string} projectId The unique identifier of the project.
@@ -32080,7 +33246,7 @@ export declare class TasksApi extends BaseAPI {
32080
33246
  */
32081
33247
  deleteTask(orgId: string, projectId: string, taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
32082
33248
  /**
32083
- * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. **Note**: You must have edit permission on the task to delete it.
33249
+ * Delete a task and all its associated data. This operation will permanently remove: - The task configuration - All task runs and their outputs - Associated documents and files - Task history and analytics The deletion is irreversible. Ensure you have exported any important data before deletion. Tasks used by an active TaskAgent share cannot be deleted until that TaskAgent share is revoked. **Note**: You must have edit permission on the task to delete it.
32084
33250
  * @summary Delete Task
32085
33251
  * @param {string} orgId The unique identifier of the organization.
32086
33252
  * @param {string} projectId The unique identifier of the project.