curl -X POST https://win.oneshotagent.com/v1/tools/research \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"topic": "Latest developments in AI agent frameworks",
"depth": "deep"
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/research", {
method: "POST",
headers: {
"Content-Type": "application/json",
"payment-signature": paymentProof,
},
body: JSON.stringify({
topic: "Latest developments in AI agent frameworks",
depth: "deep",
}),
});
{
"request_id": "req_research_xyz",
"status": "pending",
"tool": "research",
"message": "Job queued successfully."
}
Research & Enrich
Deep Research
Research a topic and get a report with citations
POST
/
v1
/
tools
/
research
curl -X POST https://win.oneshotagent.com/v1/tools/research \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"topic": "Latest developments in AI agent frameworks",
"depth": "deep"
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/research", {
method: "POST",
headers: {
"Content-Type": "application/json",
"payment-signature": paymentProof,
},
body: JSON.stringify({
topic: "Latest developments in AI agent frameworks",
depth: "deep",
}),
});
{
"request_id": "req_research_xyz",
"status": "pending",
"tool": "research",
"message": "Job queued successfully."
}
Researches a topic or question and returns a markdown report with citations. The call is async: it returns a job ID, and you poll for the report. Choose quick or deep depth.
Authentication
Requires x402 payment in thepayment-signature header.
Request Body
Response
curl -X POST https://win.oneshotagent.com/v1/tools/research \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"topic": "Latest developments in AI agent frameworks",
"depth": "deep"
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/research", {
method: "POST",
headers: {
"Content-Type": "application/json",
"payment-signature": paymentProof,
},
body: JSON.stringify({
topic: "Latest developments in AI agent frameworks",
depth: "deep",
}),
});
{
"request_id": "req_research_xyz",
"status": "pending",
"tool": "research",
"message": "Job queued successfully."
}
Research Depths
quick: 5-10 sources, 2-3 minutesdeep: 20+ sources, 5-10 minutes
Notes
- The result is a markdown report with citations
- Sources are verified and ranked by relevance
- Poll job status with the
request_id - Completed jobs include
report_gcs_uri: ags://URI for ordinary jobs, or an authenticated/v1/org/artifacts/:jobId?object=…URL for jobs with private storage. Request a private reference with your org session to obtain a short-liveddownload_url, then use the same session to download it. - Agent path: the agent that owns the goal fetches the same private artifact with its
own credential through
GET /v1/compute/:goalId/artifacts/:jobId?object=…. The response is{ download_url, expires_at }; fetchdownload_urlwith the same credential within five minutes. Only the goal’s own agent, in the artifact’s org, is admitted; a revoked or expired credential and an expired link are refused, and each issuance and download is written to the org audit log.