Get Evaluation Results
curl --request GET \
--url https://api.getpique.ai/v1/evaluations/results/{job_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getpique.ai/v1/evaluations/results/{job_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getpique.ai/v1/evaluations/results/{job_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getpique.ai/v1/evaluations/results/{job_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getpique.ai/v1/evaluations/results/{job_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.getpique.ai/v1/evaluations/results/{job_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getpique.ai/v1/evaluations/results/{job_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"event": "<string>",
"job_id": "<string>",
"content_id": "<string>",
"judge_id": "<string>",
"status": "<string>",
"overall_score": 123,
"detector_results": [
{}
],
"error": "<string>",
"timestamp": "<string>"
}Evaluations
Get Evaluation Results
Get evaluation results by job ID
Get Evaluation Results
curl --request GET \
--url https://api.getpique.ai/v1/evaluations/results/{job_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getpique.ai/v1/evaluations/results/{job_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getpique.ai/v1/evaluations/results/{job_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getpique.ai/v1/evaluations/results/{job_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getpique.ai/v1/evaluations/results/{job_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.getpique.ai/v1/evaluations/results/{job_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getpique.ai/v1/evaluations/results/{job_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"event": "<string>",
"job_id": "<string>",
"content_id": "<string>",
"judge_id": "<string>",
"status": "<string>",
"overall_score": 123,
"detector_results": [
{}
],
"error": "<string>",
"timestamp": "<string>"
}Authentication
Required: API Key authentication viaX-API-Key header
Overview
Retrieve evaluation results for a specific job. The response uses the same format as webhook notifications. Use thejob_id returned from the Direct Upload or Social Media endpoints.
Path Parameters
string
required
The evaluation job ID (e.g.
job_xKt9mNp2qRs3vWy7)Request Example
curl "https://api.getpique.ai/v1/evaluations/results/job_xKt9mNp2qRs3vWy7" \
-H "X-API-Key: pq_your_api_key_here"
Response
string
Event type indicating the evaluation state.Possible values:
evaluation.completed, evaluation.failed, evaluation.pendingstring
The evaluation job ID
string
The content record ID (available once processing begins)
string
The judge that evaluated the content
string
Current job status.Possible values:
awaiting_upload, pending, processing, completed, failednumber
Overall evaluation score. Only present for completed evaluations.
array
Array of individual detector results. Only present for completed evaluations.Each detector result contains:
detector_name— Name of the detectordetector_config_id— Detector configuration IDpass_check— Whether the content passed the checkscore— Detector scorerationale— Explanation of the resultmetrics— Detector-specific metricstimestamps— Flagged timestamps (seconds)flagged_frames— Flagged frame metadata
string
Error message. Only present for failed evaluations.
string
ISO 8601 timestamp of when the evaluation completed (or was created, if still pending)
Response Examples
Completed Evaluation
{
"event": "evaluation.completed",
"job_id": "job_xKt9mNp2qRs3vWy7",
"content_id": "550e8400-e29b-41d4-a716-446655440000",
"judge_id": "a1b2c3d4-e5f6-4789-9012-3456789abcde",
"status": "completed",
"overall_score": 0.85,
"detector_results": [
{
"detector_name": "video_specs",
"detector_config_id": "848b9b59-2775-4303-8912-0a6ff40b6fd6",
"pass_check": true,
"score": 1.0,
"rationale": "Video specs meet requirements: 576x1024 (9:16), 30.0fps, 38.0s",
"metrics": {
"video_specs": {
"width": 576,
"height": 1024,
"aspect_ratio": "9:16",
"fps": 30,
"duration_sec": 38.03
}
},
"timestamps": [],
"flagged_frames": []
}
],
"error": null,
"timestamp": "2025-11-12T23:16:08Z"
}
Failed Evaluation
{
"event": "evaluation.failed",
"job_id": "job_3vp2mT7dJh5vhZmpk2G_yg",
"content_id": null,
"judge_id": "9e8ed8b4-e4ff-4137-9469-11181586a9e6",
"status": "failed",
"overall_score": null,
"detector_results": null,
"error": "Media processing failed",
"timestamp": "2025-11-12T23:16:08Z"
}
Pending Evaluation
{
"event": "evaluation.pending",
"job_id": "job_xKt9mNp2qRs3vWy7",
"content_id": null,
"judge_id": "a1b2c3d4-e5f6-4789-9012-3456789abcde",
"status": "processing",
"overall_score": null,
"detector_results": null,
"error": null,
"timestamp": "2025-11-12T23:15:00Z"
}