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

# Get response actions

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

## Paths

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

## Description

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

Get a list of all response actions.

## 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

- `page` (integer · min: 1 · default: 1) — optional
- `pageSize` (integer · min: 1 · max: 100 · default: 10) — optional
- `commands` (enum[]) — optional
  Values: `isolate`, `unisolate`, `kill-process`, `suspend-process`, `running-processes`, `get-file`, `execute`, `upload`, `scan`
- `agentIds` (union oneOf · min length: 1) — optional
  Example: `["agent-id-1","agent-id-2"]`
  One of: `string[]` or `string`
- `userIds` (union oneOf) — optional
  Example: `["user-id-1","user-id-2"]`
  One of: `string[]` or `string`
- `startDate` (string) — optional
  Example: `2023-10-31T00:00:00.000Z`
- `endDate` (string) — optional
  Example: `2023-10-31T23:59:59.999Z`
- `agentTypes` (enum) — optional
  Values: `endpoint`, `sentinel_one`, `crowdstrike`, `microsoft_defender_endpoint`
- `withOutputs` (union oneOf) — optional
  Example: `["action-id-1","action-id-2"]`
  One of: `string[]` or `string`
- `types` (enum[] · min length: 1 · max length: 2) — optional
  Values: `automated`, `manual`

## Response

OK

`application/json`

Type: `object`

## Code examples

#### Console

```console
GET kbn:/api/endpoint/action
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/endpoint/action" \
  -H "Authorization: ApiKey ${API_KEY}"
```

