To get JSON evaluation results from the DigitalOcean Gradient AI API, follow these steps:
https://api.digitalocean.com/v2/gen-ai/evaluation_test_cases
https://api.digitalocean.com/v2/gen-ai/evaluation_test_cases/<test-case-id>/evaluation_runs
https://api.digitalocean.com/v2/gen-ai/evaluation_runs/<run-id>/results
For detailed API documentation, see the DigitalOcean API Reference.
You can generate a DigitalOcean personal access token at https://cloud.digitalocean.com/account/api/tokens and scope it with the genai:read permission.
You can either fetch evaluation results directly using your API token below, or download the JSON file from the API endpoint above and upload it in the file upload section.
Use your DigitalOcean API token to list evaluation test cases, choose an evaluation run, and load its results directly into this viewer. Your token is used only in your browser and is not stored.
You can generate a personal access token at https://cloud.digitalocean.com/account/api/tokens and scope it with the genai:read permission.