curl --request GET \
--url https://api.getoneprofile.ai/outreach-tasks/length/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/outreach-tasks/length/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/outreach-tasks/length/', 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.getoneprofile.ai/outreach-tasks/length/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/outreach-tasks/length/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.getoneprofile.ai/outreach-tasks/length/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/outreach-tasks/length/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ask_reasons": [
"low_confidence"
],
"count": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Count the approval queue
How many tasks the list’s filters select, for the Tasks page’s total, and the reasons the tasks every other filter selects wait for a person, for its Why it needs approval filter. Takes exactly the list’s filters.
curl --request GET \
--url https://api.getoneprofile.ai/outreach-tasks/length/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/outreach-tasks/length/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/outreach-tasks/length/', 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.getoneprofile.ai/outreach-tasks/length/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/outreach-tasks/length/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.getoneprofile.ai/outreach-tasks/length/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/outreach-tasks/length/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ask_reasons": [
"low_confidence"
],
"count": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Query Parameters
Only these statuses; repeat the parameter for several. Defaults to pending.
Where one task stands.
PENDING is waiting on a person. SCHEDULED is approved, or never needed approval, and is waiting on the channel to execute it: the browser to run the LinkedIn step, the engine to send the email. The task is where a LinkedIn step's approval lives: while it is PENDING no step exists, and the step is queued only once it is SCHEDULED. A LinkedIn task nobody is asked about (a sender on automatic, a housekeeping read, a Try click) is BORN scheduled, pointing at the step it queued. Who approved it is a stamp on the row, not a status of its own.
DONE, REJECTED and CANCELLED are terminal. DONE is the channel executed it; REJECTED is a person refused it; CANCELLED is the channel gave up on it (failed, skipped, expired), or the contact was stopped underneath it.
pending, scheduled, done, rejected, cancelled Only these channels; omit for every channel.
Which channel performs the task once it is allowed to run.
BROWSER is the one channel that performs nothing: a Browser use run
that settled on Needs human leaves a task for a person to pick up what the
agent could not do (BU-08). Its contact already went on down the Needs
human arm, so the task is a to-do with one verb, done, and no approval or
rejection reaches it.
linkedin, email, browser Only tasks held for a person for one of these reasons (repeatable): the Tasks page's Why it needs approval. Omit for every reason.
Why a message that could have sent unattended was put in front of a person.
One vocabulary for every gate between an agent writing a message and the
message leaving: what the agent itself said about the draft
(LOW_CONFIDENCE, FINDINGS, INSUFFICIENT_DATA, POLICY), what
the sender or the cadence asked for (ALWAYS_ASK, SEQUENCE_MANUAL,
STEP_REQUIRES_APPROVAL), what the pacing rules refused
(DAILY_CAP, CONSECUTIVE_CAP, THREAD_CAP, HOURLY_CAP,
ORG_DAILY_CAP), what the mailbox or the thread made unsafe
(UNVERIFIED_SENDER, DIFFERENT_SENDER, LABEL, QUESTION,
STALE_INBOUND, SEQUENCE_GONE), and what the counterparty turned out to be
(BOT_QUESTION, AUTOMATED_COUNTERPARTY, AUTHENTICATION,
LANGUAGE, LINKEDIN_ONLY). KILL_SWITCH is the platform switch
that stops unattended sending outright, and SEND_INTERRUPTED an
unattended reply whose send never got as far as a provider.
SENDER_SWITCHED_TO_MANUAL is a LinkedIn step queued unasked that went
back to a person because its sender switched to manual before it ran.
MODEL_CHANGED is one of the first few messages a sequence would have
sent unattended after the AI model that writes it changed.
Stored on the task so the queue can say why each row is there, and so "why did nothing send" is answerable by counting rows rather than by reading logs.
low_confidence, findings, insufficient_data, policy, always_ask, sequence_manual, step_requires_approval, daily_cap, unverified_sender, suppressed, different_sender, label, question, consecutive_cap, thread_cap, hourly_cap, org_daily_cap, stale_inbound, sequence_gone, bot_question, automated_counterparty, kill_switch, authentication, language, linkedin_only, send_interrupted, sender_switched_to_manual, never_say, model_changed Our own LinkedIn reads of the sender's account (the inbox, sent connection requests, new connections, one conversation): approved by nobody, acting on nobody, so left out by default (hide); include lists them with the rest, only alone. Activity lists the ones that ran.
hide, include, only The tasks the agent is writing again after a Needs work, or another version. Meanwhile each reads status cancelled, outcome regenerated, and progress.state writing (or why the write waits), and the same task comes back pending with the new words. By default (hide) they are listed only where status asks for cancelled; include lists them in their place among the statuses asked for, only alone, whatever status says. Every other filter still applies. A task whose rewrite ended, its contact stopped or moved on, is not one of them, nor is one nobody can act on: paused, held (the sending window, a sender with no mailbox or LinkedIn account) or failed past a retry. It comes back when the engine asks again with the new words.
hide, include, only Leave these tasks out (repeatable), whatever else they match: the ones a page has just decided while the decision is still on its way, so a page read meanwhile is a whole page of the rest and its cursors are cut on the rows it shows. Omit for none.
100Response
Successful Response
How many tasks the queue's filters select, and why: the footer and Why it needs approval.
Why the tasks every other filter selects are held for a person, the reasons Why it needs approval can narrow them to: ask_reason itself is left out of this read, so picking one never hides the others. Empty when none of them carries a reason.
Why a message that could have sent unattended was put in front of a person.
One vocabulary for every gate between an agent writing a message and the
message leaving: what the agent itself said about the draft
(LOW_CONFIDENCE, FINDINGS, INSUFFICIENT_DATA, POLICY), what
the sender or the cadence asked for (ALWAYS_ASK, SEQUENCE_MANUAL,
STEP_REQUIRES_APPROVAL), what the pacing rules refused
(DAILY_CAP, CONSECUTIVE_CAP, THREAD_CAP, HOURLY_CAP,
ORG_DAILY_CAP), what the mailbox or the thread made unsafe
(UNVERIFIED_SENDER, DIFFERENT_SENDER, LABEL, QUESTION,
STALE_INBOUND, SEQUENCE_GONE), and what the counterparty turned out to be
(BOT_QUESTION, AUTOMATED_COUNTERPARTY, AUTHENTICATION,
LANGUAGE, LINKEDIN_ONLY). KILL_SWITCH is the platform switch
that stops unattended sending outright, and SEND_INTERRUPTED an
unattended reply whose send never got as far as a provider.
SENDER_SWITCHED_TO_MANUAL is a LinkedIn step queued unasked that went
back to a person because its sender switched to manual before it ran.
MODEL_CHANGED is one of the first few messages a sequence would have
sent unattended after the AI model that writes it changed.
Stored on the task so the queue can say why each row is there, and so "why did nothing send" is answerable by counting rows rather than by reading logs.
low_confidence, findings, insufficient_data, policy, always_ask, sequence_manual, step_requires_approval, daily_cap, unverified_sender, suppressed, different_sender, label, question, consecutive_cap, thread_cap, hourly_cap, org_daily_cap, stale_inbound, sequence_gone, bot_question, automated_counterparty, kill_switch, authentication, language, linkedin_only, send_interrupted, sender_switched_to_manual, never_say, model_changed Was this page helpful?