For Developers
Get Agent
GET https://ed.link/api/v2/graph/agent/:agent_id
Retrieve information about a specific Agent.
Request Parameters
Parameter | Type | Description |
---|---|---|
agent_id | string | The UUID of the desired Agent. |
Sample Request
axios.get('https://ed.link/api/v2/graph/agents/0a5c73b7-ef15-40e2-9295-8540914db235', {
headers: {
authorization: `Bearer ${integration_access_token}`
}
});
Sample Response
{
"$data": {
"id": "0a5c73b7-ef15-40e2-9295-8540914db235",
"created_date": "2023-04-25T16:46:09.601Z",
"updated_date": "2023-04-25T16:46:09.601Z",
"relationship": "other",
"flags": ["emergency_contact", "pickup_rights", "legal_guardian", "has_custody", "lives_with", "access_to_records"],
"observer_id": "725b31b5-8563-4b51-8df8-419b222e1779",
"target_id": "787d717b-e57b-4f81-81eb-6cb2450728c9",
"properties": {},
"identifiers": []
},
"$request": "00000000-0000-0000-0000-000000000000"
}