---
id: "P:cAlgo.API.Frame.Id"
kind: "property"
type: "T:cAlgo.API.Frame"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Chart/Frame/Id/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Frame.Id

Member of [Frame](https://help.ctrader.com/ctrader-algo/references/Plugin/Chart/Frame/index.md).

## Id

Returns frame Id.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
string Id {get;}
```

Python:

```python
frame.Id: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
var customFrame = ChartManager.AddCustomFrame("My Frame");
Print("Frame ID: {0}", customFrame.Id);
```

Python:

```python
customFrame = api.ChartManager.AddCustomFrame("My Frame")
api.Print(f"Frame ID: {customFrame.Id}")
```

