Returns an Agent with the environments visible to the caller.
func (
r *AgentService) Get(ctx context.Context,
agentID string,
query AgentGetParams,
opts ...option.RequestOption) (res *Agent,
err error
)Returns an Agent with the environments visible to the caller. The path value is the user-assigned Agent ID. Pass include=runtime_bindings to embed each environment's runtime bindings.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
agentID* | string | |
query* | AgentGetParams | |
opts* | ...option.RequestOption |