BazaarLinkBazaarLink
साइन इन
दस्तावेज़API संदर्भSDK संदर्भएजेंटिक उपयोगAI स्किल्स
विषय-सूची
खाता

Tavily शोध कार्य बनाएँ

एक asynchronous research task को queue में डालता है। OpenAPI के अनुसार आवश्यक इनपुट फ़ील्ड input है (query नहीं); model mini, pro या auto हो सकता है और stream=true SSE stream लौटाता है। Bearer authentication को प्राथमिकता दें; JSON body में वैकल्पिक api_key भी समर्थित है। Research का शुल्क वास्तविक उपयोग किए गए credits के आधार पर लिया जाता है: mini की dynamic सीमा 4–110 credits और pro की 15–250 credits है; auto चुने गए tier का अनुसरण करता है। मुफ़्त allowance research पर लागू नहीं है; यह search, extract, crawl, map और :online को कवर करता है।

POST/v1/research

प्राधिकरण

Authorizationआवश्यक
string · header

Authorization हेडर में bearer token के रूप में API कुंजी।

Body

inputआवश्यक
string

जाँचा जाने वाला research task या प्रश्न। OpenAPI फ़ील्ड input है; query उसका alias नहीं है।

Example: What are the latest developments in AI?
model
string

Research agent tier: केंद्रित प्रश्नों के लिए mini, बहु-दृष्टिकोण research के लिए pro, या सेवा चयन के लिए auto।

miniproauto
Example: mini
stream
boolean

Research परिणामों को SSE के रूप में stream करना है या नहीं; डिफ़ॉल्ट false।

Example: false
output_schema
object

Research आउटपुट का JSON Schema; इसमें properties आवश्यक है और required वैकल्पिक है।

propertiesआवश्यक
object

आउटपुट ऑब्जेक्ट की प्रॉपर्टी परिभाषाएँ; हर मान JSON Schema फ़ील्ड है।

required
string[]

आउटपुट ऑब्जेक्ट में आवश्यक प्रॉपर्टी के नाम।

Example: ["company"]
citation_format
string

Research रिपोर्ट का citation format; डिफ़ॉल्ट numbered।

numberedmlaapachicago
Example: numbered
include_domains
string[]

स्रोतों की soft preference; अन्य domain फिर भी रिपोर्ट में आ सकते हैं।

maxItems: 20
Example: ["sec.gov"]
exclude_domains
string[]

स्रोत domain और उसके subdomain की hard blocklist।

maxItems: 20
Example: ["reddit.com"]
output_length
string

Response size का target; hard cap नहीं, डिफ़ॉल्ट standard।

shortstandardlong
Example: standard
files
array<object>

Base64-encoded .txt, .md या .json स्रोत; अधिकतम 5 फ़ाइल और कुल 80,000 शब्द।

maxItems: 5
nameआवश्यक
string

.txt, .md या .json एक्सटेंशन वाला फ़ाइल नाम।

Example: brief.md
dataआवश्यक
string

फ़ाइल की Base64-एन्कोडेड सामग्री।

Example: <base64-encoded file contents>
type
string

data का एन्कोडिंग; डिफ़ॉल्ट base64 है।

base64
Example: base64
api_key
string

वैकल्पिक BazaarLink body credential; Authorization: Bearer को प्राथमिकता दें, प्रमाणन के बाद फ़ील्ड हटा दी जाती है।

Example: YOUR_BAZAARLINK_API_KEY
POST /v1/research
curl -X POST https://api.bazaarlink.ai/v1/research \
  -H "Authorization: Bearer $BAZAARLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":"What are the latest developments in AI?","model":"mini"}'
प्रतिक्रिया उदाहरण

Research task queue में डाल दिया गया और request_id, created_at, pending status, input, model और response_time लौटाता है।

{
  "request_id": "123e4567-e89b-12d3-a456-426614174111",
  "created_at": "2025-01-15T10:30:00Z",
  "status": "pending",
  "input": "What are the latest developments in AI?",
  "model": "mini",
  "response_time": 1.23
}
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
Tavily शोध कार्य बनाएँ — BazaarLink API