getOperatorApp method

Future<GetOperatorAppOutput> getOperatorApp({
  1. required String agentSpaceId,
})

Get the full auth configuration of operator including any enabled auth flow

May throw InternalServerException. May throw ThrottlingException. May throw ValidationException.

Parameter agentSpaceId : The unique identifier of the AgentSpace

Implementation

Future<GetOperatorAppOutput> getOperatorApp({
  required String agentSpaceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/v2/agentspaces/${Uri.encodeComponent(agentSpaceId)}/operator',
    hostPrefix: 'cp.',
    exceptionFnMap: _exceptionFns,
  );
  return GetOperatorAppOutput.fromJson(response);
}