Get the caller's saved Recommendations tester draft
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/me/recommendations-draft \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/me/recommendations-draft"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/me/recommendations-draft', 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.orbit.devotel.io/api/v1/me/recommendations-draft",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.orbit.devotel.io/api/v1/me/recommendations-draft"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.orbit.devotel.io/api/v1/me/recommendations-draft")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/me/recommendations-draft")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"draft": {
"catalog": [
{
"product_id": "<string>",
"title": "<string>",
"category": "<string>",
"brand": "<string>",
"price": 123,
"tags": "<string>",
"in_stock": true
}
],
"signals": [
{
"type": "<string>",
"category": "<string>",
"brand": "<string>",
"product_id": "<string>",
"age_days": 123,
"value": 123
}
],
"profileId": "<string>",
"limitRaw": "<string>",
"halfLifeRaw": "<string>",
"suppressPurchased": true,
"weightsRaw": {
"category": "<string>",
"brand": "<string>",
"tag": "<string>",
"price_fit": "<string>",
"popularity": "<string>"
}
}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": "<unknown>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Account
Get the caller's saved Recommendations tester draft
Returns the authenticated user’s saved Audience → Recommendations tester draft — the candidate catalog, profile signals, and scoring controls the operator was editing. draft is null when nothing has been saved yet. The draft is saved to your account, so it survives clearing your browser or signing in from another device.
GET
/
api
/
v1
/
me
/
recommendations-draft
Get the caller's saved Recommendations tester draft
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/me/recommendations-draft \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/me/recommendations-draft"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/me/recommendations-draft', 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.orbit.devotel.io/api/v1/me/recommendations-draft",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.orbit.devotel.io/api/v1/me/recommendations-draft"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.orbit.devotel.io/api/v1/me/recommendations-draft")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/me/recommendations-draft")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"draft": {
"catalog": [
{
"product_id": "<string>",
"title": "<string>",
"category": "<string>",
"brand": "<string>",
"price": 123,
"tags": "<string>",
"in_stock": true
}
],
"signals": [
{
"type": "<string>",
"category": "<string>",
"brand": "<string>",
"product_id": "<string>",
"age_days": 123,
"value": 123
}
],
"profileId": "<string>",
"limitRaw": "<string>",
"halfLifeRaw": "<string>",
"suppressPurchased": true,
"weightsRaw": {
"category": "<string>",
"brand": "<string>",
"tag": "<string>",
"price_fit": "<string>",
"popularity": "<string>"
}
}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": "<unknown>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}⌘I