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.
https://api.futureagi.com/model-hub/get-eval-logs-details/ 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
| Parameter | Type | Required | Description |
|---|---|---|---|
eval_template_id | string | Yes | The UUID of the evaluation template to retrieve logs for. |
page_size | integer | No | The number of log entries to return per page. |
current_page_index | integer | No | The index of the page to retrieve. |
source | string | No | The source of the logs to filter by. |
search | string | No | A 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);