Skip to content
Ona Docs

StopAgentExecution

POST/gitpod.v1.AgentService/StopAgentExecution

Stops an active agent execution.

Use this method to:

  • Stop an agent that is currently running
  • Prevent further processing or resource usage

Examples

  • Stop an agent execution by ID:

    agentExecutionId: "6fa1a3c7-fbb7-49d1-ba56-1890dc7c4c35"
Body ParametersJSONExpand Collapse
agentExecutionId: optional string
formatuuid

StopAgentExecution

curl https://app.gitpod.io/api/gitpod.v1.AgentService/StopAgentExecution \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $GITPOD_API_KEY" \
    -d '{}'
{}
Returns Examples
{}