# Is there any introduction about the action in \_cat/tasks api

**URL:** https://discuss.elastic.co/t/is-there-any-introduction-about-the-action-in-cat-tasks-api/300271
**Category:** Elasticsearch
**Created:** [March 22, 2022, 6:07am UTC](https://discuss.elastic.co/t/is-there-any-introduction-about-the-action-in-cat-tasks-api/300271 "2022-03-22T06:07:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ericsoul](https://avatars.discourse-cdn.com/v4/letter/e/eb9ed0/32.png) [@ericsoul](https://discuss.elastic.co/u/ericsoul)
#### Post date: [March 22, 2022, 6:07am UTC](https://discuss.elastic.co/t/is-there-any-introduction-about-the-action-in-cat-tasks-api/300271/1 "2022-03-22T06:07:34Z")

</div>

Is there any introduction about all list of the action of \_cat/tasks?

---

<div class="post-metadata">

### Author: ![DineshNaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineshnaik/32/89308_2.png) [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)
#### Post date: [March 22, 2022, 8:33am UTC](https://discuss.elastic.co/t/is-there-any-introduction-about-the-action-in-cat-tasks-api/300271/2 "2022-03-22T08:33:49Z")

</div>

It's a beta feature and probably that's the reason the actions are documented yet probably.

I haven't used it but you can try if this works in your setup:

actions  
(Optional, string) Comma-separated list or wildcard expression of actions used to limit the request.

Omit this parameter to return all actions.

---

<div class="post-metadata">

### Author: ![ericsoul](https://avatars.discourse-cdn.com/v4/letter/e/eb9ed0/32.png) [@ericsoul](https://discuss.elastic.co/u/ericsoul)
#### Post date: [March 22, 2022, 8:51am UTC](https://discuss.elastic.co/t/is-there-any-introduction-about-the-action-in-cat-tasks-api/300271/3 "2022-03-22T08:51:05Z")

</div>

Now I don't want to use this field to filter the returns.  
I meant is there any where to list all the actions, I want to know what is the task doing by see the task's action.

---

<div class="post-metadata">

### Author: ![DineshNaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineshnaik/32/89308_2.png) [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)
#### Post date: [March 22, 2022, 12:47pm UTC](https://discuss.elastic.co/t/is-there-any-introduction-about-the-action-in-cat-tasks-api/300271/4 "2022-03-22T12:47:13Z")

</div>

you can use the [task](https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html#tasks) management api for that right ?

`GET /_tasks`

`GET /_tasks/<task_id>`

---

<div class="post-metadata">

### Author: ![ericsoul](https://avatars.discourse-cdn.com/v4/letter/e/eb9ed0/32.png) [@ericsoul](https://discuss.elastic.co/u/ericsoul)
#### Post date: [March 23, 2022, 12:42am UTC](https://discuss.elastic.co/t/is-there-any-introduction-about-the-action-in-cat-tasks-api/300271/5 "2022-03-23T00:42:56Z")

</div>

GET /\_tasks/\<task\_id\> seems ok for every task.  
Actually ,every task run for a moment, there's no time to execute this at time.  
GET /\_tasks is too complex to read.

I need the value range for the action field, and all the introduction for every value.  
Maybe we can get a list from where.

If we know it, we can watch the actions of \_cat/tasks for a while to know the cluster is doing what at these times.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 20, 2022, 12:42am UTC](https://discuss.elastic.co/t/is-there-any-introduction-about-the-action-in-cat-tasks-api/300271/6 "2022-04-20T00:42:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
