List outcome attributions
curl --request GET \
--url https://app.solya.app/api/intelligence/outcome-attributions \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.solya.app/api/intelligence/outcome-attributions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.solya.app/api/intelligence/outcome-attributions', 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://app.solya.app/api/intelligence/outcome-attributions",
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://app.solya.app/api/intelligence/outcome-attributions"
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://app.solya.app/api/intelligence/outcome-attributions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.solya.app/api/intelligence/outcome-attributions")
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": [
{
"attributionSource": "DECISION_VECTOR",
"createdAt": "2025-09-14T10:00:00.000Z",
"decisionVectorId": "dv-uuid-001",
"eventType": "ITEM_ADDED",
"planAuditLogId": "pal-uuid-001",
"planId": "plan-uuid-restock-001",
"planItemId": "item-uuid-001",
"planType": "RESTOCK",
"shopId": "shop-uuid-paris",
"variantId": "var-uuid-001"
},
{
"attributionSource": "MANUAL",
"createdAt": "2025-09-13T14:30:00.000Z",
"decisionVectorId": null,
"eventType": "ITEM_ADDED",
"planAuditLogId": "pal-uuid-002",
"planId": "plan-uuid-markdown-001",
"planItemId": "item-uuid-002",
"planType": "MARKDOWN",
"shopId": "shop-uuid-lyon",
"variantId": "var-uuid-002"
}
],
"meta": {
"page": 1,
"pageSize": 20,
"total": 142
}
}Intelligence
List outcome attributions
Returns a paginated list of ITEM_ADDED audit events that carry attribution metadata. The attribution field identifies whether each item was added manually, via a decision vector algorithm, or by a workflow fallback. Filter by planType, planId, time window, variantId, or shopId.
GET
/
api
/
intelligence
/
outcome-attributions
List outcome attributions
curl --request GET \
--url https://app.solya.app/api/intelligence/outcome-attributions \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.solya.app/api/intelligence/outcome-attributions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.solya.app/api/intelligence/outcome-attributions', 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://app.solya.app/api/intelligence/outcome-attributions",
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://app.solya.app/api/intelligence/outcome-attributions"
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://app.solya.app/api/intelligence/outcome-attributions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.solya.app/api/intelligence/outcome-attributions")
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": [
{
"attributionSource": "DECISION_VECTOR",
"createdAt": "2025-09-14T10:00:00.000Z",
"decisionVectorId": "dv-uuid-001",
"eventType": "ITEM_ADDED",
"planAuditLogId": "pal-uuid-001",
"planId": "plan-uuid-restock-001",
"planItemId": "item-uuid-001",
"planType": "RESTOCK",
"shopId": "shop-uuid-paris",
"variantId": "var-uuid-001"
},
{
"attributionSource": "MANUAL",
"createdAt": "2025-09-13T14:30:00.000Z",
"decisionVectorId": null,
"eventType": "ITEM_ADDED",
"planAuditLogId": "pal-uuid-002",
"planId": "plan-uuid-markdown-001",
"planItemId": "item-uuid-002",
"planType": "MARKDOWN",
"shopId": "shop-uuid-lyon",
"variantId": "var-uuid-002"
}
],
"meta": {
"page": 1,
"pageSize": 20,
"total": 142
}
}Authorizations
User session token issued by NextAuth. For human users accessing Solya via the web application.
Query Parameters
Page number, 1-indexed (default: 1)
Required range:
1 <= x <= 9007199254740991Number of items per page, max 100 (default: 20)
Required range:
1 <= x <= 100Filter by plan type
Available options:
RESTOCK, MARKDOWN, REBALANCE, PRE_SEASON_ORDER, PRE_SEASON_SCENARIO, SUPPLIER_EXCHANGE, SUPPLIER_RETURN Filter by plan ID
Restrict to events from the last J7 (7 days), J30 (30 days), or J90 (90 days)
Available options:
J7, J30, J90 Filter by variant ID from the item snapshot
Filter by shop ID from the item snapshot

