Deep Search Status
curl --request GET \
--url https://api.sixtyfour.ai/search/deep-search-status/{task_id}import requests
url = "https://api.sixtyfour.ai/search/deep-search-status/{task_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sixtyfour.ai/search/deep-search-status/{task_id}', 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/search/deep-search-status/{task_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sixtyfour.ai/search/deep-search-status/{task_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sixtyfour.ai/search/deep-search-status/{task_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/search/deep-search-status/{task_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"status": "<string>",
"start_time": "<string>",
"current_phase": 123,
"progress_message": "<string>",
"close_time": "<string>",
"resource_handle_id": "<string>",
"total_results": 123,
"exported_count": 123,
"error": "<string>",
"search_id": "<string>",
"iterations": [
{}
]
}{
"detail": "Invalid request body"
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient API credits"
}{
"detail": "Forwarded user_id does not belong to your organization."
}{
"detail": "Search not found or has no parsed_query."
}{
"detail": "Export workflow is already running for this search."
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded"
}{
"detail": "Internal server error"
}{
"detail": "NL upstream transport error: connection reset by peer"
}{
"detail": "Company search backend endpoint is not configured"
}{
"detail": "Field values request timed out"
}Search
Deep Search Status
Poll the status of a deep search task and retrieve results when complete.
GET
/
search
/
deep-search-status
/
{task_id}
Deep Search Status
curl --request GET \
--url https://api.sixtyfour.ai/search/deep-search-status/{task_id}import requests
url = "https://api.sixtyfour.ai/search/deep-search-status/{task_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sixtyfour.ai/search/deep-search-status/{task_id}', 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/search/deep-search-status/{task_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sixtyfour.ai/search/deep-search-status/{task_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sixtyfour.ai/search/deep-search-status/{task_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/search/deep-search-status/{task_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"status": "<string>",
"start_time": "<string>",
"current_phase": 123,
"progress_message": "<string>",
"close_time": "<string>",
"resource_handle_id": "<string>",
"total_results": 123,
"exported_count": 123,
"error": "<string>",
"search_id": "<string>",
"iterations": [
{}
]
}{
"detail": "Invalid request body"
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient API credits"
}{
"detail": "Forwarded user_id does not belong to your organization."
}{
"detail": "Search not found or has no parsed_query."
}{
"detail": "Export workflow is already running for this search."
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded"
}{
"detail": "Internal server error"
}{
"detail": "NL upstream transport error: connection reset by peer"
}{
"detail": "Company search backend endpoint is not configured"
}{
"detail": "Field values request timed out"
}Headers
Path Parameters
Response
Successful Response
Response for checking agentic search status.
Async task ID being queried.
Current status (e.g. queued, running, completed, failed).
Timestamp when the task started.
Current pipeline phase index.
Human-readable progress message.
Timestamp when the task finished.
Handle for downloading exported results.
Total results found.
Number of results actually exported.
Error message if the operation failed.
Search history ID returned by a previous search. Replays only the query shape; pass exclusions again on this request if they should apply.
Per-iteration debug data emitted by the agent.
Was this page helpful?
⌘I