# Get daemon job run

> Source: https://truto.one/docs/api-reference/admin/daemon-job-runs/get/

`GET /daemon-job-run/{id}`

Resource: **Daemon job runs**

## Response body

- **`id`** _(string)_
  The ID of the daemon job run.
- **`daemon_job_id`** _(string)_
  The daemon job this run belongs to.
- **`daemon_id`** _(string)_
  The daemon that runs it.
- **`environment_id`** _(string)_
- **`status`** _(string)_
  The run's status. A new run is `created`; your daemon process updates it.
  Allowed: `created`, `running`, `completed`, `failed`, `stopped`
- **`args`** _(object)_
  The arguments for the run, checked against the daemon job's `args_schema` and `args_validation`.
- **`daemon_group_key`** _(string)_
- **`started_at`** _(string)_
- **`finished_at`** _(string)_
- **`created_at`** _(string)_
- **`updated_at`** _(string)_

## Code examples

### curl

```bash
curl -X GET 'https://api.truto.one/daemon-job-run/{id}' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.truto.one/daemon-job-run/{id}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

url = "https://api.truto.one/daemon-job-run/{id}"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())
```
