For Developers

List Agents

GET https://ed.link/api/v2/graph/people/:person_id/agents

Retrieve a list of Agents that reference the specified Person in either the observer_id or target_id field.

Request Parameters

ParameterTypeDescription
person_idstringThe UUID of the desired Person.

This query allows for standard paging parameters.

This query allows for filtering results.

Sample Request

axios.get('https://ed.link/api/v2/graph/people/00000000-0000-0000-0000-000000000000/agents', {
    headers: {
        authorization: `Bearer ${integration_access_token}`
    }
});

Sample Response

{
    "$data": [
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "relationship": "parent",
            "properties": {},
            "observer_id": "00000000-0000-0000-0000-000000000000",
            "target_id": "00000000-0000-0000-0000-000000000000"
        }
    ],
    "$request": "00000000-0000-0000-0000-000000000000"
}