@labelbox/rl-sdk 0.0.0 → 0.0.144
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 +71 -77
- package/dist/generated/sdk.gen.js +141 -116
- package/dist/generated/types.gen.d.ts +756 -584
- package/dist/reference/resources-reference.generated.js +11 -9
- package/dist/reference/sdk-reference.generated.js +4229 -2125
- package/package.json +13 -13
- package/dist/reference/concepts-reference.generated.d.ts +0 -9
- package/dist/reference/concepts-reference.generated.js +0 -356
- package/dist/reference/concepts-schema.d.ts +0 -16
- package/dist/reference/concepts-schema.js +0 -39
|
@@ -7741,7 +7741,7 @@ export type ManagedAgentsApiError = {
|
|
|
7741
7741
|
/**
|
|
7742
7742
|
* Stable, machine-readable error identifier. This is the contract to branch on; the message is prose and may be reworded at any time.
|
|
7743
7743
|
*/
|
|
7744
|
-
code: 'analytics' | 'analytics_not_ready' | 'artifact_fetch_unavailable' | 'artifact_generation_mismatch' | 'artifact_hash_mismatch' | 'artifact_invalid_events' | 'artifact_invalid_json' | 'artifact_not_allowlisted' | 'artifact_size_mismatch' | 'atomic_ingest_timeout' | 'auth_unavailable' | 'conflict' | 'consolidation_unstartable' | 'content_store_request_canceled' | 'content_store_unavailable' | 'content_store_upload_timeout' | 'credential_encryption_unconfigured' | 'entity_family_not_permitted' | 'environment_work_unconfigured' | 'environment_worker_auth_unavailable' | 'execution_unconfigured' | 'forbidden' | 'github_integration_unavailable' | 'github_rate_limited' | 'github_unavailable' | 'idempotency_conflict' | 'idempotency_in_progress' | 'idempotency_unavailable' | 'ingest_policy_changed' | 'ingest_policy_not_found' | 'ingest_policy_revoked' | 'integrations_unconfigured' | 'internal_error' | 'invalid_json' | 'invalid_pull_request_review_result' | 'invalid_request' | 'missing_dependency' | 'model_gateway_metadata_missing' | 'model_gateway_unconfigured' | 'model_gateway_unreachable' | 'mutation_transaction_budget_exceeded' | 'not_found' | 'page_token_expired' | 'payload_too_large' | 'rate_limited' | 'repository_automation_unconfigured' | 'request_too_large' | 'reserved_source_type' | 'revision_conflict' | 'run_log_store_unavailable' | 'session_cleanup_failed' | 'skill_storage_unconfigured' | 'source_ownership_mismatch' | 'source_revision_conflict' | 'spanner_unavailable' | 'streaming_unsupported' | 'submission_transaction_budget_exceeded' | 'task_version_number_conflict' | 'too_many_streams' | 'unauthorized' | 'version_content_conflict';
|
|
7744
|
+
code: 'analytics' | 'analytics_not_ready' | 'artifact_fetch_unavailable' | 'artifact_generation_mismatch' | 'artifact_hash_mismatch' | 'artifact_invalid_events' | 'artifact_invalid_json' | 'artifact_not_allowlisted' | 'artifact_size_mismatch' | 'atomic_ingest_timeout' | 'auth_unavailable' | 'automations_unconfigured' | 'conflict' | 'consolidation_unstartable' | 'content_store_request_canceled' | 'content_store_unavailable' | 'content_store_upload_timeout' | 'credential_encryption_unconfigured' | 'entity_family_not_permitted' | 'environment_work_unconfigured' | 'environment_worker_auth_unavailable' | 'execution_unconfigured' | 'forbidden' | 'github_integration_unavailable' | 'github_rate_limited' | 'github_unavailable' | 'idempotency_conflict' | 'idempotency_in_progress' | 'idempotency_unavailable' | 'ingest_policy_changed' | 'ingest_policy_not_found' | 'ingest_policy_revoked' | 'integrations_unconfigured' | 'internal_error' | 'invalid_json' | 'invalid_pull_request_review_result' | 'invalid_request' | 'missing_dependency' | 'model_gateway_metadata_missing' | 'model_gateway_unconfigured' | 'model_gateway_unreachable' | 'mutation_transaction_budget_exceeded' | 'not_found' | 'page_token_expired' | 'payload_too_large' | 'rate_limited' | 'repository_automation_unconfigured' | 'request_too_large' | 'reserved_source_type' | 'revision_conflict' | 'run_log_store_unavailable' | 'session_cleanup_failed' | 'skill_storage_unconfigured' | 'source_ownership_mismatch' | 'source_revision_conflict' | 'spanner_unavailable' | 'streaming_unsupported' | 'submission_transaction_budget_exceeded' | 'task_version_number_conflict' | 'too_many_streams' | 'unauthorized' | 'version_content_conflict' | 'webhook_delivery_too_large';
|
|
7745
7745
|
/**
|
|
7746
7746
|
* Structured, code-specific context -- measured values and limits, for example -- so a client need not parse the message.
|
|
7747
7747
|
*/
|
|
@@ -7772,74 +7772,156 @@ export type ManagedAgentsApiErrorBody = {
|
|
|
7772
7772
|
error: ManagedAgentsApiError;
|
|
7773
7773
|
};
|
|
7774
7774
|
/**
|
|
7775
|
-
*
|
|
7775
|
+
* A provider-neutral rule that starts or continues an ordinary managed-agent session from verified webhook events or structured manual input.
|
|
7776
7776
|
*/
|
|
7777
|
-
export type
|
|
7778
|
-
|
|
7779
|
-
|
|
7777
|
+
export type ManagedAgentsAutomation = {
|
|
7778
|
+
/**
|
|
7779
|
+
* Managed agent started for each new matching conversation.
|
|
7780
|
+
*/
|
|
7781
|
+
agent_id?: string;
|
|
7782
|
+
/**
|
|
7783
|
+
* Server-assigned automation identifier.
|
|
7784
|
+
*/
|
|
7785
|
+
automation_id?: string;
|
|
7786
|
+
continue_filter?: ManagedAgentsWebhookFilter;
|
|
7787
|
+
/**
|
|
7788
|
+
* Ordered values joined into a stable external conversation identity; omit to start an independent session per matching delivery.
|
|
7789
|
+
*/
|
|
7790
|
+
conversation_key?: Array<ManagedAgentsWebhookConversationPart>;
|
|
7791
|
+
/**
|
|
7792
|
+
* Server-assigned RFC 3339 creation timestamp.
|
|
7793
|
+
*/
|
|
7794
|
+
created_at?: string;
|
|
7795
|
+
/**
|
|
7796
|
+
* Authenticated principal that created the automation.
|
|
7797
|
+
*/
|
|
7798
|
+
created_by?: string;
|
|
7799
|
+
/**
|
|
7800
|
+
* Explicit credential grants made available to automation sessions.
|
|
7801
|
+
*/
|
|
7802
|
+
credential_refs?: Array<ManagedAgentsVaultCredentialRef>;
|
|
7803
|
+
/**
|
|
7804
|
+
* Human-readable name shown in the automation catalog and session provenance.
|
|
7805
|
+
*/
|
|
7806
|
+
display_name?: string;
|
|
7807
|
+
/**
|
|
7808
|
+
* Whether matching webhook deliveries may dispatch this automation.
|
|
7809
|
+
*/
|
|
7810
|
+
enabled?: boolean;
|
|
7811
|
+
/**
|
|
7812
|
+
* Agent Service environment used to run sessions created by this automation.
|
|
7813
|
+
*/
|
|
7814
|
+
environment_id?: string;
|
|
7815
|
+
/**
|
|
7816
|
+
* Task instructions given to the agent together with the triggering or manual payload.
|
|
7817
|
+
*/
|
|
7818
|
+
instructions?: string;
|
|
7819
|
+
/**
|
|
7820
|
+
* Organization that owns the automation, resolved from the authenticated request scope.
|
|
7821
|
+
*/
|
|
7822
|
+
organization_id?: string;
|
|
7823
|
+
start_filter?: ManagedAgentsWebhookFilter;
|
|
7824
|
+
/**
|
|
7825
|
+
* Opaque client-owned template identifier used to select a guided editor; unknown identifiers remain valid custom automations.
|
|
7826
|
+
*/
|
|
7827
|
+
template_id?: string;
|
|
7828
|
+
/**
|
|
7829
|
+
* Server-assigned RFC 3339 timestamp of the most recent configuration change.
|
|
7830
|
+
*/
|
|
7831
|
+
updated_at?: string;
|
|
7832
|
+
/**
|
|
7833
|
+
* Vaults available to automation sessions, further narrowed by credential_refs when configured.
|
|
7834
|
+
*/
|
|
7835
|
+
vault_ids?: Array<string>;
|
|
7836
|
+
/**
|
|
7837
|
+
* Webhook endpoint that supplies automatic events; omit for a manual-only automation.
|
|
7838
|
+
*/
|
|
7839
|
+
webhook_endpoint_id?: string;
|
|
7780
7840
|
};
|
|
7781
7841
|
/**
|
|
7782
|
-
*
|
|
7842
|
+
* Automations available in the calling organization.
|
|
7783
7843
|
*/
|
|
7784
|
-
export type
|
|
7844
|
+
export type ManagedAgentsAutomationListResponse = {
|
|
7785
7845
|
/**
|
|
7786
|
-
*
|
|
7846
|
+
* Automations owned by the calling organization.
|
|
7787
7847
|
*/
|
|
7788
|
-
|
|
7848
|
+
automations?: unknown;
|
|
7789
7849
|
};
|
|
7790
7850
|
/**
|
|
7791
|
-
*
|
|
7851
|
+
* Provider-neutral configuration for creating or replacing an automation.
|
|
7792
7852
|
*/
|
|
7793
|
-
export type
|
|
7853
|
+
export type ManagedAgentsAutomationRequest = {
|
|
7794
7854
|
/**
|
|
7795
|
-
*
|
|
7855
|
+
* Managed agent started for each new matching conversation.
|
|
7796
7856
|
*/
|
|
7797
|
-
|
|
7857
|
+
agent_id: string;
|
|
7858
|
+
continue_filter?: ManagedAgentsWebhookFilter;
|
|
7798
7859
|
/**
|
|
7799
|
-
*
|
|
7860
|
+
* Ordered values joined into the external conversation identity.
|
|
7800
7861
|
*/
|
|
7801
|
-
|
|
7862
|
+
conversation_key?: Array<ManagedAgentsWebhookConversationPart>;
|
|
7802
7863
|
/**
|
|
7803
|
-
*
|
|
7864
|
+
* Explicit credential grants made available to automation sessions.
|
|
7804
7865
|
*/
|
|
7805
|
-
|
|
7866
|
+
credential_refs?: Array<ManagedAgentsVaultCredentialRef>;
|
|
7806
7867
|
/**
|
|
7807
|
-
*
|
|
7868
|
+
* Human-readable name shown in the automation catalog and session provenance.
|
|
7808
7869
|
*/
|
|
7809
|
-
|
|
7870
|
+
display_name: string;
|
|
7810
7871
|
/**
|
|
7811
|
-
*
|
|
7872
|
+
* Whether matching webhook deliveries may dispatch this automation.
|
|
7812
7873
|
*/
|
|
7813
|
-
|
|
7814
|
-
};
|
|
7815
|
-
/**
|
|
7816
|
-
* Result of a live health check against one integration connection: its refreshed state at the provider, whether a token could be minted, and what is missing if not. A failed check is reported here rather than as an HTTP error.
|
|
7817
|
-
*/
|
|
7818
|
-
export type ManagedAgentsConnectionProbe = {
|
|
7874
|
+
enabled?: boolean;
|
|
7819
7875
|
/**
|
|
7820
|
-
*
|
|
7876
|
+
* Agent Service environment used to execute automation sessions.
|
|
7821
7877
|
*/
|
|
7822
|
-
|
|
7878
|
+
environment_id: string;
|
|
7823
7879
|
/**
|
|
7824
|
-
*
|
|
7880
|
+
* Task instructions given to the agent together with the event or manual input.
|
|
7825
7881
|
*/
|
|
7826
|
-
|
|
7882
|
+
instructions: string;
|
|
7883
|
+
start_filter?: ManagedAgentsWebhookFilter;
|
|
7827
7884
|
/**
|
|
7828
|
-
*
|
|
7885
|
+
* Opaque client-owned template identifier used to select a guided editor; unknown identifiers remain valid custom automations.
|
|
7829
7886
|
*/
|
|
7830
|
-
|
|
7887
|
+
template_id?: string;
|
|
7888
|
+
/**
|
|
7889
|
+
* Vaults available to automation sessions, narrowed by credential_refs when configured.
|
|
7890
|
+
*/
|
|
7891
|
+
vault_ids?: Array<string>;
|
|
7892
|
+
/**
|
|
7893
|
+
* Webhook endpoint that supplies automatic events; omit for a manual-only automation.
|
|
7894
|
+
*/
|
|
7895
|
+
webhook_endpoint_id?: string;
|
|
7896
|
+
};
|
|
7897
|
+
/**
|
|
7898
|
+
* The trusted side effects one repository automation performed after its result passed validation: the patch it captured and the review it published. A session that completed before output finalization existed reads back zero-valued, meaning neither happened.
|
|
7899
|
+
*/
|
|
7900
|
+
export type ManagedAgentsAutomationResult = {
|
|
7901
|
+
patch?: ManagedAgentsPatchArtifact;
|
|
7902
|
+
publication?: ManagedAgentsPublication;
|
|
7903
|
+
};
|
|
7904
|
+
/**
|
|
7905
|
+
* Reference to the asynchronously running managed-agent session created by a manual automation run.
|
|
7906
|
+
*/
|
|
7907
|
+
export type ManagedAgentsAutomationRunResponse = {
|
|
7831
7908
|
/**
|
|
7832
|
-
*
|
|
7909
|
+
* Managed-agent session created for this automation run.
|
|
7833
7910
|
*/
|
|
7834
|
-
|
|
7911
|
+
session_id?: string;
|
|
7835
7912
|
/**
|
|
7836
|
-
*
|
|
7913
|
+
* Relative API path used to read the session and follow its progress.
|
|
7837
7914
|
*/
|
|
7838
|
-
|
|
7915
|
+
status_path?: string;
|
|
7916
|
+
};
|
|
7917
|
+
/**
|
|
7918
|
+
* Response body of POST /v1/sessions/{session_id}/cancel. Cancel is terminal for the run but not for the record: the workflow is stopped and the sandbox torn down, while the session, its events, and its outcomes remain readable. The session row itself is removed from reads only by the separate soft-delete endpoint.
|
|
7919
|
+
*/
|
|
7920
|
+
export type ManagedAgentsCancelledResponse = {
|
|
7839
7921
|
/**
|
|
7840
|
-
*
|
|
7922
|
+
* Always true. The workflow was cancelled and the sandbox closed; failures are HTTP errors instead, so this field never reports false. It is also true when the session had already reached a terminal state, making cancel safe to retry.
|
|
7841
7923
|
*/
|
|
7842
|
-
|
|
7924
|
+
cancelled?: boolean;
|
|
7843
7925
|
};
|
|
7844
7926
|
/**
|
|
7845
7927
|
* One block of message content, following the Anthropic content-block shape: text, image, tool_use, tool_result, thinking, or a provider passthrough. The type field says which fields apply, and provider-native payloads are carried through verbatim.
|
|
@@ -8223,7 +8305,7 @@ export type ManagedAgentsCreateTriggerBindingRequest = {
|
|
|
8223
8305
|
wake_event?: string;
|
|
8224
8306
|
};
|
|
8225
8307
|
/**
|
|
8226
|
-
* Request body for adding one credential to a vault. Its shape depends on credential_type
|
|
8308
|
+
* Request body for adding one credential to a vault. Its shape depends on credential_type. bearer_token and env_var accept exactly one of secret_value or secret_ref; webhook_secret requires secret_value; integration accepts neither. Secret material is encrypted at rest and never returned.
|
|
8227
8309
|
*/
|
|
8228
8310
|
export type ManagedAgentsCreateVaultCredentialRequest = {
|
|
8229
8311
|
/**
|
|
@@ -8231,9 +8313,9 @@ export type ManagedAgentsCreateVaultCredentialRequest = {
|
|
|
8231
8313
|
*/
|
|
8232
8314
|
allowed_hosts?: Array<string>;
|
|
8233
8315
|
/**
|
|
8234
|
-
*
|
|
8316
|
+
* bearer_token authenticates to an MCP server and requires mcp_server_url. env_var is exposed to the sandbox for CLIs and SDKs. webhook_secret is control-plane-only material used to verify inbound webhook signatures. integration references a connected provider account and carries no secret of its own.
|
|
8235
8317
|
*/
|
|
8236
|
-
credential_type: '
|
|
8318
|
+
credential_type: 'bearer_token' | 'env_var' | 'webhook_secret' | 'integration';
|
|
8237
8319
|
/**
|
|
8238
8320
|
* Operator-facing label.
|
|
8239
8321
|
*/
|
|
@@ -8273,7 +8355,7 @@ export type ManagedAgentsCreateVaultCredentialRequest = {
|
|
|
8273
8355
|
*/
|
|
8274
8356
|
secret_name?: string;
|
|
8275
8357
|
/**
|
|
8276
|
-
* Reference to material stored outside this service, carrying a provider prefix. Requests carrying obvious inline secret material are rejected.
|
|
8358
|
+
* Reference to material stored outside this service, carrying a provider prefix. Not supported for webhook_secret because verification runs in this control plane. Requests carrying obvious inline secret material are rejected.
|
|
8277
8359
|
*/
|
|
8278
8360
|
secret_ref?: string;
|
|
8279
8361
|
/**
|
|
@@ -8326,23 +8408,6 @@ export type ManagedAgentsDeletedResponse = {
|
|
|
8326
8408
|
*/
|
|
8327
8409
|
deleted?: boolean;
|
|
8328
8410
|
};
|
|
8329
|
-
/**
|
|
8330
|
-
* Summary of what removing an integration connection retired. Returned when a connection is disconnected, so a caller can see how many vault grants it invalidated.
|
|
8331
|
-
*/
|
|
8332
|
-
export type ManagedAgentsDisconnectResult = {
|
|
8333
|
-
/**
|
|
8334
|
-
* Connection that was disconnected (UUID). Reconnecting the same provider install produces a new connection id, so this value is not reusable afterwards.
|
|
8335
|
-
*/
|
|
8336
|
-
connection_id?: string;
|
|
8337
|
-
/**
|
|
8338
|
-
* Always true on success: the connection row was soft-deleted and this service will no longer mint tokens for it. The app itself is deliberately left installed at the provider.
|
|
8339
|
-
*/
|
|
8340
|
-
deleted?: boolean;
|
|
8341
|
-
/**
|
|
8342
|
-
* Number of vault grants that referenced this connection and have stopped working. They are not restored by reconnecting and must be recreated against the new connection.
|
|
8343
|
-
*/
|
|
8344
|
-
grants_revoked?: number;
|
|
8345
|
-
};
|
|
8346
8411
|
/**
|
|
8347
8412
|
* A sandbox environment a session executes in: its provider, resources, mounts, setup steps and idle/delete lifecycle. Created and started independently of any session.
|
|
8348
8413
|
*/
|
|
@@ -8834,98 +8899,6 @@ export type ManagedAgentsInferenceConfig = {
|
|
|
8834
8899
|
* One place a credential is applied to an outbound request. Headers alone is recommended; a secret in a request body is far easier to log by accident.
|
|
8835
8900
|
*/
|
|
8836
8901
|
export type ManagedAgentsInjectionLocation = 'headers' | 'body';
|
|
8837
|
-
/**
|
|
8838
|
-
* Where to send a user to authorize an integration, plus the one-time state nonce that ties the provider's callback back to this attempt. Returned when an authorization flow is started.
|
|
8839
|
-
*/
|
|
8840
|
-
export type ManagedAgentsInstallStart = {
|
|
8841
|
-
/**
|
|
8842
|
-
* Single-use CSRF nonce identifying this install attempt, not a lifecycle status. Retain it, compare it to the state on the provider callback, and echo it back when completing the install; the organization is resolved from this nonce, so a mismatched or already-consumed value is rejected.
|
|
8843
|
-
*/
|
|
8844
|
-
state?: string;
|
|
8845
|
-
/**
|
|
8846
|
-
* Absolute provider-hosted authorization page to redirect the user to. Carries the state nonce as a query parameter; send the user here rather than fetching it server-side.
|
|
8847
|
-
*/
|
|
8848
|
-
url?: string;
|
|
8849
|
-
};
|
|
8850
|
-
/**
|
|
8851
|
-
* An organization's link to a third-party account, created by installing an integration such as the GitHub App. It holds no secret itself; grant it to an agent so sessions can mint short-lived provider credentials from it.
|
|
8852
|
-
*/
|
|
8853
|
-
export type ManagedAgentsIntegrationConnection = {
|
|
8854
|
-
/**
|
|
8855
|
-
* Name of the connected third-party account, e.g. the GitHub org or user login. Cached at install time for display, so no provider call is needed to show it.
|
|
8856
|
-
*/
|
|
8857
|
-
account_login?: string;
|
|
8858
|
-
/**
|
|
8859
|
-
* Kind of account that was connected, as the provider reports it, e.g. Organization or User for GitHub and workspace for Slack.
|
|
8860
|
-
*/
|
|
8861
|
-
account_type?: string;
|
|
8862
|
-
/**
|
|
8863
|
-
* User who completed the install, recorded for audit. Empty for connections created by an internal admin route.
|
|
8864
|
-
*/
|
|
8865
|
-
connected_by?: string;
|
|
8866
|
-
/**
|
|
8867
|
-
* Identifier for this connection (UUID). Server-assigned. Cite it when granting an agent access to the integration.
|
|
8868
|
-
*/
|
|
8869
|
-
connection_id?: string;
|
|
8870
|
-
/**
|
|
8871
|
-
* RFC 3339 timestamp of when this record was created. Server-assigned.
|
|
8872
|
-
*/
|
|
8873
|
-
created_at?: string;
|
|
8874
|
-
/**
|
|
8875
|
-
* The provider's own identifier for the link, which token minting addresses. The installation id for GitHub; the composite {api_app_id}:{team_id} for Slack.
|
|
8876
|
-
*/
|
|
8877
|
-
external_id?: string;
|
|
8878
|
-
/**
|
|
8879
|
-
* Provider-specific non-secret connection facts recorded by the service, such as external account identifiers or an authorization ceiling.
|
|
8880
|
-
*/
|
|
8881
|
-
metadata?: {
|
|
8882
|
-
[key: string]: unknown;
|
|
8883
|
-
};
|
|
8884
|
-
/**
|
|
8885
|
-
* Labelbox organization that owns this record. Resolved from the API key; never accepted from the caller.
|
|
8886
|
-
*/
|
|
8887
|
-
organization_id?: string;
|
|
8888
|
-
/**
|
|
8889
|
-
* What the provider granted the install, as permission name to access level (e.g. contents: write). Used to narrow a minted token without a provider round trip and to explain why a permission preset is unavailable.
|
|
8890
|
-
*/
|
|
8891
|
-
permissions?: {
|
|
8892
|
-
[key: string]: string;
|
|
8893
|
-
};
|
|
8894
|
-
/**
|
|
8895
|
-
* Third-party integration this connection links to: github or slack.
|
|
8896
|
-
*/
|
|
8897
|
-
provider?: string;
|
|
8898
|
-
/**
|
|
8899
|
-
* Whether the install covers all of the account's resources or only chosen ones: all or selected. Informational only; the authoritative list stays at the provider.
|
|
8900
|
-
*/
|
|
8901
|
-
resource_selection?: string;
|
|
8902
|
-
/**
|
|
8903
|
-
* Lifecycle of the connection: active can mint tokens, suspended is restorable at the provider and resolves to no credential, revoked was uninstalled and must be installed again.
|
|
8904
|
-
*/
|
|
8905
|
-
state?: string;
|
|
8906
|
-
/**
|
|
8907
|
-
* RFC 3339 timestamp of the last change to this record. Server-assigned.
|
|
8908
|
-
*/
|
|
8909
|
-
updated_at?: string;
|
|
8910
|
-
};
|
|
8911
|
-
/**
|
|
8912
|
-
* The integration connections belonging to the calling organization, as resolved from the API key. Returned when listing connections.
|
|
8913
|
-
*/
|
|
8914
|
-
export type ManagedAgentsIntegrationConnectionListResponse = {
|
|
8915
|
-
/**
|
|
8916
|
-
* The organization's integration connections, including suspended and revoked ones. Disconnected connections are omitted.
|
|
8917
|
-
*/
|
|
8918
|
-
connections?: unknown;
|
|
8919
|
-
};
|
|
8920
|
-
/**
|
|
8921
|
-
* The integration providers this deployment can connect to. Returned by the provider list a console reads before offering a connect action.
|
|
8922
|
-
*/
|
|
8923
|
-
export type ManagedAgentsIntegrationProviderListResponse = {
|
|
8924
|
-
/**
|
|
8925
|
-
* Every integration provider this build supports, configured or not. Unconfigured entries are included so a caller can distinguish "not set up in this deployment" from "not offered".
|
|
8926
|
-
*/
|
|
8927
|
-
providers?: unknown;
|
|
8928
|
-
};
|
|
8929
8902
|
/**
|
|
8930
8903
|
* Request body for interrupting a running session, optionally injecting a message the agent sees at the interruption point.
|
|
8931
8904
|
*/
|
|
@@ -10169,35 +10142,6 @@ export type ManagedAgentsProbeMcpServerRequest = {
|
|
|
10169
10142
|
*/
|
|
10170
10143
|
vault_ids?: Array<string>;
|
|
10171
10144
|
};
|
|
10172
|
-
/**
|
|
10173
|
-
* One integration provider this build supports, together with whether this deployment is configured for it. Returned by the provider list a console reads before offering a connect action.
|
|
10174
|
-
*/
|
|
10175
|
-
export type ManagedAgentsProviderInfo = {
|
|
10176
|
-
/**
|
|
10177
|
-
* Whether this deployment has credentials for the provider. Unconfigured providers are still listed so a caller can tell "not set up here" from "not offered"; starting an install against one fails.
|
|
10178
|
-
*/
|
|
10179
|
-
configured?: boolean;
|
|
10180
|
-
/**
|
|
10181
|
-
* Human-readable provider name for the connect UI, for example "GitHub".
|
|
10182
|
-
*/
|
|
10183
|
-
display_name?: string;
|
|
10184
|
-
/**
|
|
10185
|
-
* Hostnames a sandbox must be allowed to reach for this provider's in-container tooling. Empty when the provider needs no sandbox egress.
|
|
10186
|
-
*/
|
|
10187
|
-
egress_hosts?: Array<string>;
|
|
10188
|
-
/**
|
|
10189
|
-
* Stable provider slug to pass wherever an integration provider is named, such as starting an install. Currently "github" is the only one listed.
|
|
10190
|
-
*/
|
|
10191
|
-
id?: string;
|
|
10192
|
-
/**
|
|
10193
|
-
* MCP server URL that sessions granted this provider get bound to. Empty when the provider is not configured here or exposes no MCP surface.
|
|
10194
|
-
*/
|
|
10195
|
-
mcp_endpoint?: string;
|
|
10196
|
-
/**
|
|
10197
|
-
* Named permission presets a vault grant may request for this provider, ordered least privileged first. Empty when the provider is not configured here.
|
|
10198
|
-
*/
|
|
10199
|
-
permissions?: Array<string>;
|
|
10200
|
-
};
|
|
10201
10145
|
/**
|
|
10202
10146
|
* The GitHub-side outcome of one repository automation. Publication is idempotent: a retry finds the review this session already posted and returns it rather than duplicating comments.
|
|
10203
10147
|
*/
|
|
@@ -10270,27 +10214,6 @@ export type ManagedAgentsPullRequestReviewStartedResponse = {
|
|
|
10270
10214
|
*/
|
|
10271
10215
|
status_path?: string;
|
|
10272
10216
|
};
|
|
10273
|
-
/**
|
|
10274
|
-
* The picker-safe identity and immutable head of one GitHub pull request reachable through an integration connection.
|
|
10275
|
-
*/
|
|
10276
|
-
export type ManagedAgentsPullRequestSummary = {
|
|
10277
|
-
/**
|
|
10278
|
-
* Whether GitHub currently marks this pull request as a draft.
|
|
10279
|
-
*/
|
|
10280
|
-
draft?: boolean;
|
|
10281
|
-
/**
|
|
10282
|
-
* Immutable head commit SHA observed when this pull request was listed.
|
|
10283
|
-
*/
|
|
10284
|
-
head_sha?: string;
|
|
10285
|
-
/**
|
|
10286
|
-
* GitHub pull request number within the repository.
|
|
10287
|
-
*/
|
|
10288
|
-
number?: number;
|
|
10289
|
-
/**
|
|
10290
|
-
* GitHub pull request title to display in a picker.
|
|
10291
|
-
*/
|
|
10292
|
-
title?: string;
|
|
10293
|
-
};
|
|
10294
10217
|
/**
|
|
10295
10218
|
* The exact, immutable identity of one GitHub pull request under automation: the repository, the number, and the two commits that bound the reviewed diff.
|
|
10296
10219
|
*/
|
|
@@ -10320,19 +10243,6 @@ export type ManagedAgentsPullRequestTarget = {
|
|
|
10320
10243
|
*/
|
|
10321
10244
|
repository_id?: number;
|
|
10322
10245
|
};
|
|
10323
|
-
/**
|
|
10324
|
-
* One page of pull requests in a GitHub repository reachable through an integration connection. Returned to populate a pull request picker.
|
|
10325
|
-
*/
|
|
10326
|
-
export type ManagedAgentsPullRequests = {
|
|
10327
|
-
/**
|
|
10328
|
-
* 1-based page this response covers. Defaults to 1 when the request omits or under-specifies it.
|
|
10329
|
-
*/
|
|
10330
|
-
page?: number;
|
|
10331
|
-
/**
|
|
10332
|
-
* Pull requests reachable on this page, up to 100 per page.
|
|
10333
|
-
*/
|
|
10334
|
-
pull_requests?: unknown;
|
|
10335
|
-
};
|
|
10336
10246
|
/**
|
|
10337
10247
|
* One memory consolidation: session reports in, a candidate memory store out. It runs as an ordinary observable session, so the whole run is inspectable through driver_session_id.
|
|
10338
10248
|
*/
|
|
@@ -10424,50 +10334,17 @@ export type ManagedAgentsReflectionListResponse = {
|
|
|
10424
10334
|
reflections?: unknown;
|
|
10425
10335
|
};
|
|
10426
10336
|
/**
|
|
10427
|
-
*
|
|
10337
|
+
* Structured input for manually starting an automation without a webhook delivery.
|
|
10428
10338
|
*/
|
|
10429
|
-
export type
|
|
10430
|
-
/**
|
|
10431
|
-
* 1-based page this response covers. Defaults to 1 when the request omits or under-specifies it.
|
|
10432
|
-
*/
|
|
10433
|
-
page?: number;
|
|
10434
|
-
/**
|
|
10435
|
-
* Repositories reachable on this page, up to 100 per page.
|
|
10436
|
-
*/
|
|
10437
|
-
repositories?: unknown;
|
|
10438
|
-
/**
|
|
10439
|
-
* Total repositories the connection can reach across all pages, as reported by GitHub.
|
|
10440
|
-
*/
|
|
10441
|
-
total_count?: number;
|
|
10442
|
-
};
|
|
10443
|
-
/**
|
|
10444
|
-
* One GitHub repository an integration connection's install can reach, as reported by GitHub. Returned when listing a connection's repositories to scope a grant.
|
|
10445
|
-
*/
|
|
10446
|
-
export type ManagedAgentsRepository = {
|
|
10447
|
-
/**
|
|
10448
|
-
* Whether the repository is archived on GitHub and therefore read-only there.
|
|
10449
|
-
*/
|
|
10450
|
-
archived?: boolean;
|
|
10451
|
-
/**
|
|
10452
|
-
* Branch GitHub reports as the repository default, for example "main". Absent when GitHub reports none, as for an empty repository.
|
|
10453
|
-
*/
|
|
10454
|
-
default_branch?: string;
|
|
10455
|
-
/**
|
|
10456
|
-
* Owner-qualified repository name, for example "Labelbox/platform". This is the form a vault grant's repository selection uses.
|
|
10457
|
-
*/
|
|
10458
|
-
full_name?: string;
|
|
10339
|
+
export type ManagedAgentsRunAutomationRequest = {
|
|
10459
10340
|
/**
|
|
10460
|
-
*
|
|
10341
|
+
* Caller-chosen key that makes retrying the same manual run safe.
|
|
10461
10342
|
*/
|
|
10462
|
-
|
|
10463
|
-
/**
|
|
10464
|
-
* Repository name without its owner, for example "platform".
|
|
10465
|
-
*/
|
|
10466
|
-
name?: string;
|
|
10343
|
+
idempotency_key?: string;
|
|
10467
10344
|
/**
|
|
10468
|
-
*
|
|
10345
|
+
* Structured event or task input supplied to the agent for this manual run.
|
|
10469
10346
|
*/
|
|
10470
|
-
|
|
10347
|
+
payload: unknown;
|
|
10471
10348
|
};
|
|
10472
10349
|
/**
|
|
10473
10350
|
* One sandbox runtime this deployment can provision compute on. Listed so a caller can pick a sandbox_provider when creating an environment; this is static service capability, not organization data.
|
|
@@ -11490,7 +11367,7 @@ export type ManagedAgentsUpdateVaultCredentialRequest = {
|
|
|
11490
11367
|
*/
|
|
11491
11368
|
secret_name?: string;
|
|
11492
11369
|
/**
|
|
11493
|
-
* New secret-manager reference, for material stored elsewhere. Omit to keep the current secret.
|
|
11370
|
+
* New secret-manager reference, for material stored elsewhere. Not supported for webhook_secret. Omit to keep the current secret.
|
|
11494
11371
|
*/
|
|
11495
11372
|
secret_ref?: string;
|
|
11496
11373
|
/**
|
|
@@ -11590,7 +11467,7 @@ export type ManagedAgentsVaultCredential = {
|
|
|
11590
11467
|
*/
|
|
11591
11468
|
credential_id?: string;
|
|
11592
11469
|
/**
|
|
11593
|
-
* How the credential is
|
|
11470
|
+
* How the credential is used: bearer_token, env_var, or webhook_secret. Legacy rows may report mcp_oauth or integration, so this remains a string rather than a closed response enum.
|
|
11594
11471
|
*/
|
|
11595
11472
|
credential_type?: string;
|
|
11596
11473
|
/**
|
|
@@ -11614,70 +11491,279 @@ export type ManagedAgentsVaultCredential = {
|
|
|
11614
11491
|
*/
|
|
11615
11492
|
integration_resources?: Array<string>;
|
|
11616
11493
|
/**
|
|
11617
|
-
* MCP server this credential may be sent to. Required for
|
|
11494
|
+
* 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.
|
|
11495
|
+
*/
|
|
11496
|
+
mcp_server_url?: string;
|
|
11497
|
+
/**
|
|
11498
|
+
* Free-form caller-supplied key/value labels. Stored verbatim and never interpreted by the service.
|
|
11499
|
+
*/
|
|
11500
|
+
metadata?: {
|
|
11501
|
+
[key: string]: unknown;
|
|
11502
|
+
};
|
|
11503
|
+
/**
|
|
11504
|
+
* How far the credential may travel: limited confines it to allowed_hosts, unrestricted permits any host. limited is the safe default.
|
|
11505
|
+
*/
|
|
11506
|
+
network_mode?: 'limited' | 'unrestricted';
|
|
11507
|
+
/**
|
|
11508
|
+
* Labelbox organization that owns this record. Resolved from the API key; never accepted from the caller.
|
|
11509
|
+
*/
|
|
11510
|
+
organization_id?: string;
|
|
11511
|
+
/**
|
|
11512
|
+
* Environment variable or header name the secret binds to inside the sandbox. Required for the env_var kind.
|
|
11513
|
+
*/
|
|
11514
|
+
secret_name?: string;
|
|
11515
|
+
/**
|
|
11516
|
+
* Pointer to material stored in an external secret manager, carrying a provider prefix such as kms: or vault:. Opaque to this service, and empty on the normal path where the value is sealed into the credential itself.
|
|
11517
|
+
*/
|
|
11518
|
+
secret_ref?: string;
|
|
11519
|
+
/**
|
|
11520
|
+
* RFC 3339 timestamp of the last change to this record. Server-assigned.
|
|
11521
|
+
*/
|
|
11522
|
+
updated_at?: string;
|
|
11523
|
+
/**
|
|
11524
|
+
* Vault this credential belongs to (UUID).
|
|
11525
|
+
*/
|
|
11526
|
+
vault_id?: string;
|
|
11527
|
+
};
|
|
11528
|
+
/**
|
|
11529
|
+
* Response body of GET /v1/vaults/{vault_id}/credentials. Unlike the other list envelopes this one is deliberately lossy: each row describes a credential and points at its secret-manager reference, and the secret material is never returned by any read endpoint. To learn whether a credential actually works, probe with POST /v1/mcp/probe.
|
|
11530
|
+
*/
|
|
11531
|
+
export type ManagedAgentsVaultCredentialListResponse = {
|
|
11532
|
+
/**
|
|
11533
|
+
* Credentials held by the vault named in the path, newest first. Null rather than an empty array when the vault is empty. Soft-deleted credentials are omitted, and no row carries a secret value.
|
|
11534
|
+
*/
|
|
11535
|
+
vault_credentials?: unknown;
|
|
11536
|
+
};
|
|
11537
|
+
/**
|
|
11538
|
+
* A pointer to one credential inside one vault. Used to grant a session specific credentials rather than every credential in a vault.
|
|
11539
|
+
*/
|
|
11540
|
+
export type ManagedAgentsVaultCredentialRef = {
|
|
11541
|
+
/**
|
|
11542
|
+
* Credential to select inside vault_id.
|
|
11543
|
+
*/
|
|
11544
|
+
credential_id?: string;
|
|
11545
|
+
/**
|
|
11546
|
+
* Vault holding the credential. Required, because credential ids are unique only within a vault.
|
|
11547
|
+
*/
|
|
11548
|
+
vault_id?: string;
|
|
11549
|
+
};
|
|
11550
|
+
/**
|
|
11551
|
+
* Response body of GET /v1/vaults. A vault is the grantable unit of credential access: the vault_ids passed when starting a session decide which credentials that session may use. This lists the containers only; use GET /v1/vaults/{vault_id}/credentials for contents.
|
|
11552
|
+
*/
|
|
11553
|
+
export type ManagedAgentsVaultListResponse = {
|
|
11554
|
+
/**
|
|
11555
|
+
* Every vault in the caller's organization, newest first. Null rather than an empty array when the organization has no vaults. Soft-deleted vaults are omitted.
|
|
11556
|
+
*/
|
|
11557
|
+
vaults?: unknown;
|
|
11558
|
+
};
|
|
11559
|
+
/**
|
|
11560
|
+
* Configures the immediate HTTP response sent after a webhook delivery is verified and accepted.
|
|
11561
|
+
*/
|
|
11562
|
+
export type ManagedAgentsWebhookAcknowledgement = {
|
|
11563
|
+
/**
|
|
11564
|
+
* Static JSON object returned to the webhook sender after acceptance.
|
|
11565
|
+
*/
|
|
11566
|
+
body?: {
|
|
11567
|
+
[key: string]: unknown;
|
|
11568
|
+
};
|
|
11569
|
+
/**
|
|
11570
|
+
* Response property populated with the selected challenge value during endpoint verification.
|
|
11571
|
+
*/
|
|
11572
|
+
challenge_response_field?: string;
|
|
11573
|
+
challenge_selector?: ManagedAgentsWebhookValueSelector;
|
|
11574
|
+
/**
|
|
11575
|
+
* HTTP status returned after a verified delivery is durably accepted; defaults to 200.
|
|
11576
|
+
*/
|
|
11577
|
+
status_code?: number;
|
|
11578
|
+
};
|
|
11579
|
+
/**
|
|
11580
|
+
* One component of a stable automation conversation key, with ordered fallback selectors.
|
|
11581
|
+
*/
|
|
11582
|
+
export type ManagedAgentsWebhookConversationPart = {
|
|
11583
|
+
/**
|
|
11584
|
+
* Fallback selectors checked in order; the first present value contributes this part of the conversation key.
|
|
11585
|
+
*/
|
|
11586
|
+
selectors?: unknown;
|
|
11587
|
+
};
|
|
11588
|
+
/**
|
|
11589
|
+
* Selects a stable provider delivery identity, optionally composed from multiple verified values.
|
|
11590
|
+
*/
|
|
11591
|
+
export type ManagedAgentsWebhookDeliveryKey = {
|
|
11592
|
+
/**
|
|
11593
|
+
* RFC 6901 JSON pointer for a single-value body key.
|
|
11594
|
+
*/
|
|
11595
|
+
body_pointer?: string;
|
|
11596
|
+
/**
|
|
11597
|
+
* Case-insensitive header name for a single-value header key.
|
|
11598
|
+
*/
|
|
11599
|
+
header?: string;
|
|
11600
|
+
/**
|
|
11601
|
+
* Ordered values canonically hashed into a collision-resistant composite delivery key.
|
|
11602
|
+
*/
|
|
11603
|
+
selectors?: Array<ManagedAgentsWebhookValueSelector>;
|
|
11604
|
+
/**
|
|
11605
|
+
* Delivery location for a single-value key; omit when selectors is used.
|
|
11606
|
+
*/
|
|
11607
|
+
source?: 'body' | 'header';
|
|
11608
|
+
};
|
|
11609
|
+
/**
|
|
11610
|
+
* An organization-owned, provider-neutral webhook ingress endpoint with configurable verification and acknowledgement.
|
|
11611
|
+
*/
|
|
11612
|
+
export type ManagedAgentsWebhookEndpoint = {
|
|
11613
|
+
acknowledgement?: ManagedAgentsWebhookAcknowledgement;
|
|
11614
|
+
/**
|
|
11615
|
+
* Server-assigned RFC 3339 creation timestamp.
|
|
11616
|
+
*/
|
|
11617
|
+
created_at?: string;
|
|
11618
|
+
/**
|
|
11619
|
+
* Authenticated principal that created the endpoint.
|
|
11620
|
+
*/
|
|
11621
|
+
created_by?: string;
|
|
11622
|
+
delivery_key?: ManagedAgentsWebhookDeliveryKey;
|
|
11623
|
+
/**
|
|
11624
|
+
* Human-readable name shown when configuring automations.
|
|
11625
|
+
*/
|
|
11626
|
+
display_name?: string;
|
|
11627
|
+
/**
|
|
11628
|
+
* Whether the endpoint currently accepts deliveries.
|
|
11629
|
+
*/
|
|
11630
|
+
enabled?: boolean;
|
|
11631
|
+
/**
|
|
11632
|
+
* Server-assigned endpoint identifier used in the public webhook URL.
|
|
11633
|
+
*/
|
|
11634
|
+
endpoint_id?: string;
|
|
11635
|
+
/**
|
|
11636
|
+
* Organization that owns the endpoint, resolved from the authenticated request scope.
|
|
11637
|
+
*/
|
|
11638
|
+
organization_id?: string;
|
|
11639
|
+
/**
|
|
11640
|
+
* Server-assigned RFC 3339 timestamp of the most recent configuration change.
|
|
11641
|
+
*/
|
|
11642
|
+
updated_at?: string;
|
|
11643
|
+
verification?: ManagedAgentsWebhookVerification;
|
|
11644
|
+
};
|
|
11645
|
+
/**
|
|
11646
|
+
* Webhook endpoints available to automations in the calling organization.
|
|
11647
|
+
*/
|
|
11648
|
+
export type ManagedAgentsWebhookEndpointListResponse = {
|
|
11649
|
+
/**
|
|
11650
|
+
* Webhook endpoints owned by the calling organization.
|
|
11651
|
+
*/
|
|
11652
|
+
webhook_endpoints?: unknown;
|
|
11653
|
+
};
|
|
11654
|
+
/**
|
|
11655
|
+
* Provider-neutral configuration for creating or replacing a webhook endpoint.
|
|
11656
|
+
*/
|
|
11657
|
+
export type ManagedAgentsWebhookEndpointRequest = {
|
|
11658
|
+
acknowledgement: ManagedAgentsWebhookAcknowledgement;
|
|
11659
|
+
delivery_key?: ManagedAgentsWebhookDeliveryKey;
|
|
11660
|
+
/**
|
|
11661
|
+
* Human-readable endpoint name shown when configuring automations.
|
|
11662
|
+
*/
|
|
11663
|
+
display_name: string;
|
|
11664
|
+
/**
|
|
11665
|
+
* Whether the endpoint accepts inbound webhook deliveries.
|
|
11666
|
+
*/
|
|
11667
|
+
enabled?: boolean;
|
|
11668
|
+
verification: ManagedAgentsWebhookVerification;
|
|
11669
|
+
};
|
|
11670
|
+
/**
|
|
11671
|
+
* A conjunction of conditions that decides whether a webhook delivery starts or continues an automation conversation.
|
|
11672
|
+
*/
|
|
11673
|
+
export type ManagedAgentsWebhookFilter = {
|
|
11674
|
+
/**
|
|
11675
|
+
* Conditions that must all match; an empty list matches every verified delivery.
|
|
11676
|
+
*/
|
|
11677
|
+
all?: Array<ManagedAgentsWebhookMatchCondition>;
|
|
11678
|
+
};
|
|
11679
|
+
/**
|
|
11680
|
+
* One provider-neutral condition evaluated against a verified webhook delivery.
|
|
11681
|
+
*/
|
|
11682
|
+
export type ManagedAgentsWebhookMatchCondition = {
|
|
11683
|
+
/**
|
|
11684
|
+
* Comparison applied to the selected value.
|
|
11685
|
+
*/
|
|
11686
|
+
operator?: 'equals' | 'one_of' | 'exists' | 'not_exists';
|
|
11687
|
+
selector?: ManagedAgentsWebhookValueSelector;
|
|
11688
|
+
/**
|
|
11689
|
+
* Expected value for the equals operator.
|
|
11690
|
+
*/
|
|
11691
|
+
value?: string;
|
|
11692
|
+
/**
|
|
11693
|
+
* Accepted values for the one_of operator.
|
|
11694
|
+
*/
|
|
11695
|
+
values?: Array<string>;
|
|
11696
|
+
};
|
|
11697
|
+
/**
|
|
11698
|
+
* One ordered input included in the byte sequence verified by an HMAC webhook signature.
|
|
11699
|
+
*/
|
|
11700
|
+
export type ManagedAgentsWebhookSignedPart = {
|
|
11701
|
+
/**
|
|
11702
|
+
* Input source: the raw body, one header value, or a fixed literal string.
|
|
11703
|
+
*/
|
|
11704
|
+
kind?: 'body' | 'header' | 'literal';
|
|
11705
|
+
/**
|
|
11706
|
+
* Header name for header parts or fixed text for literal parts; omitted for the raw body.
|
|
11707
|
+
*/
|
|
11708
|
+
value?: string;
|
|
11709
|
+
};
|
|
11710
|
+
/**
|
|
11711
|
+
* Selects one value from a verified webhook delivery body or headers.
|
|
11712
|
+
*/
|
|
11713
|
+
export type ManagedAgentsWebhookValueSelector = {
|
|
11714
|
+
/**
|
|
11715
|
+
* RFC 6901 JSON pointer evaluated against the delivery body when source is body.
|
|
11618
11716
|
*/
|
|
11619
|
-
|
|
11717
|
+
body_pointer?: string;
|
|
11620
11718
|
/**
|
|
11621
|
-
*
|
|
11719
|
+
* HTTP header name read case-insensitively when source is header.
|
|
11622
11720
|
*/
|
|
11623
|
-
|
|
11624
|
-
[key: string]: unknown;
|
|
11625
|
-
};
|
|
11721
|
+
header?: string;
|
|
11626
11722
|
/**
|
|
11627
|
-
*
|
|
11723
|
+
* Delivery location to read: body for a JSON pointer or header for a case-insensitive header name.
|
|
11628
11724
|
*/
|
|
11629
|
-
|
|
11725
|
+
source?: 'body' | 'header';
|
|
11726
|
+
};
|
|
11727
|
+
/**
|
|
11728
|
+
* Provider-neutral rules for authenticating an inbound webhook before its payload can trigger automations.
|
|
11729
|
+
*/
|
|
11730
|
+
export type ManagedAgentsWebhookVerification = {
|
|
11630
11731
|
/**
|
|
11631
|
-
*
|
|
11732
|
+
* HTTP status returned for failed verification; defaults to 401.
|
|
11632
11733
|
*/
|
|
11633
|
-
|
|
11734
|
+
invalid_signature_status?: number;
|
|
11634
11735
|
/**
|
|
11635
|
-
*
|
|
11736
|
+
* Maximum accepted age of the timestamp in seconds; requires timestamp_header.
|
|
11636
11737
|
*/
|
|
11637
|
-
|
|
11738
|
+
maximum_age_seconds?: number;
|
|
11638
11739
|
/**
|
|
11639
|
-
*
|
|
11740
|
+
* Credential whose secret value verifies the HMAC when type is hmac_sha256.
|
|
11640
11741
|
*/
|
|
11641
|
-
|
|
11742
|
+
secret_credential_id?: string;
|
|
11642
11743
|
/**
|
|
11643
|
-
*
|
|
11744
|
+
* Vault containing the HMAC secret credential when type is hmac_sha256.
|
|
11644
11745
|
*/
|
|
11645
|
-
|
|
11746
|
+
secret_vault_id?: string;
|
|
11646
11747
|
/**
|
|
11647
|
-
*
|
|
11748
|
+
* HTTP header carrying the hexadecimal HMAC signature.
|
|
11648
11749
|
*/
|
|
11649
|
-
|
|
11650
|
-
};
|
|
11651
|
-
/**
|
|
11652
|
-
* Response body of GET /v1/vaults/{vault_id}/credentials. Unlike the other list envelopes this one is deliberately lossy: each row describes a credential and points at its secret-manager reference, and the secret material is never returned by any read endpoint. To learn whether a credential actually works, probe with POST /v1/mcp/probe.
|
|
11653
|
-
*/
|
|
11654
|
-
export type ManagedAgentsVaultCredentialListResponse = {
|
|
11750
|
+
signature_header?: string;
|
|
11655
11751
|
/**
|
|
11656
|
-
*
|
|
11752
|
+
* Optional prefix removed from the signature header before hexadecimal decoding, for example sha256=.
|
|
11657
11753
|
*/
|
|
11658
|
-
|
|
11659
|
-
};
|
|
11660
|
-
/**
|
|
11661
|
-
* A pointer to one credential inside one vault. Used to grant a session specific credentials rather than every credential in a vault.
|
|
11662
|
-
*/
|
|
11663
|
-
export type ManagedAgentsVaultCredentialRef = {
|
|
11754
|
+
signature_prefix?: string;
|
|
11664
11755
|
/**
|
|
11665
|
-
*
|
|
11756
|
+
* Ordered inputs concatenated before HMAC verification; must include the raw request body.
|
|
11666
11757
|
*/
|
|
11667
|
-
|
|
11758
|
+
signed_parts?: Array<ManagedAgentsWebhookSignedPart>;
|
|
11668
11759
|
/**
|
|
11669
|
-
*
|
|
11760
|
+
* Optional header containing a Unix timestamp used to reject replayed deliveries.
|
|
11670
11761
|
*/
|
|
11671
|
-
|
|
11672
|
-
};
|
|
11673
|
-
/**
|
|
11674
|
-
* Response body of GET /v1/vaults. A vault is the grantable unit of credential access: the vault_ids passed when starting a session decide which credentials that session may use. This lists the containers only; use GET /v1/vaults/{vault_id}/credentials for contents.
|
|
11675
|
-
*/
|
|
11676
|
-
export type ManagedAgentsVaultListResponse = {
|
|
11762
|
+
timestamp_header?: string;
|
|
11677
11763
|
/**
|
|
11678
|
-
*
|
|
11764
|
+
* Verification algorithm. Use hmac_sha256 for signed webhooks; none accepts unsigned deliveries.
|
|
11679
11765
|
*/
|
|
11680
|
-
|
|
11766
|
+
type?: 'hmac_sha256' | 'none';
|
|
11681
11767
|
};
|
|
11682
11768
|
/**
|
|
11683
11769
|
* A Docker image published in the marketplace for reuse across environments.
|
|
@@ -23333,13 +23419,13 @@ export type GetManagedAgentsV1AnalyticsByFamilyResponses = {
|
|
|
23333
23419
|
200: ManagedAgentsAnalyticsResponse;
|
|
23334
23420
|
};
|
|
23335
23421
|
export type GetManagedAgentsV1AnalyticsByFamilyResponse = GetManagedAgentsV1AnalyticsByFamilyResponses[keyof GetManagedAgentsV1AnalyticsByFamilyResponses];
|
|
23336
|
-
export type
|
|
23422
|
+
export type GetManagedAgentsV1AutomationsData = {
|
|
23337
23423
|
body?: never;
|
|
23338
23424
|
path?: never;
|
|
23339
23425
|
query?: never;
|
|
23340
|
-
url: '/managed-agents/v1/
|
|
23426
|
+
url: '/managed-agents/v1/automations';
|
|
23341
23427
|
};
|
|
23342
|
-
export type
|
|
23428
|
+
export type GetManagedAgentsV1AutomationsErrors = {
|
|
23343
23429
|
/**
|
|
23344
23430
|
* 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.
|
|
23345
23431
|
*/
|
|
@@ -23365,21 +23451,21 @@ export type GetManagedAgentsV1EnvironmentsErrors = {
|
|
|
23365
23451
|
*/
|
|
23366
23452
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23367
23453
|
};
|
|
23368
|
-
export type
|
|
23369
|
-
export type
|
|
23454
|
+
export type GetManagedAgentsV1AutomationsError = GetManagedAgentsV1AutomationsErrors[keyof GetManagedAgentsV1AutomationsErrors];
|
|
23455
|
+
export type GetManagedAgentsV1AutomationsResponses = {
|
|
23370
23456
|
/**
|
|
23371
|
-
*
|
|
23457
|
+
* Automations available in the calling organization.
|
|
23372
23458
|
*/
|
|
23373
|
-
200:
|
|
23459
|
+
200: ManagedAgentsAutomationListResponse;
|
|
23374
23460
|
};
|
|
23375
|
-
export type
|
|
23376
|
-
export type
|
|
23377
|
-
body?:
|
|
23461
|
+
export type GetManagedAgentsV1AutomationsResponse = GetManagedAgentsV1AutomationsResponses[keyof GetManagedAgentsV1AutomationsResponses];
|
|
23462
|
+
export type PostManagedAgentsV1AutomationsData = {
|
|
23463
|
+
body?: ManagedAgentsAutomationRequest;
|
|
23378
23464
|
path?: never;
|
|
23379
23465
|
query?: never;
|
|
23380
|
-
url: '/managed-agents/v1/
|
|
23466
|
+
url: '/managed-agents/v1/automations';
|
|
23381
23467
|
};
|
|
23382
|
-
export type
|
|
23468
|
+
export type PostManagedAgentsV1AutomationsErrors = {
|
|
23383
23469
|
/**
|
|
23384
23470
|
* 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.
|
|
23385
23471
|
*/
|
|
@@ -23413,26 +23499,26 @@ export type PostManagedAgentsV1EnvironmentsErrors = {
|
|
|
23413
23499
|
*/
|
|
23414
23500
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23415
23501
|
};
|
|
23416
|
-
export type
|
|
23417
|
-
export type
|
|
23502
|
+
export type PostManagedAgentsV1AutomationsError = PostManagedAgentsV1AutomationsErrors[keyof PostManagedAgentsV1AutomationsErrors];
|
|
23503
|
+
export type PostManagedAgentsV1AutomationsResponses = {
|
|
23418
23504
|
/**
|
|
23419
|
-
* A
|
|
23505
|
+
* A provider-neutral rule that starts or continues an ordinary managed-agent session from verified webhook events or structured manual input.
|
|
23420
23506
|
*/
|
|
23421
|
-
|
|
23507
|
+
201: ManagedAgentsAutomation;
|
|
23422
23508
|
};
|
|
23423
|
-
export type
|
|
23424
|
-
export type
|
|
23509
|
+
export type PostManagedAgentsV1AutomationsResponse = PostManagedAgentsV1AutomationsResponses[keyof PostManagedAgentsV1AutomationsResponses];
|
|
23510
|
+
export type DeleteManagedAgentsV1AutomationsByAutomationIdData = {
|
|
23425
23511
|
body?: never;
|
|
23426
23512
|
path: {
|
|
23427
23513
|
/**
|
|
23428
|
-
*
|
|
23514
|
+
* Automation id (UUID) as returned by createAutomation or listAutomations.
|
|
23429
23515
|
*/
|
|
23430
|
-
|
|
23516
|
+
automation_id: string;
|
|
23431
23517
|
};
|
|
23432
23518
|
query?: never;
|
|
23433
|
-
url: '/managed-agents/v1/
|
|
23519
|
+
url: '/managed-agents/v1/automations/{automation_id}';
|
|
23434
23520
|
};
|
|
23435
|
-
export type
|
|
23521
|
+
export type DeleteManagedAgentsV1AutomationsByAutomationIdErrors = {
|
|
23436
23522
|
/**
|
|
23437
23523
|
* 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.
|
|
23438
23524
|
*/
|
|
@@ -23466,26 +23552,26 @@ export type DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors = {
|
|
|
23466
23552
|
*/
|
|
23467
23553
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23468
23554
|
};
|
|
23469
|
-
export type
|
|
23470
|
-
export type
|
|
23555
|
+
export type DeleteManagedAgentsV1AutomationsByAutomationIdError = DeleteManagedAgentsV1AutomationsByAutomationIdErrors[keyof DeleteManagedAgentsV1AutomationsByAutomationIdErrors];
|
|
23556
|
+
export type DeleteManagedAgentsV1AutomationsByAutomationIdResponses = {
|
|
23471
23557
|
/**
|
|
23472
|
-
*
|
|
23558
|
+
* No Content
|
|
23473
23559
|
*/
|
|
23474
|
-
|
|
23560
|
+
204: void;
|
|
23475
23561
|
};
|
|
23476
|
-
export type
|
|
23477
|
-
export type
|
|
23562
|
+
export type DeleteManagedAgentsV1AutomationsByAutomationIdResponse = DeleteManagedAgentsV1AutomationsByAutomationIdResponses[keyof DeleteManagedAgentsV1AutomationsByAutomationIdResponses];
|
|
23563
|
+
export type GetManagedAgentsV1AutomationsByAutomationIdData = {
|
|
23478
23564
|
body?: never;
|
|
23479
23565
|
path: {
|
|
23480
23566
|
/**
|
|
23481
|
-
*
|
|
23567
|
+
* Automation id (UUID) as returned by createAutomation or listAutomations.
|
|
23482
23568
|
*/
|
|
23483
|
-
|
|
23569
|
+
automation_id: string;
|
|
23484
23570
|
};
|
|
23485
23571
|
query?: never;
|
|
23486
|
-
url: '/managed-agents/v1/
|
|
23572
|
+
url: '/managed-agents/v1/automations/{automation_id}';
|
|
23487
23573
|
};
|
|
23488
|
-
export type
|
|
23574
|
+
export type GetManagedAgentsV1AutomationsByAutomationIdErrors = {
|
|
23489
23575
|
/**
|
|
23490
23576
|
* 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.
|
|
23491
23577
|
*/
|
|
@@ -23515,26 +23601,26 @@ export type GetManagedAgentsV1EnvironmentsByEnvironmentIdErrors = {
|
|
|
23515
23601
|
*/
|
|
23516
23602
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23517
23603
|
};
|
|
23518
|
-
export type
|
|
23519
|
-
export type
|
|
23604
|
+
export type GetManagedAgentsV1AutomationsByAutomationIdError = GetManagedAgentsV1AutomationsByAutomationIdErrors[keyof GetManagedAgentsV1AutomationsByAutomationIdErrors];
|
|
23605
|
+
export type GetManagedAgentsV1AutomationsByAutomationIdResponses = {
|
|
23520
23606
|
/**
|
|
23521
|
-
* A
|
|
23607
|
+
* A provider-neutral rule that starts or continues an ordinary managed-agent session from verified webhook events or structured manual input.
|
|
23522
23608
|
*/
|
|
23523
|
-
200:
|
|
23609
|
+
200: ManagedAgentsAutomation;
|
|
23524
23610
|
};
|
|
23525
|
-
export type
|
|
23526
|
-
export type
|
|
23527
|
-
body?:
|
|
23611
|
+
export type GetManagedAgentsV1AutomationsByAutomationIdResponse = GetManagedAgentsV1AutomationsByAutomationIdResponses[keyof GetManagedAgentsV1AutomationsByAutomationIdResponses];
|
|
23612
|
+
export type PutManagedAgentsV1AutomationsByAutomationIdData = {
|
|
23613
|
+
body?: ManagedAgentsAutomationRequest;
|
|
23528
23614
|
path: {
|
|
23529
23615
|
/**
|
|
23530
|
-
*
|
|
23616
|
+
* Automation id (UUID) as returned by createAutomation or listAutomations.
|
|
23531
23617
|
*/
|
|
23532
|
-
|
|
23618
|
+
automation_id: string;
|
|
23533
23619
|
};
|
|
23534
23620
|
query?: never;
|
|
23535
|
-
url: '/managed-agents/v1/
|
|
23621
|
+
url: '/managed-agents/v1/automations/{automation_id}';
|
|
23536
23622
|
};
|
|
23537
|
-
export type
|
|
23623
|
+
export type PutManagedAgentsV1AutomationsByAutomationIdErrors = {
|
|
23538
23624
|
/**
|
|
23539
23625
|
* 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.
|
|
23540
23626
|
*/
|
|
@@ -23572,66 +23658,26 @@ export type PatchManagedAgentsV1EnvironmentsByEnvironmentIdErrors = {
|
|
|
23572
23658
|
*/
|
|
23573
23659
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23574
23660
|
};
|
|
23575
|
-
export type
|
|
23576
|
-
export type
|
|
23577
|
-
/**
|
|
23578
|
-
* A sandbox environment a session executes in: its provider, resources, mounts, setup steps and idle/delete lifecycle. Created and started independently of any session.
|
|
23579
|
-
*/
|
|
23580
|
-
200: ManagedAgentsEnvironment;
|
|
23581
|
-
};
|
|
23582
|
-
export type PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponse = PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponses[keyof PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponses];
|
|
23583
|
-
export type GetManagedAgentsV1IntegrationsConnectionsData = {
|
|
23584
|
-
body?: never;
|
|
23585
|
-
path?: never;
|
|
23586
|
-
query?: never;
|
|
23587
|
-
url: '/managed-agents/v1/integrations/connections';
|
|
23588
|
-
};
|
|
23589
|
-
export type GetManagedAgentsV1IntegrationsConnectionsErrors = {
|
|
23590
|
-
/**
|
|
23591
|
-
* 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.
|
|
23592
|
-
*/
|
|
23593
|
-
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23594
|
-
/**
|
|
23595
|
-
* 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.
|
|
23596
|
-
*/
|
|
23597
|
-
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23598
|
-
/**
|
|
23599
|
-
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
23600
|
-
*/
|
|
23601
|
-
403: ApiErrorResponse;
|
|
23602
|
-
/**
|
|
23603
|
-
* 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.
|
|
23604
|
-
*/
|
|
23605
|
-
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23606
|
-
/**
|
|
23607
|
-
* 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.
|
|
23608
|
-
*/
|
|
23609
|
-
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23610
|
-
/**
|
|
23611
|
-
* 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.
|
|
23612
|
-
*/
|
|
23613
|
-
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23614
|
-
};
|
|
23615
|
-
export type GetManagedAgentsV1IntegrationsConnectionsError = GetManagedAgentsV1IntegrationsConnectionsErrors[keyof GetManagedAgentsV1IntegrationsConnectionsErrors];
|
|
23616
|
-
export type GetManagedAgentsV1IntegrationsConnectionsResponses = {
|
|
23661
|
+
export type PutManagedAgentsV1AutomationsByAutomationIdError = PutManagedAgentsV1AutomationsByAutomationIdErrors[keyof PutManagedAgentsV1AutomationsByAutomationIdErrors];
|
|
23662
|
+
export type PutManagedAgentsV1AutomationsByAutomationIdResponses = {
|
|
23617
23663
|
/**
|
|
23618
|
-
*
|
|
23664
|
+
* A provider-neutral rule that starts or continues an ordinary managed-agent session from verified webhook events or structured manual input.
|
|
23619
23665
|
*/
|
|
23620
|
-
200:
|
|
23666
|
+
200: ManagedAgentsAutomation;
|
|
23621
23667
|
};
|
|
23622
|
-
export type
|
|
23623
|
-
export type
|
|
23624
|
-
body?:
|
|
23668
|
+
export type PutManagedAgentsV1AutomationsByAutomationIdResponse = PutManagedAgentsV1AutomationsByAutomationIdResponses[keyof PutManagedAgentsV1AutomationsByAutomationIdResponses];
|
|
23669
|
+
export type PostManagedAgentsV1AutomationsByAutomationIdRunsData = {
|
|
23670
|
+
body?: ManagedAgentsRunAutomationRequest;
|
|
23625
23671
|
path: {
|
|
23626
23672
|
/**
|
|
23627
|
-
*
|
|
23673
|
+
* Automation id (UUID) as returned by createAutomation or listAutomations.
|
|
23628
23674
|
*/
|
|
23629
|
-
|
|
23675
|
+
automation_id: string;
|
|
23630
23676
|
};
|
|
23631
23677
|
query?: never;
|
|
23632
|
-
url: '/managed-agents/v1/
|
|
23678
|
+
url: '/managed-agents/v1/automations/{automation_id}/runs';
|
|
23633
23679
|
};
|
|
23634
|
-
export type
|
|
23680
|
+
export type PostManagedAgentsV1AutomationsByAutomationIdRunsErrors = {
|
|
23635
23681
|
/**
|
|
23636
23682
|
* 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.
|
|
23637
23683
|
*/
|
|
@@ -23652,6 +23698,10 @@ export type DeleteManagedAgentsV1IntegrationsConnectionsByConnectionIdErrors = {
|
|
|
23652
23698
|
* 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.
|
|
23653
23699
|
*/
|
|
23654
23700
|
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23701
|
+
/**
|
|
23702
|
+
* 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.
|
|
23703
|
+
*/
|
|
23704
|
+
413: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23655
23705
|
/**
|
|
23656
23706
|
* 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.
|
|
23657
23707
|
*/
|
|
@@ -23665,26 +23715,21 @@ export type DeleteManagedAgentsV1IntegrationsConnectionsByConnectionIdErrors = {
|
|
|
23665
23715
|
*/
|
|
23666
23716
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23667
23717
|
};
|
|
23668
|
-
export type
|
|
23669
|
-
export type
|
|
23718
|
+
export type PostManagedAgentsV1AutomationsByAutomationIdRunsError = PostManagedAgentsV1AutomationsByAutomationIdRunsErrors[keyof PostManagedAgentsV1AutomationsByAutomationIdRunsErrors];
|
|
23719
|
+
export type PostManagedAgentsV1AutomationsByAutomationIdRunsResponses = {
|
|
23670
23720
|
/**
|
|
23671
|
-
*
|
|
23721
|
+
* Reference to the asynchronously running managed-agent session created by a manual automation run.
|
|
23672
23722
|
*/
|
|
23673
|
-
|
|
23723
|
+
202: ManagedAgentsAutomationRunResponse;
|
|
23674
23724
|
};
|
|
23675
|
-
export type
|
|
23676
|
-
export type
|
|
23725
|
+
export type PostManagedAgentsV1AutomationsByAutomationIdRunsResponse = PostManagedAgentsV1AutomationsByAutomationIdRunsResponses[keyof PostManagedAgentsV1AutomationsByAutomationIdRunsResponses];
|
|
23726
|
+
export type GetManagedAgentsV1EnvironmentsData = {
|
|
23677
23727
|
body?: never;
|
|
23678
|
-
path
|
|
23679
|
-
/**
|
|
23680
|
-
* Integration connection id (UUID) as returned by listIntegrationConnections.
|
|
23681
|
-
*/
|
|
23682
|
-
connection_id: string;
|
|
23683
|
-
};
|
|
23728
|
+
path?: never;
|
|
23684
23729
|
query?: never;
|
|
23685
|
-
url: '/managed-agents/v1/
|
|
23730
|
+
url: '/managed-agents/v1/environments';
|
|
23686
23731
|
};
|
|
23687
|
-
export type
|
|
23732
|
+
export type GetManagedAgentsV1EnvironmentsErrors = {
|
|
23688
23733
|
/**
|
|
23689
23734
|
* 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.
|
|
23690
23735
|
*/
|
|
@@ -23697,10 +23742,6 @@ export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdErrors = {
|
|
|
23697
23742
|
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
23698
23743
|
*/
|
|
23699
23744
|
403: ApiErrorResponse;
|
|
23700
|
-
/**
|
|
23701
|
-
* 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.
|
|
23702
|
-
*/
|
|
23703
|
-
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23704
23745
|
/**
|
|
23705
23746
|
* 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.
|
|
23706
23747
|
*/
|
|
@@ -23714,26 +23755,21 @@ export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdErrors = {
|
|
|
23714
23755
|
*/
|
|
23715
23756
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23716
23757
|
};
|
|
23717
|
-
export type
|
|
23718
|
-
export type
|
|
23758
|
+
export type GetManagedAgentsV1EnvironmentsError = GetManagedAgentsV1EnvironmentsErrors[keyof GetManagedAgentsV1EnvironmentsErrors];
|
|
23759
|
+
export type GetManagedAgentsV1EnvironmentsResponses = {
|
|
23719
23760
|
/**
|
|
23720
|
-
*
|
|
23761
|
+
* Response body of GET /v1/environments. An environment is the sandbox recipe a session runs inside; pick an environment_id from here when starting a session with POST /v1/sessions.
|
|
23721
23762
|
*/
|
|
23722
|
-
200:
|
|
23763
|
+
200: ManagedAgentsEnvironmentListResponse;
|
|
23723
23764
|
};
|
|
23724
|
-
export type
|
|
23725
|
-
export type
|
|
23726
|
-
body?:
|
|
23727
|
-
path
|
|
23728
|
-
/**
|
|
23729
|
-
* Integration connection id (UUID) as returned by listIntegrationConnections.
|
|
23730
|
-
*/
|
|
23731
|
-
connection_id: string;
|
|
23732
|
-
};
|
|
23765
|
+
export type GetManagedAgentsV1EnvironmentsResponse = GetManagedAgentsV1EnvironmentsResponses[keyof GetManagedAgentsV1EnvironmentsResponses];
|
|
23766
|
+
export type PostManagedAgentsV1EnvironmentsData = {
|
|
23767
|
+
body?: ManagedAgentsCreateEnvironmentRequest;
|
|
23768
|
+
path?: never;
|
|
23733
23769
|
query?: never;
|
|
23734
|
-
url: '/managed-agents/v1/
|
|
23770
|
+
url: '/managed-agents/v1/environments';
|
|
23735
23771
|
};
|
|
23736
|
-
export type
|
|
23772
|
+
export type PostManagedAgentsV1EnvironmentsErrors = {
|
|
23737
23773
|
/**
|
|
23738
23774
|
* 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.
|
|
23739
23775
|
*/
|
|
@@ -23746,130 +23782,14 @@ export type PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeErrors
|
|
|
23746
23782
|
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
23747
23783
|
*/
|
|
23748
23784
|
403: ApiErrorResponse;
|
|
23749
|
-
/**
|
|
23750
|
-
* 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.
|
|
23751
|
-
*/
|
|
23752
|
-
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23753
23785
|
/**
|
|
23754
23786
|
* 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.
|
|
23755
23787
|
*/
|
|
23756
23788
|
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23757
23789
|
/**
|
|
23758
|
-
*
|
|
23759
|
-
*/
|
|
23760
|
-
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23761
|
-
/**
|
|
23762
|
-
* 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.
|
|
23763
|
-
*/
|
|
23764
|
-
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23765
|
-
/**
|
|
23766
|
-
* 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.
|
|
23767
|
-
*/
|
|
23768
|
-
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23769
|
-
};
|
|
23770
|
-
export type PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeError = PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeErrors[keyof PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeErrors];
|
|
23771
|
-
export type PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeResponses = {
|
|
23772
|
-
/**
|
|
23773
|
-
* Result of a live health check against one integration connection: its refreshed state at the provider, whether a token could be minted, and what is missing if not. A failed check is reported here rather than as an HTTP error.
|
|
23774
|
-
*/
|
|
23775
|
-
200: ManagedAgentsConnectionProbe;
|
|
23776
|
-
};
|
|
23777
|
-
export type PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeResponse = PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeResponses[keyof PostManagedAgentsV1IntegrationsConnectionsByConnectionIdProbeResponses];
|
|
23778
|
-
export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesData = {
|
|
23779
|
-
body?: never;
|
|
23780
|
-
path: {
|
|
23781
|
-
/**
|
|
23782
|
-
* Integration connection id (UUID) as returned by listIntegrationConnections.
|
|
23783
|
-
*/
|
|
23784
|
-
connection_id: string;
|
|
23785
|
-
};
|
|
23786
|
-
query?: {
|
|
23787
|
-
/**
|
|
23788
|
-
* 1-based page of up to 100 repositories.
|
|
23789
|
-
*/
|
|
23790
|
-
page?: number;
|
|
23791
|
-
};
|
|
23792
|
-
url: '/managed-agents/v1/integrations/connections/{connection_id}/repositories';
|
|
23793
|
-
};
|
|
23794
|
-
export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesErrors = {
|
|
23795
|
-
/**
|
|
23796
|
-
* 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.
|
|
23797
|
-
*/
|
|
23798
|
-
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23799
|
-
/**
|
|
23800
|
-
* 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.
|
|
23801
|
-
*/
|
|
23802
|
-
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23803
|
-
/**
|
|
23804
|
-
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
23805
|
-
*/
|
|
23806
|
-
403: ApiErrorResponse;
|
|
23807
|
-
/**
|
|
23808
|
-
* 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.
|
|
23809
|
-
*/
|
|
23810
|
-
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23811
|
-
/**
|
|
23812
|
-
* 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.
|
|
23813
|
-
*/
|
|
23814
|
-
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23815
|
-
/**
|
|
23816
|
-
* 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.
|
|
23817
|
-
*/
|
|
23818
|
-
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23819
|
-
/**
|
|
23820
|
-
* 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.
|
|
23821
|
-
*/
|
|
23822
|
-
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23823
|
-
};
|
|
23824
|
-
export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesError = GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesErrors[keyof GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesErrors];
|
|
23825
|
-
export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesResponses = {
|
|
23826
|
-
/**
|
|
23827
|
-
* One page of the repositories a GitHub integration connection can reach. Returned to populate a repository picker when scoping a vault grant.
|
|
23828
|
-
*/
|
|
23829
|
-
200: ManagedAgentsRepositories;
|
|
23830
|
-
};
|
|
23831
|
-
export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesResponse = GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesResponses[keyof GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesResponses];
|
|
23832
|
-
export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesByRepositoryPullRequestsData = {
|
|
23833
|
-
body?: never;
|
|
23834
|
-
path: {
|
|
23835
|
-
/**
|
|
23836
|
-
* Integration connection id (UUID) as returned by listIntegrationConnections.
|
|
23837
|
-
*/
|
|
23838
|
-
connection_id: string;
|
|
23839
|
-
/**
|
|
23840
|
-
* Repository name reachable through this connection. Bare names, owner/name references, and names ending in .git are accepted.
|
|
23841
|
-
*/
|
|
23842
|
-
repository: string;
|
|
23843
|
-
};
|
|
23844
|
-
query?: {
|
|
23845
|
-
/**
|
|
23846
|
-
* Pull request state: open, closed, or all.
|
|
23847
|
-
*/
|
|
23848
|
-
state?: string;
|
|
23849
|
-
/**
|
|
23850
|
-
* 1-based page of up to 100 pull requests.
|
|
23851
|
-
*/
|
|
23852
|
-
page?: number;
|
|
23853
|
-
};
|
|
23854
|
-
url: '/managed-agents/v1/integrations/connections/{connection_id}/repositories/{repository}/pull-requests';
|
|
23855
|
-
};
|
|
23856
|
-
export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesByRepositoryPullRequestsErrors = {
|
|
23857
|
-
/**
|
|
23858
|
-
* 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.
|
|
23859
|
-
*/
|
|
23860
|
-
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23861
|
-
/**
|
|
23862
|
-
* 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.
|
|
23863
|
-
*/
|
|
23864
|
-
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23865
|
-
/**
|
|
23866
|
-
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
23867
|
-
*/
|
|
23868
|
-
403: ApiErrorResponse;
|
|
23869
|
-
/**
|
|
23870
|
-
* 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.
|
|
23790
|
+
* 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.
|
|
23871
23791
|
*/
|
|
23872
|
-
|
|
23792
|
+
413: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23873
23793
|
/**
|
|
23874
23794
|
* 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.
|
|
23875
23795
|
*/
|
|
@@ -23883,21 +23803,26 @@ export type GetManagedAgentsV1IntegrationsConnectionsByConnectionIdRepositoriesB
|
|
|
23883
23803
|
*/
|
|
23884
23804
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23885
23805
|
};
|
|
23886
|
-
export type
|
|
23887
|
-
export type
|
|
23806
|
+
export type PostManagedAgentsV1EnvironmentsError = PostManagedAgentsV1EnvironmentsErrors[keyof PostManagedAgentsV1EnvironmentsErrors];
|
|
23807
|
+
export type PostManagedAgentsV1EnvironmentsResponses = {
|
|
23888
23808
|
/**
|
|
23889
|
-
*
|
|
23809
|
+
* A sandbox environment a session executes in: its provider, resources, mounts, setup steps and idle/delete lifecycle. Created and started independently of any session.
|
|
23890
23810
|
*/
|
|
23891
|
-
200:
|
|
23811
|
+
200: ManagedAgentsEnvironment;
|
|
23892
23812
|
};
|
|
23893
|
-
export type
|
|
23894
|
-
export type
|
|
23813
|
+
export type PostManagedAgentsV1EnvironmentsResponse = PostManagedAgentsV1EnvironmentsResponses[keyof PostManagedAgentsV1EnvironmentsResponses];
|
|
23814
|
+
export type DeleteManagedAgentsV1EnvironmentsByEnvironmentIdData = {
|
|
23895
23815
|
body?: never;
|
|
23896
|
-
path
|
|
23816
|
+
path: {
|
|
23817
|
+
/**
|
|
23818
|
+
* Environment id (UUID) as returned by createEnvironment or listEnvironments.
|
|
23819
|
+
*/
|
|
23820
|
+
environment_id: string;
|
|
23821
|
+
};
|
|
23897
23822
|
query?: never;
|
|
23898
|
-
url: '/managed-agents/v1/
|
|
23823
|
+
url: '/managed-agents/v1/environments/{environment_id}';
|
|
23899
23824
|
};
|
|
23900
|
-
export type
|
|
23825
|
+
export type DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors = {
|
|
23901
23826
|
/**
|
|
23902
23827
|
* 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.
|
|
23903
23828
|
*/
|
|
@@ -23910,6 +23835,14 @@ export type GetManagedAgentsV1IntegrationsProvidersErrors = {
|
|
|
23910
23835
|
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
23911
23836
|
*/
|
|
23912
23837
|
403: ApiErrorResponse;
|
|
23838
|
+
/**
|
|
23839
|
+
* 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.
|
|
23840
|
+
*/
|
|
23841
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23842
|
+
/**
|
|
23843
|
+
* 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.
|
|
23844
|
+
*/
|
|
23845
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23913
23846
|
/**
|
|
23914
23847
|
* 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.
|
|
23915
23848
|
*/
|
|
@@ -23923,26 +23856,26 @@ export type GetManagedAgentsV1IntegrationsProvidersErrors = {
|
|
|
23923
23856
|
*/
|
|
23924
23857
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23925
23858
|
};
|
|
23926
|
-
export type
|
|
23927
|
-
export type
|
|
23859
|
+
export type DeleteManagedAgentsV1EnvironmentsByEnvironmentIdError = DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors[keyof DeleteManagedAgentsV1EnvironmentsByEnvironmentIdErrors];
|
|
23860
|
+
export type DeleteManagedAgentsV1EnvironmentsByEnvironmentIdResponses = {
|
|
23928
23861
|
/**
|
|
23929
|
-
*
|
|
23862
|
+
* 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.
|
|
23930
23863
|
*/
|
|
23931
|
-
200:
|
|
23864
|
+
200: ManagedAgentsDeletedResponse;
|
|
23932
23865
|
};
|
|
23933
|
-
export type
|
|
23934
|
-
export type
|
|
23866
|
+
export type DeleteManagedAgentsV1EnvironmentsByEnvironmentIdResponse = DeleteManagedAgentsV1EnvironmentsByEnvironmentIdResponses[keyof DeleteManagedAgentsV1EnvironmentsByEnvironmentIdResponses];
|
|
23867
|
+
export type GetManagedAgentsV1EnvironmentsByEnvironmentIdData = {
|
|
23935
23868
|
body?: never;
|
|
23936
23869
|
path: {
|
|
23937
23870
|
/**
|
|
23938
|
-
*
|
|
23871
|
+
* Environment id (UUID) as returned by createEnvironment or listEnvironments.
|
|
23939
23872
|
*/
|
|
23940
|
-
|
|
23873
|
+
environment_id: string;
|
|
23941
23874
|
};
|
|
23942
23875
|
query?: never;
|
|
23943
|
-
url: '/managed-agents/v1/
|
|
23876
|
+
url: '/managed-agents/v1/environments/{environment_id}';
|
|
23944
23877
|
};
|
|
23945
|
-
export type
|
|
23878
|
+
export type GetManagedAgentsV1EnvironmentsByEnvironmentIdErrors = {
|
|
23946
23879
|
/**
|
|
23947
23880
|
* 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.
|
|
23948
23881
|
*/
|
|
@@ -23959,14 +23892,6 @@ export type PostManagedAgentsV1IntegrationsByProviderInstallErrors = {
|
|
|
23959
23892
|
* 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.
|
|
23960
23893
|
*/
|
|
23961
23894
|
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23962
|
-
/**
|
|
23963
|
-
* 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.
|
|
23964
|
-
*/
|
|
23965
|
-
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23966
|
-
/**
|
|
23967
|
-
* 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.
|
|
23968
|
-
*/
|
|
23969
|
-
413: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23970
23895
|
/**
|
|
23971
23896
|
* 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.
|
|
23972
23897
|
*/
|
|
@@ -23980,26 +23905,26 @@ export type PostManagedAgentsV1IntegrationsByProviderInstallErrors = {
|
|
|
23980
23905
|
*/
|
|
23981
23906
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
23982
23907
|
};
|
|
23983
|
-
export type
|
|
23984
|
-
export type
|
|
23908
|
+
export type GetManagedAgentsV1EnvironmentsByEnvironmentIdError = GetManagedAgentsV1EnvironmentsByEnvironmentIdErrors[keyof GetManagedAgentsV1EnvironmentsByEnvironmentIdErrors];
|
|
23909
|
+
export type GetManagedAgentsV1EnvironmentsByEnvironmentIdResponses = {
|
|
23985
23910
|
/**
|
|
23986
|
-
*
|
|
23911
|
+
* A sandbox environment a session executes in: its provider, resources, mounts, setup steps and idle/delete lifecycle. Created and started independently of any session.
|
|
23987
23912
|
*/
|
|
23988
|
-
200:
|
|
23913
|
+
200: ManagedAgentsEnvironment;
|
|
23989
23914
|
};
|
|
23990
|
-
export type
|
|
23991
|
-
export type
|
|
23992
|
-
body?:
|
|
23915
|
+
export type GetManagedAgentsV1EnvironmentsByEnvironmentIdResponse = GetManagedAgentsV1EnvironmentsByEnvironmentIdResponses[keyof GetManagedAgentsV1EnvironmentsByEnvironmentIdResponses];
|
|
23916
|
+
export type PatchManagedAgentsV1EnvironmentsByEnvironmentIdData = {
|
|
23917
|
+
body?: ManagedAgentsEnvironment;
|
|
23993
23918
|
path: {
|
|
23994
23919
|
/**
|
|
23995
|
-
*
|
|
23920
|
+
* Environment id (UUID) as returned by createEnvironment or listEnvironments.
|
|
23996
23921
|
*/
|
|
23997
|
-
|
|
23922
|
+
environment_id: string;
|
|
23998
23923
|
};
|
|
23999
23924
|
query?: never;
|
|
24000
|
-
url: '/managed-agents/v1/
|
|
23925
|
+
url: '/managed-agents/v1/environments/{environment_id}';
|
|
24001
23926
|
};
|
|
24002
|
-
export type
|
|
23927
|
+
export type PatchManagedAgentsV1EnvironmentsByEnvironmentIdErrors = {
|
|
24003
23928
|
/**
|
|
24004
23929
|
* 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.
|
|
24005
23930
|
*/
|
|
@@ -24037,14 +23962,14 @@ export type PostManagedAgentsV1IntegrationsByProviderInstallCompleteErrors = {
|
|
|
24037
23962
|
*/
|
|
24038
23963
|
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
24039
23964
|
};
|
|
24040
|
-
export type
|
|
24041
|
-
export type
|
|
23965
|
+
export type PatchManagedAgentsV1EnvironmentsByEnvironmentIdError = PatchManagedAgentsV1EnvironmentsByEnvironmentIdErrors[keyof PatchManagedAgentsV1EnvironmentsByEnvironmentIdErrors];
|
|
23966
|
+
export type PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponses = {
|
|
24042
23967
|
/**
|
|
24043
|
-
*
|
|
23968
|
+
* A sandbox environment a session executes in: its provider, resources, mounts, setup steps and idle/delete lifecycle. Created and started independently of any session.
|
|
24044
23969
|
*/
|
|
24045
|
-
200:
|
|
23970
|
+
200: ManagedAgentsEnvironment;
|
|
24046
23971
|
};
|
|
24047
|
-
export type
|
|
23972
|
+
export type PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponse = PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponses[keyof PatchManagedAgentsV1EnvironmentsByEnvironmentIdResponses];
|
|
24048
23973
|
export type PostManagedAgentsV1McpProbeData = {
|
|
24049
23974
|
body?: ManagedAgentsProbeMcpServerRequest;
|
|
24050
23975
|
path?: never;
|
|
@@ -27600,6 +27525,253 @@ export type PatchManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponse
|
|
|
27600
27525
|
200: ManagedAgentsVaultCredential;
|
|
27601
27526
|
};
|
|
27602
27527
|
export type PatchManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponse = PatchManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses[keyof PatchManagedAgentsV1VaultsByVaultIdCredentialsByCredentialIdResponses];
|
|
27528
|
+
export type GetManagedAgentsV1WebhookEndpointsData = {
|
|
27529
|
+
body?: never;
|
|
27530
|
+
path?: never;
|
|
27531
|
+
query?: never;
|
|
27532
|
+
url: '/managed-agents/v1/webhook-endpoints';
|
|
27533
|
+
};
|
|
27534
|
+
export type GetManagedAgentsV1WebhookEndpointsErrors = {
|
|
27535
|
+
/**
|
|
27536
|
+
* 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.
|
|
27537
|
+
*/
|
|
27538
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27539
|
+
/**
|
|
27540
|
+
* 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.
|
|
27541
|
+
*/
|
|
27542
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27543
|
+
/**
|
|
27544
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27545
|
+
*/
|
|
27546
|
+
403: ApiErrorResponse;
|
|
27547
|
+
/**
|
|
27548
|
+
* 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.
|
|
27549
|
+
*/
|
|
27550
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27551
|
+
/**
|
|
27552
|
+
* 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.
|
|
27553
|
+
*/
|
|
27554
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27555
|
+
/**
|
|
27556
|
+
* 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.
|
|
27557
|
+
*/
|
|
27558
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27559
|
+
};
|
|
27560
|
+
export type GetManagedAgentsV1WebhookEndpointsError = GetManagedAgentsV1WebhookEndpointsErrors[keyof GetManagedAgentsV1WebhookEndpointsErrors];
|
|
27561
|
+
export type GetManagedAgentsV1WebhookEndpointsResponses = {
|
|
27562
|
+
/**
|
|
27563
|
+
* Webhook endpoints available to automations in the calling organization.
|
|
27564
|
+
*/
|
|
27565
|
+
200: ManagedAgentsWebhookEndpointListResponse;
|
|
27566
|
+
};
|
|
27567
|
+
export type GetManagedAgentsV1WebhookEndpointsResponse = GetManagedAgentsV1WebhookEndpointsResponses[keyof GetManagedAgentsV1WebhookEndpointsResponses];
|
|
27568
|
+
export type PostManagedAgentsV1WebhookEndpointsData = {
|
|
27569
|
+
body?: ManagedAgentsWebhookEndpointRequest;
|
|
27570
|
+
path?: never;
|
|
27571
|
+
query?: never;
|
|
27572
|
+
url: '/managed-agents/v1/webhook-endpoints';
|
|
27573
|
+
};
|
|
27574
|
+
export type PostManagedAgentsV1WebhookEndpointsErrors = {
|
|
27575
|
+
/**
|
|
27576
|
+
* 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.
|
|
27577
|
+
*/
|
|
27578
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27579
|
+
/**
|
|
27580
|
+
* 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.
|
|
27581
|
+
*/
|
|
27582
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27583
|
+
/**
|
|
27584
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27585
|
+
*/
|
|
27586
|
+
403: ApiErrorResponse;
|
|
27587
|
+
/**
|
|
27588
|
+
* 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.
|
|
27589
|
+
*/
|
|
27590
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27591
|
+
/**
|
|
27592
|
+
* 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.
|
|
27593
|
+
*/
|
|
27594
|
+
413: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27595
|
+
/**
|
|
27596
|
+
* 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.
|
|
27597
|
+
*/
|
|
27598
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27599
|
+
/**
|
|
27600
|
+
* 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.
|
|
27601
|
+
*/
|
|
27602
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27603
|
+
/**
|
|
27604
|
+
* 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.
|
|
27605
|
+
*/
|
|
27606
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27607
|
+
};
|
|
27608
|
+
export type PostManagedAgentsV1WebhookEndpointsError = PostManagedAgentsV1WebhookEndpointsErrors[keyof PostManagedAgentsV1WebhookEndpointsErrors];
|
|
27609
|
+
export type PostManagedAgentsV1WebhookEndpointsResponses = {
|
|
27610
|
+
/**
|
|
27611
|
+
* An organization-owned, provider-neutral webhook ingress endpoint with configurable verification and acknowledgement.
|
|
27612
|
+
*/
|
|
27613
|
+
201: ManagedAgentsWebhookEndpoint;
|
|
27614
|
+
};
|
|
27615
|
+
export type PostManagedAgentsV1WebhookEndpointsResponse = PostManagedAgentsV1WebhookEndpointsResponses[keyof PostManagedAgentsV1WebhookEndpointsResponses];
|
|
27616
|
+
export type DeleteManagedAgentsV1WebhookEndpointsByEndpointIdData = {
|
|
27617
|
+
body?: never;
|
|
27618
|
+
path: {
|
|
27619
|
+
/**
|
|
27620
|
+
* Webhook endpoint id (UUID) as returned by createWebhookEndpoint or listWebhookEndpoints.
|
|
27621
|
+
*/
|
|
27622
|
+
endpoint_id: string;
|
|
27623
|
+
};
|
|
27624
|
+
query?: never;
|
|
27625
|
+
url: '/managed-agents/v1/webhook-endpoints/{endpoint_id}';
|
|
27626
|
+
};
|
|
27627
|
+
export type DeleteManagedAgentsV1WebhookEndpointsByEndpointIdErrors = {
|
|
27628
|
+
/**
|
|
27629
|
+
* 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.
|
|
27630
|
+
*/
|
|
27631
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27632
|
+
/**
|
|
27633
|
+
* 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.
|
|
27634
|
+
*/
|
|
27635
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27636
|
+
/**
|
|
27637
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27638
|
+
*/
|
|
27639
|
+
403: ApiErrorResponse;
|
|
27640
|
+
/**
|
|
27641
|
+
* 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.
|
|
27642
|
+
*/
|
|
27643
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27644
|
+
/**
|
|
27645
|
+
* 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.
|
|
27646
|
+
*/
|
|
27647
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27648
|
+
/**
|
|
27649
|
+
* 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.
|
|
27650
|
+
*/
|
|
27651
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27652
|
+
/**
|
|
27653
|
+
* 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.
|
|
27654
|
+
*/
|
|
27655
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27656
|
+
/**
|
|
27657
|
+
* 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.
|
|
27658
|
+
*/
|
|
27659
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27660
|
+
};
|
|
27661
|
+
export type DeleteManagedAgentsV1WebhookEndpointsByEndpointIdError = DeleteManagedAgentsV1WebhookEndpointsByEndpointIdErrors[keyof DeleteManagedAgentsV1WebhookEndpointsByEndpointIdErrors];
|
|
27662
|
+
export type DeleteManagedAgentsV1WebhookEndpointsByEndpointIdResponses = {
|
|
27663
|
+
/**
|
|
27664
|
+
* No Content
|
|
27665
|
+
*/
|
|
27666
|
+
204: void;
|
|
27667
|
+
};
|
|
27668
|
+
export type DeleteManagedAgentsV1WebhookEndpointsByEndpointIdResponse = DeleteManagedAgentsV1WebhookEndpointsByEndpointIdResponses[keyof DeleteManagedAgentsV1WebhookEndpointsByEndpointIdResponses];
|
|
27669
|
+
export type GetManagedAgentsV1WebhookEndpointsByEndpointIdData = {
|
|
27670
|
+
body?: never;
|
|
27671
|
+
path: {
|
|
27672
|
+
/**
|
|
27673
|
+
* Webhook endpoint id (UUID) as returned by createWebhookEndpoint or listWebhookEndpoints.
|
|
27674
|
+
*/
|
|
27675
|
+
endpoint_id: string;
|
|
27676
|
+
};
|
|
27677
|
+
query?: never;
|
|
27678
|
+
url: '/managed-agents/v1/webhook-endpoints/{endpoint_id}';
|
|
27679
|
+
};
|
|
27680
|
+
export type GetManagedAgentsV1WebhookEndpointsByEndpointIdErrors = {
|
|
27681
|
+
/**
|
|
27682
|
+
* 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.
|
|
27683
|
+
*/
|
|
27684
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27685
|
+
/**
|
|
27686
|
+
* 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.
|
|
27687
|
+
*/
|
|
27688
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27689
|
+
/**
|
|
27690
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27691
|
+
*/
|
|
27692
|
+
403: ApiErrorResponse;
|
|
27693
|
+
/**
|
|
27694
|
+
* 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.
|
|
27695
|
+
*/
|
|
27696
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27697
|
+
/**
|
|
27698
|
+
* 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.
|
|
27699
|
+
*/
|
|
27700
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27701
|
+
/**
|
|
27702
|
+
* 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.
|
|
27703
|
+
*/
|
|
27704
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27705
|
+
/**
|
|
27706
|
+
* 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.
|
|
27707
|
+
*/
|
|
27708
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27709
|
+
};
|
|
27710
|
+
export type GetManagedAgentsV1WebhookEndpointsByEndpointIdError = GetManagedAgentsV1WebhookEndpointsByEndpointIdErrors[keyof GetManagedAgentsV1WebhookEndpointsByEndpointIdErrors];
|
|
27711
|
+
export type GetManagedAgentsV1WebhookEndpointsByEndpointIdResponses = {
|
|
27712
|
+
/**
|
|
27713
|
+
* An organization-owned, provider-neutral webhook ingress endpoint with configurable verification and acknowledgement.
|
|
27714
|
+
*/
|
|
27715
|
+
200: ManagedAgentsWebhookEndpoint;
|
|
27716
|
+
};
|
|
27717
|
+
export type GetManagedAgentsV1WebhookEndpointsByEndpointIdResponse = GetManagedAgentsV1WebhookEndpointsByEndpointIdResponses[keyof GetManagedAgentsV1WebhookEndpointsByEndpointIdResponses];
|
|
27718
|
+
export type PutManagedAgentsV1WebhookEndpointsByEndpointIdData = {
|
|
27719
|
+
body?: ManagedAgentsWebhookEndpointRequest;
|
|
27720
|
+
path: {
|
|
27721
|
+
/**
|
|
27722
|
+
* Webhook endpoint id (UUID) as returned by createWebhookEndpoint or listWebhookEndpoints.
|
|
27723
|
+
*/
|
|
27724
|
+
endpoint_id: string;
|
|
27725
|
+
};
|
|
27726
|
+
query?: never;
|
|
27727
|
+
url: '/managed-agents/v1/webhook-endpoints/{endpoint_id}';
|
|
27728
|
+
};
|
|
27729
|
+
export type PutManagedAgentsV1WebhookEndpointsByEndpointIdErrors = {
|
|
27730
|
+
/**
|
|
27731
|
+
* 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.
|
|
27732
|
+
*/
|
|
27733
|
+
400: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27734
|
+
/**
|
|
27735
|
+
* 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.
|
|
27736
|
+
*/
|
|
27737
|
+
401: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27738
|
+
/**
|
|
27739
|
+
* Caller is missing a required permission, or the request scope (organization / environment / problem) does not resolve to the caller.
|
|
27740
|
+
*/
|
|
27741
|
+
403: ApiErrorResponse;
|
|
27742
|
+
/**
|
|
27743
|
+
* 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.
|
|
27744
|
+
*/
|
|
27745
|
+
404: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27746
|
+
/**
|
|
27747
|
+
* 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.
|
|
27748
|
+
*/
|
|
27749
|
+
409: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27750
|
+
/**
|
|
27751
|
+
* 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.
|
|
27752
|
+
*/
|
|
27753
|
+
413: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27754
|
+
/**
|
|
27755
|
+
* 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.
|
|
27756
|
+
*/
|
|
27757
|
+
429: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27758
|
+
/**
|
|
27759
|
+
* 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.
|
|
27760
|
+
*/
|
|
27761
|
+
500: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27762
|
+
/**
|
|
27763
|
+
* 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.
|
|
27764
|
+
*/
|
|
27765
|
+
503: ManagedAgentsApiErrorBody | ApiErrorResponse;
|
|
27766
|
+
};
|
|
27767
|
+
export type PutManagedAgentsV1WebhookEndpointsByEndpointIdError = PutManagedAgentsV1WebhookEndpointsByEndpointIdErrors[keyof PutManagedAgentsV1WebhookEndpointsByEndpointIdErrors];
|
|
27768
|
+
export type PutManagedAgentsV1WebhookEndpointsByEndpointIdResponses = {
|
|
27769
|
+
/**
|
|
27770
|
+
* An organization-owned, provider-neutral webhook ingress endpoint with configurable verification and acknowledgement.
|
|
27771
|
+
*/
|
|
27772
|
+
200: ManagedAgentsWebhookEndpoint;
|
|
27773
|
+
};
|
|
27774
|
+
export type PutManagedAgentsV1WebhookEndpointsByEndpointIdResponse = PutManagedAgentsV1WebhookEndpointsByEndpointIdResponses[keyof PutManagedAgentsV1WebhookEndpointsByEndpointIdResponses];
|
|
27603
27775
|
export type GetV1ComputesData = {
|
|
27604
27776
|
body?: never;
|
|
27605
27777
|
path?: never;
|