---
type: api
title: Get response actions status
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v8/operation/operation-endpointgetactionsstatus
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v8/operation/operation-endpointgetactionsstatus
products:
  - Kibana
---

# Get response actions status

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/endpoint/action_status`
- `GET` `/s/{space_id}/api/endpoint/action_status`

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Get the status of response actions for the specified agent IDs.

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Query string parameters

- `query` (object) — required
  - `agent_ids` (union oneOf · min length: 1) — optional
    A list of agent IDs. Max of 50.
    One of: `string[]` or `string`

## Response

OK

`application/json`

- `body` (object)
  - `data` (object)
    - `agent_id` (string)
      Agent ID
    - `pending_actions` (union oneOf)
      - **{ execute, get-file, isolate, … }**
        - `execute` (integer)
        - `get-file` (integer)
        - `isolate` (integer)
        - `kill-process` (integer)
        - `running-processes` (integer)
        - `scan` (integer)
        - `suspend-process` (integer)
        - `unisolate` (integer)
        - `upload` (integer)
      - **object**
## Code examples

#### Console

```console
GET kbn:/api/endpoint/action_status?query=QUERY
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/endpoint/action_status?query=${QUERY}" \
  -H "Authorization: ApiKey ${API_KEY}"
```

