getAgent()
Home > @gooddata/sdk-backend-spi > IOrganizationAgentsService > getAgent
IOrganizationAgentsService.getAgent() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get agent by ref.
Signature:
getAgent(ref: ObjRef): Promise<IAgent | undefined>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
ref |
ref of the agent |
Returns:
Promise<IAgent | undefined>
Promise resolved with agent.