Get Evaluation Log Details

Retrieves detailed logs for a specific evaluation template, with support for advanced filtering, sorting, and pagination. This endpoint uses a GET req...

Get Evaluation Log Details

Retrieves detailed logs for a specific evaluation template, with support for advanced filtering, sorting, and pagination. This endpoint uses a GET request with a request body to handle complex filtering and sorting configurations.

GET https://api.futureagi.com/model-hub/get-eval-logs-details/
Bearer
eval_template_id *
page_size
current_page_index
source
search
          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

Query Parameters

ParameterTypeRequiredDescription
eval_template_idstringYesThe UUID of the evaluation template to retrieve logs for.
page_sizeintegerNoThe number of log entries to return per page.
current_page_indexintegerNoThe index of the page to retrieve.
sourcestringNoThe source of the logs to filter by.
searchstringNoA search term to filter log data across all columns.

Request Body

  • filters: array of any A list of filters to apply to the log data.
  • sort: array of any A list of sorting configurations to apply.

Example

{
  "filters": [],
  "sort": []
}

Responses

200

Successfully retrieved the evaluation log details.

400

Bad Request. The request is missing the ‘eval_template_id’ or contains invalid parameters.

401

Unauthorized. Authentication credentials were not provided or are invalid.

500

Internal Server Error. An unexpected error occurred while fetching the log details.

Code Examples

cURL

curl -X GET "https://api.futureagi.com/model-hub/get-eval-logs-details/" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filters": [], "sort": []}'

Python

import requests

url = "https://api.futureagi.com/model-hub/get-eval-logs-details/"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}
data = {
    "filters": [],
    "sort": []
}

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

JavaScript

const response = await fetch("https://api.futureagi.com/model-hub/get-eval-logs-details/", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "filters": [],
    "sort": []
})
});

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

Questions & Discussion