Retrieve statuses of all evaluation jobs
curl --request GET \
--url https://api.scale.com/v2/autoevals/statuses \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scale.com/v2/autoevals/statuses"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.scale.com/v2/autoevals/statuses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.scale.com/v2/autoevals/statuses"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.scale.com/v2/autoevals/statuses")
.header("Authorization", "Bearer <token>")
.asString();[
{
"jobId": "<string>",
"status": "Pending",
"libraryName": "<string>",
"libraryVersion": "<string>",
"evaluationOptions": {},
"modelVersionConfig": "<string>",
"modelParams": {},
"createdAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
]{
"status_code": 500,
"error": "Internal server error."
}Evaluation
Retrieve statuses of all evaluation jobs
Fetches the status of all evaluation jobs.
GET
/
v2
/
autoevals
/
statuses
Retrieve statuses of all evaluation jobs
curl --request GET \
--url https://api.scale.com/v2/autoevals/statuses \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scale.com/v2/autoevals/statuses"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.scale.com/v2/autoevals/statuses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.scale.com/v2/autoevals/statuses"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.scale.com/v2/autoevals/statuses")
.header("Authorization", "Bearer <token>")
.asString();[
{
"jobId": "<string>",
"status": "Pending",
"libraryName": "<string>",
"libraryVersion": "<string>",
"evaluationOptions": {},
"modelVersionConfig": "<string>",
"modelParams": {},
"createdAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
]{
"status_code": 500,
"error": "Internal server error."
}Authorizations
bearerAuthbasicAuth
Your API Key is the Bearer token. See the Authentication section to learn how to access your key.
Response
Successfully retrieved job statuses.
Unique identifier for the evaluation job.
Current job status.
Available options:
Pending, InProgress, Errored, Completed Name of the evaluation library.
Version of the evaluation library.
Options used for evaluation.
ID of the Model Version Config
Model params overrides.
Timestamp when the job was created.
Timestamp when the job was completed.

