Examples

GET /api/job_invocations/18
200
{
  "id": 18,
  "description": null,
  "job_category": "Job name 16",
  "targeting_id": 16,
  "status": 0,
  "start_at": null,
  "status_label": "succeeded",
  "ssh_user": null,
  "dynflow_task": {
    "id": "3c8e5231-8905-4f27-baf0-5b4eb15aff4e",
    "state": "stopped"
  },
  "succeeded": "N/A",
  "failed": "N/A",
  "pending": "N/A",
  "total": "N/A",
  "missing": 0,
  "targeting": {
    "bookmark_id": null,
    "search_query": "name = foo",
    "targeting_type": "static_query",
    "user_id": 988725696,
    "randomized_ordering": false,
    "hosts": [
      {
        "name": "host12",
        "id": 11
      }
    ]
  },
  "task": {
    "id": "3c8e5231-8905-4f27-baf0-5b4eb15aff4e",
    "state": "stopped"
  },
  "mode": "immediate"
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

host_status
optional

Show Job status for the hosts

Validations:

  • Must be one of: true, false, 1, 0.