> For the complete documentation index, see [llms.txt](https://helpdocs.conducttr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdocs.conducttr.com/feature-documentation/api/endpoint-reference/exercise-control/post-pol.md).

# POST pol

<mark style="color:green;">`POST`</mark> `/pol`

Sends Pattern of Life (PoL) command to start, stop, or continue a stack for a specific team.

{% hint style="info" %}
PoL automatically times out after 15 minutes of inactivity. This prevents sessions from being left running unintentionally. To maintain an active session, your application must send a "continue" keep-alive signal before the timer expires
{% endhint %}

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**Body**

```
{
  "command": "start" | "stop" | "continue",
  "stack": "01",
  "team_id": "3437866",
  "type": "individual" | "team",
  "interval": "2",
  "index": "0001"
}
```

<table><thead><tr><th width="130">Field</th><th width="86">Type</th><th width="84">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>command</code></td><td>string</td><td>Yes</td><td>One of: <code>start</code>, <code>stop</code>, <code>continue</code></td></tr><tr><td><code>stack</code></td><td>string</td><td>Yes</td><td>Stack number (e.g., "01", "17", "36") must be 2 digits</td></tr><tr><td><code>team_id</code></td><td>string</td><td>Yes</td><td>Team ID to run the stack for</td></tr><tr><td><code>type</code></td><td>string</td><td>Yes</td><td>Either <code>individual</code> or <code>team</code></td></tr><tr><td><code>interval</code></td><td>string</td><td>Yes</td><td>Interval in seconds (1-7200)</td></tr><tr><td><code>index</code></td><td>string</td><td>Yes</td><td>Starting index position (e.g., "0001") must be 4 digits</td></tr></tbody></table>

**Commands**

<table><thead><tr><th width="137">Command</th><th>Description</th></tr></thead><tbody><tr><td><code>start</code></td><td>Start the stack from the specified index</td></tr><tr><td><code>stop</code></td><td>Stop the currently running stack</td></tr><tr><td><code>continue</code></td><td>Continue the stack from current position</td></tr></tbody></table>

**Interval Values**

<table><thead><tr><th width="118">Interval</th><th width="218">Time in seconds</th></tr></thead><tbody><tr><td>1</td><td>2</td></tr><tr><td>2</td><td>4</td></tr><tr><td>3</td><td>6</td></tr><tr><td>4</td><td>8</td></tr><tr><td>5</td><td>10</td></tr><tr><td>6</td><td>12</td></tr><tr><td>7</td><td>15</td></tr><tr><td>8</td><td>17</td></tr><tr><td>9</td><td>20</td></tr><tr><td>10</td><td>25</td></tr><tr><td>11</td><td>30</td></tr><tr><td>12</td><td>35</td></tr><tr><td>13</td><td>40</td></tr><tr><td>14</td><td>50</td></tr><tr><td>15</td><td>60</td></tr><tr><td>16</td><td>120</td></tr><tr><td>17</td><td>180</td></tr><tr><td>18</td><td>240</td></tr><tr><td>19</td><td>300</td></tr><tr><td>20</td><td>600</td></tr><tr><td>21</td><td>900</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="204 Accepted" %}

```json
{
  "success": true
}
```

{% endtab %}

{% tab title="400" %}
Bad request - likely wrong team id

```json
"Stack {stack} is an empty!" means the stack number is incorrect
```

{% endtab %}

{% tab title="409" %}
Returned when `start` or `continue` is requested for a stack that is already running:

* Message: `Stack '{stack}' is already running, please try again later`
  {% endtab %}

{% tab title="429" %}
Returned when the space has exceeded the maximum allowed concurrent stacks&#x20;

* Message: `You have already exceeded the maximum allowed concurrent stacks, please try again later`
  {% endtab %}
  {% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdocs.conducttr.com/feature-documentation/api/endpoint-reference/exercise-control/post-pol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
