# Question - API endpoint for 'tasks'?

**URL:** https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476
**Category:** Forum - Software
**Created:** [December 5, 2022, 11:39am UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476 "2022-12-05T11:39:52Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![metalour](https://discussions.eramba.org/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@metalour](https://discussions.eramba.org/u/metalour)
#### Post date: [December 5, 2022, 11:39am UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476/1 "2022-12-05T11:39:52Z")

</div>

On the default dashboard, there are 3 filters for ‘tasks’, these enumerate things that need doing (such as scheduled reviews etc.)

I would like to be able to get that exact same information from an API call. Is this possible?

Thanks,

Tom.

---

<div class="post-metadata">

### Author: ![sam](https://discussions.eramba.org/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@sam](https://discussions.eramba.org/u/sam)
#### Post date: [December 5, 2022, 3:46pm UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476/2 "2022-12-05T15:46:49Z")

</div>

Hello,

Unfortunately, this is not possible.

---

<div class="post-metadata">

### Author: ![david.schroth](https://discussions.eramba.org/letter_avatar_proxy/v4/letter/d/43a26b/32.png) [@david.schroth](https://discussions.eramba.org/u/david.schroth)
#### Post date: [December 5, 2022, 4:52pm UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476/3 "2022-12-05T16:52:08Z")

</div>

I’m not an API wizard by trade (nor do I play one on TV), but wouldn’t those Expired/Current/Future tasks be nothing more than multiple API calls to then pull all the information together?

Expired tasks, for example, appears to be a list of basically every possible “task” (maintenance, audit, review, whatever) pulled into a single view. So while you may not be able to get it in one shot, I’d think you could get it with a pile of calls…

---

<div class="post-metadata">

### Author: ![kisero](https://discussions.eramba.org/user_avatar/discussions.eramba.org/kisero/32/2925_2.png) [@kisero](https://discussions.eramba.org/u/kisero)
#### Post date: [December 6, 2022, 7:43am UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476/4 "2022-12-06T07:43:05Z")

</div>

> [@david.schroth](#):
>
> Expired/Current/Future tasks be nothing more than multiple API calls to then pull all the information together?

correct!

 ![image](https://discussions.eramba.org/uploads/default/original/2X/e/e8a48791cb0615a7a2f4d4c3adb2f46d9c4567b4.jpeg)

API Documentation: [eramba REST API: Build Your Integrations](https://www.eramba.org/learning/courses/29/episodes/271)

---

<div class="post-metadata">

### Author: ![metalour](https://discussions.eramba.org/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@metalour](https://discussions.eramba.org/u/metalour)
#### Post date: [December 14, 2022, 12:03pm UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476/5 "2022-12-14T12:03:41Z")

</div>

OK, it is perhaps a little frustrating to have to re-create this but still I can do that.

Except I can’t find the API endpoint for security policies, or security policy exceptions, or risk exceptions. Risk exceptions appear to be enumerated under risks, but do not have their own endpoint (unlike say control reviews, which appear in both their own endpoint and under controls).

The API tab doesn’t appear on those screens, and attempting to guess them based on the other endpoint names ends in error.

---

<div class="post-metadata">

### Author: ![kisero](https://discussions.eramba.org/user_avatar/discussions.eramba.org/kisero/32/2925_2.png) [@kisero](https://discussions.eramba.org/u/kisero)
#### Post date: [December 14, 2022, 12:09pm UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476/6 "2022-12-14T12:09:12Z")

</div>

> [@metalour](#):
>
> The API tab doesn’t appear on those screens, and attempting to guess them based on the other endpoint names ends in error.

…[All the API documentation is managed over swagger and you will find it on every section where APIs are enabled]…

> **[Receiving REST APIs](https://www.eramba.org/learning/courses/29/episodes/272)**
>
> How data schemas and end-points work

If a section does not have API’s enabled, then the API option is not shown

---

<div class="post-metadata">

### Author: ![metalour](https://discussions.eramba.org/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@metalour](https://discussions.eramba.org/u/metalour)
#### Post date: [December 14, 2022, 12:18pm UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476/7 "2022-12-14T12:18:08Z")

</div>

OK, so its not possible to recreate that information via the API then. Well thanks, I suppose.

---

<div class="post-metadata">

### Author: ![metalour](https://discussions.eramba.org/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@metalour](https://discussions.eramba.org/u/metalour)
#### Post date: [December 14, 2022, 5:09pm UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476/8 "2022-12-14T17:09:17Z")

</div>

Please can I request that the API be made more complete. Having controls be accessible from the API but not security policies seems bananas, and renders the API completely useless to me, and probably many other use-cases.

---

<div class="post-metadata">

### Author: ![kisero](https://discussions.eramba.org/user_avatar/discussions.eramba.org/kisero/32/2925_2.png) [@kisero](https://discussions.eramba.org/u/kisero)
#### Post date: [December 14, 2022, 6:49pm UTC](https://discussions.eramba.org/t/question-api-endpoint-for-tasks/2476/9 "2022-12-14T18:49:53Z")

</div>

> [@metalour](#):
>
> Please

> [@Feature - Enable API feature for Security Policies](https://discussions.eramba.org/t/feature-enable-api-feature-for-security-policies/2063):
>
> Hi, We would need to enable the API functionality for “Security Policies” as we would like to update this item based on responses from an Online Assessment. Thanks!

is on the backlog , but is very low priority at the moment. perhaps when [reviews](https://discussions.eramba.org/t/feature-review-process-of-risks-policies-and-assets/2190) are reworked we’ll be able to work on it.
