Get research run by ID
curl --request GET \
--url https://agent.tinyfish.ai/v1/research-run/{research_run_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://agent.tinyfish.ai/v1/research-run/{research_run_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://agent.tinyfish.ai/v1/research-run/{research_run_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://agent.tinyfish.ai/v1/research-run/{research_run_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://agent.tinyfish.ai/v1/research-run/{research_run_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://agent.tinyfish.ai/v1/research-run/{research_run_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.tinyfish.ai/v1/research-run/{research_run_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{
"research_run_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "COMPLETED",
"query": "What are the latest AI safety papers?",
"quick_result": {
"answer": "<string>",
"citations": [
"<string>"
],
"actions": [
{
"id": "<string>",
"label": "<string>",
"status": "running",
"streamingUrl": "<string>",
"kind": "plan",
"iteration": 1,
"url": "<string>",
"query": "<string>",
"details": [
"<string>"
]
}
],
"stats": {
"iterations": 123,
"sources_searched": 123,
"sources_fetched": 123,
"agent_runs": 123,
"claims_extracted": 123,
"termination_reason": "planner_done",
"subquestions_covered": 123,
"subquestions_total": 123
}
},
"quick_result_summary": "<string>",
"deep_result": {
"result": "<string>",
"citations": [
"<string>"
],
"freshness_report": {
"sources_with_dates": 1,
"sources_without_dates": 1,
"sources_in_requested_window": 1,
"filter_applied": {
"domain_type": "news",
"after_date": "2024-01-01",
"before_date": "2024-12-31",
"recency_minutes": 60
},
"latest_published_date": "<string>",
"fetched_at_latest": "<string>"
},
"termination_reason": "planner_done",
"follow_up_suggestions": [
"<string>"
]
},
"run_ids": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
],
"created_at": "2026-01-01T12:00:00Z",
"completed_at": "2026-01-01T12:05:00Z",
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"research_plan": {
"summary": "<string>",
"subquestions": [
{
"id": "<string>",
"question": "<string>",
"priority": "high"
}
],
"search_queries": [
"<string>"
],
"done": true,
"review": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"expiresAt": 1,
"feedback": "<string>",
"resolvedAt": 1
}
},
"evidence": [
{
"url": "<string>",
"title": "<string>",
"subquestions_covered": [
"<string>"
],
"claims": [
{
"claim": "<string>",
"snippet": "<string>",
"subquestion_id": "<string>",
"confidence": "high",
"claim_type": "fact"
}
],
"source_quality": "primary",
"language": "<string>",
"published_date": "<string>",
"fetched_at": "<string>",
"live_fetch": true,
"access_method": "fetch",
"discovered_by_queries": [
"<string>"
],
"search_filters": {
"after_date": "<string>",
"before_date": "<string>",
"recency_minutes": 123
}
}
],
"iterations": 3
}{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}API Reference
Get research run by ID
Retrieve one saved research run, including the plan, evidence, and per-iteration working state.
GET
/
v1
/
research-run
/
{research_run_id}
Get research run by ID
curl --request GET \
--url https://agent.tinyfish.ai/v1/research-run/{research_run_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://agent.tinyfish.ai/v1/research-run/{research_run_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://agent.tinyfish.ai/v1/research-run/{research_run_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://agent.tinyfish.ai/v1/research-run/{research_run_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://agent.tinyfish.ai/v1/research-run/{research_run_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://agent.tinyfish.ai/v1/research-run/{research_run_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.tinyfish.ai/v1/research-run/{research_run_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{
"research_run_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "COMPLETED",
"query": "What are the latest AI safety papers?",
"quick_result": {
"answer": "<string>",
"citations": [
"<string>"
],
"actions": [
{
"id": "<string>",
"label": "<string>",
"status": "running",
"streamingUrl": "<string>",
"kind": "plan",
"iteration": 1,
"url": "<string>",
"query": "<string>",
"details": [
"<string>"
]
}
],
"stats": {
"iterations": 123,
"sources_searched": 123,
"sources_fetched": 123,
"agent_runs": 123,
"claims_extracted": 123,
"termination_reason": "planner_done",
"subquestions_covered": 123,
"subquestions_total": 123
}
},
"quick_result_summary": "<string>",
"deep_result": {
"result": "<string>",
"citations": [
"<string>"
],
"freshness_report": {
"sources_with_dates": 1,
"sources_without_dates": 1,
"sources_in_requested_window": 1,
"filter_applied": {
"domain_type": "news",
"after_date": "2024-01-01",
"before_date": "2024-12-31",
"recency_minutes": 60
},
"latest_published_date": "<string>",
"fetched_at_latest": "<string>"
},
"termination_reason": "planner_done",
"follow_up_suggestions": [
"<string>"
]
},
"run_ids": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
],
"created_at": "2026-01-01T12:00:00Z",
"completed_at": "2026-01-01T12:05:00Z",
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"research_plan": {
"summary": "<string>",
"subquestions": [
{
"id": "<string>",
"question": "<string>",
"priority": "high"
}
],
"search_queries": [
"<string>"
],
"done": true,
"review": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"expiresAt": 1,
"feedback": "<string>",
"resolvedAt": 1
}
},
"evidence": [
{
"url": "<string>",
"title": "<string>",
"subquestions_covered": [
"<string>"
],
"claims": [
{
"claim": "<string>",
"snippet": "<string>",
"subquestion_id": "<string>",
"confidence": "high",
"claim_type": "fact"
}
],
"source_quality": "primary",
"language": "<string>",
"published_date": "<string>",
"fetched_at": "<string>",
"live_fetch": true,
"access_method": "fetch",
"discovered_by_queries": [
"<string>"
],
"search_filters": {
"after_date": "<string>",
"before_date": "<string>",
"recency_minutes": 123
}
}
],
"iterations": 3
}{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}Authorizations
Path Parameters
Response
Research run
Was this page helpful?