@rightbrain/brain-api-client 0.0.1-dev.148.1322688 → 0.0.1-dev.150.56bd32f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +548 -172
- package/dist/api.d.ts +432 -161
- package/dist/api.js +321 -89
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -10131,6 +10131,12 @@ export interface ScheduleTriggerCreate {
|
|
|
10131
10131
|
* @memberof ScheduleTriggerCreate
|
|
10132
10132
|
*/
|
|
10133
10133
|
'target_id': string;
|
|
10134
|
+
/**
|
|
10135
|
+
*
|
|
10136
|
+
* @type {string}
|
|
10137
|
+
* @memberof ScheduleTriggerCreate
|
|
10138
|
+
*/
|
|
10139
|
+
'task_agent_revision_id'?: string | null;
|
|
10134
10140
|
}
|
|
10135
10141
|
/**
|
|
10136
10142
|
*
|
|
@@ -10310,6 +10316,12 @@ export interface ScheduleTriggerListItem {
|
|
|
10310
10316
|
* @memberof ScheduleTriggerListItem
|
|
10311
10317
|
*/
|
|
10312
10318
|
'target_id': string;
|
|
10319
|
+
/**
|
|
10320
|
+
*
|
|
10321
|
+
* @type {string}
|
|
10322
|
+
* @memberof ScheduleTriggerListItem
|
|
10323
|
+
*/
|
|
10324
|
+
'task_agent_revision_id'?: string | null;
|
|
10313
10325
|
/**
|
|
10314
10326
|
*
|
|
10315
10327
|
* @type {string}
|
|
@@ -10377,6 +10389,12 @@ export interface ScheduleTriggerResponse {
|
|
|
10377
10389
|
* @memberof ScheduleTriggerResponse
|
|
10378
10390
|
*/
|
|
10379
10391
|
'target_id': string;
|
|
10392
|
+
/**
|
|
10393
|
+
*
|
|
10394
|
+
* @type {string}
|
|
10395
|
+
* @memberof ScheduleTriggerResponse
|
|
10396
|
+
*/
|
|
10397
|
+
'task_agent_revision_id'?: string | null;
|
|
10380
10398
|
/**
|
|
10381
10399
|
*
|
|
10382
10400
|
* @type {string}
|
|
@@ -10508,6 +10526,12 @@ export interface ScheduleTriggerUpdate {
|
|
|
10508
10526
|
* @memberof ScheduleTriggerUpdate
|
|
10509
10527
|
*/
|
|
10510
10528
|
'expires_at'?: string | null;
|
|
10529
|
+
/**
|
|
10530
|
+
*
|
|
10531
|
+
* @type {string}
|
|
10532
|
+
* @memberof ScheduleTriggerUpdate
|
|
10533
|
+
*/
|
|
10534
|
+
'task_agent_revision_id'?: string | null;
|
|
10511
10535
|
}
|
|
10512
10536
|
/**
|
|
10513
10537
|
*
|
|
@@ -11281,7 +11305,7 @@ export interface Tag {
|
|
|
11281
11305
|
*/
|
|
11282
11306
|
'parent_id'?: string | null;
|
|
11283
11307
|
/**
|
|
11284
|
-
* The type of entity this tag applies to (task, task_revision, task_share, or
|
|
11308
|
+
* The type of entity this tag applies to (task, task_revision, task_share, skill, or task_agent_revision)
|
|
11285
11309
|
* @type {string}
|
|
11286
11310
|
* @memberof Tag
|
|
11287
11311
|
*/
|
|
@@ -11334,6 +11358,7 @@ export declare const TagEntityTypeEnum: {
|
|
|
11334
11358
|
readonly TaskRevision: "task_revision";
|
|
11335
11359
|
readonly TaskShare: "task_share";
|
|
11336
11360
|
readonly Skill: "skill";
|
|
11361
|
+
readonly TaskAgentRevision: "task_agent_revision";
|
|
11337
11362
|
};
|
|
11338
11363
|
export type TagEntityTypeEnum = typeof TagEntityTypeEnum[keyof typeof TagEntityTypeEnum];
|
|
11339
11364
|
/**
|
|
@@ -12156,96 +12181,16 @@ export interface TaskAgentRead {
|
|
|
12156
12181
|
'name': string;
|
|
12157
12182
|
/**
|
|
12158
12183
|
*
|
|
12159
|
-
* @type {
|
|
12160
|
-
* @memberof TaskAgentRead
|
|
12161
|
-
*/
|
|
12162
|
-
'description': string | null;
|
|
12163
|
-
/**
|
|
12164
|
-
*
|
|
12165
|
-
* @type {string}
|
|
12166
|
-
* @memberof TaskAgentRead
|
|
12167
|
-
*/
|
|
12168
|
-
'instruction': string;
|
|
12169
|
-
/**
|
|
12170
|
-
*
|
|
12171
|
-
* @type {TaskAgentMode}
|
|
12172
|
-
* @memberof TaskAgentRead
|
|
12173
|
-
*/
|
|
12174
|
-
'mode': TaskAgentMode;
|
|
12175
|
-
/**
|
|
12176
|
-
*
|
|
12177
|
-
* @type {string}
|
|
12178
|
-
* @memberof TaskAgentRead
|
|
12179
|
-
*/
|
|
12180
|
-
'llm_model_id': string | null;
|
|
12181
|
-
/**
|
|
12182
|
-
*
|
|
12183
|
-
* @type {LLMModel}
|
|
12184
|
-
* @memberof TaskAgentRead
|
|
12185
|
-
*/
|
|
12186
|
-
'llm_model': LLMModel;
|
|
12187
|
-
/**
|
|
12188
|
-
*
|
|
12189
|
-
* @type {string}
|
|
12190
|
-
* @memberof TaskAgentRead
|
|
12191
|
-
*/
|
|
12192
|
-
'fallback_llm_model_id': string | null;
|
|
12193
|
-
/**
|
|
12194
|
-
*
|
|
12195
|
-
* @type {LLMModel}
|
|
12196
|
-
* @memberof TaskAgentRead
|
|
12197
|
-
*/
|
|
12198
|
-
'fallback_llm_model': LLMModel;
|
|
12199
|
-
/**
|
|
12200
|
-
*
|
|
12201
|
-
* @type {Array<TaskAgentTaskToolRead>}
|
|
12202
|
-
* @memberof TaskAgentRead
|
|
12203
|
-
*/
|
|
12204
|
-
'task_tools'?: Array<TaskAgentTaskToolRead>;
|
|
12205
|
-
/**
|
|
12206
|
-
*
|
|
12207
|
-
* @type {Array<TaskAgentIntegrationRead>}
|
|
12208
|
-
* @memberof TaskAgentRead
|
|
12209
|
-
*/
|
|
12210
|
-
'integrations'?: Array<TaskAgentIntegrationRead>;
|
|
12211
|
-
/**
|
|
12212
|
-
*
|
|
12213
|
-
* @type {Array<TaskAgentSkillRead>}
|
|
12214
|
-
* @memberof TaskAgentRead
|
|
12215
|
-
*/
|
|
12216
|
-
'skills'?: Array<TaskAgentSkillRead>;
|
|
12217
|
-
/**
|
|
12218
|
-
*
|
|
12219
|
-
* @type {Array<TaskAgentMcpServerRead>}
|
|
12220
|
-
* @memberof TaskAgentRead
|
|
12221
|
-
*/
|
|
12222
|
-
'mcp_servers'?: Array<TaskAgentMcpServerRead>;
|
|
12223
|
-
/**
|
|
12224
|
-
*
|
|
12225
|
-
* @type {Array<TaskAgentRegisteredToolRead>}
|
|
12226
|
-
* @memberof TaskAgentRead
|
|
12227
|
-
*/
|
|
12228
|
-
'registered_tools'?: Array<TaskAgentRegisteredToolRead>;
|
|
12229
|
-
/**
|
|
12230
|
-
*
|
|
12231
|
-
* @type {string}
|
|
12232
|
-
* @memberof TaskAgentRead
|
|
12233
|
-
*/
|
|
12234
|
-
'memory_strategy'?: string | null;
|
|
12235
|
-
/**
|
|
12236
|
-
*
|
|
12237
|
-
* @type {{ [key: string]: any; }}
|
|
12184
|
+
* @type {TaskAgentRevisionSummary}
|
|
12238
12185
|
* @memberof TaskAgentRead
|
|
12239
12186
|
*/
|
|
12240
|
-
'
|
|
12241
|
-
[key: string]: any;
|
|
12242
|
-
} | null;
|
|
12187
|
+
'active_revision'?: TaskAgentRevisionSummary;
|
|
12243
12188
|
/**
|
|
12244
12189
|
*
|
|
12245
|
-
* @type {
|
|
12190
|
+
* @type {Array<TaskAgentRevisionRead>}
|
|
12246
12191
|
* @memberof TaskAgentRead
|
|
12247
12192
|
*/
|
|
12248
|
-
'
|
|
12193
|
+
'revisions'?: Array<TaskAgentRevisionRead>;
|
|
12249
12194
|
/**
|
|
12250
12195
|
*
|
|
12251
12196
|
* @type {string}
|
|
@@ -12361,6 +12306,172 @@ export declare const TaskAgentRegisteredToolReadProvisionSourceEnum: {
|
|
|
12361
12306
|
readonly SkillCapability: "skill_capability";
|
|
12362
12307
|
};
|
|
12363
12308
|
export type TaskAgentRegisteredToolReadProvisionSourceEnum = typeof TaskAgentRegisteredToolReadProvisionSourceEnum[keyof typeof TaskAgentRegisteredToolReadProvisionSourceEnum];
|
|
12309
|
+
/**
|
|
12310
|
+
* Full TaskAgent revision read schema.
|
|
12311
|
+
* @export
|
|
12312
|
+
* @interface TaskAgentRevisionRead
|
|
12313
|
+
*/
|
|
12314
|
+
export interface TaskAgentRevisionRead {
|
|
12315
|
+
/**
|
|
12316
|
+
*
|
|
12317
|
+
* @type {string}
|
|
12318
|
+
* @memberof TaskAgentRevisionRead
|
|
12319
|
+
*/
|
|
12320
|
+
'id': string;
|
|
12321
|
+
/**
|
|
12322
|
+
*
|
|
12323
|
+
* @type {string}
|
|
12324
|
+
* @memberof TaskAgentRevisionRead
|
|
12325
|
+
*/
|
|
12326
|
+
'task_agent_id': string;
|
|
12327
|
+
/**
|
|
12328
|
+
*
|
|
12329
|
+
* @type {string}
|
|
12330
|
+
* @memberof TaskAgentRevisionRead
|
|
12331
|
+
*/
|
|
12332
|
+
'description': string | null;
|
|
12333
|
+
/**
|
|
12334
|
+
*
|
|
12335
|
+
* @type {string}
|
|
12336
|
+
* @memberof TaskAgentRevisionRead
|
|
12337
|
+
*/
|
|
12338
|
+
'instruction': string;
|
|
12339
|
+
/**
|
|
12340
|
+
*
|
|
12341
|
+
* @type {TaskAgentMode}
|
|
12342
|
+
* @memberof TaskAgentRevisionRead
|
|
12343
|
+
*/
|
|
12344
|
+
'mode': TaskAgentMode;
|
|
12345
|
+
/**
|
|
12346
|
+
*
|
|
12347
|
+
* @type {string}
|
|
12348
|
+
* @memberof TaskAgentRevisionRead
|
|
12349
|
+
*/
|
|
12350
|
+
'llm_model_id': string | null;
|
|
12351
|
+
/**
|
|
12352
|
+
*
|
|
12353
|
+
* @type {LLMModel}
|
|
12354
|
+
* @memberof TaskAgentRevisionRead
|
|
12355
|
+
*/
|
|
12356
|
+
'llm_model'?: LLMModel;
|
|
12357
|
+
/**
|
|
12358
|
+
*
|
|
12359
|
+
* @type {string}
|
|
12360
|
+
* @memberof TaskAgentRevisionRead
|
|
12361
|
+
*/
|
|
12362
|
+
'fallback_llm_model_id': string | null;
|
|
12363
|
+
/**
|
|
12364
|
+
*
|
|
12365
|
+
* @type {LLMModel}
|
|
12366
|
+
* @memberof TaskAgentRevisionRead
|
|
12367
|
+
*/
|
|
12368
|
+
'fallback_llm_model'?: LLMModel;
|
|
12369
|
+
/**
|
|
12370
|
+
*
|
|
12371
|
+
* @type {Array<TaskAgentTaskToolRead>}
|
|
12372
|
+
* @memberof TaskAgentRevisionRead
|
|
12373
|
+
*/
|
|
12374
|
+
'task_tools'?: Array<TaskAgentTaskToolRead>;
|
|
12375
|
+
/**
|
|
12376
|
+
*
|
|
12377
|
+
* @type {Array<TaskAgentIntegrationRead>}
|
|
12378
|
+
* @memberof TaskAgentRevisionRead
|
|
12379
|
+
*/
|
|
12380
|
+
'integrations'?: Array<TaskAgentIntegrationRead>;
|
|
12381
|
+
/**
|
|
12382
|
+
*
|
|
12383
|
+
* @type {Array<TaskAgentSkillRead>}
|
|
12384
|
+
* @memberof TaskAgentRevisionRead
|
|
12385
|
+
*/
|
|
12386
|
+
'skills'?: Array<TaskAgentSkillRead>;
|
|
12387
|
+
/**
|
|
12388
|
+
*
|
|
12389
|
+
* @type {Array<TaskAgentMcpServerRead>}
|
|
12390
|
+
* @memberof TaskAgentRevisionRead
|
|
12391
|
+
*/
|
|
12392
|
+
'mcp_servers'?: Array<TaskAgentMcpServerRead>;
|
|
12393
|
+
/**
|
|
12394
|
+
*
|
|
12395
|
+
* @type {Array<TaskAgentRegisteredToolRead>}
|
|
12396
|
+
* @memberof TaskAgentRevisionRead
|
|
12397
|
+
*/
|
|
12398
|
+
'registered_tools'?: Array<TaskAgentRegisteredToolRead>;
|
|
12399
|
+
/**
|
|
12400
|
+
*
|
|
12401
|
+
* @type {Array<Tag>}
|
|
12402
|
+
* @memberof TaskAgentRevisionRead
|
|
12403
|
+
*/
|
|
12404
|
+
'tags'?: Array<Tag>;
|
|
12405
|
+
/**
|
|
12406
|
+
*
|
|
12407
|
+
* @type {string}
|
|
12408
|
+
* @memberof TaskAgentRevisionRead
|
|
12409
|
+
*/
|
|
12410
|
+
'memory_strategy'?: string | null;
|
|
12411
|
+
/**
|
|
12412
|
+
*
|
|
12413
|
+
* @type {{ [key: string]: any; }}
|
|
12414
|
+
* @memberof TaskAgentRevisionRead
|
|
12415
|
+
*/
|
|
12416
|
+
'memory_config'?: {
|
|
12417
|
+
[key: string]: any;
|
|
12418
|
+
} | null;
|
|
12419
|
+
/**
|
|
12420
|
+
*
|
|
12421
|
+
* @type {number}
|
|
12422
|
+
* @memberof TaskAgentRevisionRead
|
|
12423
|
+
*/
|
|
12424
|
+
'max_turns'?: number | null;
|
|
12425
|
+
/**
|
|
12426
|
+
*
|
|
12427
|
+
* @type {boolean}
|
|
12428
|
+
* @memberof TaskAgentRevisionRead
|
|
12429
|
+
*/
|
|
12430
|
+
'active'?: boolean;
|
|
12431
|
+
/**
|
|
12432
|
+
*
|
|
12433
|
+
* @type {string}
|
|
12434
|
+
* @memberof TaskAgentRevisionRead
|
|
12435
|
+
*/
|
|
12436
|
+
'created': string;
|
|
12437
|
+
/**
|
|
12438
|
+
*
|
|
12439
|
+
* @type {string}
|
|
12440
|
+
* @memberof TaskAgentRevisionRead
|
|
12441
|
+
*/
|
|
12442
|
+
'modified'?: string | null;
|
|
12443
|
+
}
|
|
12444
|
+
/**
|
|
12445
|
+
* Summary of the active TaskAgent revision.
|
|
12446
|
+
* @export
|
|
12447
|
+
* @interface TaskAgentRevisionSummary
|
|
12448
|
+
*/
|
|
12449
|
+
export interface TaskAgentRevisionSummary {
|
|
12450
|
+
/**
|
|
12451
|
+
*
|
|
12452
|
+
* @type {string}
|
|
12453
|
+
* @memberof TaskAgentRevisionSummary
|
|
12454
|
+
*/
|
|
12455
|
+
'id': string;
|
|
12456
|
+
/**
|
|
12457
|
+
*
|
|
12458
|
+
* @type {string}
|
|
12459
|
+
* @memberof TaskAgentRevisionSummary
|
|
12460
|
+
*/
|
|
12461
|
+
'task_agent_id': string;
|
|
12462
|
+
/**
|
|
12463
|
+
*
|
|
12464
|
+
* @type {string}
|
|
12465
|
+
* @memberof TaskAgentRevisionSummary
|
|
12466
|
+
*/
|
|
12467
|
+
'created': string;
|
|
12468
|
+
/**
|
|
12469
|
+
*
|
|
12470
|
+
* @type {string}
|
|
12471
|
+
* @memberof TaskAgentRevisionSummary
|
|
12472
|
+
*/
|
|
12473
|
+
'modified'?: string | null;
|
|
12474
|
+
}
|
|
12364
12475
|
/**
|
|
12365
12476
|
* Response containing events for a TaskAgentRun.
|
|
12366
12477
|
* @export
|
|
@@ -12482,6 +12593,12 @@ export interface TaskAgentRunRead {
|
|
|
12482
12593
|
* @memberof TaskAgentRunRead
|
|
12483
12594
|
*/
|
|
12484
12595
|
'task_agent_id': string;
|
|
12596
|
+
/**
|
|
12597
|
+
*
|
|
12598
|
+
* @type {string}
|
|
12599
|
+
* @memberof TaskAgentRunRead
|
|
12600
|
+
*/
|
|
12601
|
+
'task_agent_revision_id'?: string | null;
|
|
12485
12602
|
/**
|
|
12486
12603
|
* ADK session ID (string format).
|
|
12487
12604
|
* @type {string}
|
|
@@ -12858,6 +12975,12 @@ export interface TaskAgentTaskToolInput {
|
|
|
12858
12975
|
* @memberof TaskAgentTaskToolInput
|
|
12859
12976
|
*/
|
|
12860
12977
|
'task_id': string;
|
|
12978
|
+
/**
|
|
12979
|
+
* Optional pinned TaskRevision. When omitted, the current active TaskRevision is resolved and pinned at write time.
|
|
12980
|
+
* @type {string}
|
|
12981
|
+
* @memberof TaskAgentTaskToolInput
|
|
12982
|
+
*/
|
|
12983
|
+
'task_revision_id'?: string | null;
|
|
12861
12984
|
/**
|
|
12862
12985
|
* Mark this task tool as the output formatter. Only one task tool per agent can be marked.
|
|
12863
12986
|
* @type {boolean}
|
|
@@ -12883,6 +13006,12 @@ export interface TaskAgentTaskToolRead {
|
|
|
12883
13006
|
* @memberof TaskAgentTaskToolRead
|
|
12884
13007
|
*/
|
|
12885
13008
|
'task_id': string;
|
|
13009
|
+
/**
|
|
13010
|
+
* Pinned TaskRevision used when executing this task tool.
|
|
13011
|
+
* @type {string}
|
|
13012
|
+
* @memberof TaskAgentTaskToolRead
|
|
13013
|
+
*/
|
|
13014
|
+
'task_revision_id'?: string | null;
|
|
12886
13015
|
/**
|
|
12887
13016
|
* Name of the Task linked as a task tool.
|
|
12888
13017
|
* @type {string}
|
|
@@ -13104,6 +13233,12 @@ export interface TaskAgentUpdate {
|
|
|
13104
13233
|
* @memberof TaskAgentUpdate
|
|
13105
13234
|
*/
|
|
13106
13235
|
'task_agent_run_visibility'?: TaskAgentUpdateTaskAgentRunVisibilityEnum | null;
|
|
13236
|
+
/**
|
|
13237
|
+
* Existing TaskAgent revision to activate. Omit to leave the active revision unchanged.
|
|
13238
|
+
* @type {string}
|
|
13239
|
+
* @memberof TaskAgentUpdate
|
|
13240
|
+
*/
|
|
13241
|
+
'active_revision_id'?: string | null;
|
|
13107
13242
|
}
|
|
13108
13243
|
export declare const TaskAgentUpdateMemoryStrategyEnum: {
|
|
13109
13244
|
readonly SlidingWindow: "sliding_window";
|
|
@@ -15136,6 +15271,12 @@ export interface TaskToolInvocationRead {
|
|
|
15136
15271
|
* @memberof TaskToolInvocationRead
|
|
15137
15272
|
*/
|
|
15138
15273
|
'task_id': string;
|
|
15274
|
+
/**
|
|
15275
|
+
* TaskRevision ID used for this invocation.
|
|
15276
|
+
* @type {string}
|
|
15277
|
+
* @memberof TaskToolInvocationRead
|
|
15278
|
+
*/
|
|
15279
|
+
'task_revision_id'?: string | null;
|
|
15139
15280
|
/**
|
|
15140
15281
|
*
|
|
15141
15282
|
* @type {string}
|
|
@@ -15960,6 +16101,12 @@ export interface WebhookTriggerCreate {
|
|
|
15960
16101
|
* @memberof WebhookTriggerCreate
|
|
15961
16102
|
*/
|
|
15962
16103
|
'target_id': string;
|
|
16104
|
+
/**
|
|
16105
|
+
* Optional pinned TaskAgent revision for TaskAgent triggers.
|
|
16106
|
+
* @type {string}
|
|
16107
|
+
* @memberof WebhookTriggerCreate
|
|
16108
|
+
*/
|
|
16109
|
+
'task_agent_revision_id'?: string | null;
|
|
15963
16110
|
}
|
|
15964
16111
|
export declare const WebhookTriggerCreateAuthMethodEnum: {
|
|
15965
16112
|
readonly HmacSha256: "hmac_sha256";
|
|
@@ -16225,6 +16372,12 @@ export interface WebhookTriggerListItem {
|
|
|
16225
16372
|
* @memberof WebhookTriggerListItem
|
|
16226
16373
|
*/
|
|
16227
16374
|
'target_id': string;
|
|
16375
|
+
/**
|
|
16376
|
+
* Optional pinned TaskAgent revision for TaskAgent triggers.
|
|
16377
|
+
* @type {string}
|
|
16378
|
+
* @memberof WebhookTriggerListItem
|
|
16379
|
+
*/
|
|
16380
|
+
'task_agent_revision_id'?: string | null;
|
|
16228
16381
|
/**
|
|
16229
16382
|
* The type of trigger (webhook for this endpoint).
|
|
16230
16383
|
* @type {string}
|
|
@@ -16286,6 +16439,12 @@ export interface WebhookTriggerResponse {
|
|
|
16286
16439
|
* @memberof WebhookTriggerResponse
|
|
16287
16440
|
*/
|
|
16288
16441
|
'target_id': string;
|
|
16442
|
+
/**
|
|
16443
|
+
* Optional pinned TaskAgent revision for TaskAgent triggers.
|
|
16444
|
+
* @type {string}
|
|
16445
|
+
* @memberof WebhookTriggerResponse
|
|
16446
|
+
*/
|
|
16447
|
+
'task_agent_revision_id'?: string | null;
|
|
16289
16448
|
/**
|
|
16290
16449
|
* The type of trigger (webhook for this endpoint).
|
|
16291
16450
|
* @type {string}
|
|
@@ -16439,6 +16598,12 @@ export interface WebhookTriggerUpdate {
|
|
|
16439
16598
|
* @memberof WebhookTriggerUpdate
|
|
16440
16599
|
*/
|
|
16441
16600
|
'idempotency_ttl_seconds'?: number | null;
|
|
16601
|
+
/**
|
|
16602
|
+
* Optional pinned TaskAgent revision for TaskAgent triggers.
|
|
16603
|
+
* @type {string}
|
|
16604
|
+
* @memberof WebhookTriggerUpdate
|
|
16605
|
+
*/
|
|
16606
|
+
'task_agent_revision_id'?: string | null;
|
|
16442
16607
|
}
|
|
16443
16608
|
/**
|
|
16444
16609
|
* Response schema for webhook trigger creation (includes secret).
|
|
@@ -16464,6 +16629,12 @@ export interface WebhookTriggerWithSecret {
|
|
|
16464
16629
|
* @memberof WebhookTriggerWithSecret
|
|
16465
16630
|
*/
|
|
16466
16631
|
'target_id': string;
|
|
16632
|
+
/**
|
|
16633
|
+
* Optional pinned TaskAgent revision for TaskAgent triggers.
|
|
16634
|
+
* @type {string}
|
|
16635
|
+
* @memberof WebhookTriggerWithSecret
|
|
16636
|
+
*/
|
|
16637
|
+
'task_agent_revision_id'?: string | null;
|
|
16467
16638
|
/**
|
|
16468
16639
|
* The type of trigger (webhook for this endpoint).
|
|
16469
16640
|
* @type {string}
|
|
@@ -26743,11 +26914,11 @@ export declare class SystemApi extends BaseAPI {
|
|
|
26743
26914
|
*/
|
|
26744
26915
|
export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26745
26916
|
/**
|
|
26746
|
-
* Add a tag to multiple entities at once
|
|
26917
|
+
* Add a tag to multiple supported entities at once.
|
|
26747
26918
|
* @summary Add Tag to Entities
|
|
26748
26919
|
* @param {string} orgId The unique identifier of the organization.
|
|
26749
26920
|
* @param {string} projectId The unique identifier of the project.
|
|
26750
|
-
* @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
26921
|
+
* @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26751
26922
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26752
26923
|
* @param {TagEntityAdd} tagEntityAdd
|
|
26753
26924
|
* @param {*} [options] Override http request option.
|
|
@@ -26755,11 +26926,11 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
26755
26926
|
*/
|
|
26756
26927
|
addTagToEntities: (orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26757
26928
|
/**
|
|
26758
|
-
* Create a new tag for organizing resources. Tags can be applied to: - Tasks
|
|
26929
|
+
* 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.
|
|
26759
26930
|
* @summary Create Tag
|
|
26760
26931
|
* @param {string} orgId The unique identifier of the organization.
|
|
26761
26932
|
* @param {string} projectId The unique identifier of the project.
|
|
26762
|
-
* @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
26933
|
+
* @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26763
26934
|
* @param {TagCreate} tagCreate
|
|
26764
26935
|
* @param {*} [options] Override http request option.
|
|
26765
26936
|
* @throws {RequiredError}
|
|
@@ -26776,22 +26947,22 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
26776
26947
|
*/
|
|
26777
26948
|
deleteTag: (orgId: string, projectId: string, tagId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26778
26949
|
/**
|
|
26779
|
-
* Get tag details
|
|
26950
|
+
* Get tag details for the requested entity type.
|
|
26780
26951
|
* @summary Get Tag
|
|
26781
26952
|
* @param {string} orgId The unique identifier of the organization.
|
|
26782
26953
|
* @param {string} projectId The unique identifier of the project.
|
|
26783
|
-
* @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
26954
|
+
* @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26784
26955
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26785
26956
|
* @param {*} [options] Override http request option.
|
|
26786
26957
|
* @throws {RequiredError}
|
|
26787
26958
|
*/
|
|
26788
26959
|
getTag: (orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26789
26960
|
/**
|
|
26790
|
-
* List all tags in the project
|
|
26961
|
+
* List all tags in the project for the requested entity type.
|
|
26791
26962
|
* @summary List Tags
|
|
26792
26963
|
* @param {string} orgId The unique identifier of the organization.
|
|
26793
26964
|
* @param {string} projectId The unique identifier of the project.
|
|
26794
|
-
* @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
26965
|
+
* @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26795
26966
|
* @param {number | null} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
26796
26967
|
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
26797
26968
|
* @param {*} [options] Override http request option.
|
|
@@ -26799,11 +26970,11 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
26799
26970
|
*/
|
|
26800
26971
|
listTags: (orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26801
26972
|
/**
|
|
26802
|
-
* Remove a tag from multiple entities at once
|
|
26973
|
+
* Remove a tag from multiple supported entities at once.
|
|
26803
26974
|
* @summary Remove Tag from Entities
|
|
26804
26975
|
* @param {string} orgId The unique identifier of the organization.
|
|
26805
26976
|
* @param {string} projectId The unique identifier of the project.
|
|
26806
|
-
* @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
26977
|
+
* @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26807
26978
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26808
26979
|
* @param {TagEntityRemove} tagEntityRemove
|
|
26809
26980
|
* @param {*} [options] Override http request option.
|
|
@@ -26815,7 +26986,7 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
26815
26986
|
* @summary Update Tag
|
|
26816
26987
|
* @param {string} orgId The unique identifier of the organization.
|
|
26817
26988
|
* @param {string} projectId The unique identifier of the project.
|
|
26818
|
-
* @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
26989
|
+
* @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26819
26990
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26820
26991
|
* @param {TagUpdate} tagUpdate
|
|
26821
26992
|
* @param {*} [options] Override http request option.
|
|
@@ -26829,11 +27000,11 @@ export declare const TagsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
26829
27000
|
*/
|
|
26830
27001
|
export declare const TagsApiFp: (configuration?: Configuration) => {
|
|
26831
27002
|
/**
|
|
26832
|
-
* Add a tag to multiple entities at once
|
|
27003
|
+
* Add a tag to multiple supported entities at once.
|
|
26833
27004
|
* @summary Add Tag to Entities
|
|
26834
27005
|
* @param {string} orgId The unique identifier of the organization.
|
|
26835
27006
|
* @param {string} projectId The unique identifier of the project.
|
|
26836
|
-
* @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27007
|
+
* @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26837
27008
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26838
27009
|
* @param {TagEntityAdd} tagEntityAdd
|
|
26839
27010
|
* @param {*} [options] Override http request option.
|
|
@@ -26841,11 +27012,11 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
|
|
|
26841
27012
|
*/
|
|
26842
27013
|
addTagToEntities(orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
26843
27014
|
/**
|
|
26844
|
-
* Create a new tag for organizing resources. Tags can be applied to: - Tasks
|
|
27015
|
+
* 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.
|
|
26845
27016
|
* @summary Create Tag
|
|
26846
27017
|
* @param {string} orgId The unique identifier of the organization.
|
|
26847
27018
|
* @param {string} projectId The unique identifier of the project.
|
|
26848
|
-
* @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27019
|
+
* @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26849
27020
|
* @param {TagCreate} tagCreate
|
|
26850
27021
|
* @param {*} [options] Override http request option.
|
|
26851
27022
|
* @throws {RequiredError}
|
|
@@ -26862,22 +27033,22 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
|
|
|
26862
27033
|
*/
|
|
26863
27034
|
deleteTag(orgId: string, projectId: string, tagId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
26864
27035
|
/**
|
|
26865
|
-
* Get tag details
|
|
27036
|
+
* Get tag details for the requested entity type.
|
|
26866
27037
|
* @summary Get Tag
|
|
26867
27038
|
* @param {string} orgId The unique identifier of the organization.
|
|
26868
27039
|
* @param {string} projectId The unique identifier of the project.
|
|
26869
|
-
* @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27040
|
+
* @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26870
27041
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26871
27042
|
* @param {*} [options] Override http request option.
|
|
26872
27043
|
* @throws {RequiredError}
|
|
26873
27044
|
*/
|
|
26874
27045
|
getTag(orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tag>>;
|
|
26875
27046
|
/**
|
|
26876
|
-
* List all tags in the project
|
|
27047
|
+
* List all tags in the project for the requested entity type.
|
|
26877
27048
|
* @summary List Tags
|
|
26878
27049
|
* @param {string} orgId The unique identifier of the organization.
|
|
26879
27050
|
* @param {string} projectId The unique identifier of the project.
|
|
26880
|
-
* @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27051
|
+
* @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26881
27052
|
* @param {number | null} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
26882
27053
|
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
26883
27054
|
* @param {*} [options] Override http request option.
|
|
@@ -26885,11 +27056,11 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
|
|
|
26885
27056
|
*/
|
|
26886
27057
|
listTags(orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetTag>>;
|
|
26887
27058
|
/**
|
|
26888
|
-
* Remove a tag from multiple entities at once
|
|
27059
|
+
* Remove a tag from multiple supported entities at once.
|
|
26889
27060
|
* @summary Remove Tag from Entities
|
|
26890
27061
|
* @param {string} orgId The unique identifier of the organization.
|
|
26891
27062
|
* @param {string} projectId The unique identifier of the project.
|
|
26892
|
-
* @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27063
|
+
* @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26893
27064
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26894
27065
|
* @param {TagEntityRemove} tagEntityRemove
|
|
26895
27066
|
* @param {*} [options] Override http request option.
|
|
@@ -26901,7 +27072,7 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
|
|
|
26901
27072
|
* @summary Update Tag
|
|
26902
27073
|
* @param {string} orgId The unique identifier of the organization.
|
|
26903
27074
|
* @param {string} projectId The unique identifier of the project.
|
|
26904
|
-
* @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27075
|
+
* @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26905
27076
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26906
27077
|
* @param {TagUpdate} tagUpdate
|
|
26907
27078
|
* @param {*} [options] Override http request option.
|
|
@@ -26915,11 +27086,11 @@ export declare const TagsApiFp: (configuration?: Configuration) => {
|
|
|
26915
27086
|
*/
|
|
26916
27087
|
export declare const TagsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26917
27088
|
/**
|
|
26918
|
-
* Add a tag to multiple entities at once
|
|
27089
|
+
* Add a tag to multiple supported entities at once.
|
|
26919
27090
|
* @summary Add Tag to Entities
|
|
26920
27091
|
* @param {string} orgId The unique identifier of the organization.
|
|
26921
27092
|
* @param {string} projectId The unique identifier of the project.
|
|
26922
|
-
* @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27093
|
+
* @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26923
27094
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26924
27095
|
* @param {TagEntityAdd} tagEntityAdd
|
|
26925
27096
|
* @param {*} [options] Override http request option.
|
|
@@ -26927,11 +27098,11 @@ export declare const TagsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
26927
27098
|
*/
|
|
26928
27099
|
addTagToEntities(orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: any): AxiosPromise<any>;
|
|
26929
27100
|
/**
|
|
26930
|
-
* Create a new tag for organizing resources. Tags can be applied to: - Tasks
|
|
27101
|
+
* 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.
|
|
26931
27102
|
* @summary Create Tag
|
|
26932
27103
|
* @param {string} orgId The unique identifier of the organization.
|
|
26933
27104
|
* @param {string} projectId The unique identifier of the project.
|
|
26934
|
-
* @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27105
|
+
* @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26935
27106
|
* @param {TagCreate} tagCreate
|
|
26936
27107
|
* @param {*} [options] Override http request option.
|
|
26937
27108
|
* @throws {RequiredError}
|
|
@@ -26948,22 +27119,22 @@ export declare const TagsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
26948
27119
|
*/
|
|
26949
27120
|
deleteTag(orgId: string, projectId: string, tagId: string, options?: any): AxiosPromise<void>;
|
|
26950
27121
|
/**
|
|
26951
|
-
* Get tag details
|
|
27122
|
+
* Get tag details for the requested entity type.
|
|
26952
27123
|
* @summary Get Tag
|
|
26953
27124
|
* @param {string} orgId The unique identifier of the organization.
|
|
26954
27125
|
* @param {string} projectId The unique identifier of the project.
|
|
26955
|
-
* @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27126
|
+
* @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26956
27127
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26957
27128
|
* @param {*} [options] Override http request option.
|
|
26958
27129
|
* @throws {RequiredError}
|
|
26959
27130
|
*/
|
|
26960
27131
|
getTag(orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: any): AxiosPromise<Tag>;
|
|
26961
27132
|
/**
|
|
26962
|
-
* List all tags in the project
|
|
27133
|
+
* List all tags in the project for the requested entity type.
|
|
26963
27134
|
* @summary List Tags
|
|
26964
27135
|
* @param {string} orgId The unique identifier of the organization.
|
|
26965
27136
|
* @param {string} projectId The unique identifier of the project.
|
|
26966
|
-
* @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27137
|
+
* @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26967
27138
|
* @param {number | null} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
26968
27139
|
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
26969
27140
|
* @param {*} [options] Override http request option.
|
|
@@ -26971,11 +27142,11 @@ export declare const TagsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
26971
27142
|
*/
|
|
26972
27143
|
listTags(orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: any): AxiosPromise<PaginatedResultSetTag>;
|
|
26973
27144
|
/**
|
|
26974
|
-
* Remove a tag from multiple entities at once
|
|
27145
|
+
* Remove a tag from multiple supported entities at once.
|
|
26975
27146
|
* @summary Remove Tag from Entities
|
|
26976
27147
|
* @param {string} orgId The unique identifier of the organization.
|
|
26977
27148
|
* @param {string} projectId The unique identifier of the project.
|
|
26978
|
-
* @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27149
|
+
* @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26979
27150
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26980
27151
|
* @param {TagEntityRemove} tagEntityRemove
|
|
26981
27152
|
* @param {*} [options] Override http request option.
|
|
@@ -26987,7 +27158,7 @@ export declare const TagsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
26987
27158
|
* @summary Update Tag
|
|
26988
27159
|
* @param {string} orgId The unique identifier of the organization.
|
|
26989
27160
|
* @param {string} projectId The unique identifier of the project.
|
|
26990
|
-
* @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27161
|
+
* @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
26991
27162
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
26992
27163
|
* @param {TagUpdate} tagUpdate
|
|
26993
27164
|
* @param {*} [options] Override http request option.
|
|
@@ -27003,11 +27174,11 @@ export declare const TagsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
27003
27174
|
*/
|
|
27004
27175
|
export declare class TagsApi extends BaseAPI {
|
|
27005
27176
|
/**
|
|
27006
|
-
* Add a tag to multiple entities at once
|
|
27177
|
+
* Add a tag to multiple supported entities at once.
|
|
27007
27178
|
* @summary Add Tag to Entities
|
|
27008
27179
|
* @param {string} orgId The unique identifier of the organization.
|
|
27009
27180
|
* @param {string} projectId The unique identifier of the project.
|
|
27010
|
-
* @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27181
|
+
* @param {AddTagToEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
27011
27182
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
27012
27183
|
* @param {TagEntityAdd} tagEntityAdd
|
|
27013
27184
|
* @param {*} [options] Override http request option.
|
|
@@ -27016,11 +27187,11 @@ export declare class TagsApi extends BaseAPI {
|
|
|
27016
27187
|
*/
|
|
27017
27188
|
addTagToEntities(orgId: string, projectId: string, entityType: AddTagToEntitiesEntityTypeEnum, tagId: string, tagEntityAdd: TagEntityAdd, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
27018
27189
|
/**
|
|
27019
|
-
* Create a new tag for organizing resources. Tags can be applied to: - Tasks
|
|
27190
|
+
* 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.
|
|
27020
27191
|
* @summary Create Tag
|
|
27021
27192
|
* @param {string} orgId The unique identifier of the organization.
|
|
27022
27193
|
* @param {string} projectId The unique identifier of the project.
|
|
27023
|
-
* @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27194
|
+
* @param {CreateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
27024
27195
|
* @param {TagCreate} tagCreate
|
|
27025
27196
|
* @param {*} [options] Override http request option.
|
|
27026
27197
|
* @throws {RequiredError}
|
|
@@ -27039,11 +27210,11 @@ export declare class TagsApi extends BaseAPI {
|
|
|
27039
27210
|
*/
|
|
27040
27211
|
deleteTag(orgId: string, projectId: string, tagId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
27041
27212
|
/**
|
|
27042
|
-
* Get tag details
|
|
27213
|
+
* Get tag details for the requested entity type.
|
|
27043
27214
|
* @summary Get Tag
|
|
27044
27215
|
* @param {string} orgId The unique identifier of the organization.
|
|
27045
27216
|
* @param {string} projectId The unique identifier of the project.
|
|
27046
|
-
* @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27217
|
+
* @param {GetTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
27047
27218
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
27048
27219
|
* @param {*} [options] Override http request option.
|
|
27049
27220
|
* @throws {RequiredError}
|
|
@@ -27051,11 +27222,11 @@ export declare class TagsApi extends BaseAPI {
|
|
|
27051
27222
|
*/
|
|
27052
27223
|
getTag(orgId: string, projectId: string, entityType: GetTagEntityTypeEnum, tagId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any, {}>>;
|
|
27053
27224
|
/**
|
|
27054
|
-
* List all tags in the project
|
|
27225
|
+
* List all tags in the project for the requested entity type.
|
|
27055
27226
|
* @summary List Tags
|
|
27056
27227
|
* @param {string} orgId The unique identifier of the organization.
|
|
27057
27228
|
* @param {string} projectId The unique identifier of the project.
|
|
27058
|
-
* @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27229
|
+
* @param {ListTagsEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
27059
27230
|
* @param {number | null} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
27060
27231
|
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
27061
27232
|
* @param {*} [options] Override http request option.
|
|
@@ -27064,11 +27235,11 @@ export declare class TagsApi extends BaseAPI {
|
|
|
27064
27235
|
*/
|
|
27065
27236
|
listTags(orgId: string, projectId: string, entityType: ListTagsEntityTypeEnum, pageLimit?: number | null, cursor?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedResultSetTag, any, {}>>;
|
|
27066
27237
|
/**
|
|
27067
|
-
* Remove a tag from multiple entities at once
|
|
27238
|
+
* Remove a tag from multiple supported entities at once.
|
|
27068
27239
|
* @summary Remove Tag from Entities
|
|
27069
27240
|
* @param {string} orgId The unique identifier of the organization.
|
|
27070
27241
|
* @param {string} projectId The unique identifier of the project.
|
|
27071
|
-
* @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27242
|
+
* @param {RemoveTagFromEntitiesEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
27072
27243
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
27073
27244
|
* @param {TagEntityRemove} tagEntityRemove
|
|
27074
27245
|
* @param {*} [options] Override http request option.
|
|
@@ -27081,7 +27252,7 @@ export declare class TagsApi extends BaseAPI {
|
|
|
27081
27252
|
* @summary Update Tag
|
|
27082
27253
|
* @param {string} orgId The unique identifier of the organization.
|
|
27083
27254
|
* @param {string} projectId The unique identifier of the project.
|
|
27084
|
-
* @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, or `
|
|
27255
|
+
* @param {UpdateTagEntityTypeEnum} entityType The type of entity this tag applies to (`task`, `task_revision`, `task_share`, `skill`, or `task_agent_revision`).
|
|
27085
27256
|
* @param {string} tagId The unique identifier (UUID) of the tag to operate on.
|
|
27086
27257
|
* @param {TagUpdate} tagUpdate
|
|
27087
27258
|
* @param {*} [options] Override http request option.
|
|
@@ -27098,6 +27269,7 @@ export declare const AddTagToEntitiesEntityTypeEnum: {
|
|
|
27098
27269
|
readonly TaskRevision: "task_revision";
|
|
27099
27270
|
readonly TaskShare: "task_share";
|
|
27100
27271
|
readonly Skill: "skill";
|
|
27272
|
+
readonly TaskAgentRevision: "task_agent_revision";
|
|
27101
27273
|
};
|
|
27102
27274
|
export type AddTagToEntitiesEntityTypeEnum = typeof AddTagToEntitiesEntityTypeEnum[keyof typeof AddTagToEntitiesEntityTypeEnum];
|
|
27103
27275
|
/**
|
|
@@ -27108,6 +27280,7 @@ export declare const CreateTagEntityTypeEnum: {
|
|
|
27108
27280
|
readonly TaskRevision: "task_revision";
|
|
27109
27281
|
readonly TaskShare: "task_share";
|
|
27110
27282
|
readonly Skill: "skill";
|
|
27283
|
+
readonly TaskAgentRevision: "task_agent_revision";
|
|
27111
27284
|
};
|
|
27112
27285
|
export type CreateTagEntityTypeEnum = typeof CreateTagEntityTypeEnum[keyof typeof CreateTagEntityTypeEnum];
|
|
27113
27286
|
/**
|
|
@@ -27118,6 +27291,7 @@ export declare const GetTagEntityTypeEnum: {
|
|
|
27118
27291
|
readonly TaskRevision: "task_revision";
|
|
27119
27292
|
readonly TaskShare: "task_share";
|
|
27120
27293
|
readonly Skill: "skill";
|
|
27294
|
+
readonly TaskAgentRevision: "task_agent_revision";
|
|
27121
27295
|
};
|
|
27122
27296
|
export type GetTagEntityTypeEnum = typeof GetTagEntityTypeEnum[keyof typeof GetTagEntityTypeEnum];
|
|
27123
27297
|
/**
|
|
@@ -27128,6 +27302,7 @@ export declare const ListTagsEntityTypeEnum: {
|
|
|
27128
27302
|
readonly TaskRevision: "task_revision";
|
|
27129
27303
|
readonly TaskShare: "task_share";
|
|
27130
27304
|
readonly Skill: "skill";
|
|
27305
|
+
readonly TaskAgentRevision: "task_agent_revision";
|
|
27131
27306
|
};
|
|
27132
27307
|
export type ListTagsEntityTypeEnum = typeof ListTagsEntityTypeEnum[keyof typeof ListTagsEntityTypeEnum];
|
|
27133
27308
|
/**
|
|
@@ -27138,6 +27313,7 @@ export declare const RemoveTagFromEntitiesEntityTypeEnum: {
|
|
|
27138
27313
|
readonly TaskRevision: "task_revision";
|
|
27139
27314
|
readonly TaskShare: "task_share";
|
|
27140
27315
|
readonly Skill: "skill";
|
|
27316
|
+
readonly TaskAgentRevision: "task_agent_revision";
|
|
27141
27317
|
};
|
|
27142
27318
|
export type RemoveTagFromEntitiesEntityTypeEnum = typeof RemoveTagFromEntitiesEntityTypeEnum[keyof typeof RemoveTagFromEntitiesEntityTypeEnum];
|
|
27143
27319
|
/**
|
|
@@ -27148,6 +27324,7 @@ export declare const UpdateTagEntityTypeEnum: {
|
|
|
27148
27324
|
readonly TaskRevision: "task_revision";
|
|
27149
27325
|
readonly TaskShare: "task_share";
|
|
27150
27326
|
readonly Skill: "skill";
|
|
27327
|
+
readonly TaskAgentRevision: "task_agent_revision";
|
|
27151
27328
|
};
|
|
27152
27329
|
export type UpdateTagEntityTypeEnum = typeof UpdateTagEntityTypeEnum[keyof typeof UpdateTagEntityTypeEnum];
|
|
27153
27330
|
/**
|
|
@@ -27156,7 +27333,7 @@ export type UpdateTagEntityTypeEnum = typeof UpdateTagEntityTypeEnum[keyof typeo
|
|
|
27156
27333
|
*/
|
|
27157
27334
|
export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27158
27335
|
/**
|
|
27159
|
-
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning.
|
|
27336
|
+
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. The request creates the root Task Agent and its initial active revision. Runtime configuration such as instructions, models, and tools is stored on revisions.
|
|
27160
27337
|
* @summary Create Task Agent
|
|
27161
27338
|
* @param {string} orgId The organization ID
|
|
27162
27339
|
* @param {string} projectId The project ID
|
|
@@ -27166,7 +27343,7 @@ export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
27166
27343
|
*/
|
|
27167
27344
|
createTaskAgent: (orgId: string, projectId: string, taskAgentCreate: TaskAgentCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27168
27345
|
/**
|
|
27169
|
-
* Remove a Task Agent from the project. This will: - Remove agent
|
|
27346
|
+
* Remove a Task Agent from the project. This will: - Remove the agent and its revision configuration - Preserve run history for auditing This action cannot be undone.
|
|
27170
27347
|
* @summary Delete Task Agent
|
|
27171
27348
|
* @param {string} orgId The unique identifier of the organization.
|
|
27172
27349
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27212,7 +27389,7 @@ export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
27212
27389
|
*/
|
|
27213
27390
|
getProjectTaskAgentUsageReport: (orgId: string, projectId: string, taskAgentId?: string | null, aggregation?: GetProjectTaskAgentUsageReportAggregationEnum, status?: UsageReportStatus, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27214
27391
|
/**
|
|
27215
|
-
* Retrieve detailed information about a specific Task Agent. Returns
|
|
27392
|
+
* Retrieve detailed information about a specific Task Agent. Returns root Task Agent metadata with embedded immutable revisions. Runtime configuration such as instructions, models, and tools is stored on each revision.
|
|
27216
27393
|
* @summary Get Task Agent
|
|
27217
27394
|
* @param {string} orgId The unique identifier of the organization.
|
|
27218
27395
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27233,6 +27410,17 @@ export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
27233
27410
|
* @throws {RequiredError}
|
|
27234
27411
|
*/
|
|
27235
27412
|
getTaskAgentCreditReport: (orgId: string, projectId: string, taskAgentId: string, startDate?: string | null, endDate?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27413
|
+
/**
|
|
27414
|
+
* Retrieve an immutable executable revision for a Task Agent. The response includes the runtime configuration and concrete pinned attachments stored on that revision.
|
|
27415
|
+
* @summary Get Task Agent Revision
|
|
27416
|
+
* @param {string} orgId The organization ID
|
|
27417
|
+
* @param {string} projectId The project ID
|
|
27418
|
+
* @param {string} taskAgentId The task agent ID
|
|
27419
|
+
* @param {string} revisionId
|
|
27420
|
+
* @param {*} [options] Override http request option.
|
|
27421
|
+
* @throws {RequiredError}
|
|
27422
|
+
*/
|
|
27423
|
+
getTaskAgentRevision: (orgId: string, projectId: string, taskAgentId: string, revisionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27236
27424
|
/**
|
|
27237
27425
|
* Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Error messages (if any) Events are returned in chronological order.
|
|
27238
27426
|
* @summary Get Run Events
|
|
@@ -27294,6 +27482,16 @@ export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
27294
27482
|
* @throws {RequiredError}
|
|
27295
27483
|
*/
|
|
27296
27484
|
getTaskAgentUsageReport: (orgId: string, projectId: string, taskAgentId: string, aggregation?: GetTaskAgentUsageReportAggregationEnum, status?: UsageReportStatus, errorsOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27485
|
+
/**
|
|
27486
|
+
* List immutable executable revisions for a Task Agent. Each revision contains the runtime configuration and pinned attachments that can be executed by new runs, long-lived sessions, or pinned triggers. The active revision is marked with `active`.
|
|
27487
|
+
* @summary List Task Agent Revisions
|
|
27488
|
+
* @param {string} orgId The organization ID
|
|
27489
|
+
* @param {string} projectId The project ID
|
|
27490
|
+
* @param {string} taskAgentId The task agent ID
|
|
27491
|
+
* @param {*} [options] Override http request option.
|
|
27492
|
+
* @throws {RequiredError}
|
|
27493
|
+
*/
|
|
27494
|
+
listTaskAgentRevisions: (orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27297
27495
|
/**
|
|
27298
27496
|
* List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM and tool execution
|
|
27299
27497
|
* @summary List Task Agent Runs
|
|
@@ -27308,12 +27506,13 @@ export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
27308
27506
|
* @param {string | null} [createdAfter] Filter runs created at/after this timestamp.
|
|
27309
27507
|
* @param {string | null} [createdBefore] Filter runs created at/before this timestamp.
|
|
27310
27508
|
* @param {number | null} [minDurationMs] Filter runs with duration greater than or equal to this value.
|
|
27509
|
+
* @param {string | null} [taskAgentRevisionId] Filter by TaskAgent revision ID.
|
|
27311
27510
|
* @param {number} [skip]
|
|
27312
27511
|
* @param {number} [limit]
|
|
27313
27512
|
* @param {*} [options] Override http request option.
|
|
27314
27513
|
* @throws {RequiredError}
|
|
27315
27514
|
*/
|
|
27316
|
-
listTaskAgentRuns: (orgId: string, projectId: string, taskAgentId: string, sessionId?: string | null, isError?: boolean | null, hadTaskToolFail?: boolean | null, hadMcpToolFail?: boolean | null, status?: TaskAgentRunStatus, createdAfter?: string | null, createdBefore?: string | null, minDurationMs?: number | null, skip?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27515
|
+
listTaskAgentRuns: (orgId: string, projectId: string, taskAgentId: string, sessionId?: string | null, isError?: boolean | null, hadTaskToolFail?: boolean | null, hadMcpToolFail?: boolean | null, status?: TaskAgentRunStatus, createdAfter?: string | null, createdBefore?: string | null, minDurationMs?: number | null, taskAgentRevisionId?: string | null, skip?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27317
27516
|
/**
|
|
27318
27517
|
* List conversation sessions for a Task Agent. Sessions group related runs together for multi-turn conversations.
|
|
27319
27518
|
* @summary List Task Agent Sessions
|
|
@@ -27325,7 +27524,7 @@ export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
27325
27524
|
*/
|
|
27326
27525
|
listTaskAgentSessions: (orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27327
27526
|
/**
|
|
27328
|
-
* List all Task Agents configured for the project. Returns a paginated list of Task Agents with their
|
|
27527
|
+
* List all Task Agents configured for the project. Returns a paginated list of Task Agents with their root metadata and embedded revision history. Runtime configuration such as instructions, models, and tools is stored on each revision.
|
|
27329
27528
|
* @summary List Task Agents
|
|
27330
27529
|
* @param {string} orgId The unique identifier of the organization.
|
|
27331
27530
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27336,15 +27535,16 @@ export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
27336
27535
|
*/
|
|
27337
27536
|
listTaskAgents: (orgId: string, projectId: string, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27338
27537
|
/**
|
|
27339
|
-
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
27538
|
+
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
27340
27539
|
* @summary Run Task Agent
|
|
27341
27540
|
* @param {string} orgId The unique identifier of the organization.
|
|
27342
27541
|
* @param {string} projectId The unique identifier of the project.
|
|
27343
27542
|
* @param {string} taskAgentId The specific Task Agent to reference.
|
|
27543
|
+
* @param {string | null} [revisionId] Optional TaskAgent revision ID to use for execution. If omitted, new sessions use the active revision and continuations use the session\'s pinned revision.
|
|
27344
27544
|
* @param {*} [options] Override http request option.
|
|
27345
27545
|
* @throws {RequiredError}
|
|
27346
27546
|
*/
|
|
27347
|
-
runTaskAgent: (orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27547
|
+
runTaskAgent: (orgId: string, projectId: string, taskAgentId: string, revisionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27348
27548
|
/**
|
|
27349
27549
|
* Retrieve a specific member that has been granted direct access to the task_agent.
|
|
27350
27550
|
* @summary IAM - Lookup Task Agent Member
|
|
@@ -27391,7 +27591,7 @@ export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
27391
27591
|
*/
|
|
27392
27592
|
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles: (taskAgentId: string, member: string, orgId: string, projectId: string, taskAgentIAMMemberRoleUpdate: TaskAgentIAMMemberRoleUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27393
27593
|
/**
|
|
27394
|
-
* Update Task Agent
|
|
27594
|
+
* Update Task Agent metadata, create a new revision, or activate an existing revision. Modifiable fields: - Root metadata: name and run visibility - Revision configuration: description, instruction, LLM models, execution mode, memory settings, task tools, MCP servers, integrations, and skills - Activation: `active_revision_id` Updating revision configuration creates a new inactive revision. Activate it with a separate request that only includes `active_revision_id`. To update task tools, pass a `task_tools` array. This performs a full replacement: - Omit the field to leave task tools unchanged - Pass an empty array to remove all task tools - Pass a new array to replace all task tools (array order = execution order)
|
|
27395
27595
|
* @summary Update Task Agent
|
|
27396
27596
|
* @param {string} orgId The organization ID
|
|
27397
27597
|
* @param {string} projectId The project ID
|
|
@@ -27408,7 +27608,7 @@ export declare const TaskAgentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
27408
27608
|
*/
|
|
27409
27609
|
export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
27410
27610
|
/**
|
|
27411
|
-
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning.
|
|
27611
|
+
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. The request creates the root Task Agent and its initial active revision. Runtime configuration such as instructions, models, and tools is stored on revisions.
|
|
27412
27612
|
* @summary Create Task Agent
|
|
27413
27613
|
* @param {string} orgId The organization ID
|
|
27414
27614
|
* @param {string} projectId The project ID
|
|
@@ -27418,7 +27618,7 @@ export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
|
27418
27618
|
*/
|
|
27419
27619
|
createTaskAgent(orgId: string, projectId: string, taskAgentCreate: TaskAgentCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentRead>>;
|
|
27420
27620
|
/**
|
|
27421
|
-
* Remove a Task Agent from the project. This will: - Remove agent
|
|
27621
|
+
* Remove a Task Agent from the project. This will: - Remove the agent and its revision configuration - Preserve run history for auditing This action cannot be undone.
|
|
27422
27622
|
* @summary Delete Task Agent
|
|
27423
27623
|
* @param {string} orgId The unique identifier of the organization.
|
|
27424
27624
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27464,7 +27664,7 @@ export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
|
27464
27664
|
*/
|
|
27465
27665
|
getProjectTaskAgentUsageReport(orgId: string, projectId: string, taskAgentId?: string | null, aggregation?: GetProjectTaskAgentUsageReportAggregationEnum, status?: UsageReportStatus, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectTaskAgentUsageReport>>;
|
|
27466
27666
|
/**
|
|
27467
|
-
* Retrieve detailed information about a specific Task Agent. Returns
|
|
27667
|
+
* Retrieve detailed information about a specific Task Agent. Returns root Task Agent metadata with embedded immutable revisions. Runtime configuration such as instructions, models, and tools is stored on each revision.
|
|
27468
27668
|
* @summary Get Task Agent
|
|
27469
27669
|
* @param {string} orgId The unique identifier of the organization.
|
|
27470
27670
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27485,6 +27685,17 @@ export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
|
27485
27685
|
* @throws {RequiredError}
|
|
27486
27686
|
*/
|
|
27487
27687
|
getTaskAgentCreditReport(orgId: string, projectId: string, taskAgentId: string, startDate?: string | null, endDate?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentCreditReport>>;
|
|
27688
|
+
/**
|
|
27689
|
+
* Retrieve an immutable executable revision for a Task Agent. The response includes the runtime configuration and concrete pinned attachments stored on that revision.
|
|
27690
|
+
* @summary Get Task Agent Revision
|
|
27691
|
+
* @param {string} orgId The organization ID
|
|
27692
|
+
* @param {string} projectId The project ID
|
|
27693
|
+
* @param {string} taskAgentId The task agent ID
|
|
27694
|
+
* @param {string} revisionId
|
|
27695
|
+
* @param {*} [options] Override http request option.
|
|
27696
|
+
* @throws {RequiredError}
|
|
27697
|
+
*/
|
|
27698
|
+
getTaskAgentRevision(orgId: string, projectId: string, taskAgentId: string, revisionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentRevisionRead>>;
|
|
27488
27699
|
/**
|
|
27489
27700
|
* Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Error messages (if any) Events are returned in chronological order.
|
|
27490
27701
|
* @summary Get Run Events
|
|
@@ -27546,6 +27757,16 @@ export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
|
27546
27757
|
* @throws {RequiredError}
|
|
27547
27758
|
*/
|
|
27548
27759
|
getTaskAgentUsageReport(orgId: string, projectId: string, taskAgentId: string, aggregation?: GetTaskAgentUsageReportAggregationEnum, status?: UsageReportStatus, errorsOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskAgentUsageReport>>;
|
|
27760
|
+
/**
|
|
27761
|
+
* List immutable executable revisions for a Task Agent. Each revision contains the runtime configuration and pinned attachments that can be executed by new runs, long-lived sessions, or pinned triggers. The active revision is marked with `active`.
|
|
27762
|
+
* @summary List Task Agent Revisions
|
|
27763
|
+
* @param {string} orgId The organization ID
|
|
27764
|
+
* @param {string} projectId The project ID
|
|
27765
|
+
* @param {string} taskAgentId The task agent ID
|
|
27766
|
+
* @param {*} [options] Override http request option.
|
|
27767
|
+
* @throws {RequiredError}
|
|
27768
|
+
*/
|
|
27769
|
+
listTaskAgentRevisions(orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaskAgentRevisionRead>>>;
|
|
27549
27770
|
/**
|
|
27550
27771
|
* List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM and tool execution
|
|
27551
27772
|
* @summary List Task Agent Runs
|
|
@@ -27560,12 +27781,13 @@ export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
|
27560
27781
|
* @param {string | null} [createdAfter] Filter runs created at/after this timestamp.
|
|
27561
27782
|
* @param {string | null} [createdBefore] Filter runs created at/before this timestamp.
|
|
27562
27783
|
* @param {number | null} [minDurationMs] Filter runs with duration greater than or equal to this value.
|
|
27784
|
+
* @param {string | null} [taskAgentRevisionId] Filter by TaskAgent revision ID.
|
|
27563
27785
|
* @param {number} [skip]
|
|
27564
27786
|
* @param {number} [limit]
|
|
27565
27787
|
* @param {*} [options] Override http request option.
|
|
27566
27788
|
* @throws {RequiredError}
|
|
27567
27789
|
*/
|
|
27568
|
-
listTaskAgentRuns(orgId: string, projectId: string, taskAgentId: string, sessionId?: string | null, isError?: boolean | null, hadTaskToolFail?: boolean | null, hadMcpToolFail?: boolean | null, status?: TaskAgentRunStatus, createdAfter?: string | null, createdBefore?: string | null, minDurationMs?: number | null, skip?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaskAgentRunRead>>>;
|
|
27790
|
+
listTaskAgentRuns(orgId: string, projectId: string, taskAgentId: string, sessionId?: string | null, isError?: boolean | null, hadTaskToolFail?: boolean | null, hadMcpToolFail?: boolean | null, status?: TaskAgentRunStatus, createdAfter?: string | null, createdBefore?: string | null, minDurationMs?: number | null, taskAgentRevisionId?: string | null, skip?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaskAgentRunRead>>>;
|
|
27569
27791
|
/**
|
|
27570
27792
|
* List conversation sessions for a Task Agent. Sessions group related runs together for multi-turn conversations.
|
|
27571
27793
|
* @summary List Task Agent Sessions
|
|
@@ -27577,7 +27799,7 @@ export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
|
27577
27799
|
*/
|
|
27578
27800
|
listTaskAgentSessions(orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaskAgentSessionSummary>>>;
|
|
27579
27801
|
/**
|
|
27580
|
-
* List all Task Agents configured for the project. Returns a paginated list of Task Agents with their
|
|
27802
|
+
* List all Task Agents configured for the project. Returns a paginated list of Task Agents with their root metadata and embedded revision history. Runtime configuration such as instructions, models, and tools is stored on each revision.
|
|
27581
27803
|
* @summary List Task Agents
|
|
27582
27804
|
* @param {string} orgId The unique identifier of the organization.
|
|
27583
27805
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27588,15 +27810,16 @@ export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
|
27588
27810
|
*/
|
|
27589
27811
|
listTaskAgents(orgId: string, projectId: string, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetTaskAgentRead>>;
|
|
27590
27812
|
/**
|
|
27591
|
-
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
27813
|
+
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
27592
27814
|
* @summary Run Task Agent
|
|
27593
27815
|
* @param {string} orgId The unique identifier of the organization.
|
|
27594
27816
|
* @param {string} projectId The unique identifier of the project.
|
|
27595
27817
|
* @param {string} taskAgentId The specific Task Agent to reference.
|
|
27818
|
+
* @param {string | null} [revisionId] Optional TaskAgent revision ID to use for execution. If omitted, new sessions use the active revision and continuations use the session\'s pinned revision.
|
|
27596
27819
|
* @param {*} [options] Override http request option.
|
|
27597
27820
|
* @throws {RequiredError}
|
|
27598
27821
|
*/
|
|
27599
|
-
runTaskAgent(orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
27822
|
+
runTaskAgent(orgId: string, projectId: string, taskAgentId: string, revisionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
27600
27823
|
/**
|
|
27601
27824
|
* Retrieve a specific member that has been granted direct access to the task_agent.
|
|
27602
27825
|
* @summary IAM - Lookup Task Agent Member
|
|
@@ -27643,7 +27866,7 @@ export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
|
27643
27866
|
*/
|
|
27644
27867
|
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles(taskAgentId: string, member: string, orgId: string, projectId: string, taskAgentIAMMemberRoleUpdate: TaskAgentIAMMemberRoleUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IAMMember>>;
|
|
27645
27868
|
/**
|
|
27646
|
-
* Update Task Agent
|
|
27869
|
+
* Update Task Agent metadata, create a new revision, or activate an existing revision. Modifiable fields: - Root metadata: name and run visibility - Revision configuration: description, instruction, LLM models, execution mode, memory settings, task tools, MCP servers, integrations, and skills - Activation: `active_revision_id` Updating revision configuration creates a new inactive revision. Activate it with a separate request that only includes `active_revision_id`. To update task tools, pass a `task_tools` array. This performs a full replacement: - Omit the field to leave task tools unchanged - Pass an empty array to remove all task tools - Pass a new array to replace all task tools (array order = execution order)
|
|
27647
27870
|
* @summary Update Task Agent
|
|
27648
27871
|
* @param {string} orgId The organization ID
|
|
27649
27872
|
* @param {string} projectId The project ID
|
|
@@ -27660,7 +27883,7 @@ export declare const TaskAgentsApiFp: (configuration?: Configuration) => {
|
|
|
27660
27883
|
*/
|
|
27661
27884
|
export declare const TaskAgentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
27662
27885
|
/**
|
|
27663
|
-
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning.
|
|
27886
|
+
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. The request creates the root Task Agent and its initial active revision. Runtime configuration such as instructions, models, and tools is stored on revisions.
|
|
27664
27887
|
* @summary Create Task Agent
|
|
27665
27888
|
* @param {string} orgId The organization ID
|
|
27666
27889
|
* @param {string} projectId The project ID
|
|
@@ -27670,7 +27893,7 @@ export declare const TaskAgentsApiFactory: (configuration?: Configuration, baseP
|
|
|
27670
27893
|
*/
|
|
27671
27894
|
createTaskAgent(orgId: string, projectId: string, taskAgentCreate: TaskAgentCreate, options?: any): AxiosPromise<TaskAgentRead>;
|
|
27672
27895
|
/**
|
|
27673
|
-
* Remove a Task Agent from the project. This will: - Remove agent
|
|
27896
|
+
* Remove a Task Agent from the project. This will: - Remove the agent and its revision configuration - Preserve run history for auditing This action cannot be undone.
|
|
27674
27897
|
* @summary Delete Task Agent
|
|
27675
27898
|
* @param {string} orgId The unique identifier of the organization.
|
|
27676
27899
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27716,7 +27939,7 @@ export declare const TaskAgentsApiFactory: (configuration?: Configuration, baseP
|
|
|
27716
27939
|
*/
|
|
27717
27940
|
getProjectTaskAgentUsageReport(orgId: string, projectId: string, taskAgentId?: string | null, aggregation?: GetProjectTaskAgentUsageReportAggregationEnum, status?: UsageReportStatus, options?: any): AxiosPromise<ProjectTaskAgentUsageReport>;
|
|
27718
27941
|
/**
|
|
27719
|
-
* Retrieve detailed information about a specific Task Agent. Returns
|
|
27942
|
+
* Retrieve detailed information about a specific Task Agent. Returns root Task Agent metadata with embedded immutable revisions. Runtime configuration such as instructions, models, and tools is stored on each revision.
|
|
27720
27943
|
* @summary Get Task Agent
|
|
27721
27944
|
* @param {string} orgId The unique identifier of the organization.
|
|
27722
27945
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27737,6 +27960,17 @@ export declare const TaskAgentsApiFactory: (configuration?: Configuration, baseP
|
|
|
27737
27960
|
* @throws {RequiredError}
|
|
27738
27961
|
*/
|
|
27739
27962
|
getTaskAgentCreditReport(orgId: string, projectId: string, taskAgentId: string, startDate?: string | null, endDate?: string | null, options?: any): AxiosPromise<TaskAgentCreditReport>;
|
|
27963
|
+
/**
|
|
27964
|
+
* Retrieve an immutable executable revision for a Task Agent. The response includes the runtime configuration and concrete pinned attachments stored on that revision.
|
|
27965
|
+
* @summary Get Task Agent Revision
|
|
27966
|
+
* @param {string} orgId The organization ID
|
|
27967
|
+
* @param {string} projectId The project ID
|
|
27968
|
+
* @param {string} taskAgentId The task agent ID
|
|
27969
|
+
* @param {string} revisionId
|
|
27970
|
+
* @param {*} [options] Override http request option.
|
|
27971
|
+
* @throws {RequiredError}
|
|
27972
|
+
*/
|
|
27973
|
+
getTaskAgentRevision(orgId: string, projectId: string, taskAgentId: string, revisionId: string, options?: any): AxiosPromise<TaskAgentRevisionRead>;
|
|
27740
27974
|
/**
|
|
27741
27975
|
* Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Error messages (if any) Events are returned in chronological order.
|
|
27742
27976
|
* @summary Get Run Events
|
|
@@ -27798,6 +28032,16 @@ export declare const TaskAgentsApiFactory: (configuration?: Configuration, baseP
|
|
|
27798
28032
|
* @throws {RequiredError}
|
|
27799
28033
|
*/
|
|
27800
28034
|
getTaskAgentUsageReport(orgId: string, projectId: string, taskAgentId: string, aggregation?: GetTaskAgentUsageReportAggregationEnum, status?: UsageReportStatus, errorsOnly?: boolean, options?: any): AxiosPromise<TaskAgentUsageReport>;
|
|
28035
|
+
/**
|
|
28036
|
+
* List immutable executable revisions for a Task Agent. Each revision contains the runtime configuration and pinned attachments that can be executed by new runs, long-lived sessions, or pinned triggers. The active revision is marked with `active`.
|
|
28037
|
+
* @summary List Task Agent Revisions
|
|
28038
|
+
* @param {string} orgId The organization ID
|
|
28039
|
+
* @param {string} projectId The project ID
|
|
28040
|
+
* @param {string} taskAgentId The task agent ID
|
|
28041
|
+
* @param {*} [options] Override http request option.
|
|
28042
|
+
* @throws {RequiredError}
|
|
28043
|
+
*/
|
|
28044
|
+
listTaskAgentRevisions(orgId: string, projectId: string, taskAgentId: string, options?: any): AxiosPromise<Array<TaskAgentRevisionRead>>;
|
|
27801
28045
|
/**
|
|
27802
28046
|
* List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM and tool execution
|
|
27803
28047
|
* @summary List Task Agent Runs
|
|
@@ -27812,12 +28056,13 @@ export declare const TaskAgentsApiFactory: (configuration?: Configuration, baseP
|
|
|
27812
28056
|
* @param {string | null} [createdAfter] Filter runs created at/after this timestamp.
|
|
27813
28057
|
* @param {string | null} [createdBefore] Filter runs created at/before this timestamp.
|
|
27814
28058
|
* @param {number | null} [minDurationMs] Filter runs with duration greater than or equal to this value.
|
|
28059
|
+
* @param {string | null} [taskAgentRevisionId] Filter by TaskAgent revision ID.
|
|
27815
28060
|
* @param {number} [skip]
|
|
27816
28061
|
* @param {number} [limit]
|
|
27817
28062
|
* @param {*} [options] Override http request option.
|
|
27818
28063
|
* @throws {RequiredError}
|
|
27819
28064
|
*/
|
|
27820
|
-
listTaskAgentRuns(orgId: string, projectId: string, taskAgentId: string, sessionId?: string | null, isError?: boolean | null, hadTaskToolFail?: boolean | null, hadMcpToolFail?: boolean | null, status?: TaskAgentRunStatus, createdAfter?: string | null, createdBefore?: string | null, minDurationMs?: number | null, skip?: number, limit?: number, options?: any): AxiosPromise<Array<TaskAgentRunRead>>;
|
|
28065
|
+
listTaskAgentRuns(orgId: string, projectId: string, taskAgentId: string, sessionId?: string | null, isError?: boolean | null, hadTaskToolFail?: boolean | null, hadMcpToolFail?: boolean | null, status?: TaskAgentRunStatus, createdAfter?: string | null, createdBefore?: string | null, minDurationMs?: number | null, taskAgentRevisionId?: string | null, skip?: number, limit?: number, options?: any): AxiosPromise<Array<TaskAgentRunRead>>;
|
|
27821
28066
|
/**
|
|
27822
28067
|
* List conversation sessions for a Task Agent. Sessions group related runs together for multi-turn conversations.
|
|
27823
28068
|
* @summary List Task Agent Sessions
|
|
@@ -27829,7 +28074,7 @@ export declare const TaskAgentsApiFactory: (configuration?: Configuration, baseP
|
|
|
27829
28074
|
*/
|
|
27830
28075
|
listTaskAgentSessions(orgId: string, projectId: string, taskAgentId: string, options?: any): AxiosPromise<Array<TaskAgentSessionSummary>>;
|
|
27831
28076
|
/**
|
|
27832
|
-
* List all Task Agents configured for the project. Returns a paginated list of Task Agents with their
|
|
28077
|
+
* List all Task Agents configured for the project. Returns a paginated list of Task Agents with their root metadata and embedded revision history. Runtime configuration such as instructions, models, and tools is stored on each revision.
|
|
27833
28078
|
* @summary List Task Agents
|
|
27834
28079
|
* @param {string} orgId The unique identifier of the organization.
|
|
27835
28080
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27840,15 +28085,16 @@ export declare const TaskAgentsApiFactory: (configuration?: Configuration, baseP
|
|
|
27840
28085
|
*/
|
|
27841
28086
|
listTaskAgents(orgId: string, projectId: string, cursor?: string | null, pageLimit?: number, options?: any): AxiosPromise<PaginatedResultSetTaskAgentRead>;
|
|
27842
28087
|
/**
|
|
27843
|
-
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
28088
|
+
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
27844
28089
|
* @summary Run Task Agent
|
|
27845
28090
|
* @param {string} orgId The unique identifier of the organization.
|
|
27846
28091
|
* @param {string} projectId The unique identifier of the project.
|
|
27847
28092
|
* @param {string} taskAgentId The specific Task Agent to reference.
|
|
28093
|
+
* @param {string | null} [revisionId] Optional TaskAgent revision ID to use for execution. If omitted, new sessions use the active revision and continuations use the session\'s pinned revision.
|
|
27848
28094
|
* @param {*} [options] Override http request option.
|
|
27849
28095
|
* @throws {RequiredError}
|
|
27850
28096
|
*/
|
|
27851
|
-
runTaskAgent(orgId: string, projectId: string, taskAgentId: string, options?: any): AxiosPromise<any>;
|
|
28097
|
+
runTaskAgent(orgId: string, projectId: string, taskAgentId: string, revisionId?: string | null, options?: any): AxiosPromise<any>;
|
|
27852
28098
|
/**
|
|
27853
28099
|
* Retrieve a specific member that has been granted direct access to the task_agent.
|
|
27854
28100
|
* @summary IAM - Lookup Task Agent Member
|
|
@@ -27895,7 +28141,7 @@ export declare const TaskAgentsApiFactory: (configuration?: Configuration, baseP
|
|
|
27895
28141
|
*/
|
|
27896
28142
|
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles(taskAgentId: string, member: string, orgId: string, projectId: string, taskAgentIAMMemberRoleUpdate: TaskAgentIAMMemberRoleUpdate, options?: any): AxiosPromise<IAMMember>;
|
|
27897
28143
|
/**
|
|
27898
|
-
* Update Task Agent
|
|
28144
|
+
* Update Task Agent metadata, create a new revision, or activate an existing revision. Modifiable fields: - Root metadata: name and run visibility - Revision configuration: description, instruction, LLM models, execution mode, memory settings, task tools, MCP servers, integrations, and skills - Activation: `active_revision_id` Updating revision configuration creates a new inactive revision. Activate it with a separate request that only includes `active_revision_id`. To update task tools, pass a `task_tools` array. This performs a full replacement: - Omit the field to leave task tools unchanged - Pass an empty array to remove all task tools - Pass a new array to replace all task tools (array order = execution order)
|
|
27899
28145
|
* @summary Update Task Agent
|
|
27900
28146
|
* @param {string} orgId The organization ID
|
|
27901
28147
|
* @param {string} projectId The project ID
|
|
@@ -27914,7 +28160,7 @@ export declare const TaskAgentsApiFactory: (configuration?: Configuration, baseP
|
|
|
27914
28160
|
*/
|
|
27915
28161
|
export declare class TaskAgentsApi extends BaseAPI {
|
|
27916
28162
|
/**
|
|
27917
|
-
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning.
|
|
28163
|
+
* Create a new Task Agent for the project. Task Agents orchestrate multiple Tasks as task tools using LLM-powered reasoning. The request creates the root Task Agent and its initial active revision. Runtime configuration such as instructions, models, and tools is stored on revisions.
|
|
27918
28164
|
* @summary Create Task Agent
|
|
27919
28165
|
* @param {string} orgId The organization ID
|
|
27920
28166
|
* @param {string} projectId The project ID
|
|
@@ -27925,7 +28171,7 @@ export declare class TaskAgentsApi extends BaseAPI {
|
|
|
27925
28171
|
*/
|
|
27926
28172
|
createTaskAgent(orgId: string, projectId: string, taskAgentCreate: TaskAgentCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentRead, any, {}>>;
|
|
27927
28173
|
/**
|
|
27928
|
-
* Remove a Task Agent from the project. This will: - Remove agent
|
|
28174
|
+
* Remove a Task Agent from the project. This will: - Remove the agent and its revision configuration - Preserve run history for auditing This action cannot be undone.
|
|
27929
28175
|
* @summary Delete Task Agent
|
|
27930
28176
|
* @param {string} orgId The unique identifier of the organization.
|
|
27931
28177
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27975,7 +28221,7 @@ export declare class TaskAgentsApi extends BaseAPI {
|
|
|
27975
28221
|
*/
|
|
27976
28222
|
getProjectTaskAgentUsageReport(orgId: string, projectId: string, taskAgentId?: string | null, aggregation?: GetProjectTaskAgentUsageReportAggregationEnum, status?: UsageReportStatus, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectTaskAgentUsageReport, any, {}>>;
|
|
27977
28223
|
/**
|
|
27978
|
-
* Retrieve detailed information about a specific Task Agent. Returns
|
|
28224
|
+
* Retrieve detailed information about a specific Task Agent. Returns root Task Agent metadata with embedded immutable revisions. Runtime configuration such as instructions, models, and tools is stored on each revision.
|
|
27979
28225
|
* @summary Get Task Agent
|
|
27980
28226
|
* @param {string} orgId The unique identifier of the organization.
|
|
27981
28227
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27998,6 +28244,18 @@ export declare class TaskAgentsApi extends BaseAPI {
|
|
|
27998
28244
|
* @memberof TaskAgentsApi
|
|
27999
28245
|
*/
|
|
28000
28246
|
getTaskAgentCreditReport(orgId: string, projectId: string, taskAgentId: string, startDate?: string | null, endDate?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentCreditReport, any, {}>>;
|
|
28247
|
+
/**
|
|
28248
|
+
* Retrieve an immutable executable revision for a Task Agent. The response includes the runtime configuration and concrete pinned attachments stored on that revision.
|
|
28249
|
+
* @summary Get Task Agent Revision
|
|
28250
|
+
* @param {string} orgId The organization ID
|
|
28251
|
+
* @param {string} projectId The project ID
|
|
28252
|
+
* @param {string} taskAgentId The task agent ID
|
|
28253
|
+
* @param {string} revisionId
|
|
28254
|
+
* @param {*} [options] Override http request option.
|
|
28255
|
+
* @throws {RequiredError}
|
|
28256
|
+
* @memberof TaskAgentsApi
|
|
28257
|
+
*/
|
|
28258
|
+
getTaskAgentRevision(orgId: string, projectId: string, taskAgentId: string, revisionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentRevisionRead, any, {}>>;
|
|
28001
28259
|
/**
|
|
28002
28260
|
* Get conversation events for a specific TaskAgentRun. Returns the full conversation history from the ADK session including: - User messages - Agent responses - Tool calls and results - Error messages (if any) Events are returned in chronological order.
|
|
28003
28261
|
* @summary Get Run Events
|
|
@@ -28064,6 +28322,17 @@ export declare class TaskAgentsApi extends BaseAPI {
|
|
|
28064
28322
|
* @memberof TaskAgentsApi
|
|
28065
28323
|
*/
|
|
28066
28324
|
getTaskAgentUsageReport(orgId: string, projectId: string, taskAgentId: string, aggregation?: GetTaskAgentUsageReportAggregationEnum, status?: UsageReportStatus, errorsOnly?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentUsageReport, any, {}>>;
|
|
28325
|
+
/**
|
|
28326
|
+
* List immutable executable revisions for a Task Agent. Each revision contains the runtime configuration and pinned attachments that can be executed by new runs, long-lived sessions, or pinned triggers. The active revision is marked with `active`.
|
|
28327
|
+
* @summary List Task Agent Revisions
|
|
28328
|
+
* @param {string} orgId The organization ID
|
|
28329
|
+
* @param {string} projectId The project ID
|
|
28330
|
+
* @param {string} taskAgentId The task agent ID
|
|
28331
|
+
* @param {*} [options] Override http request option.
|
|
28332
|
+
* @throws {RequiredError}
|
|
28333
|
+
* @memberof TaskAgentsApi
|
|
28334
|
+
*/
|
|
28335
|
+
listTaskAgentRevisions(orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentRevisionRead[], any, {}>>;
|
|
28067
28336
|
/**
|
|
28068
28337
|
* List execution runs for a Task Agent. Returns run history with: - Input message - Token usage - Status and duration - Task tools invoked - MCP tools invoked - Phase timings for LLM and tool execution
|
|
28069
28338
|
* @summary List Task Agent Runs
|
|
@@ -28078,13 +28347,14 @@ export declare class TaskAgentsApi extends BaseAPI {
|
|
|
28078
28347
|
* @param {string | null} [createdAfter] Filter runs created at/after this timestamp.
|
|
28079
28348
|
* @param {string | null} [createdBefore] Filter runs created at/before this timestamp.
|
|
28080
28349
|
* @param {number | null} [minDurationMs] Filter runs with duration greater than or equal to this value.
|
|
28350
|
+
* @param {string | null} [taskAgentRevisionId] Filter by TaskAgent revision ID.
|
|
28081
28351
|
* @param {number} [skip]
|
|
28082
28352
|
* @param {number} [limit]
|
|
28083
28353
|
* @param {*} [options] Override http request option.
|
|
28084
28354
|
* @throws {RequiredError}
|
|
28085
28355
|
* @memberof TaskAgentsApi
|
|
28086
28356
|
*/
|
|
28087
|
-
listTaskAgentRuns(orgId: string, projectId: string, taskAgentId: string, sessionId?: string | null, isError?: boolean | null, hadTaskToolFail?: boolean | null, hadMcpToolFail?: boolean | null, status?: TaskAgentRunStatus, createdAfter?: string | null, createdBefore?: string | null, minDurationMs?: number | null, skip?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentRunRead[], any, {}>>;
|
|
28357
|
+
listTaskAgentRuns(orgId: string, projectId: string, taskAgentId: string, sessionId?: string | null, isError?: boolean | null, hadTaskToolFail?: boolean | null, hadMcpToolFail?: boolean | null, status?: TaskAgentRunStatus, createdAfter?: string | null, createdBefore?: string | null, minDurationMs?: number | null, taskAgentRevisionId?: string | null, skip?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentRunRead[], any, {}>>;
|
|
28088
28358
|
/**
|
|
28089
28359
|
* List conversation sessions for a Task Agent. Sessions group related runs together for multi-turn conversations.
|
|
28090
28360
|
* @summary List Task Agent Sessions
|
|
@@ -28097,7 +28367,7 @@ export declare class TaskAgentsApi extends BaseAPI {
|
|
|
28097
28367
|
*/
|
|
28098
28368
|
listTaskAgentSessions(orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskAgentSessionSummary[], any, {}>>;
|
|
28099
28369
|
/**
|
|
28100
|
-
* List all Task Agents configured for the project. Returns a paginated list of Task Agents with their
|
|
28370
|
+
* List all Task Agents configured for the project. Returns a paginated list of Task Agents with their root metadata and embedded revision history. Runtime configuration such as instructions, models, and tools is stored on each revision.
|
|
28101
28371
|
* @summary List Task Agents
|
|
28102
28372
|
* @param {string} orgId The unique identifier of the organization.
|
|
28103
28373
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -28109,16 +28379,17 @@ export declare class TaskAgentsApi extends BaseAPI {
|
|
|
28109
28379
|
*/
|
|
28110
28380
|
listTaskAgents(orgId: string, projectId: string, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedResultSetTaskAgentRead, any, {}>>;
|
|
28111
28381
|
/**
|
|
28112
|
-
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
28382
|
+
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Use `revision_id` to execute a specific TaskAgent revision. New sessions can run any revision belonging to the TaskAgent. Existing sessions remain pinned to their original revision; passing a conflicting `revision_id` is rejected. Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
28113
28383
|
* @summary Run Task Agent
|
|
28114
28384
|
* @param {string} orgId The unique identifier of the organization.
|
|
28115
28385
|
* @param {string} projectId The unique identifier of the project.
|
|
28116
28386
|
* @param {string} taskAgentId The specific Task Agent to reference.
|
|
28387
|
+
* @param {string | null} [revisionId] Optional TaskAgent revision ID to use for execution. If omitted, new sessions use the active revision and continuations use the session\'s pinned revision.
|
|
28117
28388
|
* @param {*} [options] Override http request option.
|
|
28118
28389
|
* @throws {RequiredError}
|
|
28119
28390
|
* @memberof TaskAgentsApi
|
|
28120
28391
|
*/
|
|
28121
|
-
runTaskAgent(orgId: string, projectId: string, taskAgentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
28392
|
+
runTaskAgent(orgId: string, projectId: string, taskAgentId: string, revisionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
28122
28393
|
/**
|
|
28123
28394
|
* Retrieve a specific member that has been granted direct access to the task_agent.
|
|
28124
28395
|
* @summary IAM - Lookup Task Agent Member
|
|
@@ -28169,7 +28440,7 @@ export declare class TaskAgentsApi extends BaseAPI {
|
|
|
28169
28440
|
*/
|
|
28170
28441
|
taskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamUpdateMemberRoles(taskAgentId: string, member: string, orgId: string, projectId: string, taskAgentIAMMemberRoleUpdate: TaskAgentIAMMemberRoleUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IAMMember, any, {}>>;
|
|
28171
28442
|
/**
|
|
28172
|
-
* Update Task Agent
|
|
28443
|
+
* Update Task Agent metadata, create a new revision, or activate an existing revision. Modifiable fields: - Root metadata: name and run visibility - Revision configuration: description, instruction, LLM models, execution mode, memory settings, task tools, MCP servers, integrations, and skills - Activation: `active_revision_id` Updating revision configuration creates a new inactive revision. Activate it with a separate request that only includes `active_revision_id`. To update task tools, pass a `task_tools` array. This performs a full replacement: - Omit the field to leave task tools unchanged - Pass an empty array to remove all task tools - Pass a new array to replace all task tools (array order = execution order)
|
|
28173
28444
|
* @summary Update Task Agent
|
|
28174
28445
|
* @param {string} orgId The organization ID
|
|
28175
28446
|
* @param {string} projectId The project ID
|