# \#api

**URL:** https://discourse.sensu.io/tag/api/43.md

[Latest](https://discourse.sensu.io/latest.md) · [Categories](https://discourse.sensu.io/categories.md) · [Tags](https://discourse.sensu.io/tags.md)

---

## [API does not return labels for entities](https://discourse.sensu.io/t/api-does-not-return-labels-for-entities/2851)

<div class="topic-metadata">

**Author:** [@Jdstrimble](https://discourse.sensu.io/u/Jdstrimble)\
**Replies:** 0\
**Last updated:** [April 7, 2022, 2:03am UTC](https://discourse.sensu.io/t/api-does-not-return-labels-for-entities/2851 "2022-04-07T02:03:00Z")

</div>

I am trying to retrieve the labels of all of our sensu enties via the api. When I send a request to /api/core/v2/namespaces/default/entities/ I can see key for labels in the metadata section but it is empty for all ent…

---

## [Filtering event api calls](https://discourse.sensu.io/t/filtering-event-api-calls/2652)

<div class="topic-metadata">

**Author:** [@ohhfine](https://discourse.sensu.io/u/ohhfine)\
**Replies:** 4\
**Last updated:** [August 12, 2021, 7:33pm UTC](https://discourse.sensu.io/t/filtering-event-api-calls/2652 "2021-08-12T19:33:06Z")

</div>

Trying to use filtering in compiled code (dot.net) rather then using curl, I have no problem pulling events in a json array and converting it to a dataset, here’s my problem, if there are 175000 events in there I only wa…
