curl --request POST \
--url https://api.sixtyfour.ai/v1/atlas/investigations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"lead_info": {},
"engine": "xhigh",
"research_plan": "<string>",
"struct": {},
"relentless": true,
"max_credits": 123,
"max_minutes": 725,
"dispatch_id": "<string>",
"name": "<string>",
"private": false
}
'import requests
url = "https://api.sixtyfour.ai/v1/atlas/investigations"
payload = {
"lead_info": {},
"engine": "xhigh",
"research_plan": "<string>",
"struct": {},
"relentless": True,
"max_credits": 123,
"max_minutes": 725,
"dispatch_id": "<string>",
"name": "<string>",
"private": False
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
lead_info: {},
engine: 'xhigh',
research_plan: '<string>',
struct: {},
relentless: true,
max_credits: 123,
max_minutes: 725,
dispatch_id: '<string>',
name: '<string>',
private: false
})
};
fetch('https://api.sixtyfour.ai/v1/atlas/investigations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sixtyfour.ai/v1/atlas/investigations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'lead_info' => [
],
'engine' => 'xhigh',
'research_plan' => '<string>',
'struct' => [
],
'relentless' => true,
'max_credits' => 123,
'max_minutes' => 725,
'dispatch_id' => '<string>',
'name' => '<string>',
'private' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sixtyfour.ai/v1/atlas/investigations"
payload := strings.NewReader("{\n \"lead_info\": {},\n \"engine\": \"xhigh\",\n \"research_plan\": \"<string>\",\n \"struct\": {},\n \"relentless\": true,\n \"max_credits\": 123,\n \"max_minutes\": 725,\n \"dispatch_id\": \"<string>\",\n \"name\": \"<string>\",\n \"private\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sixtyfour.ai/v1/atlas/investigations")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"lead_info\": {},\n \"engine\": \"xhigh\",\n \"research_plan\": \"<string>\",\n \"struct\": {},\n \"relentless\": true,\n \"max_credits\": 123,\n \"max_minutes\": 725,\n \"dispatch_id\": \"<string>\",\n \"name\": \"<string>\",\n \"private\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/v1/atlas/investigations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"lead_info\": {},\n \"engine\": \"xhigh\",\n \"research_plan\": \"<string>\",\n \"struct\": {},\n \"relentless\": true,\n \"max_credits\": 123,\n \"max_minutes\": 725,\n \"dispatch_id\": \"<string>\",\n \"name\": \"<string>\",\n \"private\": false\n}"
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"status": "<string>",
"investigation": {
"id": "<string>",
"workspace_url": "<string>"
}
}{
"detail": "Invalid request body",
"code": "bad_request",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Invalid API key",
"code": "unauthenticated",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Insufficient API credits",
"code": "payment_required",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "This organization no longer has access to Sixtyfour. Contact your representative at Sixtyfour.",
"code": "forbidden",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
],
"code": "invalid_request",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Rate limit exceeded: 120 requests per minute. Retry after 1 second.",
"code": "rate_limited",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Internal server error",
"code": "internal_error",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Could not verify the API key right now. Retry shortly.",
"code": "unavailable",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}Start an investigation
Start researching a subject in a new Atlas investigation.
The investigation is returned at once, so its workspace and graph can be read while the run works. It belongs to your credential’s team, which decides who else can see it.
curl --request POST \
--url https://api.sixtyfour.ai/v1/atlas/investigations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"lead_info": {},
"engine": "xhigh",
"research_plan": "<string>",
"struct": {},
"relentless": true,
"max_credits": 123,
"max_minutes": 725,
"dispatch_id": "<string>",
"name": "<string>",
"private": false
}
'import requests
url = "https://api.sixtyfour.ai/v1/atlas/investigations"
payload = {
"lead_info": {},
"engine": "xhigh",
"research_plan": "<string>",
"struct": {},
"relentless": True,
"max_credits": 123,
"max_minutes": 725,
"dispatch_id": "<string>",
"name": "<string>",
"private": False
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
lead_info: {},
engine: 'xhigh',
research_plan: '<string>',
struct: {},
relentless: true,
max_credits: 123,
max_minutes: 725,
dispatch_id: '<string>',
name: '<string>',
private: false
})
};
fetch('https://api.sixtyfour.ai/v1/atlas/investigations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sixtyfour.ai/v1/atlas/investigations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'lead_info' => [
],
'engine' => 'xhigh',
'research_plan' => '<string>',
'struct' => [
],
'relentless' => true,
'max_credits' => 123,
'max_minutes' => 725,
'dispatch_id' => '<string>',
'name' => '<string>',
'private' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sixtyfour.ai/v1/atlas/investigations"
payload := strings.NewReader("{\n \"lead_info\": {},\n \"engine\": \"xhigh\",\n \"research_plan\": \"<string>\",\n \"struct\": {},\n \"relentless\": true,\n \"max_credits\": 123,\n \"max_minutes\": 725,\n \"dispatch_id\": \"<string>\",\n \"name\": \"<string>\",\n \"private\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sixtyfour.ai/v1/atlas/investigations")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"lead_info\": {},\n \"engine\": \"xhigh\",\n \"research_plan\": \"<string>\",\n \"struct\": {},\n \"relentless\": true,\n \"max_credits\": 123,\n \"max_minutes\": 725,\n \"dispatch_id\": \"<string>\",\n \"name\": \"<string>\",\n \"private\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/v1/atlas/investigations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"lead_info\": {},\n \"engine\": \"xhigh\",\n \"research_plan\": \"<string>\",\n \"struct\": {},\n \"relentless\": true,\n \"max_credits\": 123,\n \"max_minutes\": 725,\n \"dispatch_id\": \"<string>\",\n \"name\": \"<string>\",\n \"private\": false\n}"
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"status": "<string>",
"investigation": {
"id": "<string>",
"workspace_url": "<string>"
}
}{
"detail": "Invalid request body",
"code": "bad_request",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Invalid API key",
"code": "unauthenticated",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Insufficient API credits",
"code": "payment_required",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "This organization no longer has access to Sixtyfour. Contact your representative at Sixtyfour.",
"code": "forbidden",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
],
"code": "invalid_request",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Rate limit exceeded: 120 requests per minute. Retry after 1 second.",
"code": "rate_limited",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Internal server error",
"code": "internal_error",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}{
"detail": "Could not verify the API key right now. Retry shortly.",
"code": "unavailable",
"correlation_id": "enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21"
}Authorizations
Your Sixtyfour API key.
Body
Who to investigate, e.g. {"name": "Jane Doe", "company": "Acme"}.
Research engine. GET /v1/atlas/access reports which ones this organization may run, and what each costs.
xhigh, scout Direction for this run. On a continue, what to look into next.
100000Optional output schema. Atlas researches open-endedly into the workspace either way.
Research until the budget runs out (the Atlas default). Set false to let a run with struct stop once every field is answered, charging the turns it used (at least one unit).
How much research to buy, in credits (default: one unit of the engine price), up to 10 units. See Credits & Pricing.
The most minutes of research time; waiting to retry does not count. When reached, the run writes up its findings, which can take a few minutes, and is charged only for the research it used. Default: no limit.
10 <= x <= 1440An idempotency key you generate. A retry with the same key returns the run already started instead of starting and charging a second one.
8 - 128Title for the investigation. Derived from lead_info when unset.
1000Visible only to you, not your team. With an API key, the run is private to the person who created the key. Your team must allow private runs.
Was this page helpful?