# 11、api/statuses 接口

**URL:** <https://forum.aotu.ai/t/11-api-statuses/188>\
**Category:** Questions\
**Created:** [June 17, 2021, 1:17am UTC](https://forum.aotu.ai/t/11-api-statuses/188 "2021-06-17T01:17:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![senming](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@senming](https://forum.aotu.ai/u/senming)\
**Post date:** [June 17, 2021, 1:17am UTC](https://forum.aotu.ai/t/11-api-statuses/188/1 "2021-06-17T01:17:43Z")

</div>

通过api/statuses 接口长连接 ，能不能做到人脸识别每次识别一张人脸就返回一次人脸数据？

---

<div class="post-metadata">

**Author:** ![tyler.compton](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.aotu.ai/tyler.compton/32/27_2.png) [@tyler.compton](https://forum.aotu.ai/u/tyler.compton)\
**Post date:** [June 17, 2021, 5:47pm UTC](https://forum.aotu.ai/t/11-api-statuses/188/2 "2021-06-17T17:47:06Z")

</div>

The `/api/statuses` interface will return face detections whose `with_identity` field tells you the identity of the face, assuming you’ve created an identity for that face beforehand. It will do this every time the face is recognized in the stream.
