İçeriğe geç

Agent Research

Google Deep Research modelleri uzun soluklu, araştırma odaklı ajan koşuları çalıştırır. /v1/research/runs endpoint’i üzerinden başlatılır.

Terminal window
curl https://llmtr.com/v1/research/runs \
-H "Authorization: Bearer sk_your_key" \
-H "Content-Type: application/json" \
-d '{
"model": "google/deep-research-pro-preview-12-2025",
"input": "Compare the latest frontier reasoning models for coding agents.",
"max_budget_usd": 2.00
}'
{
"id": "run_xxx",
"status": "succeeded",
"output": {
"summary": "...",
"sources": [
{ "url": "https://...", "title": "..." }
]
},
"usage": {
"prompt_tokens": 12400,
"completion_tokens": 4200,
"total_tokens": 16600
}
}
AlanAçıklama
inputAraştırma sorusu veya brief
max_budget_usdHarcama limiti
contextOpsiyonel ek bağlam (string veya file_id array)

Koşu pending dönebilir. Polling için:

Terminal window
curl https://llmtr.com/v1/research/runs/run_xxx \
-H "Authorization: Bearer sk_your_key"