Deep Research
Advanced research operations
Retrieves all deep research requests made by the authenticated user
Successfully retrieved deep research requests
GET /deep-research/research HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Successfully retrieved deep research requests
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"requestedOn": "2024-01-15T10:30:00Z",
"succeededOn": "2024-01-15T10:35:00Z",
"status": 100,
"errorOn": null,
"errorMessage": null,
"errorCode": 0,
"prompt": "What are the latest developments in artificial intelligence?",
"outputType": "json",
"jsonFormat": "{\"summary\":\"\",\"keyInsights\":[]}",
"isScheduleTemplate": true,
"scheduleId": "550e8400-e29b-41d4-a716-446655440000",
"dailyCount": 2,
"scheduleEndDate": "2024-12-31T23:59:59Z",
"lastScheduleExecutionOn": "2024-01-16T09:00:00Z",
"nextScheduleExecutionOn": "2024-01-16T12:00:00Z"
}
]
Conducts advanced research on the provided text query and returns results in the specified output format
The research query text
What are the latest developments in artificial intelligence?
The format of the output result. When set to json, the response is serialized JSON.
json
Possible values: Optional instructions or template describing the JSON structure to generate.
{ "summary": "", "keyFindings": [], "sources": [] }
The AI provider to use for research (defaults to gemini)
gemini
Possible values: Optional array of project IDs to add context from their descriptions
["proj-123","proj-456"]
Optional callback data to be returned with the response
user-specific-data
If true, creates a recurring schedule instead of a one-time request
false
Number of times per day to execute the research (default 1, only used when isScheduled is true)
2
Optional end date for the schedule (only used when isScheduled is true). If not provided, schedule runs indefinitely.
2024-12-31T23:59:59Z
Research request or schedule submitted successfully
Bad request - validation error or unauthorized access
Unauthorized - invalid or missing token
Internal server error
POST /deep-research/research HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 347
{
"text": "What are the latest developments in artificial intelligence?",
"outputType": "json",
"jsonFormat": "{\n \"summary\": \"\",\n \"keyFindings\": [],\n \"sources\": []\n}\n",
"provider": "gemini",
"projectIds": [
"proj-123",
"proj-456"
],
"callbackData": "user-specific-data",
"isScheduled": false,
"dailyCount": 2,
"scheduleEndDate": "2024-12-31T23:59:59Z"
}
{
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
Retrieves a single deep research request by its unique ID
The ID of the deep research request to retrieve
Successfully retrieved deep research request
Deep research request not found
Internal server error
GET /deep-research/research/{id} HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"requestedOn": "2024-01-15T10:30:00Z",
"succeededOn": "2024-01-15T10:35:00Z",
"status": 100,
"errorOn": null,
"errorMessage": null,
"errorCode": 0,
"prompt": "What are the latest developments in artificial intelligence?",
"outputType": "json",
"jsonFormat": "{\"summary\":\"\",\"keyInsights\":[]}",
"isScheduleTemplate": true,
"scheduleId": "550e8400-e29b-41d4-a716-446655440000",
"dailyCount": 2,
"scheduleEndDate": "2024-12-31T23:59:59Z",
"lastScheduleExecutionOn": "2024-01-16T09:00:00Z",
"nextScheduleExecutionOn": "2024-01-16T12:00:00Z",
"responseText": "{\"summary\":\"AI advancements\",\"keyInsights\":[\"...\"]}"
}
Returns all recurring deep research templates for the authenticated user with their configuration and scheduling details.
Successfully retrieved recurring templates
Bad request - amateur subscription
Unauthorized - invalid or missing token
Internal server error
GET /deep-research/recurring HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"templates": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"text": "Latest developments in quantum computing",
"provider": "gemini",
"outputType": "json",
"jsonFormat": "{\"summary\":\"\",\"takeaways\":[]}",
"deletedOn": null,
"callbackData": "user-data-123",
"dailyCount": 2,
"scheduleEndDate": "2024-12-31T23:59:59Z",
"lastRunAt": "2024-01-15T10:30:00Z",
"nextRunAt": "2024-01-15T14:30:00Z",
"createdOn": "2024-01-01T00:00:00Z"
}
]
}
Updates specific fields of a recurring template. Can be used to pause/resume, change frequency, update end date, or modify the research text.
The unique ID of the recurring template to update
550e8400-e29b-41d4-a716-446655440000
New research query text
Updated research on AI ethics
New number of executions per day
3
New end date for the recurring executions (null to remove end date)
2025-01-31T23:59:59Z
Set to false to pause the recurring template, true to resume
false
Recurring template updated successfully
Bad request - validation error or amateur subscription
Unauthorized - invalid or missing token
Recurring template not found or unauthorized
Internal server error
POST /deep-research/recurring/{id} HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"text": "Updated research on AI ethics",
"dailyCount": 3,
"scheduleEndDate": "2025-01-31T23:59:59Z",
"isActive": false
}
{
"success": true,
"message": "Recurring template updated successfully",
"template": {}
}