---
title: "Create or start agents agentID stop"
method: POST
path: "/v1/agents/{agentID}/stop"
---

# Create or start agents agentID stop

`POST /v1/agents/{agentID}/stop`

## Request

- Base URL: `https://api.plori.ai`
- URL: `https://api.plori.ai/v1/agents/{agentID}/stop`
- Auth: HTTP bearer

Cancels nonterminal runs. The agent can run again; memberships and Workspaces remain.

## Path parameters

- `agentID` string, uuid, required

## Response `202`

Agent lifecycle result.

- AgentStop
  - `agent_id` string, uuid, required
  - `kind` string, required
  - `lifecycle_state` string, required
  - `runs` AgentRunStop[], required
    - `run_id` string, uuid, required
    - `state` 'cancelling' | 'finished' | 'input_cancelled', required

## Other responses

- `400`: Malformed request.
- `401`: Missing or invalid credential.
- `404`: No such resource.
- `409`: Conflict, active operation, or current-revision mismatch.

---

[API](https://skmtc.dev/plori/apis/plori-rest-api.md) · [All operations](https://skmtc.dev/plori/apis/plori-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/plori/apis/plori-rest-api/revisions/15c4f9260dff?raw)
