Tools

Researcher

Beta
POST

Request

This endpoint expects an object.
query
stringRequired
max_sections
integerRequired
guidelines
list of stringsRequired
publish_formats
objectOptional

Response

This endpoint returns an object
response
map from strings to any
POST
1curl -X POST https://api.athenaintelligence.ai/api/v0/tools/researcher \
2 -H "X-API-KEY: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "query": "Write a report about the company Athena Intelligence.",
6 "max_sections": 10,
7 "guidelines": [
8 "The report MUST be written in APA format",
9 "Each sub section MUST include supporting sources using hyperlinks. If none exist, erase the sub section or rewrite it to be a part of the previous section",
10 "The report MUST be written in english"
11 ],
12 "publish_formats": {
13 "markdown": false,
14 "pdf": true,
15 "docx": false
16 }
17}'
200Successful
1{
2 "response": {
3 "workflow_id": "workflow_5f6eeb00-86e5-41b2-8e1d-49415f34ccc4"
4 }
5}