Get Evals List

Retrieves a list of evaluations for a given dataset, with options for filtering and ordering.

Get Evals List

Retrieves a list of evaluations for a given dataset, with options for filtering and ordering.

GET https://api.futureagi.com/model-hub/eval-groups/get_evals_list/
Bearer
dataset_id *
search_text
          Click "Try It" to send a request
        

Authentication

This endpoint requires authentication. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Parameters

Path Parameters

ParameterTypeRequiredDescription
dataset_idstringYesThe UUID of the dataset for which to retrieve the evaluations.

Query Parameters

ParameterTypeRequiredDescription
search_textstringNoText to search for in the evaluation names.

Responses

200

A list of evaluations and recommendations.

  • evals: array of any
  • eval_recommendations: array of string A list of recommended evaluation categories.

400

Bad Request. Invalid parameters provided, such as a non-existent experiment ID.

401

Unauthorized. Authentication credentials were not provided or are invalid.

404

Not Found. The requested dataset does not exist.

500

Internal Server Error. An unexpected error occurred while fetching the evaluations list.

Code Examples

cURL

curl -X GET "https://api.futureagi.com/model-hub/eval-groups/get_evals_list/" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Python

import requests

url = "https://api.futureagi.com/model-hub/eval-groups/get_evals_list/"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
print(response.json())

JavaScript

const response = await fetch("https://api.futureagi.com/model-hub/eval-groups/get_evals_list/", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
});

const data = await response.json();
console.log(data);
Was this page helpful?

Questions & Discussion