> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# automation-get-status

> Returns the status of a job given a specific automation ID.

## Purpose

This automation **returns the status** of a job given a specific automation ID.

### automation-get-status

API used:

```
/operations-manager/jobs/:id
```

### Input

| Inputs           | Data Type         | Sample Input                         | Description                                           |
| ---------------- | ----------------- | ------------------------------------ | ----------------------------------------------------- |
| instance\_name   | Dropdown (String) | SE Lab Prod 2023.1                   | The Itential Platform instance name                   |
| automation\_id   | String            | 4278c701b83943b08a98\*\*\*           | The Automation ID of the automation to get its status |
| token (optional) | string            | 9f0999c2-7054-4820-8eeb-c3052d30acaa | Authentication token or empty if an API key is used   |

### Output

| Output             | Data Type | Sample Output | Description                          |
| ------------------ | --------- | ------------- | ------------------------------------ |
| automation\_status | string    | running       | Returns the status of the automation |

### Error Output

| Error Output   | Data Type | Sample Output                                             | Description   |
| -------------- | --------- | --------------------------------------------------------- | ------------- |
| error\_message | String    | Malformed URL encountered: Protocol is missing in the URL | Error message |