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

# Escalation Result • AI Agent SDK

> EscalationResult: Result of escalation pipeline execution.

# EscalationResult

> Defined in the [**types**](../modules/types) module.

<Badge color="blue">AI Agent</Badge>

Result of escalation pipeline execution.

Contains the response, metadata, and any state changes.

## Properties

<ResponseField name="response" type="str">
  No description available.
</ResponseField>

<ResponseField name="success" type="bool">
  No description available.
</ResponseField>

<ResponseField name="initial_stage" type="EscalationStage">
  No description available.
</ResponseField>

<ResponseField name="final_stage" type="EscalationStage">
  No description available.
</ResponseField>

<ResponseField name="escalations" type="int">
  No description available.
</ResponseField>

<ResponseField name="deescalations" type="int">
  No description available.
</ResponseField>

<ResponseField name="signals" type="List[EscalationSignal]">
  No description available.
</ResponseField>

<ResponseField name="steps_taken" type="int">
  No description available.
</ResponseField>

<ResponseField name="tool_calls" type="int">
  No description available.
</ResponseField>

<ResponseField name="tokens_used" type="int">
  No description available.
</ResponseField>

<ResponseField name="time_seconds" type="float">
  No description available.
</ResponseField>

<ResponseField name="checkpoint_id" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="files_modified" type="List[str]">
  No description available.
</ResponseField>

<ResponseField name="errors" type="List[str]">
  No description available.
</ResponseField>

<ResponseField name="warnings" type="List[str]">
  No description available.
</ResponseField>

<ResponseField name="metadata" type="Dict[str, Any]">
  No description available.
</ResponseField>

## Methods

<CardGroup cols={2}>
  <Card title="was_escalated()" icon="function" href="../functions/EscalationResult-was_escalated">
    Check if execution was escalated.
  </Card>

  <Card title="was_deescalated()" icon="function" href="../functions/EscalationResult-was_deescalated">
    Check if execution was de-escalated.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/escalation/types.py#L98">
  `praisonaiagents/escalation/types.py` at line 98
</Card>
