@labelbox/rl-sdk 0.0.147 → 0.0.149
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/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +74 -5
- package/dist/generated/sdk.gen.js +140 -4
- package/dist/generated/types.gen.d.ts +726 -79
- package/dist/reference/resources-reference.generated.js +82 -0
- package/dist/reference/sdk-reference.generated.js +1035 -50
- package/package.json +1 -1
|
@@ -7126,7 +7126,7 @@ export type LockProblemVersionDto = {
|
|
|
7126
7126
|
};
|
|
7127
7127
|
};
|
|
7128
7128
|
/**
|
|
7129
|
-
* A configured agent: its
|
|
7129
|
+
* A configured agent: its versioned execution definition plus current mutable classification tags. Patching the execution definition mints a new immutable AgentVersion; applying tags does not. A session records the version it ran and never snapshots tags.
|
|
7130
7130
|
*/
|
|
7131
7131
|
export type ManagedAgentsAgent = {
|
|
7132
7132
|
/**
|
|
@@ -7206,6 +7206,10 @@ export type ManagedAgentsAgent = {
|
|
|
7206
7206
|
* System prompt prepended to every conversation this agent runs.
|
|
7207
7207
|
*/
|
|
7208
7208
|
system?: string;
|
|
7209
|
+
/**
|
|
7210
|
+
* Current organization-scoped classification tags applied to this agent. Always an array. Tags are mutable catalog metadata and are deliberately absent from AgentVersion and session runtime snapshots.
|
|
7211
|
+
*/
|
|
7212
|
+
tags: Array<ManagedAgentsTag>;
|
|
7209
7213
|
/**
|
|
7210
7214
|
* Additional tool groups to enable, snapshotted into the session and passed to the execution runtime unchanged. This does NOT gate the sandbox tools: run_command, run_process, read_file and write_file are offered to every session with a sandbox whether or not this list mentions them, so a shell needs no entry here. The names a session actually offers the model are reported as config.available_builtin_tools on the started session -- read that rather than inferring the tool surface from this list.
|
|
7211
7215
|
*/
|
|
@@ -8247,6 +8251,23 @@ export type ManagedAgentsCreateEnvironmentRequest = {
|
|
|
8247
8251
|
*/
|
|
8248
8252
|
stopped_delete_after_seconds?: number;
|
|
8249
8253
|
};
|
|
8254
|
+
/**
|
|
8255
|
+
* Request body for creating one organization-scoped tag definition. The organization always comes from the authenticated principal.
|
|
8256
|
+
*/
|
|
8257
|
+
export type ManagedAgentsCreateTagRequest = {
|
|
8258
|
+
/**
|
|
8259
|
+
* Display color in #RRGGBB form.
|
|
8260
|
+
*/
|
|
8261
|
+
color: string;
|
|
8262
|
+
/**
|
|
8263
|
+
* Optional operator-facing explanation of this classification, up to 280 characters.
|
|
8264
|
+
*/
|
|
8265
|
+
description?: string;
|
|
8266
|
+
/**
|
|
8267
|
+
* Display label. Leading and trailing whitespace is removed; the result must contain 1-32 characters and be unique case-insensitively among live tags in the organization.
|
|
8268
|
+
*/
|
|
8269
|
+
label: string;
|
|
8270
|
+
};
|
|
8250
8271
|
/**
|
|
8251
8272
|
* Request body creating a Slack wake rule: the connection and event to match, and the agent, environment, and vaults a match runs with. Every referenced object must belong to the calling organization; GitHub events use provider-neutral automations instead.
|
|
8252
8273
|
*/
|
|
@@ -8312,12 +8333,13 @@ export type ManagedAgentsCreateVaultCredentialRequest = {
|
|
|
8312
8333
|
* Resources within the connection this grant may reach, e.g. GitHub repository names. Empty means every resource the connection reaches, which is broader than most grants should be.
|
|
8313
8334
|
*/
|
|
8314
8335
|
integration_resources?: Array<string>;
|
|
8336
|
+
labelbox_scope?: ManagedAgentsLabelboxScopeRequest;
|
|
8315
8337
|
/**
|
|
8316
8338
|
* The MCP server this credential unlocks. Must be http or https and must not embed credentials. Required for the MCP kinds and immutable afterwards, so it is validated here rather than at the first connection.
|
|
8317
8339
|
*/
|
|
8318
8340
|
mcp_server_url?: string;
|
|
8319
8341
|
/**
|
|
8320
|
-
* Free-form caller-owned JSON stored with the credential row and returned on reads. Not interpreted by the service; never put secret material here, since unlike secret_value it is returned verbatim.
|
|
8342
|
+
* Free-form caller-owned JSON stored with the credential row and returned on reads. Not interpreted by the service; never put secret material here, since unlike secret_value it is returned verbatim. The key labelbox_scope is reserved for the typed field.
|
|
8321
8343
|
*/
|
|
8322
8344
|
metadata?: {
|
|
8323
8345
|
[key: string]: unknown;
|
|
@@ -8376,7 +8398,7 @@ export type ManagedAgentsDefineOutcomeRequest = {
|
|
|
8376
8398
|
rubric: string;
|
|
8377
8399
|
};
|
|
8378
8400
|
/**
|
|
8379
|
-
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
8401
|
+
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, tags, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
8380
8402
|
*/
|
|
8381
8403
|
export type ManagedAgentsDeletedResponse = {
|
|
8382
8404
|
/**
|
|
@@ -8897,6 +8919,32 @@ export type ManagedAgentsInterruptedResponse = {
|
|
|
8897
8919
|
*/
|
|
8898
8920
|
temporal_signaled?: boolean;
|
|
8899
8921
|
};
|
|
8922
|
+
/**
|
|
8923
|
+
* Organization and exact project set a Labelbox product-state credential may read. The organization always equals the credential's owner; the project list is the ceiling the MCP service enforces on every tool call.
|
|
8924
|
+
*/
|
|
8925
|
+
export type ManagedAgentsLabelboxScopeRequest = {
|
|
8926
|
+
/**
|
|
8927
|
+
* Labelbox organization the projects belong to. Optional: filled in from the organization that owns the credential, and rejected if it names any other.
|
|
8928
|
+
*/
|
|
8929
|
+
organization_id?: string;
|
|
8930
|
+
/**
|
|
8931
|
+
* Exact Labelbox project ids (1 to 100, each up to 128 characters of letters, digits, hyphen, or underscore) the credential may read. Duplicates are rejected.
|
|
8932
|
+
*/
|
|
8933
|
+
project_ids: unknown;
|
|
8934
|
+
};
|
|
8935
|
+
/**
|
|
8936
|
+
* Organization and exact project set a Labelbox product-state credential may read. The organization always equals the credential's owner; the project list is the ceiling the MCP service enforces on every tool call.
|
|
8937
|
+
*/
|
|
8938
|
+
export type ManagedAgentsLabelboxToolsScope = {
|
|
8939
|
+
/**
|
|
8940
|
+
* Labelbox organization the projects belong to. Must equal the organization that owns the credential; filled in from it when omitted on write.
|
|
8941
|
+
*/
|
|
8942
|
+
organization_id: string;
|
|
8943
|
+
/**
|
|
8944
|
+
* Exact Labelbox project ids (1 to 100, each up to 128 characters of letters, digits, hyphen, or underscore) the credential may read. Validated as unique and sorted on write.
|
|
8945
|
+
*/
|
|
8946
|
+
project_ids: unknown;
|
|
8947
|
+
};
|
|
8900
8948
|
/**
|
|
8901
8949
|
* Whether an agent learns from its own finished sessions, and on what cadence. Defaults are inert: enabling it produces reports and candidate stores, and never changes what a session reads until an admin activates a candidate.
|
|
8902
8950
|
*/
|
|
@@ -10312,6 +10360,15 @@ export type ManagedAgentsReflectionListResponse = {
|
|
|
10312
10360
|
*/
|
|
10313
10361
|
reflections?: unknown;
|
|
10314
10362
|
};
|
|
10363
|
+
/**
|
|
10364
|
+
* Request body for atomically replacing an agent's complete mutable tag classification.
|
|
10365
|
+
*/
|
|
10366
|
+
export type ManagedAgentsReplaceAgentTagsRequest = {
|
|
10367
|
+
/**
|
|
10368
|
+
* Complete replacement set of tag ids, with at most 32 distinct ids. Every id must be a live tag in the caller's organization. Duplicates are collapsed before enforcing the limit; [] removes every tag.
|
|
10369
|
+
*/
|
|
10370
|
+
tag_ids: Array<string>;
|
|
10371
|
+
};
|
|
10315
10372
|
/**
|
|
10316
10373
|
* Structured input for manually starting an automation without a webhook delivery.
|
|
10317
10374
|
*/
|
|
@@ -11049,6 +11106,48 @@ export type ManagedAgentsStartSessionRequest = {
|
|
|
11049
11106
|
*/
|
|
11050
11107
|
vault_ids?: Array<string>;
|
|
11051
11108
|
};
|
|
11109
|
+
/**
|
|
11110
|
+
* An organization-scoped classification definition. Applying or removing it changes only catalog membership: it does not update the agent, mint an AgentVersion, or affect running sessions.
|
|
11111
|
+
*/
|
|
11112
|
+
export type ManagedAgentsTag = {
|
|
11113
|
+
/**
|
|
11114
|
+
* Display color in #RRGGBB form.
|
|
11115
|
+
*/
|
|
11116
|
+
color?: string;
|
|
11117
|
+
/**
|
|
11118
|
+
* Server-assigned RFC 3339 timestamp of when the tag was created.
|
|
11119
|
+
*/
|
|
11120
|
+
created_at?: string;
|
|
11121
|
+
/**
|
|
11122
|
+
* Optional operator-facing explanation of the classification, up to 280 characters.
|
|
11123
|
+
*/
|
|
11124
|
+
description?: string;
|
|
11125
|
+
/**
|
|
11126
|
+
* Display label, trimmed by the service. Unique case-insensitively among live tags in this organization.
|
|
11127
|
+
*/
|
|
11128
|
+
label?: string;
|
|
11129
|
+
/**
|
|
11130
|
+
* Labelbox organization that owns the tag. Server-assigned from the authenticated principal and never accepted as authority from the request body.
|
|
11131
|
+
*/
|
|
11132
|
+
organization_id?: string;
|
|
11133
|
+
/**
|
|
11134
|
+
* Server-assigned tag id (UUID).
|
|
11135
|
+
*/
|
|
11136
|
+
tag_id?: string;
|
|
11137
|
+
/**
|
|
11138
|
+
* Server-assigned RFC 3339 timestamp of the most recent definition update.
|
|
11139
|
+
*/
|
|
11140
|
+
updated_at?: string;
|
|
11141
|
+
};
|
|
11142
|
+
/**
|
|
11143
|
+
* A complete set of organization-scoped tag definitions. GET /v1/tags returns the organization catalog; agent tag PUT routes return the agent's resulting exact set.
|
|
11144
|
+
*/
|
|
11145
|
+
export type ManagedAgentsTagListResponse = {
|
|
11146
|
+
/**
|
|
11147
|
+
* The complete live tag set for this response. Always an array; an empty array means no definitions exist or the agent has no classifications.
|
|
11148
|
+
*/
|
|
11149
|
+
tags: Array<ManagedAgentsTag>;
|
|
11150
|
+
};
|
|
11052
11151
|
/**
|
|
11053
11152
|
* One tool or toolset enabled on an agent version, with its type-specific settings. Callers supply these when creating an agent version; the resulting session offers exactly the tools they declare.
|
|
11054
11153
|
*/
|
|
@@ -11209,6 +11308,117 @@ export type ManagedAgentsTriggerBindingListResponse = {
|
|
|
11209
11308
|
*/
|
|
11210
11309
|
bindings?: unknown;
|
|
11211
11310
|
};
|
|
11311
|
+
/**
|
|
11312
|
+
* Partial update to an agent's versioned execution definition. Omitted fields keep their current values. Tags are changed only through the dedicated agent tag routes.
|
|
11313
|
+
*/
|
|
11314
|
+
export type ManagedAgentsUpdateAgentRequest = {
|
|
11315
|
+
/**
|
|
11316
|
+
* Server-assigned id of the agent, used in the agent, agent-version, and session routes.
|
|
11317
|
+
*/
|
|
11318
|
+
agent_id?: string;
|
|
11319
|
+
/**
|
|
11320
|
+
* Server-assigned RFC 3339 timestamp of when the agent was created.
|
|
11321
|
+
*/
|
|
11322
|
+
created_at?: string;
|
|
11323
|
+
/**
|
|
11324
|
+
* Caller-defined tools exposed to the model in addition to the built-in toolsets.
|
|
11325
|
+
*/
|
|
11326
|
+
custom_tools?: unknown;
|
|
11327
|
+
/**
|
|
11328
|
+
* Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.
|
|
11329
|
+
*/
|
|
11330
|
+
default_credential_refs?: unknown;
|
|
11331
|
+
/**
|
|
11332
|
+
* Markdown rubric that sessions started from this agent are graded against when their create request omits an outcome. A session that supplies its own outcome ignores this entirely. Omit the field to keep the stored rubric; send an empty string to remove it.
|
|
11333
|
+
*/
|
|
11334
|
+
default_rubric?: unknown;
|
|
11335
|
+
/**
|
|
11336
|
+
* Vaults whose credentials are copied into a new session when its create request omits vault_ids. Sending an explicit empty list on the session still overrides these.
|
|
11337
|
+
*/
|
|
11338
|
+
default_vault_ids?: unknown;
|
|
11339
|
+
/**
|
|
11340
|
+
* Free-text note about what this agent is for.
|
|
11341
|
+
*/
|
|
11342
|
+
description?: string;
|
|
11343
|
+
/**
|
|
11344
|
+
* Server-maintained id of the newest version of this agent; sessions started without an explicit version use it.
|
|
11345
|
+
*/
|
|
11346
|
+
latest_agent_version_id?: string;
|
|
11347
|
+
/**
|
|
11348
|
+
* Remote MCP servers to attach. Each entry is an object with name (the label the server's tools are grouped under) and url (its http/https endpoint); any further keys are passed to the runtime unchanged. Credentials come from the vaults granted to the session, not from this entry. Tools are discovered and snapshotted at session start.
|
|
11349
|
+
*/
|
|
11350
|
+
mcp_servers?: unknown;
|
|
11351
|
+
/**
|
|
11352
|
+
* Caller-owned key/value data stored with the agent and returned unchanged.
|
|
11353
|
+
*/
|
|
11354
|
+
metadata?: {
|
|
11355
|
+
[key: string]: unknown;
|
|
11356
|
+
};
|
|
11357
|
+
/**
|
|
11358
|
+
* Model the agent runs on. Pass a gateway model id exactly as the gateway models catalog reports it, e.g. anthropic/claude-sonnet-4-5; it is stored prefixed as litellm:anthropic/claude-sonnet-4-5, which is the form the router reads and the form returned on reads. An explicitly provider-qualified string such as anthropic:claude-sonnet-4-5 selects a directly-configured provider instead and is left as written. An id the gateway does not serve is rejected here, not at the session's first turn.
|
|
11359
|
+
*/
|
|
11360
|
+
model?: string;
|
|
11361
|
+
model_config?: ManagedAgentsInferenceConfig;
|
|
11362
|
+
/**
|
|
11363
|
+
* Canonical model-reference id to run instead of a gateway model id, for fine-tuned or self-hosted models.
|
|
11364
|
+
*/
|
|
11365
|
+
model_ref_id?: string;
|
|
11366
|
+
/**
|
|
11367
|
+
* Multi-agent orchestration settings, such as subagent definitions and delegation limits.
|
|
11368
|
+
*/
|
|
11369
|
+
multiagent?: {
|
|
11370
|
+
[key: string]: unknown;
|
|
11371
|
+
};
|
|
11372
|
+
/**
|
|
11373
|
+
* Human-readable label shown wherever agents are listed. Not required to be unique.
|
|
11374
|
+
*/
|
|
11375
|
+
name?: string;
|
|
11376
|
+
/**
|
|
11377
|
+
* Labelbox organization that owns the agent. Server-assigned from the caller's credentials; a value sent in a request body is ignored.
|
|
11378
|
+
*/
|
|
11379
|
+
organization_id?: string;
|
|
11380
|
+
/**
|
|
11381
|
+
* Runtime adapter configurations that change how the harness executes turns; each entry is adapter-specific.
|
|
11382
|
+
*/
|
|
11383
|
+
runtime_adapters?: unknown;
|
|
11384
|
+
/**
|
|
11385
|
+
* Skill packages loaded into the agent's runtime, each an entry with the skill reference and its metadata.
|
|
11386
|
+
*/
|
|
11387
|
+
skills?: unknown;
|
|
11388
|
+
/**
|
|
11389
|
+
* System prompt prepended to every conversation this agent runs.
|
|
11390
|
+
*/
|
|
11391
|
+
system?: string;
|
|
11392
|
+
/**
|
|
11393
|
+
* Additional tool groups to enable, snapshotted into the session and passed to the execution runtime unchanged. This does NOT gate the sandbox tools: run_command, run_process, read_file and write_file are offered to every session with a sandbox whether or not this list mentions them, so a shell needs no entry here. The names a session actually offers the model are reported as config.available_builtin_tools on the started session -- read that rather than inferring the tool surface from this list.
|
|
11394
|
+
*/
|
|
11395
|
+
toolsets?: unknown;
|
|
11396
|
+
/**
|
|
11397
|
+
* Server-assigned RFC 3339 timestamp of the most recent update to the agent.
|
|
11398
|
+
*/
|
|
11399
|
+
updated_at?: string;
|
|
11400
|
+
/**
|
|
11401
|
+
* Whether new sessions may use the native web_search tool. Omitted on legacy agents and interpreted as enabled.
|
|
11402
|
+
*/
|
|
11403
|
+
web_search_enabled?: boolean;
|
|
11404
|
+
};
|
|
11405
|
+
/**
|
|
11406
|
+
* Request body for changing a tag definition. Every field is optional and tag applications remain unchanged.
|
|
11407
|
+
*/
|
|
11408
|
+
export type ManagedAgentsUpdateTagRequest = {
|
|
11409
|
+
/**
|
|
11410
|
+
* Replacement display color in #RRGGBB form. Omit to keep the current color.
|
|
11411
|
+
*/
|
|
11412
|
+
color?: string;
|
|
11413
|
+
/**
|
|
11414
|
+
* Replacement description. Send an empty string to clear it; omit to keep the current description.
|
|
11415
|
+
*/
|
|
11416
|
+
description?: string;
|
|
11417
|
+
/**
|
|
11418
|
+
* Replacement display label. Leading and trailing whitespace is removed. Omit to keep the current label.
|
|
11419
|
+
*/
|
|
11420
|
+
label?: string;
|
|
11421
|
+
};
|
|
11212
11422
|
/**
|
|
11213
11423
|
* Partial update of one trigger binding. Only the properties present in the request change; an omitted property keeps its stored value, so an explicit false or empty list is distinguishable from an omission. The merged binding is revalidated as a whole, which is what keeps a single-field edit from bypassing a provider or tenancy invariant.
|
|
11214
11424
|
*/
|
|
@@ -11266,8 +11476,9 @@ export type ManagedAgentsUpdateVaultCredentialRequest = {
|
|
|
11266
11476
|
* Replacement resource allowlist for an integration grant.
|
|
11267
11477
|
*/
|
|
11268
11478
|
integration_resources?: Array<string>;
|
|
11479
|
+
labelbox_scope?: ManagedAgentsLabelboxScopeRequest;
|
|
11269
11480
|
/**
|
|
11270
|
-
* Replacement free-form caller-owned JSON. Sent as a whole object, not merged; omit to keep the current value.
|
|
11481
|
+
* Replacement free-form caller-owned JSON. Sent as a whole object, not merged; omit to keep the current value. The key labelbox_scope is reserved for the typed field.
|
|
11271
11482
|
*/
|
|
11272
11483
|
metadata?: {
|
|
11273
11484
|
[key: string]: unknown;
|
|
@@ -11404,12 +11615,13 @@ export type ManagedAgentsVaultCredential = {
|
|
|
11404
11615
|
* Resources within the connection the grant is narrowed to — repositories, for GitHub. Empty means every resource the connection itself can reach, which is broader than most grants should be.
|
|
11405
11616
|
*/
|
|
11406
11617
|
integration_resources?: Array<string>;
|
|
11618
|
+
labelbox_scope?: ManagedAgentsLabelboxToolsScope;
|
|
11407
11619
|
/**
|
|
11408
11620
|
* MCP server this credential may be sent to. Required for bearer_token and immutable afterwards, so a stored secret cannot be repointed at a different service.
|
|
11409
11621
|
*/
|
|
11410
11622
|
mcp_server_url?: string;
|
|
11411
11623
|
/**
|
|
11412
|
-
* Free-form caller-supplied key/value labels. Stored verbatim and never interpreted by the service.
|
|
11624
|
+
* Free-form caller-supplied key/value labels. Stored verbatim and never interpreted by the service. The key labelbox_scope is reserved for the typed field of that name.
|
|
11413
11625
|
*/
|
|
11414
11626
|
metadata?: {
|
|
11415
11627
|
[key: string]: unknown;
|
|
@@ -22756,7 +22968,12 @@ export type WorkspaceFileDownloadUrlResponseDto = {
|
|
|
22756
22968
|
export type GetManagedAgentsV1AgentsData = {
|
|
22757
22969
|
body?: never;
|
|
22758
22970
|
path?: never;
|
|
22759
|
-
query?:
|
|
22971
|
+
query?: {
|
|
22972
|
+
/**
|
|
22973
|
+
* Comma-separated tag ids, with at most 32 distinct ids. Blank segments are ignored. An agent must carry every requested tag (AND semantics). Unknown or cross-organization ids return 404.
|
|
22974
|
+
*/
|
|
22975
|
+
tag_ids?: string;
|
|
22976
|
+
};
|
|
22760
22977
|
url: '/managed-agents/v1/agents';
|
|
22761
22978
|
};
|
|
22762
22979
|
export type GetManagedAgentsV1AgentsErrors = {
|
|
@@ -22772,6 +22989,10 @@ export type GetManagedAgentsV1AgentsErrors = {
|
|
|
22772
22989
|
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
22773
22990
|
*/
|
|
22774
22991
|
403: ApiErrorResponse;
|
|
22992
|
+
/**
|
|
22993
|
+
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
22994
|
+
*/
|
|
22995
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
22775
22996
|
/**
|
|
22776
22997
|
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
22777
22998
|
*/
|
|
@@ -22836,7 +23057,7 @@ export type PostManagedAgentsV1AgentsErrors = {
|
|
|
22836
23057
|
export type PostManagedAgentsV1AgentsError = PostManagedAgentsV1AgentsErrors[keyof PostManagedAgentsV1AgentsErrors];
|
|
22837
23058
|
export type PostManagedAgentsV1AgentsResponses = {
|
|
22838
23059
|
/**
|
|
22839
|
-
* A configured agent: its
|
|
23060
|
+
* A configured agent: its versioned execution definition plus current mutable classification tags. Patching the execution definition mints a new immutable AgentVersion; applying tags does not. A session records the version it ran and never snapshots tags.
|
|
22840
23061
|
*/
|
|
22841
23062
|
200: ManagedAgentsAgent;
|
|
22842
23063
|
};
|
|
@@ -22889,7 +23110,7 @@ export type DeleteManagedAgentsV1AgentsByAgentIdErrors = {
|
|
|
22889
23110
|
export type DeleteManagedAgentsV1AgentsByAgentIdError = DeleteManagedAgentsV1AgentsByAgentIdErrors[keyof DeleteManagedAgentsV1AgentsByAgentIdErrors];
|
|
22890
23111
|
export type DeleteManagedAgentsV1AgentsByAgentIdResponses = {
|
|
22891
23112
|
/**
|
|
22892
|
-
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
23113
|
+
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, tags, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
22893
23114
|
*/
|
|
22894
23115
|
200: ManagedAgentsDeletedResponse;
|
|
22895
23116
|
};
|
|
@@ -22938,13 +23159,13 @@ export type GetManagedAgentsV1AgentsByAgentIdErrors = {
|
|
|
22938
23159
|
export type GetManagedAgentsV1AgentsByAgentIdError = GetManagedAgentsV1AgentsByAgentIdErrors[keyof GetManagedAgentsV1AgentsByAgentIdErrors];
|
|
22939
23160
|
export type GetManagedAgentsV1AgentsByAgentIdResponses = {
|
|
22940
23161
|
/**
|
|
22941
|
-
* A configured agent: its
|
|
23162
|
+
* A configured agent: its versioned execution definition plus current mutable classification tags. Patching the execution definition mints a new immutable AgentVersion; applying tags does not. A session records the version it ran and never snapshots tags.
|
|
22942
23163
|
*/
|
|
22943
23164
|
200: ManagedAgentsAgent;
|
|
22944
23165
|
};
|
|
22945
23166
|
export type GetManagedAgentsV1AgentsByAgentIdResponse = GetManagedAgentsV1AgentsByAgentIdResponses[keyof GetManagedAgentsV1AgentsByAgentIdResponses];
|
|
22946
23167
|
export type PatchManagedAgentsV1AgentsByAgentIdData = {
|
|
22947
|
-
body?:
|
|
23168
|
+
body?: ManagedAgentsUpdateAgentRequest;
|
|
22948
23169
|
path: {
|
|
22949
23170
|
/**
|
|
22950
23171
|
* Agent id (UUID) as returned by createAgent or listAgents.
|
|
@@ -22995,7 +23216,7 @@ export type PatchManagedAgentsV1AgentsByAgentIdErrors = {
|
|
|
22995
23216
|
export type PatchManagedAgentsV1AgentsByAgentIdError = PatchManagedAgentsV1AgentsByAgentIdErrors[keyof PatchManagedAgentsV1AgentsByAgentIdErrors];
|
|
22996
23217
|
export type PatchManagedAgentsV1AgentsByAgentIdResponses = {
|
|
22997
23218
|
/**
|
|
22998
|
-
* A configured agent: its
|
|
23219
|
+
* A configured agent: its versioned execution definition plus current mutable classification tags. Patching the execution definition mints a new immutable AgentVersion; applying tags does not. A session records the version it ran and never snapshots tags.
|
|
22999
23220
|
*/
|
|
23000
23221
|
200: ManagedAgentsAgent;
|
|
23001
23222
|
};
|
|
@@ -23167,18 +23388,18 @@ export type PostManagedAgentsV1AgentsByAgentIdReflectionsResponses = {
|
|
|
23167
23388
|
202: ManagedAgentsReflection;
|
|
23168
23389
|
};
|
|
23169
23390
|
export type PostManagedAgentsV1AgentsByAgentIdReflectionsResponse = PostManagedAgentsV1AgentsByAgentIdReflectionsResponses[keyof PostManagedAgentsV1AgentsByAgentIdReflectionsResponses];
|
|
23170
|
-
export type
|
|
23171
|
-
body?:
|
|
23391
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsData = {
|
|
23392
|
+
body?: ManagedAgentsReplaceAgentTagsRequest;
|
|
23172
23393
|
path: {
|
|
23173
23394
|
/**
|
|
23174
|
-
* Agent id (UUID)
|
|
23395
|
+
* Agent id (UUID) whose classifications are replaced.
|
|
23175
23396
|
*/
|
|
23176
23397
|
agent_id: string;
|
|
23177
23398
|
};
|
|
23178
23399
|
query?: never;
|
|
23179
|
-
url: '/managed-agents/v1/agents/{agent_id}/
|
|
23400
|
+
url: '/managed-agents/v1/agents/{agent_id}/tags';
|
|
23180
23401
|
};
|
|
23181
|
-
export type
|
|
23402
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsErrors = {
|
|
23182
23403
|
/**
|
|
23183
23404
|
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23184
23405
|
*/
|
|
@@ -23195,6 +23416,14 @@ export type GetManagedAgentsV1AgentsByAgentIdVersionsErrors = {
|
|
|
23195
23416
|
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23196
23417
|
*/
|
|
23197
23418
|
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23419
|
+
/**
|
|
23420
|
+
* The request conflicts with the resource state, or with an in-flight idempotent replay. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23421
|
+
*/
|
|
23422
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23423
|
+
/**
|
|
23424
|
+
* The request exceeds a size or transaction budget. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23425
|
+
*/
|
|
23426
|
+
413: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23198
23427
|
/**
|
|
23199
23428
|
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23200
23429
|
*/
|
|
@@ -23208,30 +23437,30 @@ export type GetManagedAgentsV1AgentsByAgentIdVersionsErrors = {
|
|
|
23208
23437
|
*/
|
|
23209
23438
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23210
23439
|
};
|
|
23211
|
-
export type
|
|
23212
|
-
export type
|
|
23440
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsError = PutManagedAgentsV1AgentsByAgentIdTagsErrors[keyof PutManagedAgentsV1AgentsByAgentIdTagsErrors];
|
|
23441
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsResponses = {
|
|
23213
23442
|
/**
|
|
23214
|
-
*
|
|
23443
|
+
* A complete set of organization-scoped tag definitions. GET /v1/tags returns the organization catalog; agent tag PUT routes return the agent's resulting exact set.
|
|
23215
23444
|
*/
|
|
23216
|
-
200:
|
|
23445
|
+
200: ManagedAgentsTagListResponse;
|
|
23217
23446
|
};
|
|
23218
|
-
export type
|
|
23219
|
-
export type
|
|
23447
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsResponse = PutManagedAgentsV1AgentsByAgentIdTagsResponses[keyof PutManagedAgentsV1AgentsByAgentIdTagsResponses];
|
|
23448
|
+
export type DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdData = {
|
|
23220
23449
|
body?: never;
|
|
23221
23450
|
path: {
|
|
23222
23451
|
/**
|
|
23223
|
-
* Agent id (UUID)
|
|
23452
|
+
* Agent id (UUID) as returned by createAgent or listAgents.
|
|
23224
23453
|
*/
|
|
23225
23454
|
agent_id: string;
|
|
23226
23455
|
/**
|
|
23227
|
-
*
|
|
23456
|
+
* Tag id (UUID) as returned by createTag or listTags.
|
|
23228
23457
|
*/
|
|
23229
|
-
|
|
23458
|
+
tag_id: string;
|
|
23230
23459
|
};
|
|
23231
23460
|
query?: never;
|
|
23232
|
-
url: '/managed-agents/v1/agents/{agent_id}/
|
|
23461
|
+
url: '/managed-agents/v1/agents/{agent_id}/tags/{tag_id}';
|
|
23233
23462
|
};
|
|
23234
|
-
export type
|
|
23463
|
+
export type DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdErrors = {
|
|
23235
23464
|
/**
|
|
23236
23465
|
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23237
23466
|
*/
|
|
@@ -23248,6 +23477,10 @@ export type GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdErrors = {
|
|
|
23248
23477
|
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23249
23478
|
*/
|
|
23250
23479
|
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23480
|
+
/**
|
|
23481
|
+
* The request conflicts with the resource state, or with an in-flight idempotent replay. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23482
|
+
*/
|
|
23483
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23251
23484
|
/**
|
|
23252
23485
|
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23253
23486
|
*/
|
|
@@ -23261,61 +23494,220 @@ export type GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdErrors = {
|
|
|
23261
23494
|
*/
|
|
23262
23495
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23263
23496
|
};
|
|
23264
|
-
export type
|
|
23265
|
-
export type
|
|
23497
|
+
export type DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdError = DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdErrors[keyof DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdErrors];
|
|
23498
|
+
export type DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdResponses = {
|
|
23266
23499
|
/**
|
|
23267
|
-
*
|
|
23500
|
+
* No Content
|
|
23268
23501
|
*/
|
|
23269
|
-
|
|
23502
|
+
204: void;
|
|
23270
23503
|
};
|
|
23271
|
-
export type
|
|
23272
|
-
export type
|
|
23504
|
+
export type DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdResponse = DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdResponses[keyof DeleteManagedAgentsV1AgentsByAgentIdTagsByTagIdResponses];
|
|
23505
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsByTagIdData = {
|
|
23273
23506
|
body?: never;
|
|
23274
23507
|
path: {
|
|
23275
23508
|
/**
|
|
23276
|
-
*
|
|
23277
|
-
*/
|
|
23278
|
-
family: 'managed_agent_usage' | 'managed_agent_turn' | 'managed_agent_environment';
|
|
23279
|
-
};
|
|
23280
|
-
query?: {
|
|
23281
|
-
/**
|
|
23282
|
-
* Read locality. workspace is the caller's own organization; tenant aggregates every workspace in the parent tenant organization and requires a Tenant Admin role.
|
|
23283
|
-
*/
|
|
23284
|
-
scope?: 'workspace' | 'tenant';
|
|
23285
|
-
/**
|
|
23286
|
-
* With scope=tenant, narrow to one workspace of the tenant. Ignored at workspace scope, where the authenticated organization is authoritative.
|
|
23287
|
-
*/
|
|
23288
|
-
workspace_id?: string;
|
|
23289
|
-
/**
|
|
23290
|
-
* RFC 3339 start of the window. Defaults to seven days before to. Widened outward to a bucket boundary.
|
|
23291
|
-
*/
|
|
23292
|
-
from?: string;
|
|
23293
|
-
/**
|
|
23294
|
-
* RFC 3339 exclusive end of the window. Defaults to now.
|
|
23295
|
-
*/
|
|
23296
|
-
to?: string;
|
|
23297
|
-
/**
|
|
23298
|
-
* Series bucket width. Defaults to hourly for windows up to two days and daily beyond that.
|
|
23299
|
-
*/
|
|
23300
|
-
granularity?: 'hour' | 'day';
|
|
23301
|
-
/**
|
|
23302
|
-
* Filter to work under sessions launched from this agent, including its subagents.
|
|
23303
|
-
*/
|
|
23304
|
-
launched_agent_id?: string;
|
|
23305
|
-
/**
|
|
23306
|
-
* Filter to work performed by this agent, whether it was launched directly or delegated to.
|
|
23307
|
-
*/
|
|
23308
|
-
executing_agent_id?: string;
|
|
23309
|
-
/**
|
|
23310
|
-
* Filter to one immutable agent version.
|
|
23509
|
+
* Agent id (UUID) as returned by createAgent or listAgents.
|
|
23311
23510
|
*/
|
|
23312
|
-
|
|
23511
|
+
agent_id: string;
|
|
23313
23512
|
/**
|
|
23314
|
-
*
|
|
23513
|
+
* Tag id (UUID) as returned by createTag or listTags.
|
|
23315
23514
|
*/
|
|
23316
|
-
|
|
23317
|
-
|
|
23318
|
-
|
|
23515
|
+
tag_id: string;
|
|
23516
|
+
};
|
|
23517
|
+
query?: never;
|
|
23518
|
+
url: '/managed-agents/v1/agents/{agent_id}/tags/{tag_id}';
|
|
23519
|
+
};
|
|
23520
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsByTagIdErrors = {
|
|
23521
|
+
/**
|
|
23522
|
+
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23523
|
+
*/
|
|
23524
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23525
|
+
/**
|
|
23526
|
+
* The caller is unauthenticated. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23527
|
+
*/
|
|
23528
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23529
|
+
/**
|
|
23530
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
23531
|
+
*/
|
|
23532
|
+
403: ApiErrorResponse;
|
|
23533
|
+
/**
|
|
23534
|
+
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23535
|
+
*/
|
|
23536
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23537
|
+
/**
|
|
23538
|
+
* The request conflicts with the resource state, or with an in-flight idempotent replay. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23539
|
+
*/
|
|
23540
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23541
|
+
/**
|
|
23542
|
+
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23543
|
+
*/
|
|
23544
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23545
|
+
/**
|
|
23546
|
+
* An unexpected server-side failure. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23547
|
+
*/
|
|
23548
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23549
|
+
/**
|
|
23550
|
+
* A dependency is unavailable. Retryable. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23551
|
+
*/
|
|
23552
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23553
|
+
};
|
|
23554
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsByTagIdError = PutManagedAgentsV1AgentsByAgentIdTagsByTagIdErrors[keyof PutManagedAgentsV1AgentsByAgentIdTagsByTagIdErrors];
|
|
23555
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsByTagIdResponses = {
|
|
23556
|
+
/**
|
|
23557
|
+
* A complete set of organization-scoped tag definitions. GET /v1/tags returns the organization catalog; agent tag PUT routes return the agent's resulting exact set.
|
|
23558
|
+
*/
|
|
23559
|
+
200: ManagedAgentsTagListResponse;
|
|
23560
|
+
};
|
|
23561
|
+
export type PutManagedAgentsV1AgentsByAgentIdTagsByTagIdResponse = PutManagedAgentsV1AgentsByAgentIdTagsByTagIdResponses[keyof PutManagedAgentsV1AgentsByAgentIdTagsByTagIdResponses];
|
|
23562
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsData = {
|
|
23563
|
+
body?: never;
|
|
23564
|
+
path: {
|
|
23565
|
+
/**
|
|
23566
|
+
* Agent id (UUID) as returned by createAgent or listAgents.
|
|
23567
|
+
*/
|
|
23568
|
+
agent_id: string;
|
|
23569
|
+
};
|
|
23570
|
+
query?: never;
|
|
23571
|
+
url: '/managed-agents/v1/agents/{agent_id}/versions';
|
|
23572
|
+
};
|
|
23573
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsErrors = {
|
|
23574
|
+
/**
|
|
23575
|
+
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23576
|
+
*/
|
|
23577
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23578
|
+
/**
|
|
23579
|
+
* The caller is unauthenticated. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23580
|
+
*/
|
|
23581
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23582
|
+
/**
|
|
23583
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
23584
|
+
*/
|
|
23585
|
+
403: ApiErrorResponse;
|
|
23586
|
+
/**
|
|
23587
|
+
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23588
|
+
*/
|
|
23589
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23590
|
+
/**
|
|
23591
|
+
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23592
|
+
*/
|
|
23593
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23594
|
+
/**
|
|
23595
|
+
* An unexpected server-side failure. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23596
|
+
*/
|
|
23597
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23598
|
+
/**
|
|
23599
|
+
* A dependency is unavailable. Retryable. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23600
|
+
*/
|
|
23601
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23602
|
+
};
|
|
23603
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsError = GetManagedAgentsV1AgentsByAgentIdVersionsErrors[keyof GetManagedAgentsV1AgentsByAgentIdVersionsErrors];
|
|
23604
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsResponses = {
|
|
23605
|
+
/**
|
|
23606
|
+
* Response body of GET /v1/agents/{agent_id}/versions. Scoped to the one agent in the path, so an empty list means that agent has no versions yet, not that no agents exist. Versions are immutable snapshots: pin one to make a session reproducible.
|
|
23607
|
+
*/
|
|
23608
|
+
200: ManagedAgentsAgentVersionListResponse;
|
|
23609
|
+
};
|
|
23610
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsResponse = GetManagedAgentsV1AgentsByAgentIdVersionsResponses[keyof GetManagedAgentsV1AgentsByAgentIdVersionsResponses];
|
|
23611
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdData = {
|
|
23612
|
+
body?: never;
|
|
23613
|
+
path: {
|
|
23614
|
+
/**
|
|
23615
|
+
* Agent id (UUID) the version belongs to.
|
|
23616
|
+
*/
|
|
23617
|
+
agent_id: string;
|
|
23618
|
+
/**
|
|
23619
|
+
* Immutable agent version id (UUID), as listed by listAgentVersions or reported as an agent's latest_agent_version_id.
|
|
23620
|
+
*/
|
|
23621
|
+
agent_version_id: string;
|
|
23622
|
+
};
|
|
23623
|
+
query?: never;
|
|
23624
|
+
url: '/managed-agents/v1/agents/{agent_id}/versions/{agent_version_id}';
|
|
23625
|
+
};
|
|
23626
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdErrors = {
|
|
23627
|
+
/**
|
|
23628
|
+
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23629
|
+
*/
|
|
23630
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23631
|
+
/**
|
|
23632
|
+
* The caller is unauthenticated. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23633
|
+
*/
|
|
23634
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23635
|
+
/**
|
|
23636
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
23637
|
+
*/
|
|
23638
|
+
403: ApiErrorResponse;
|
|
23639
|
+
/**
|
|
23640
|
+
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23641
|
+
*/
|
|
23642
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23643
|
+
/**
|
|
23644
|
+
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23645
|
+
*/
|
|
23646
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23647
|
+
/**
|
|
23648
|
+
* An unexpected server-side failure. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23649
|
+
*/
|
|
23650
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23651
|
+
/**
|
|
23652
|
+
* A dependency is unavailable. Retryable. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
23653
|
+
*/
|
|
23654
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23655
|
+
};
|
|
23656
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdError = GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdErrors[keyof GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdErrors];
|
|
23657
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdResponses = {
|
|
23658
|
+
/**
|
|
23659
|
+
* An immutable snapshot of an agent's configuration, minted on every update. Sessions reference a version rather than the agent, so a running session's behaviour cannot change under it.
|
|
23660
|
+
*/
|
|
23661
|
+
200: ManagedAgentsAgentVersion;
|
|
23662
|
+
};
|
|
23663
|
+
export type GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdResponse = GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdResponses[keyof GetManagedAgentsV1AgentsByAgentIdVersionsByAgentVersionIdResponses];
|
|
23664
|
+
export type GetManagedAgentsV1AnalyticsByFamilyData = {
|
|
23665
|
+
body?: never;
|
|
23666
|
+
path: {
|
|
23667
|
+
/**
|
|
23668
|
+
* Metric family to read: managed_agent_usage for tool, token, and cost figures, managed_agent_turn for turn counts and turn duration percentiles, managed_agent_environment for sandbox startup latency.
|
|
23669
|
+
*/
|
|
23670
|
+
family: 'managed_agent_usage' | 'managed_agent_turn' | 'managed_agent_environment';
|
|
23671
|
+
};
|
|
23672
|
+
query?: {
|
|
23673
|
+
/**
|
|
23674
|
+
* Read locality. workspace is the caller's own organization; tenant aggregates every workspace in the parent tenant organization and requires a Tenant Admin role.
|
|
23675
|
+
*/
|
|
23676
|
+
scope?: 'workspace' | 'tenant';
|
|
23677
|
+
/**
|
|
23678
|
+
* With scope=tenant, narrow to one workspace of the tenant. Ignored at workspace scope, where the authenticated organization is authoritative.
|
|
23679
|
+
*/
|
|
23680
|
+
workspace_id?: string;
|
|
23681
|
+
/**
|
|
23682
|
+
* RFC 3339 start of the window. Defaults to seven days before to. Widened outward to a bucket boundary.
|
|
23683
|
+
*/
|
|
23684
|
+
from?: string;
|
|
23685
|
+
/**
|
|
23686
|
+
* RFC 3339 exclusive end of the window. Defaults to now.
|
|
23687
|
+
*/
|
|
23688
|
+
to?: string;
|
|
23689
|
+
/**
|
|
23690
|
+
* Series bucket width. Defaults to hourly for windows up to two days and daily beyond that.
|
|
23691
|
+
*/
|
|
23692
|
+
granularity?: 'hour' | 'day';
|
|
23693
|
+
/**
|
|
23694
|
+
* Filter to work under sessions launched from this agent, including its subagents.
|
|
23695
|
+
*/
|
|
23696
|
+
launched_agent_id?: string;
|
|
23697
|
+
/**
|
|
23698
|
+
* Filter to work performed by this agent, whether it was launched directly or delegated to.
|
|
23699
|
+
*/
|
|
23700
|
+
executing_agent_id?: string;
|
|
23701
|
+
/**
|
|
23702
|
+
* Filter to one immutable agent version.
|
|
23703
|
+
*/
|
|
23704
|
+
executing_agent_version_id?: string;
|
|
23705
|
+
/**
|
|
23706
|
+
* Filter to one provider model id.
|
|
23707
|
+
*/
|
|
23708
|
+
model?: string;
|
|
23709
|
+
/**
|
|
23710
|
+
* Filter by the system a project or external source belongs to, e.g. rl_gym, taiga, or slack_thread.
|
|
23319
23711
|
*/
|
|
23320
23712
|
project_source?: string;
|
|
23321
23713
|
/**
|
|
@@ -23835,7 +24227,7 @@ export type DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors = {
|
|
|
23835
24227
|
export type DeleteManagedAgentsV1EnvironmentsByEnvironmentIdError = DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors[keyof DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors];
|
|
23836
24228
|
export type DeleteManagedAgentsV1EnvironmentsByEnvironmentIdResponses = {
|
|
23837
24229
|
/**
|
|
23838
|
-
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
24230
|
+
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, tags, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
23839
24231
|
*/
|
|
23840
24232
|
200: ManagedAgentsDeletedResponse;
|
|
23841
24233
|
};
|
|
@@ -25402,6 +25794,10 @@ export type GetManagedAgentsV1SessionsData = {
|
|
|
25402
25794
|
* Filter by agent id.
|
|
25403
25795
|
*/
|
|
25404
25796
|
agent_id?: string;
|
|
25797
|
+
/**
|
|
25798
|
+
* Comma-separated current agent tag ids, with at most 32 distinct ids. A session row's agent must carry every requested tag (AND semantics). Unknown or cross-organization ids return 404. Tags are resolved at read time, not from the session snapshot.
|
|
25799
|
+
*/
|
|
25800
|
+
tag_ids?: string;
|
|
25405
25801
|
external_source_type?: string;
|
|
25406
25802
|
external_source_id?: string;
|
|
25407
25803
|
/**
|
|
@@ -25425,6 +25821,10 @@ export type GetManagedAgentsV1SessionsErrors = {
|
|
|
25425
25821
|
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
25426
25822
|
*/
|
|
25427
25823
|
403: ApiErrorResponse;
|
|
25824
|
+
/**
|
|
25825
|
+
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
25826
|
+
*/
|
|
25827
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
25428
25828
|
/**
|
|
25429
25829
|
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
25430
25830
|
*/
|
|
@@ -25642,7 +26042,7 @@ export type DeleteManagedAgentsV1SessionsBySessionIdErrors = {
|
|
|
25642
26042
|
export type DeleteManagedAgentsV1SessionsBySessionIdError = DeleteManagedAgentsV1SessionsBySessionIdErrors[keyof DeleteManagedAgentsV1SessionsBySessionIdErrors];
|
|
25643
26043
|
export type DeleteManagedAgentsV1SessionsBySessionIdResponses = {
|
|
25644
26044
|
/**
|
|
25645
|
-
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
26045
|
+
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, tags, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
25646
26046
|
*/
|
|
25647
26047
|
200: ManagedAgentsDeletedResponse;
|
|
25648
26048
|
};
|
|
@@ -26507,7 +26907,7 @@ export type DeleteManagedAgentsV1SkillsBySkillIdErrors = {
|
|
|
26507
26907
|
export type DeleteManagedAgentsV1SkillsBySkillIdError = DeleteManagedAgentsV1SkillsBySkillIdErrors[keyof DeleteManagedAgentsV1SkillsBySkillIdErrors];
|
|
26508
26908
|
export type DeleteManagedAgentsV1SkillsBySkillIdResponses = {
|
|
26509
26909
|
/**
|
|
26510
|
-
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
26910
|
+
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, tags, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
26511
26911
|
*/
|
|
26512
26912
|
200: ManagedAgentsDeletedResponse;
|
|
26513
26913
|
};
|
|
@@ -26720,6 +27120,253 @@ export type GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdResponses =
|
|
|
26720
27120
|
200: ManagedAgentsSkillVersion;
|
|
26721
27121
|
};
|
|
26722
27122
|
export type GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdResponse = GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdResponses[keyof GetManagedAgentsV1SkillsBySkillIdVersionsBySkillVersionIdResponses];
|
|
27123
|
+
export type GetManagedAgentsV1TagsData = {
|
|
27124
|
+
body?: never;
|
|
27125
|
+
path?: never;
|
|
27126
|
+
query?: never;
|
|
27127
|
+
url: '/managed-agents/v1/tags';
|
|
27128
|
+
};
|
|
27129
|
+
export type GetManagedAgentsV1TagsErrors = {
|
|
27130
|
+
/**
|
|
27131
|
+
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27132
|
+
*/
|
|
27133
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27134
|
+
/**
|
|
27135
|
+
* The caller is unauthenticated. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27136
|
+
*/
|
|
27137
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27138
|
+
/**
|
|
27139
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27140
|
+
*/
|
|
27141
|
+
403: ApiErrorResponse;
|
|
27142
|
+
/**
|
|
27143
|
+
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27144
|
+
*/
|
|
27145
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27146
|
+
/**
|
|
27147
|
+
* An unexpected server-side failure. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27148
|
+
*/
|
|
27149
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27150
|
+
/**
|
|
27151
|
+
* A dependency is unavailable. Retryable. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27152
|
+
*/
|
|
27153
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27154
|
+
};
|
|
27155
|
+
export type GetManagedAgentsV1TagsError = GetManagedAgentsV1TagsErrors[keyof GetManagedAgentsV1TagsErrors];
|
|
27156
|
+
export type GetManagedAgentsV1TagsResponses = {
|
|
27157
|
+
/**
|
|
27158
|
+
* A complete set of organization-scoped tag definitions. GET /v1/tags returns the organization catalog; agent tag PUT routes return the agent's resulting exact set.
|
|
27159
|
+
*/
|
|
27160
|
+
200: ManagedAgentsTagListResponse;
|
|
27161
|
+
};
|
|
27162
|
+
export type GetManagedAgentsV1TagsResponse = GetManagedAgentsV1TagsResponses[keyof GetManagedAgentsV1TagsResponses];
|
|
27163
|
+
export type PostManagedAgentsV1TagsData = {
|
|
27164
|
+
body?: ManagedAgentsCreateTagRequest;
|
|
27165
|
+
path?: never;
|
|
27166
|
+
query?: never;
|
|
27167
|
+
url: '/managed-agents/v1/tags';
|
|
27168
|
+
};
|
|
27169
|
+
export type PostManagedAgentsV1TagsErrors = {
|
|
27170
|
+
/**
|
|
27171
|
+
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27172
|
+
*/
|
|
27173
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27174
|
+
/**
|
|
27175
|
+
* The caller is unauthenticated. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27176
|
+
*/
|
|
27177
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27178
|
+
/**
|
|
27179
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27180
|
+
*/
|
|
27181
|
+
403: ApiErrorResponse;
|
|
27182
|
+
/**
|
|
27183
|
+
* The request conflicts with the resource state, or with an in-flight idempotent replay. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27184
|
+
*/
|
|
27185
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27186
|
+
/**
|
|
27187
|
+
* The request exceeds a size or transaction budget. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27188
|
+
*/
|
|
27189
|
+
413: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27190
|
+
/**
|
|
27191
|
+
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27192
|
+
*/
|
|
27193
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27194
|
+
/**
|
|
27195
|
+
* An unexpected server-side failure. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27196
|
+
*/
|
|
27197
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27198
|
+
/**
|
|
27199
|
+
* A dependency is unavailable. Retryable. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27200
|
+
*/
|
|
27201
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27202
|
+
};
|
|
27203
|
+
export type PostManagedAgentsV1TagsError = PostManagedAgentsV1TagsErrors[keyof PostManagedAgentsV1TagsErrors];
|
|
27204
|
+
export type PostManagedAgentsV1TagsResponses = {
|
|
27205
|
+
/**
|
|
27206
|
+
* An organization-scoped classification definition. Applying or removing it changes only catalog membership: it does not update the agent, mint an AgentVersion, or affect running sessions.
|
|
27207
|
+
*/
|
|
27208
|
+
200: ManagedAgentsTag;
|
|
27209
|
+
};
|
|
27210
|
+
export type PostManagedAgentsV1TagsResponse = PostManagedAgentsV1TagsResponses[keyof PostManagedAgentsV1TagsResponses];
|
|
27211
|
+
export type DeleteManagedAgentsV1TagsByTagIdData = {
|
|
27212
|
+
body?: never;
|
|
27213
|
+
path: {
|
|
27214
|
+
/**
|
|
27215
|
+
* Tag id (UUID) as returned by createTag or listTags.
|
|
27216
|
+
*/
|
|
27217
|
+
tag_id: string;
|
|
27218
|
+
};
|
|
27219
|
+
query?: never;
|
|
27220
|
+
url: '/managed-agents/v1/tags/{tag_id}';
|
|
27221
|
+
};
|
|
27222
|
+
export type DeleteManagedAgentsV1TagsByTagIdErrors = {
|
|
27223
|
+
/**
|
|
27224
|
+
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27225
|
+
*/
|
|
27226
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27227
|
+
/**
|
|
27228
|
+
* The caller is unauthenticated. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27229
|
+
*/
|
|
27230
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27231
|
+
/**
|
|
27232
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27233
|
+
*/
|
|
27234
|
+
403: ApiErrorResponse;
|
|
27235
|
+
/**
|
|
27236
|
+
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27237
|
+
*/
|
|
27238
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27239
|
+
/**
|
|
27240
|
+
* The request conflicts with the resource state, or with an in-flight idempotent replay. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27241
|
+
*/
|
|
27242
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27243
|
+
/**
|
|
27244
|
+
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27245
|
+
*/
|
|
27246
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27247
|
+
/**
|
|
27248
|
+
* An unexpected server-side failure. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27249
|
+
*/
|
|
27250
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27251
|
+
/**
|
|
27252
|
+
* A dependency is unavailable. Retryable. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27253
|
+
*/
|
|
27254
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27255
|
+
};
|
|
27256
|
+
export type DeleteManagedAgentsV1TagsByTagIdError = DeleteManagedAgentsV1TagsByTagIdErrors[keyof DeleteManagedAgentsV1TagsByTagIdErrors];
|
|
27257
|
+
export type DeleteManagedAgentsV1TagsByTagIdResponses = {
|
|
27258
|
+
/**
|
|
27259
|
+
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, tags, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
27260
|
+
*/
|
|
27261
|
+
200: ManagedAgentsDeletedResponse;
|
|
27262
|
+
};
|
|
27263
|
+
export type DeleteManagedAgentsV1TagsByTagIdResponse = DeleteManagedAgentsV1TagsByTagIdResponses[keyof DeleteManagedAgentsV1TagsByTagIdResponses];
|
|
27264
|
+
export type GetManagedAgentsV1TagsByTagIdData = {
|
|
27265
|
+
body?: never;
|
|
27266
|
+
path: {
|
|
27267
|
+
/**
|
|
27268
|
+
* Tag id (UUID) as returned by createTag or listTags.
|
|
27269
|
+
*/
|
|
27270
|
+
tag_id: string;
|
|
27271
|
+
};
|
|
27272
|
+
query?: never;
|
|
27273
|
+
url: '/managed-agents/v1/tags/{tag_id}';
|
|
27274
|
+
};
|
|
27275
|
+
export type GetManagedAgentsV1TagsByTagIdErrors = {
|
|
27276
|
+
/**
|
|
27277
|
+
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27278
|
+
*/
|
|
27279
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27280
|
+
/**
|
|
27281
|
+
* The caller is unauthenticated. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27282
|
+
*/
|
|
27283
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27284
|
+
/**
|
|
27285
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27286
|
+
*/
|
|
27287
|
+
403: ApiErrorResponse;
|
|
27288
|
+
/**
|
|
27289
|
+
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27290
|
+
*/
|
|
27291
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27292
|
+
/**
|
|
27293
|
+
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27294
|
+
*/
|
|
27295
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27296
|
+
/**
|
|
27297
|
+
* An unexpected server-side failure. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27298
|
+
*/
|
|
27299
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27300
|
+
/**
|
|
27301
|
+
* A dependency is unavailable. Retryable. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27302
|
+
*/
|
|
27303
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27304
|
+
};
|
|
27305
|
+
export type GetManagedAgentsV1TagsByTagIdError = GetManagedAgentsV1TagsByTagIdErrors[keyof GetManagedAgentsV1TagsByTagIdErrors];
|
|
27306
|
+
export type GetManagedAgentsV1TagsByTagIdResponses = {
|
|
27307
|
+
/**
|
|
27308
|
+
* An organization-scoped classification definition. Applying or removing it changes only catalog membership: it does not update the agent, mint an AgentVersion, or affect running sessions.
|
|
27309
|
+
*/
|
|
27310
|
+
200: ManagedAgentsTag;
|
|
27311
|
+
};
|
|
27312
|
+
export type GetManagedAgentsV1TagsByTagIdResponse = GetManagedAgentsV1TagsByTagIdResponses[keyof GetManagedAgentsV1TagsByTagIdResponses];
|
|
27313
|
+
export type PatchManagedAgentsV1TagsByTagIdData = {
|
|
27314
|
+
body?: ManagedAgentsUpdateTagRequest;
|
|
27315
|
+
path: {
|
|
27316
|
+
/**
|
|
27317
|
+
* Tag id (UUID) as returned by createTag or listTags.
|
|
27318
|
+
*/
|
|
27319
|
+
tag_id: string;
|
|
27320
|
+
};
|
|
27321
|
+
query?: never;
|
|
27322
|
+
url: '/managed-agents/v1/tags/{tag_id}';
|
|
27323
|
+
};
|
|
27324
|
+
export type PatchManagedAgentsV1TagsByTagIdErrors = {
|
|
27325
|
+
/**
|
|
27326
|
+
* The request was rejected by schema or semantic validation. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27327
|
+
*/
|
|
27328
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27329
|
+
/**
|
|
27330
|
+
* The caller is unauthenticated. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27331
|
+
*/
|
|
27332
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27333
|
+
/**
|
|
27334
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27335
|
+
*/
|
|
27336
|
+
403: ApiErrorResponse;
|
|
27337
|
+
/**
|
|
27338
|
+
* No such resource is reachable for this caller. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27339
|
+
*/
|
|
27340
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27341
|
+
/**
|
|
27342
|
+
* The request conflicts with the resource state, or with an in-flight idempotent replay. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27343
|
+
*/
|
|
27344
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27345
|
+
/**
|
|
27346
|
+
* The request exceeds a size or transaction budget. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27347
|
+
*/
|
|
27348
|
+
413: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27349
|
+
/**
|
|
27350
|
+
* A rate limit is exhausted. Honor `Retry-After`. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27351
|
+
*/
|
|
27352
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27353
|
+
/**
|
|
27354
|
+
* An unexpected server-side failure. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27355
|
+
*/
|
|
27356
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27357
|
+
/**
|
|
27358
|
+
* A dependency is unavailable. Retryable. Carries the managed-agents envelope (`error.code` is the stable, machine-readable contract) when the request reached the service, or the platform envelope when this API rejected it before forwarding.
|
|
27359
|
+
*/
|
|
27360
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27361
|
+
};
|
|
27362
|
+
export type PatchManagedAgentsV1TagsByTagIdError = PatchManagedAgentsV1TagsByTagIdErrors[keyof PatchManagedAgentsV1TagsByTagIdErrors];
|
|
27363
|
+
export type PatchManagedAgentsV1TagsByTagIdResponses = {
|
|
27364
|
+
/**
|
|
27365
|
+
* An organization-scoped classification definition. Applying or removing it changes only catalog membership: it does not update the agent, mint an AgentVersion, or affect running sessions.
|
|
27366
|
+
*/
|
|
27367
|
+
200: ManagedAgentsTag;
|
|
27368
|
+
};
|
|
27369
|
+
export type PatchManagedAgentsV1TagsByTagIdResponse = PatchManagedAgentsV1TagsByTagIdResponses[keyof PatchManagedAgentsV1TagsByTagIdResponses];
|
|
26723
27370
|
export type GetManagedAgentsV1TriggerBindingsData = {
|
|
26724
27371
|
body?: never;
|
|
26725
27372
|
path?: never;
|
|
@@ -26861,7 +27508,7 @@ export type DeleteManagedAgentsV1TriggerBindingsByBindingIdErrors = {
|
|
|
26861
27508
|
export type DeleteManagedAgentsV1TriggerBindingsByBindingIdError = DeleteManagedAgentsV1TriggerBindingsByBindingIdErrors[keyof DeleteManagedAgentsV1TriggerBindingsByBindingIdErrors];
|
|
26862
27509
|
export type DeleteManagedAgentsV1TriggerBindingsByBindingIdResponses = {
|
|
26863
27510
|
/**
|
|
26864
|
-
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
27511
|
+
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, tags, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
26865
27512
|
*/
|
|
26866
27513
|
200: ManagedAgentsDeletedResponse;
|
|
26867
27514
|
};
|
|
@@ -27059,7 +27706,7 @@ export type DeleteManagedAgentsV1VaultsByVaultIdErrors = {
|
|
|
27059
27706
|
export type DeleteManagedAgentsV1VaultsByVaultIdError = DeleteManagedAgentsV1VaultsByVaultIdErrors[keyof DeleteManagedAgentsV1VaultsByVaultIdErrors];
|
|
27060
27707
|
export type DeleteManagedAgentsV1VaultsByVaultIdResponses = {
|
|
27061
27708
|
/**
|
|
27062
|
-
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
27709
|
+
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, tags, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
27063
27710
|
*/
|
|
27064
27711
|
200: ManagedAgentsDeletedResponse;
|
|
27065
27712
|
};
|
|
@@ -27328,7 +27975,7 @@ export type DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors
|
|
|
27328
27975
|
export type DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdError = DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors[keyof DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdErrors];
|
|
27329
27976
|
export type DeleteManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses = {
|
|
27330
27977
|
/**
|
|
27331
|
-
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
27978
|
+
* Shared response body of every soft-delete endpoint, on agents, environments, environment worker keys, tags, vaults, vault credentials, webhook bindings, and sessions. Soft delete is a tombstone, not an erase: the row stops appearing in list and get responses but is retained, and there is no undelete endpoint to bring it back. Irreversible erasure is the separate, confirmation-gated purge path.
|
|
27332
27979
|
*/
|
|
27333
27980
|
200: ManagedAgentsDeletedResponse;
|
|
27334
27981
|
};
|