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

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

# ChartTemplateRobot.Id

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

## Id

Gets the ID of a specific indicator.

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

- Cloud: Never available in the cloud: it is only returned by members that do not work there (ChartTemplateRobots, ChartTemplateRobots.Add, ChartTemplateRobots.Get).

C#:

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

Python:

```python
chartTemplateRobot.Id: str
```

### Returns

`string` — 

Available since cAlgo.API 5.6.

### Examples

C#:

```csharp
var template = ChartTemplates.Get("My Template");
var robot = template?.Robots.FirstOrDefault();
if (robot != null)
    Print("Found again by id: {0}", template.Robots.Get(robot.Id) != null);
```

Python:

```python
template = api.ChartTemplates.Get("My Template")
if template is not None:
    for robot in template.Robots:
        api.Print(f"cBot id: {robot.Id}")
```

