diff --git a/specification/DigitalOcean-public.v2.yaml b/specification/DigitalOcean-public.v2.yaml index e105555d7..06099011e 100644 --- a/specification/DigitalOcean-public.v2.yaml +++ b/specification/DigitalOcean-public.v2.yaml @@ -145,32 +145,33 @@ tags: - name: Harness Runtime description: |- - DigitalOcean Harness Runtime API under `/v2/agents`. An environment is a - reusable configuration that defines what an agent needs to do work; starting - a session from an environment provisions an isolated sandbox. Define an - environment with a YAML environment spec, or save it as an Environment Config - and create sessions from `{name, config_id}`. + DigitalOcean Harness Runtime API under `/v2/harness-runtime`. An + environment is a reusable configuration that defines what an agent needs + to do work; starting a session from an environment provisions an isolated + sandbox. Define an environment with a YAML environment spec, or save it as + an Environment Config and create sessions from `{name, config_id}`. - Environment Configs (`/v2/agents/configs`) are immutable team-scoped + Environment Configs (`/v2/harness-runtime/configs`) are immutable team-scoped configurations. Soft-delete releases the active name while keeping `config_id` resolvable for existing sessions; clone copies a sanitized environment under a new name (credentials are never copied). Checkpoints capture live sandbox machine state for fork and in-place - rollback. Templates (`/v2/agents/templates`) manage team custom sandbox - templates and their build history. - - Triggers (`/v2/agents/triggers`) fire an agent run on a webhook delivery or - cron schedule, each firing recorded as an execution. The session event feed - (`GET /v2/agents/sessions/{session_id}/events`) is a Server-Sent Events - stream, and port-forward (`GET /v2/agents/sessions/{session_id}/port-forward/{port}`) - opens a WebSocket tunnel to a guest port. - - `POST /v2/agents/sessions/{session_id}/cancel` stops the turn in flight. - `GET /v2/agents/image-messages` lists sandbox-image notices on the team's - sessions and checkpoints. `POST /v2/agents/auth/{provider}` starts the + rollback. Templates (`/v2/harness-runtime/templates`) manage team custom + sandbox templates and their build history. + + Triggers (`/v2/harness-runtime/triggers`) fire an agent run on a webhook + delivery or cron schedule, each firing recorded as an execution. The + session event feed (`GET /v2/harness-runtime/sessions/{session_id}/events`) + is a Server-Sent Events stream, and port-forward + (`GET /v2/harness-runtime/sessions/{session_id}/port-forward/{port}`) opens + a WebSocket tunnel to a guest port. + + `POST /v2/harness-runtime/sessions/{session_id}/cancel` stops the turn in flight. + `GET /v2/harness-runtime/image-messages` lists sandbox-image notices on the team's + sessions and checkpoints. `POST /v2/harness-runtime/auth/{provider}` starts the interactive provider login a session uses; `github` is the provider served - today. Connections for that login are under `/v2/agents/auth/{provider}/connections`. + today. Connections for that login are under `/v2/harness-runtime/auth/{provider}/connections`. Persistent workspaces (`/v2/agents/workspaces`) are in public preview and are described under Harness Runtime Workspaces [Public Preview]. @@ -1198,184 +1199,184 @@ paths: patch: $ref: "resources/addons/addons_update_plan.yml" - /v2/agents/auth/{provider}: + /v2/harness-runtime/auth/{provider}: post: $ref: "resources/agents/agents_start_provider_connect.yml" - /v2/agents/auth/{provider}/poll: + /v2/harness-runtime/auth/{provider}/poll: get: $ref: "resources/agents/agents_poll_provider_connect.yml" - /v2/agents/auth/{provider}/connections: + /v2/harness-runtime/auth/{provider}/connections: get: $ref: "resources/agents/agents_list_provider_connections.yml" post: $ref: "resources/agents/agents_create_provider_connection.yml" - /v2/agents/auth/{provider}/connections/{connection_id}: + /v2/harness-runtime/auth/{provider}/connections/{connection_id}: get: $ref: "resources/agents/agents_get_provider_connection.yml" delete: $ref: "resources/agents/agents_delete_provider_connection.yml" - /v2/agents/auth/{provider}/connections/{connection_id}/reconnect: + /v2/harness-runtime/auth/{provider}/connections/{connection_id}/reconnect: post: $ref: "resources/agents/agents_reconnect_provider_connection.yml" - /v2/agents/image-messages: + /v2/harness-runtime/image-messages: get: $ref: "resources/agents/agents_list_image_messages.yml" - /v2/agents/configs: + /v2/harness-runtime/configs: get: $ref: "resources/agents/agents_list_configs.yml" post: $ref: "resources/agents/agents_create_config.yml" - /v2/agents/configs/{config_id}: + /v2/harness-runtime/configs/{config_id}: get: $ref: "resources/agents/agents_get_config.yml" delete: $ref: "resources/agents/agents_delete_config.yml" - /v2/agents/configs/{config_id}/clone: + /v2/harness-runtime/configs/{config_id}/clone: post: $ref: "resources/agents/agents_create_config_clone.yml" - /v2/agents/configs/{config_id}/sessions: + /v2/harness-runtime/configs/{config_id}/sessions: get: $ref: "resources/agents/agents_list_config_sessions.yml" - /v2/agents/sessions: + /v2/harness-runtime/sessions: get: $ref: "resources/agents/agents_list_sessions.yml" post: $ref: "resources/agents/agents_create_session.yml" - /v2/agents/sessions/policy/validate: + /v2/harness-runtime/sessions/policy/validate: post: $ref: "resources/agents/agents_validate_session_policy.yml" - /v2/agents/sessions/sandbox/sizes: + /v2/harness-runtime/sessions/sandbox/sizes: get: $ref: "resources/agents/agents_list_session_sandbox_sizes.yml" - /v2/agents/sessions/{session_id}: + /v2/harness-runtime/sessions/{session_id}: delete: $ref: "resources/agents/agents_delete_session.yml" get: $ref: "resources/agents/agents_get_session.yml" patch: $ref: "resources/agents/agents_update_session.yml" - /v2/agents/sessions/{session_id}/checkpoints: + /v2/harness-runtime/sessions/{session_id}/checkpoints: get: $ref: "resources/agents/agents_list_session_checkpoints.yml" post: $ref: "resources/agents/agents_create_session_checkpoint.yml" - /v2/agents/sessions/{session_id}/checkpoints/{checkpoint_id}: + /v2/harness-runtime/sessions/{session_id}/checkpoints/{checkpoint_id}: get: $ref: "resources/agents/agents_get_session_checkpoint.yml" delete: $ref: "resources/agents/agents_delete_session_checkpoint.yml" - /v2/agents/sessions/{session_id}/checkpoints/{checkpoint_id}/image-messages: + /v2/harness-runtime/sessions/{session_id}/checkpoints/{checkpoint_id}/image-messages: get: $ref: "resources/agents/agents_get_checkpoint_image_messages.yml" - /v2/agents/sessions/{session_id}/checkpoints/{checkpoint_id}/rollback: + /v2/harness-runtime/sessions/{session_id}/checkpoints/{checkpoint_id}/rollback: post: $ref: "resources/agents/agents_revert_session_checkpoint.yml" - /v2/agents/sessions/{session_id}/fork: + /v2/harness-runtime/sessions/{session_id}/fork: post: $ref: "resources/agents/agents_create_session_fork.yml" - /v2/agents/sessions/{session_id}/hitl/{request_id}: + /v2/harness-runtime/sessions/{session_id}/hitl/{request_id}: post: $ref: "resources/agents/agents_post_session_hitl.yml" - /v2/agents/sessions/{session_id}/cancel: + /v2/harness-runtime/sessions/{session_id}/cancel: post: $ref: "resources/agents/agents_cancel_session_turn.yml" - /v2/agents/sessions/{session_id}/image-messages: + /v2/harness-runtime/sessions/{session_id}/image-messages: get: $ref: "resources/agents/agents_get_session_image_messages.yml" - /v2/agents/sessions/{session_id}/input: + /v2/harness-runtime/sessions/{session_id}/input: post: $ref: "resources/agents/agents_create_session_input.yml" - /v2/agents/sessions/{session_id}/pause: + /v2/harness-runtime/sessions/{session_id}/pause: post: $ref: "resources/agents/agents_post_session_pause.yml" - /v2/agents/sessions/{session_id}/resume: + /v2/harness-runtime/sessions/{session_id}/resume: post: $ref: "resources/agents/agents_post_session_resume.yml" - /v2/agents/sessions/{session_id}/sandbox/exec: + /v2/harness-runtime/sessions/{session_id}/sandbox/exec: post: $ref: "resources/agents/agents_post_session_sandbox_exec.yml" - /v2/agents/sessions/{session_id}/workspace/download: + /v2/harness-runtime/sessions/{session_id}/workspace/download: get: $ref: "resources/agents/agents_get_session_workspace_download.yml" - /v2/agents/sessions/{session_id}/workspace/transfers: + /v2/harness-runtime/sessions/{session_id}/workspace/transfers: post: $ref: "resources/agents/agents_create_session_workspace_transfer.yml" - /v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}: + /v2/harness-runtime/sessions/{session_id}/workspace/transfers/{transfer_id}: get: $ref: "resources/agents/agents_get_session_workspace_transfer.yml" - /v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}/cancel: + /v2/harness-runtime/sessions/{session_id}/workspace/transfers/{transfer_id}/cancel: post: $ref: "resources/agents/agents_cancel_session_workspace_transfer.yml" - /v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}/commit: + /v2/harness-runtime/sessions/{session_id}/workspace/transfers/{transfer_id}/commit: post: $ref: "resources/agents/agents_commit_session_workspace_transfer.yml" - /v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}/part-upload-urls: + /v2/harness-runtime/sessions/{session_id}/workspace/transfers/{transfer_id}/part-upload-urls: post: $ref: "resources/agents/agents_create_session_workspace_part_upload_urls.yml" - /v2/agents/sessions/{session_id}/workspace/upload: + /v2/harness-runtime/sessions/{session_id}/workspace/upload: post: $ref: "resources/agents/agents_create_session_workspace_upload.yml" - /v2/agents/sessions/{session_id}/events: + /v2/harness-runtime/sessions/{session_id}/events: get: $ref: "resources/agents/agents_stream_session_events.yml" - /v2/agents/sessions/{session_id}/port-forward/{port}: + /v2/harness-runtime/sessions/{session_id}/port-forward/{port}: get: $ref: "resources/agents/agents_port_forward_session.yml" - /v2/agents/sessions/{session_id}/ingress: + /v2/harness-runtime/sessions/{session_id}/ingress: get: $ref: "resources/agents/agents_get_session_ingress.yml" - /v2/agents/templates: + /v2/harness-runtime/templates: get: $ref: "resources/agents/agents_list_templates.yml" post: $ref: "resources/agents/agents_create_template.yml" - /v2/agents/templates/{template_id}: + /v2/harness-runtime/templates/{template_id}: get: $ref: "resources/agents/agents_get_template.yml" put: $ref: "resources/agents/agents_update_template.yml" delete: $ref: "resources/agents/agents_delete_template.yml" - /v2/agents/templates/{template_id}/builds: + /v2/harness-runtime/templates/{template_id}/builds: get: $ref: "resources/agents/agents_list_template_builds.yml" - /v2/agents/templates/{template_id}/builds/{build_id}: + /v2/harness-runtime/templates/{template_id}/builds/{build_id}: get: $ref: "resources/agents/agents_get_template_build.yml" - /v2/agents/triggers: + /v2/harness-runtime/triggers: get: $ref: "resources/agents/agents_list_triggers.yml" post: $ref: "resources/agents/agents_create_trigger.yml" - /v2/agents/triggers/by-session/{session_id}: + /v2/harness-runtime/triggers/by-session/{session_id}: get: $ref: "resources/agents/agents_get_trigger_by_session.yml" - /v2/agents/triggers/reusable-sessions: + /v2/harness-runtime/triggers/reusable-sessions: get: $ref: "resources/agents/agents_list_reusable_sessions.yml" - /v2/agents/triggers/{trigger_id}: + /v2/harness-runtime/triggers/{trigger_id}: get: $ref: "resources/agents/agents_get_trigger.yml" patch: $ref: "resources/agents/agents_update_trigger.yml" delete: $ref: "resources/agents/agents_delete_trigger.yml" - /v2/agents/triggers/{trigger_id}/executions: + /v2/harness-runtime/triggers/{trigger_id}/executions: get: $ref: "resources/agents/agents_list_trigger_executions.yml" - /v2/agents/triggers/{trigger_id}/executions/{execution_id}: + /v2/harness-runtime/triggers/{trigger_id}/executions/{execution_id}: get: $ref: "resources/agents/agents_get_trigger_execution.yml" - /v2/agents/triggers/{trigger_id}/executions/{execution_id}/cancel: + /v2/harness-runtime/triggers/{trigger_id}/executions/{execution_id}/cancel: post: $ref: "resources/agents/agents_cancel_trigger_execution.yml" - /v2/agents/triggers/{trigger_id}/rotate-secret: + /v2/harness-runtime/triggers/{trigger_id}/rotate-secret: post: $ref: "resources/agents/agents_rotate_trigger_secret.yml" - /v2/agents/triggers/{trigger_id}/webhook: + /v2/harness-runtime/triggers/{trigger_id}/webhook: post: $ref: "resources/agents/agents_receive_trigger_webhook.yml" - /v2/agents/webhook-providers: + /v2/harness-runtime/webhook-providers: get: $ref: "resources/agents/agents_list_webhook_providers.yml" /v2/agents/workspaces: diff --git a/specification/resources/agents/agents_list_config_sessions.yml b/specification/resources/agents/agents_list_config_sessions.yml index dadeddc81..552586314 100644 --- a/specification/resources/agents/agents_list_config_sessions.yml +++ b/specification/resources/agents/agents_list_config_sessions.yml @@ -1,7 +1,7 @@ operationId: harness_list_config_sessions summary: List the sessions created from one Environment Config. description: Enumerates the caller's team sessions whose session was created from this durable Environment Config. - Keyset-paginated on an opaque cursor, newest first, same shape and status semantics as GET /v2/agents/sessions. + Keyset-paginated on an opaque cursor, newest first, same shape and status semantics as GET /v2/harness-runtime/sessions. tags: - Harness Runtime parameters: diff --git a/specification/resources/agents/agents_port_forward_session.yml b/specification/resources/agents/agents_port_forward_session.yml index cb76ad506..8849f9e02 100644 --- a/specification/resources/agents/agents_port_forward_session.yml +++ b/specification/resources/agents/agents_port_forward_session.yml @@ -5,7 +5,7 @@ description: |- guest `port`. Binary frames carry the opaque byte stream in both directions; the server closes with a descriptive WebSocket close code when the tunnel ends. This is the raw TCP tunnel; browser clients reaching the in-guest OpenHands Agent Server use the ingress URL - (`GET /v2/agents/sessions/{session_id}/ingress`), which has replaced this bridge for them. + (`GET /v2/harness-runtime/sessions/{session_id}/ingress`), which has replaced this bridge for them. WebSocket is not expressible in OpenAPI; this documents the GET that initiates the upgrade handshake (HTTP 101 Switching Protocols). The handler dials the guest before upgrading, so a PAUSED session is diff --git a/specification/resources/agents/agents_receive_trigger_webhook.yml b/specification/resources/agents/agents_receive_trigger_webhook.yml index 04a157761..809a84f70 100644 --- a/specification/resources/agents/agents_receive_trigger_webhook.yml +++ b/specification/resources/agents/agents_receive_trigger_webhook.yml @@ -16,6 +16,11 @@ description: |- On success (including a provider retry that dedupes to an existing firing) it returns 202 with the execution_id. A delivery to a paused trigger returns 202 with no body and queues nothing (deliberately not 409, so providers do not auto-disable the webhook after repeated non-2xx). + + Both `/v2/agents/triggers/{trigger_id}/webhook` and + `/v2/harness-runtime/triggers/{trigger_id}/webhook` are accepted and keep working + indefinitely. Paste the `webhook_url` returned on the trigger into the external system + unchanged. tags: - Harness Runtime parameters: diff --git a/specification/resources/agents/examples/curl/agents_cancel_session_turn.yml b/specification/resources/agents/examples/curl/agents_cancel_session_turn.yml index 8f3854d4a..b9721929a 100644 --- a/specification/resources/agents/examples/curl/agents_cancel_session_turn.yml +++ b/specification/resources/agents/examples/curl/agents_cancel_session_turn.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"run_id\":\"run_example\"}' \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/cancel\"" +source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"run_id\":\"run_example\"}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/cancel\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_cancel_session_workspace_transfer.yml b/specification/resources/agents/examples/curl/agents_cancel_session_workspace_transfer.yml index 566e81eea..34238a376 100644 --- a/specification/resources/agents/examples/curl/agents_cancel_session_workspace_transfer.yml +++ b/specification/resources/agents/examples/curl/agents_cancel_session_workspace_transfer.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}/cancel\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/workspace/transfers/{transfer_id}/cancel\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_cancel_trigger_execution.yml b/specification/resources/agents/examples/curl/agents_cancel_trigger_execution.yml index 83bbc4364..afcdeff74 100644 --- a/specification/resources/agents/examples/curl/agents_cancel_trigger_execution.yml +++ b/specification/resources/agents/examples/curl/agents_cancel_trigger_execution.yml @@ -3,5 +3,5 @@ source: |- curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/triggers/{trigger_id}/executions/{execution_id}/cancel" + "https://api.digitalocean.com/v2/harness-runtime/triggers/{trigger_id}/executions/{execution_id}/cancel" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_commit_session_workspace_transfer.yml b/specification/resources/agents/examples/curl/agents_commit_session_workspace_transfer.yml index 1fc6be971..5efce8f61 100644 --- a/specification/resources/agents/examples/curl/agents_commit_session_workspace_transfer.yml +++ b/specification/resources/agents/examples/curl/agents_commit_session_workspace_transfer.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}/commit\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/workspace/transfers/{transfer_id}/commit\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_create_config.yml b/specification/resources/agents/examples/curl/agents_create_config.yml index 4eb63e456..57d4ef14f 100644 --- a/specification/resources/agents/examples/curl/agents_create_config.yml +++ b/specification/resources/agents/examples/curl/agents_create_config.yml @@ -1,5 +1,5 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ \n -d '{\"name\":\"support-agent\",\"manifest_yaml\":\"apiVersion: agents.digitalocean.com/v1alpha1\\nkind:\ - \ Agent\\nspec:\\n runtime:\\n adapter: opencode\\n\"}' \\\n \"https://api.digitalocean.com/v2/agents/configs\"" + \ Agent\\nspec:\\n runtime:\\n adapter: opencode\\n\"}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/configs\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_create_config_clone.yml b/specification/resources/agents/examples/curl/agents_create_config_clone.yml index 7d9fff776..f03e1e44b 100644 --- a/specification/resources/agents/examples/curl/agents_create_config_clone.yml +++ b/specification/resources/agents/examples/curl/agents_create_config_clone.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"name\":\"support-agent-v2\"}' \\\n \"https://api.digitalocean.com/v2/agents/configs/{config_id}/clone\"" +"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"name\":\"support-agent-v2\"}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/configs/{config_id}/clone\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_create_provider_connection.yml b/specification/resources/agents/examples/curl/agents_create_provider_connection.yml index e2bf5acaf..ca4fa5107 100644 --- a/specification/resources/agents/examples/curl/agents_create_provider_connection.yml +++ b/specification/resources/agents/examples/curl/agents_create_provider_connection.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"user_id\":\"octocat\"}' \\\n \"https://api.digitalocean.com/v2/agents/auth/{provider}/connections\"" +source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"user_id\":\"octocat\"}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/auth/{provider}/connections\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_create_session.yml b/specification/resources/agents/examples/curl/agents_create_session.yml index 2bc698684..007ee9847 100644 --- a/specification/resources/agents/examples/curl/agents_create_session.yml +++ b/specification/resources/agents/examples/curl/agents_create_session.yml @@ -4,5 +4,5 @@ source: |- -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ -d '{"name":"demo-agent","config_id":"019fb39c-14d9-7080-933e-b9b90e25acda"}' \ - "https://api.digitalocean.com/v2/agents/sessions" + "https://api.digitalocean.com/v2/harness-runtime/sessions" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_create_session_checkpoint.yml b/specification/resources/agents/examples/curl/agents_create_session_checkpoint.yml index 6f0ca733f..a3abf375e 100644 --- a/specification/resources/agents/examples/curl/agents_create_session_checkpoint.yml +++ b/specification/resources/agents/examples/curl/agents_create_session_checkpoint.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"label\":\"before-refactor\"}' \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/checkpoints\"" +"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"label\":\"before-refactor\"}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/checkpoints\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_create_session_fork.yml b/specification/resources/agents/examples/curl/agents_create_session_fork.yml index 76324d1c2..29a79ab18 100644 --- a/specification/resources/agents/examples/curl/agents_create_session_fork.yml +++ b/specification/resources/agents/examples/curl/agents_create_session_fork.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"count\":1}' \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/fork\"" +"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"count\":1}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/fork\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_create_session_input.yml b/specification/resources/agents/examples/curl/agents_create_session_input.yml index 3e02c252d..43b60f53b 100644 --- a/specification/resources/agents/examples/curl/agents_create_session_input.yml +++ b/specification/resources/agents/examples/curl/agents_create_session_input.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/input\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/input\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_create_session_workspace_part_upload_urls.yml b/specification/resources/agents/examples/curl/agents_create_session_workspace_part_upload_urls.yml index de38c0fb2..99b6bdeee 100644 --- a/specification/resources/agents/examples/curl/agents_create_session_workspace_part_upload_urls.yml +++ b/specification/resources/agents/examples/curl/agents_create_session_workspace_part_upload_urls.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}/part-upload-urls\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/workspace/transfers/{transfer_id}/part-upload-urls\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_create_session_workspace_transfer.yml b/specification/resources/agents/examples/curl/agents_create_session_workspace_transfer.yml index c12c4debf..f7c4b130c 100644 --- a/specification/resources/agents/examples/curl/agents_create_session_workspace_transfer.yml +++ b/specification/resources/agents/examples/curl/agents_create_session_workspace_transfer.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/workspace/transfers\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/workspace/transfers\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_create_session_workspace_upload.yml b/specification/resources/agents/examples/curl/agents_create_session_workspace_upload.yml index 4cc8891bb..132160bae 100644 --- a/specification/resources/agents/examples/curl/agents_create_session_workspace_upload.yml +++ b/specification/resources/agents/examples/curl/agents_create_session_workspace_upload.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/workspace/upload\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/workspace/upload\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_create_template.yml b/specification/resources/agents/examples/curl/agents_create_template.yml index 764231a65..6dd5c2c20 100644 --- a/specification/resources/agents/examples/curl/agents_create_template.yml +++ b/specification/resources/agents/examples/curl/agents_create_template.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"name\":\"my-template\",\"base_template\":\"coding-base\",\"source_oci_ref\":\"registry.example.com/team/image:tag\"}' \\\n \"https://api.digitalocean.com/v2/agents/templates\"" +"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"name\":\"my-template\",\"base_template\":\"coding-base\",\"source_oci_ref\":\"registry.example.com/team/image:tag\"}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/templates\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_create_trigger.yml b/specification/resources/agents/examples/curl/agents_create_trigger.yml index f097679e0..a7761bfb2 100644 --- a/specification/resources/agents/examples/curl/agents_create_trigger.yml +++ b/specification/resources/agents/examples/curl/agents_create_trigger.yml @@ -4,5 +4,5 @@ source: |- -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ -d '{"kind":"webhook","name":"nightly-deploy-check","session_mode":"fresh","prompt_template":"Review the latest push.","output":{"mode":"none"},"session_template":"...","webhook":{"provider":"github"}}' \ - "https://api.digitalocean.com/v2/agents/triggers" + "https://api.digitalocean.com/v2/harness-runtime/triggers" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_delete_config.yml b/specification/resources/agents/examples/curl/agents_delete_config.yml index 5df3b7583..2ee8b1185 100644 --- a/specification/resources/agents/examples/curl/agents_delete_config.yml +++ b/specification/resources/agents/examples/curl/agents_delete_config.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X DELETE \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/configs/019fb39c-14d9-7080-933e-b9b90e25acda\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/configs/019fb39c-14d9-7080-933e-b9b90e25acda\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_delete_provider_connection.yml b/specification/resources/agents/examples/curl/agents_delete_provider_connection.yml index 7ec8399e4..4ee243584 100644 --- a/specification/resources/agents/examples/curl/agents_delete_provider_connection.yml +++ b/specification/resources/agents/examples/curl/agents_delete_provider_connection.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X DELETE \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/auth/{provider}/connections/{connection_id}\"" +source: "curl -X DELETE \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/auth/{provider}/connections/{connection_id}\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_delete_session.yml b/specification/resources/agents/examples/curl/agents_delete_session.yml index ecf121cca..e0b3b4771 100644 --- a/specification/resources/agents/examples/curl/agents_delete_session.yml +++ b/specification/resources/agents/examples/curl/agents_delete_session.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X DELETE \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\"\ - \ \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}\"" + \ \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_delete_session_checkpoint.yml b/specification/resources/agents/examples/curl/agents_delete_session_checkpoint.yml index b84989bd5..62afc5e54 100644 --- a/specification/resources/agents/examples/curl/agents_delete_session_checkpoint.yml +++ b/specification/resources/agents/examples/curl/agents_delete_session_checkpoint.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X DELETE \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/checkpoints/{checkpoint_id}\"" +"source": "curl -X DELETE \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/checkpoints/{checkpoint_id}\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_delete_template.yml b/specification/resources/agents/examples/curl/agents_delete_template.yml index 54543a195..4a68c1509 100644 --- a/specification/resources/agents/examples/curl/agents_delete_template.yml +++ b/specification/resources/agents/examples/curl/agents_delete_template.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X DELETE \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/templates/{template_id}\"" +"source": "curl -X DELETE \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/templates/{template_id}\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_delete_trigger.yml b/specification/resources/agents/examples/curl/agents_delete_trigger.yml index f0bc782b5..e559c3c63 100644 --- a/specification/resources/agents/examples/curl/agents_delete_trigger.yml +++ b/specification/resources/agents/examples/curl/agents_delete_trigger.yml @@ -3,5 +3,5 @@ source: |- curl -X DELETE \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/triggers/{trigger_id}" + "https://api.digitalocean.com/v2/harness-runtime/triggers/{trigger_id}" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_checkpoint_image_messages.yml b/specification/resources/agents/examples/curl/agents_get_checkpoint_image_messages.yml index 2de856d87..6f59a8579 100644 --- a/specification/resources/agents/examples/curl/agents_get_checkpoint_image_messages.yml +++ b/specification/resources/agents/examples/curl/agents_get_checkpoint_image_messages.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/checkpoints/{checkpoint_id}/image-messages\"" +source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/checkpoints/{checkpoint_id}/image-messages\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_config.yml b/specification/resources/agents/examples/curl/agents_get_config.yml index c01fb6c7c..ffd73f557 100644 --- a/specification/resources/agents/examples/curl/agents_get_config.yml +++ b/specification/resources/agents/examples/curl/agents_get_config.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/configs/019fb39c-14d9-7080-933e-b9b90e25acda\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/configs/019fb39c-14d9-7080-933e-b9b90e25acda\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_provider_connection.yml b/specification/resources/agents/examples/curl/agents_get_provider_connection.yml index ddea6f370..a36aef34c 100644 --- a/specification/resources/agents/examples/curl/agents_get_provider_connection.yml +++ b/specification/resources/agents/examples/curl/agents_get_provider_connection.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/auth/{provider}/connections/{connection_id}\"" +source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/auth/{provider}/connections/{connection_id}\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_session.yml b/specification/resources/agents/examples/curl/agents_get_session.yml index f03c1678b..01ebd115b 100644 --- a/specification/resources/agents/examples/curl/agents_get_session.yml +++ b/specification/resources/agents/examples/curl/agents_get_session.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_session_checkpoint.yml b/specification/resources/agents/examples/curl/agents_get_session_checkpoint.yml index ea7aa4d6e..ff2521307 100644 --- a/specification/resources/agents/examples/curl/agents_get_session_checkpoint.yml +++ b/specification/resources/agents/examples/curl/agents_get_session_checkpoint.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/checkpoints/{checkpoint_id}\"" +"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/checkpoints/{checkpoint_id}\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_get_session_image_messages.yml b/specification/resources/agents/examples/curl/agents_get_session_image_messages.yml index a2cb953d3..6b7c2ce89 100644 --- a/specification/resources/agents/examples/curl/agents_get_session_image_messages.yml +++ b/specification/resources/agents/examples/curl/agents_get_session_image_messages.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/image-messages\"" +source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/image-messages\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_session_ingress.yml b/specification/resources/agents/examples/curl/agents_get_session_ingress.yml index c855854c0..b00046456 100644 --- a/specification/resources/agents/examples/curl/agents_get_session_ingress.yml +++ b/specification/resources/agents/examples/curl/agents_get_session_ingress.yml @@ -3,5 +3,5 @@ source: |- curl -X GET \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/sessions/{session_id}/ingress" + "https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/ingress" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_session_workspace_download.yml b/specification/resources/agents/examples/curl/agents_get_session_workspace_download.yml index e7398f594..41ba254ec 100644 --- a/specification/resources/agents/examples/curl/agents_get_session_workspace_download.yml +++ b/specification/resources/agents/examples/curl/agents_get_session_workspace_download.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/workspace/download\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/workspace/download\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_session_workspace_transfer.yml b/specification/resources/agents/examples/curl/agents_get_session_workspace_transfer.yml index 3eb0de964..d5f8da477 100644 --- a/specification/resources/agents/examples/curl/agents_get_session_workspace_transfer.yml +++ b/specification/resources/agents/examples/curl/agents_get_session_workspace_transfer.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/workspace/transfers/{transfer_id}\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_template.yml b/specification/resources/agents/examples/curl/agents_get_template.yml index 72ea831a6..217494d7b 100644 --- a/specification/resources/agents/examples/curl/agents_get_template.yml +++ b/specification/resources/agents/examples/curl/agents_get_template.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/templates/{template_id}\"" +"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/templates/{template_id}\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_get_template_build.yml b/specification/resources/agents/examples/curl/agents_get_template_build.yml index e46dc78d8..18b128cc8 100644 --- a/specification/resources/agents/examples/curl/agents_get_template_build.yml +++ b/specification/resources/agents/examples/curl/agents_get_template_build.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/templates/{template_id}/builds/{build_id}\"" +"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/templates/{template_id}/builds/{build_id}\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_get_trigger.yml b/specification/resources/agents/examples/curl/agents_get_trigger.yml index 91d5b6880..796ee9abe 100644 --- a/specification/resources/agents/examples/curl/agents_get_trigger.yml +++ b/specification/resources/agents/examples/curl/agents_get_trigger.yml @@ -3,5 +3,5 @@ source: |- curl -X GET \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/triggers/{trigger_id}" + "https://api.digitalocean.com/v2/harness-runtime/triggers/{trigger_id}" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_trigger_by_session.yml b/specification/resources/agents/examples/curl/agents_get_trigger_by_session.yml index aea8f4410..cac74a068 100644 --- a/specification/resources/agents/examples/curl/agents_get_trigger_by_session.yml +++ b/specification/resources/agents/examples/curl/agents_get_trigger_by_session.yml @@ -3,5 +3,5 @@ source: |- curl -X GET \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/triggers/by-session/{session_id}" + "https://api.digitalocean.com/v2/harness-runtime/triggers/by-session/{session_id}" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_get_trigger_execution.yml b/specification/resources/agents/examples/curl/agents_get_trigger_execution.yml index e735cbbda..10e93c2a8 100644 --- a/specification/resources/agents/examples/curl/agents_get_trigger_execution.yml +++ b/specification/resources/agents/examples/curl/agents_get_trigger_execution.yml @@ -3,5 +3,5 @@ source: |- curl -X GET \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/triggers/{trigger_id}/executions/{execution_id}" + "https://api.digitalocean.com/v2/harness-runtime/triggers/{trigger_id}/executions/{execution_id}" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_config_sessions.yml b/specification/resources/agents/examples/curl/agents_list_config_sessions.yml index 860d0c419..29d7282de 100644 --- a/specification/resources/agents/examples/curl/agents_list_config_sessions.yml +++ b/specification/resources/agents/examples/curl/agents_list_config_sessions.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/configs/019fb39c-14d9-7080-933e-b9b90e25acda/sessions\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/configs/019fb39c-14d9-7080-933e-b9b90e25acda/sessions\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_configs.yml b/specification/resources/agents/examples/curl/agents_list_configs.yml index 6389868b5..caa761559 100644 --- a/specification/resources/agents/examples/curl/agents_list_configs.yml +++ b/specification/resources/agents/examples/curl/agents_list_configs.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/configs\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/configs\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_image_messages.yml b/specification/resources/agents/examples/curl/agents_list_image_messages.yml index bde9d6e22..cc5686138 100644 --- a/specification/resources/agents/examples/curl/agents_list_image_messages.yml +++ b/specification/resources/agents/examples/curl/agents_list_image_messages.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/image-messages\"" +source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/image-messages\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_provider_connections.yml b/specification/resources/agents/examples/curl/agents_list_provider_connections.yml index dd50e20fe..1a95a1b80 100644 --- a/specification/resources/agents/examples/curl/agents_list_provider_connections.yml +++ b/specification/resources/agents/examples/curl/agents_list_provider_connections.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/auth/{provider}/connections\"" +source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/auth/{provider}/connections\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_reusable_sessions.yml b/specification/resources/agents/examples/curl/agents_list_reusable_sessions.yml index 9ffcd00e0..7df5f1070 100644 --- a/specification/resources/agents/examples/curl/agents_list_reusable_sessions.yml +++ b/specification/resources/agents/examples/curl/agents_list_reusable_sessions.yml @@ -3,5 +3,5 @@ source: |- curl -X GET \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/triggers/reusable-sessions?page_size=50" + "https://api.digitalocean.com/v2/harness-runtime/triggers/reusable-sessions?page_size=50" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_session_checkpoints.yml b/specification/resources/agents/examples/curl/agents_list_session_checkpoints.yml index c69adb0c0..6fac53b33 100644 --- a/specification/resources/agents/examples/curl/agents_list_session_checkpoints.yml +++ b/specification/resources/agents/examples/curl/agents_list_session_checkpoints.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/checkpoints\"" +"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/checkpoints\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_list_session_sandbox_sizes.yml b/specification/resources/agents/examples/curl/agents_list_session_sandbox_sizes.yml index b1e932a61..38410b52a 100644 --- a/specification/resources/agents/examples/curl/agents_list_session_sandbox_sizes.yml +++ b/specification/resources/agents/examples/curl/agents_list_session_sandbox_sizes.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/sandbox/sizes\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/sandbox/sizes\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_sessions.yml b/specification/resources/agents/examples/curl/agents_list_sessions.yml index 9abf7e759..c7ac12bc3 100644 --- a/specification/resources/agents/examples/curl/agents_list_sessions.yml +++ b/specification/resources/agents/examples/curl/agents_list_sessions.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_template_builds.yml b/specification/resources/agents/examples/curl/agents_list_template_builds.yml index 85d1fd048..ff4280af9 100644 --- a/specification/resources/agents/examples/curl/agents_list_template_builds.yml +++ b/specification/resources/agents/examples/curl/agents_list_template_builds.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/templates/{template_id}/builds\"" +"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/templates/{template_id}/builds\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_list_templates.yml b/specification/resources/agents/examples/curl/agents_list_templates.yml index 29dfe0ca9..2a13cfaba 100644 --- a/specification/resources/agents/examples/curl/agents_list_templates.yml +++ b/specification/resources/agents/examples/curl/agents_list_templates.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/templates\"" +"source": "curl -X GET \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/templates\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_list_trigger_executions.yml b/specification/resources/agents/examples/curl/agents_list_trigger_executions.yml index 1a963fc40..f6cd769d9 100644 --- a/specification/resources/agents/examples/curl/agents_list_trigger_executions.yml +++ b/specification/resources/agents/examples/curl/agents_list_trigger_executions.yml @@ -3,5 +3,5 @@ source: |- curl -X GET \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/triggers/{trigger_id}/executions?page_size=50" + "https://api.digitalocean.com/v2/harness-runtime/triggers/{trigger_id}/executions?page_size=50" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_triggers.yml b/specification/resources/agents/examples/curl/agents_list_triggers.yml index f39f4c156..6efd923e6 100644 --- a/specification/resources/agents/examples/curl/agents_list_triggers.yml +++ b/specification/resources/agents/examples/curl/agents_list_triggers.yml @@ -3,5 +3,5 @@ source: |- curl -X GET \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/triggers?page_size=50" + "https://api.digitalocean.com/v2/harness-runtime/triggers?page_size=50" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_list_webhook_providers.yml b/specification/resources/agents/examples/curl/agents_list_webhook_providers.yml index 856a4195e..e430dbf76 100644 --- a/specification/resources/agents/examples/curl/agents_list_webhook_providers.yml +++ b/specification/resources/agents/examples/curl/agents_list_webhook_providers.yml @@ -3,5 +3,5 @@ source: |- curl -X GET \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/webhook-providers" + "https://api.digitalocean.com/v2/harness-runtime/webhook-providers" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_poll_provider_connect.yml b/specification/resources/agents/examples/curl/agents_poll_provider_connect.yml index ec1b1d971..7d0e909c4 100644 --- a/specification/resources/agents/examples/curl/agents_poll_provider_connect.yml +++ b/specification/resources/agents/examples/curl/agents_poll_provider_connect.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/auth/{provider}/poll?poll_url=https%3A%2F%2Fexample.invalid%2Fpoll\"" +source: "curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/auth/{provider}/poll?poll_url=https%3A%2F%2Fexample.invalid%2Fpoll\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_port_forward_session.yml b/specification/resources/agents/examples/curl/agents_port_forward_session.yml index 6e05b9881..ec8a8bd6b 100644 --- a/specification/resources/agents/examples/curl/agents_port_forward_session.yml +++ b/specification/resources/agents/examples/curl/agents_port_forward_session.yml @@ -6,5 +6,5 @@ source: |- -H "Upgrade: websocket" \ -H "Sec-WebSocket-Version: 13" \ -H "Sec-WebSocket-Key: $(openssl rand -base64 16)" \ - "https://api.digitalocean.com/v2/agents/sessions/{session_id}/port-forward/8000" + "https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/port-forward/8000" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_post_session_hitl.yml b/specification/resources/agents/examples/curl/agents_post_session_hitl.yml index 7bd9ee65b..0ae71bdef 100644 --- a/specification/resources/agents/examples/curl/agents_post_session_hitl.yml +++ b/specification/resources/agents/examples/curl/agents_post_session_hitl.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/hitl/{request_id}\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/hitl/{request_id}\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_post_session_pause.yml b/specification/resources/agents/examples/curl/agents_post_session_pause.yml index 03e38a3f4..1da269fad 100644 --- a/specification/resources/agents/examples/curl/agents_post_session_pause.yml +++ b/specification/resources/agents/examples/curl/agents_post_session_pause.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/pause\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/pause\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_post_session_resume.yml b/specification/resources/agents/examples/curl/agents_post_session_resume.yml index 1f542dc10..3b8c41f83 100644 --- a/specification/resources/agents/examples/curl/agents_post_session_resume.yml +++ b/specification/resources/agents/examples/curl/agents_post_session_resume.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/resume\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/resume\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_post_session_sandbox_exec.yml b/specification/resources/agents/examples/curl/agents_post_session_sandbox_exec.yml index 271ea68b7..767f8a7cb 100644 --- a/specification/resources/agents/examples/curl/agents_post_session_sandbox_exec.yml +++ b/specification/resources/agents/examples/curl/agents_post_session_sandbox_exec.yml @@ -4,5 +4,5 @@ source: |- -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ -d '{"argv":["uname","-a"]}' \ - "https://api.digitalocean.com/v2/agents/sessions/{session_id}/sandbox/exec" + "https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/sandbox/exec" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_receive_trigger_webhook.yml b/specification/resources/agents/examples/curl/agents_receive_trigger_webhook.yml index 22ca26f60..71736aa44 100644 --- a/specification/resources/agents/examples/curl/agents_receive_trigger_webhook.yml +++ b/specification/resources/agents/examples/curl/agents_receive_trigger_webhook.yml @@ -4,5 +4,5 @@ source: |- -H "Content-Type: application/json" \ -H "X-DigitalOcean-Signature: t=1700000000,v1=" \ -d '{"event":"push","ref":"refs/heads/main"}' \ - "https://api.digitalocean.com/v2/agents/triggers/{trigger_id}/webhook" + "https://api.digitalocean.com/v2/harness-runtime/triggers/{trigger_id}/webhook" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_reconnect_provider_connection.yml b/specification/resources/agents/examples/curl/agents_reconnect_provider_connection.yml index 335df1a23..c7ca1e3c1 100644 --- a/specification/resources/agents/examples/curl/agents_reconnect_provider_connection.yml +++ b/specification/resources/agents/examples/curl/agents_reconnect_provider_connection.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/auth/{provider}/connections/{connection_id}/reconnect\"" +source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/auth/{provider}/connections/{connection_id}/reconnect\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_revert_session_checkpoint.yml b/specification/resources/agents/examples/curl/agents_revert_session_checkpoint.yml index e1c0e5c1a..4e494980f 100644 --- a/specification/resources/agents/examples/curl/agents_revert_session_checkpoint.yml +++ b/specification/resources/agents/examples/curl/agents_revert_session_checkpoint.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}/checkpoints/{checkpoint_id}/rollback\"" +"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/checkpoints/{checkpoint_id}/rollback\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_rotate_trigger_secret.yml b/specification/resources/agents/examples/curl/agents_rotate_trigger_secret.yml index 99c506d3f..bc9a52ff6 100644 --- a/specification/resources/agents/examples/curl/agents_rotate_trigger_secret.yml +++ b/specification/resources/agents/examples/curl/agents_rotate_trigger_secret.yml @@ -3,5 +3,5 @@ source: |- curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ - "https://api.digitalocean.com/v2/agents/triggers/{trigger_id}/rotate-secret?grace_period_seconds=300" + "https://api.digitalocean.com/v2/harness-runtime/triggers/{trigger_id}/rotate-secret?grace_period_seconds=300" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_start_provider_connect.yml b/specification/resources/agents/examples/curl/agents_start_provider_connect.yml index a66b6cf60..dc4133eeb 100644 --- a/specification/resources/agents/examples/curl/agents_start_provider_connect.yml +++ b/specification/resources/agents/examples/curl/agents_start_provider_connect.yml @@ -1,3 +1,3 @@ lang: bash -source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"force_reconnect\":false}' \\\n \"https://api.digitalocean.com/v2/agents/auth/{provider}\"" +source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"force_reconnect\":false}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/auth/{provider}\"" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_stream_session_events.yml b/specification/resources/agents/examples/curl/agents_stream_session_events.yml index b8e37068a..8fad667de 100644 --- a/specification/resources/agents/examples/curl/agents_stream_session_events.yml +++ b/specification/resources/agents/examples/curl/agents_stream_session_events.yml @@ -3,5 +3,5 @@ source: |- curl -N \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ -H "Accept: text/event-stream" \ - "https://api.digitalocean.com/v2/agents/sessions/{session_id}/events?replay_only=true" + "https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}/events?replay_only=true" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_update_session.yml b/specification/resources/agents/examples/curl/agents_update_session.yml index 0ba9acef6..244dff96a 100644 --- a/specification/resources/agents/examples/curl/agents_update_session.yml +++ b/specification/resources/agents/examples/curl/agents_update_session.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X PATCH \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"resume_on_topoff\":true}' \\\n \"https://api.digitalocean.com/v2/agents/sessions/{session_id}\"" +"source": "curl -X PATCH \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"resume_on_topoff\":true}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/sessions/{session_id}\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_update_template.yml b/specification/resources/agents/examples/curl/agents_update_template.yml index da8ec3351..a17428646 100644 --- a/specification/resources/agents/examples/curl/agents_update_template.yml +++ b/specification/resources/agents/examples/curl/agents_update_template.yml @@ -1,3 +1,3 @@ "lang": "bash" -"source": "curl -X PUT \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"source_oci_ref\":\"registry.example.com/team/image:v2\"}' \\\n \"https://api.digitalocean.com/v2/agents/templates/{template_id}\"" +"source": "curl -X PUT \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\"source_oci_ref\":\"registry.example.com/team/image:v2\"}' \\\n \"https://api.digitalocean.com/v2/harness-runtime/templates/{template_id}\"" "label": "cURL" diff --git a/specification/resources/agents/examples/curl/agents_update_trigger.yml b/specification/resources/agents/examples/curl/agents_update_trigger.yml index 5b973604d..96028c34e 100644 --- a/specification/resources/agents/examples/curl/agents_update_trigger.yml +++ b/specification/resources/agents/examples/curl/agents_update_trigger.yml @@ -4,5 +4,5 @@ source: |- -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ -d '{"status":"paused"}' \ - "https://api.digitalocean.com/v2/agents/triggers/{trigger_id}" + "https://api.digitalocean.com/v2/harness-runtime/triggers/{trigger_id}" label: cURL diff --git a/specification/resources/agents/examples/curl/agents_validate_session_policy.yml b/specification/resources/agents/examples/curl/agents_validate_session_policy.yml index 18a046c76..5981bd387 100644 --- a/specification/resources/agents/examples/curl/agents_validate_session_policy.yml +++ b/specification/resources/agents/examples/curl/agents_validate_session_policy.yml @@ -1,4 +1,4 @@ lang: bash source: "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\ - \n \"https://api.digitalocean.com/v2/agents/sessions/policy/validate\"" + \n \"https://api.digitalocean.com/v2/harness-runtime/sessions/policy/validate\"" label: cURL diff --git a/specification/resources/agents/models/definitions.yml b/specification/resources/agents/models/definitions.yml index b3b4e6901..64d53c44a 100644 --- a/specification/resources/agents/models/definitions.yml +++ b/specification/resources/agents/models/definitions.yml @@ -195,7 +195,7 @@ agent_manifest: sizeSlug: type: string description: >- - Requested sandbox size (catalog: GET /v2/agents/sessions/sandbox/sizes). Empty means + Requested sandbox size (catalog: GET /v2/harness-runtime/sessions/sandbox/sizes). Empty means the service default. example: example mounts: @@ -953,7 +953,7 @@ session: description: >- Session consents to being resumed automatically when the team's prepayment balance is restored after a low-balance pause. Defaults to false at create time; may be toggled later - via PATCH /v2/agents/sessions/{session_id} (resume_on_topoff only). Only a session paused + via PATCH /v2/harness-runtime/sessions/{session_id} (resume_on_topoff only). Only a session paused with reason low_balance whose latest run did not complete is ever resumed automatically - a session the customer paused themselves, or one that idled out, stays paused regardless. Not an environment-spec field, and forks do not inherit it. Omitted when false. @@ -1227,7 +1227,7 @@ stream_event: properties: {} validation_result: type: object - description: 'Response of POST /v2/agents/sessions/policy/validate: per-rule verdicts for the (agent, + description: 'Response of POST /v2/harness-runtime/sessions/policy/validate: per-rule verdicts for the (agent, version). The same shape is persisted per session in session_policies.verdicts.' properties: agent: @@ -2027,7 +2027,7 @@ patch_session_request: config-scoped. Omitted properties are not modified. example: false description: >- - PATCH body for /v2/agents/sessions/{session_id}: an allowlisted subset of session-scoped + PATCH body for /v2/harness-runtime/sessions/{session_id}: an allowlisted subset of session-scoped settings (never environment-spec / config mutation). At least one property below must be present; {} is 400. Unknown top-level keys are rejected with 400. New patchable fields will be added here as optional properties over time. @@ -2310,7 +2310,9 @@ webhook_config: $ref: '#/webhook_provider_key' webhook_url: type: string - description: The Payload URL to configure in the external system. + description: >- + The Payload URL to configure in the external system. The service returns + the `/v2/agents` spelling. Paste that value unchanged. example: https://api.digitalocean.com/v2/agents/triggers/b1a0.../webhook cron_config: