> ## 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.

# Runtime ID • AI Agent SDK

> runtime_id: Unique identifier for the runtime this middleware handles.

# runtime\_id

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**RuntimeToolResultMiddleware**](../classes/RuntimeToolResultMiddleware) class in the [**middleware**](../modules/middleware) module.

Unique identifier for the runtime this middleware handles.

Used by RuntimeRegistry to route results to the correct middleware.
Examples: "praisonai", "claude\_harness", "openai\_harness"

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def runtime_id() -> str
```

### Returns

<ResponseField name="Returns" type="str">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/middleware.py#L110">
  `praisonaiagents/runtime/middleware.py` at line 110
</Card>
