Agents Resource
Gets agent information about a particular person.
Gets all agents used by a single person.
const agent: Agent = {
objectType: "Agent",
name: "Test Agent",
mbox: "mailto:[email protected]"
};
xapi.getAgent({
agent: agent
}).then((result: AxiosResponse<Person>) => {
const person: Person = result.data;
// do stuff with person
});
Parameter | Type | Required | Description |
agent | true | The agent experiencing the AU. | |
useCacheBuster | boolean | false | Enables cache busting. |