> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# AgentStoppedNotification

> The agent stopped, with full stop semantics beyond .

The agent stopped, with full stop semantics beyond `PromptResult.stopReason`.

```typescript
interface AgentStoppedNotification extends Omit<AgentStoppedPayload, "cause" | "stats">
```

## Properties

**cause** `string & object | AgentStopCause` *required*

**Type:** `string & object | AgentStopCause`

**errorMessage** `null | string`

Optional error message (populated when `cause` is `Error` or
`QuotaExhausted`).

**method** `"_cognition.ai/agent_stopped"` *required*

**sessionId** `string` *required*

ACP session ID that owns this stop event.

**stats** `null | TurnStats`

**Type:** `null | TurnStats`

Populated on successful completion.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.