MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / get_evaluation

Method get_evaluation

lib/cli/src/crewai_cli/plus_api.py:104–117  ·  view source on GitHub ↗

The evaluation's status and, once done, its verdict. `can_export=1` says this CLI has `crewai eval export`, so the brief may point at it. AMP passes it on to the evaluation service; an AMP from before exports drops it, so the brief names the command only when the CLI

(self, evaluation_id: str)

Source from the content-addressed store, hash-verified

102 )
103
104 def get_evaluation(self, evaluation_id: str) -> httpx.Response:
105 """The evaluation's status and, once done, its verdict.
106
107 `can_export=1` says this CLI has `crewai eval export`, so the brief may
108 point at it. AMP passes it on to the evaluation service; an AMP from
109 before exports drops it, so the brief names the command only when the
110 CLI, AMP and the service all serve it.
111 """
112 return self._make_request(
113 "GET",
114 f"{self.EVALUATIONS_RESOURCE}/{evaluation_id}",
115 params={"can_export": "1"},
116 timeout=self.EVALUATION_POLL_TIMEOUT,
117 )
118
119 def export_evaluation(
120 self, evaluation_id: str, *, timeout: httpx.Timeout | None = None

Callers 1

_waitFunction · 0.45

Calls 1

_make_requestMethod · 0.95

Tested by

no test coverage detected