Repository: confident-ai/deepeval
Issue: Error when trying to run end-to-end eval via curl
Root cause: Documentation Deficiency

I'm trying to run the code in this link for HTTP/curl request: https://documentation.confident-ai.com/docs/llm-evaluation/run-evals/end-to-end-evals#trigger-evals-in-typescript-or-https

I created my free account and updated `CONFIDENT_API_KEY` and `metricCollection` values:

```curl
curl --location 'https://deepeval.confident-ai.com/evaluate' \
--header 'Content-Type: application/json' \
--header 'CONFIDENT_API_KEY: confident_us_zn...4=' \
--data '{
    "metricCollection": "testing-cases",
    "testCases": [
        {
        "input": "What is the capital of France?",
        "actual_output": "Paris",
        "expected_output": "Paris",
        "context": ["Geography question"],
        "retrieval_context": ["Country capitals"],
        "tools_called": [],
        "expected_tools": []
        }
    ]
}'
```

But then I get the following `422 Unprocessable Entity` error:

```json
{
    "detail": [
        {
            "type": "missing",
            "loc": [
                "body",
                "testRunId"
            ],
            "msg": "Field required",
            "input": {
                "metricCollection": "testing-cases",
                "testCases": [
                    {
                        "input": "What is the capital of France?",
                        "actual_output": "Paris",
                        "expected_output": "Paris",
                        "context": [
                            "Geography question"
                        ],
                        "retrieval_context": [
                            "Country capitals"
                        ],
                        "tools_called": [],
                        "expected_tools": []
                    }
                ]
            }
        },
        {
            "type": "missing",
            "loc": [
                "body",
                "metricsSettings"
            ],
            "msg": "Field required",
            "input": {
                "metricCollection": "testing-cases",
                "testCases": [
                    {
                        "input": "What is the capital of France?",
                        "actual_output": "Paris",
                        "expected_output": "Paris",
                        "context": [
                            "Geography question"
                        ],
                        "retrieval_context": [
                            "Country capitals"
                        ],
                        "tools_called": [],
                        "expected_tools": []
                    }
                ]
            }
        }
    ]
}
```

I also tried same call via `deepeval-ts` but got the same error as well.

In section [Run Your First Evaluation](https://documentation.confident-ai.com/api/quickstart#run-your-first-evaluation), it says that for quick runs "_it is recommended that you use the POST `/v1/metric` endpoint instead_". So I did the following update:

```curl
curl --location 'https://api.confident-ai.com/v1/metric' \
--header 'Content-Type: application/json' \
--header 'CONFIDENT_API_KEY: confident_us_zn...4=' \
--data '{
        "metricCollection": "testing-cases",
        "testCases": [
          {
            "input": "What is the capital of France?",
            "actualOutput": "Paris"
          }
        ]
      }'
```

But this endpoint is return `404 Not Found` error instead.

Hey @ayrtondenner please use this docs instead, the /v1/metric is documented but not officially released: https://documentation.confident-ai.com/api/evaluation/run-evals