Hướng dẫn AgentFlow

get_entity_presence

GET/entities/{entity_id}/presence
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Path Parameters

entity_id*string

Entity id

Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/presence"
{  "records": [    {      "entity_id": "8161163a-f227-466f-bc01-090a01e80165",      "record_id": "8bf519b6-a3e0-49d2-8e42-039542d9a489",      "viewers": [        "4471219e-63d8-475f-8296-8a28e768618f"      ]    }  ]}