curl --request GET \
--url https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id} \
--header 'domain: <domain>'import requests
url = "https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}"
headers = {"domain": "<domain>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {domain: '<domain>'}};
fetch('https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_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://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"domain: <domain>"
],
]);
$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://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("domain", "<domain>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}")
.header("domain", "<domain>")
.asString();require 'uri'
require 'net/http'
url = URI("https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["domain"] = '<domain>'
response = http.request(request)
puts response.read_body{
"artifact_id": "art_95c650ded4824dc79bb6df16427e4a10",
"kind": "csv",
"source": "upload",
"bytes": 45678,
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"content_type": "text/csv",
"uri": "s3://product-agent-data-prod-ue2/optimize-artifacts/svc_yourClientId/art_95c650ded4824dc79bb6df16427e4a10/catalog.csv",
"original_filename": "catalog.csv",
"brand_id": "691df5949676c8e0b1d7b6b3",
"created_at": "2026-05-15T10:30:00Z",
"download_url": "https://product-agent-data-prod-ue2.s3.amazonaws.com/optimize-artifacts/svc_yourClientId/art_95c650ded4824dc79bb6df16427e4a10/catalog.csv?X-Amz-Signature=...",
"download_url_expires_at": "2026-05-15T10:45:00Z"
}{
"errors": "<array>",
"message": "Bad request",
"type": "CLIENT_ERROR"
}{
"errors": "<array>",
"message": "Bad request",
"type": "CLIENT_ERROR"
}{
"errors": "<array>",
"message": "Bad request",
"type": "CLIENT_ERROR"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"errors": "<array>",
"message": "Bad request",
"type": "CLIENT_ERROR"
}Retrieve artifact metadata and download URL
Returns metadata for a previously uploaded artifact along with a short-lived signed download_url for retrieving the original file contents. This endpoint supports inspection, auditing, and re-download of an artifact prior to starting a workflow.
The download_url is a presigned URL that remains valid until download_url_expires_at. After expiry, call this endpoint again to obtain a new URL.
curl --request GET \
--url https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id} \
--header 'domain: <domain>'import requests
url = "https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}"
headers = {"domain": "<domain>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {domain: '<domain>'}};
fetch('https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_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://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"domain: <domain>"
],
]);
$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://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("domain", "<domain>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}")
.header("domain", "<domain>")
.asString();require 'uri'
require 'net/http'
url = URI("https://commerceos.aiagents.fabric.inc/api/v2/optimize/artifacts/{artifact_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["domain"] = '<domain>'
response = http.request(request)
puts response.read_body{
"artifact_id": "art_95c650ded4824dc79bb6df16427e4a10",
"kind": "csv",
"source": "upload",
"bytes": 45678,
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"content_type": "text/csv",
"uri": "s3://product-agent-data-prod-ue2/optimize-artifacts/svc_yourClientId/art_95c650ded4824dc79bb6df16427e4a10/catalog.csv",
"original_filename": "catalog.csv",
"brand_id": "691df5949676c8e0b1d7b6b3",
"created_at": "2026-05-15T10:30:00Z",
"download_url": "https://product-agent-data-prod-ue2.s3.amazonaws.com/optimize-artifacts/svc_yourClientId/art_95c650ded4824dc79bb6df16427e4a10/catalog.csv?X-Amz-Signature=...",
"download_url_expires_at": "2026-05-15T10:45:00Z"
}{
"errors": "<array>",
"message": "Bad request",
"type": "CLIENT_ERROR"
}{
"errors": "<array>",
"message": "Bad request",
"type": "CLIENT_ERROR"
}{
"errors": "<array>",
"message": "Bad request",
"type": "CLIENT_ERROR"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"errors": "<array>",
"message": "Bad request",
"type": "CLIENT_ERROR"
}Headers
The brand domain name (for example, vessel.com or containerstore.com) used to scope the request to a specific brand's data and configuration. The authenticated principal must be authorized for the specified brand.
"vessel.com"
Path Parameters
Artifact identifier returned by POST /v2/optimize/artifacts.
"art_95c650ded4824dc79bb6df16427e4a10"
Query Parameters
Lifetime of the signed download_url in seconds. Minimum 60, maximum 3600, default 900.
60 <= x <= 3600900
Response
Artifact metadata and signed download URL
Artifact metadata plus a short-lived signed URL for downloading the original file contents.
"art_95c650ded4824dc79bb6df16427e4a10"
Artifact file format. The supported value is csv.
csv Indicates how the artifact was ingested. upload denotes a direct multipart upload, presigned denotes the presigned-URL flow used for large files, uri denotes a server-side fetch from an external URI, and generated denotes a system-produced artifact.
upload, presigned, uri, generated "text/csv"
"s3://product-agent-data-prod-ue2/optimize-artifacts/svc_yourClientId/art_95c650ded4824dc79bb6df16427e4a10/catalog.csv"
"691df5949676c8e0b1d7b6b3"
"2026-05-15T10:30:00Z"
Short-lived presigned URL for downloading the original file contents. The URL is valid until download_url_expires_at.
"https://product-agent-data-prod-ue2.s3.amazonaws.com/optimize-artifacts/svc_yourClientId/art_95c650ded4824dc79bb6df16427e4a10/catalog.csv?X-Amz-Signature=..."
Expiry timestamp in UTC for download_url. After this time, call GET /v2/optimize/artifacts/{artifact_id} again to obtain a new URL.
"2026-05-15T10:45:00Z"
45678
"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
"catalog.csv"
Was this page helpful?
