cURL
curl --request GET \ --url https://api.example.com/api/v2/projects/{project_id}/evaluation-criteria/id/{criteria_id} \ --header 'Content-Type: application/json' \ --data '{}'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "type": "<string>", "target_type": "prompt", "target_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "latest_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "is_enabled": true }
The body is of type EmptyRequest · object.
EmptyRequest · object
EvaluationCriteriaInfo(id: uuid.UUID, name: str, type: str, target_type: shared.common.EvalTargetType, target_id: uuid.UUID, latest_version_id: Optional[uuid.UUID], is_enabled: bool)
prompt
agent