Skip to main content
GET
/
assets
Get Assets
curl --request GET \
  --url https://api.catalogix.ai/v1/assets \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.catalogix.ai/v1/assets"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.catalogix.ai/v1/assets', 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.catalogix.ai/v1/assets",
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.catalogix.ai/v1/assets"

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.catalogix.ai/v1/assets")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.catalogix.ai/v1/assets")

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
{
  "status": {
    "code": 0,
    "message": "SUCCESS",
    "request_id": "8c8b2b7e-23d7-4c2a-91b0-2a7c4dfbb312"
  },
  "data": {
    "total_groups": 10,
    "returned_groups": 2,
    "assets": {
      "SKU001": {
        "channel": "SMP",
        "asset_type": "image",
        "store_uuid": "abc123",
        "assets": [
          {
            "Image URL 1": "https://cdn.example.com/img1.jpg",
            "asset_id": "abc123"
          }
        ]
      }
    }
  }
}
{
"detail": "<string>",
"status": "error"
}
{
"status": {
"code": -1,
"message": "Unauthorized – invalid or missing Bearer token"
}
}
{
"status": {
"code": -1,
"message": "Internal server error. Please contact support@catalogix.ai"
}
}
{
"detail": "<string>",
"status": "error"
}
Fetch assets grouped by parent_code and channel. Although the public API is GET, the service internally calls the downstream bulk filter API using POST.

Request Tracing

Pass X-Request-Id in the request header for traceability. If omitted, the service generates a UUID automatically. The request_id is returned in every response under status.request_id.

Validation

  • store_uuid is required
  • limit is capped at 50
  • asset_format values are loaded dynamically from the global config API; fallback values are image, video, pdf, 3D, text

Response Example

{
  "status": {
    "code": 0,
    "message": "SUCCESS",
    "request_id": "8c8b2b7e-23d7-4c2a-91b0-2a7c4dfbb312"
  },
  "data": {
    "total_groups": 10,
    "returned_groups": 1,
    "assets": {
      "SKU001": {
        "channel": "SMP",
        "asset_type": "image",
        "store_uuid": "699ec31355208b213e56059a",
        "assets": [
          { "Image URL 1": "https://cdn.example.com/img1.jpg", "asset_id": "abc123" },
          { "Image URL 2": "https://cdn.example.com/img2.jpg", "asset_id": "def456" }
        ]
      }
    }
  }
}

Error Response

{
  "status": {
    "code": -1,
    "message": "ERROR",
    "request_id": "8c8b2b7e-23d7-4c2a-91b0-2a7c4dfbb312"
  },
  "data": {
    "error_info": [
      {
        "reason": "invalid_request",
        "details": "store_uuid is required"
      }
    ]
  }
}

HTTP Status Mapping

ScenarioHTTP Statusstatus.code
Success2000
Validation error400-1
Downstream unavailable502-1
Unexpected server error500-1

Authorizations

Authorization
string
header
required

Pass the API token as a Bearer token in the Authorization header.

Headers

X-Request-Id
string

Optional trace ID. If not provided, one is generated automatically

Query Parameters

store_uuid
string
required

Store identifier

channel
string
default:SMP

Channel filter

asset_format
enum<string>
default:image

Asset format filter. Valid values: image, video, pdf, 3D, text.

Available options:
image,
video,
pdf,
3D,
text
offset
integer
default:0

Pagination offset

limit
integer
default:50

Results per page (max 50)

Required range: x <= 50

Response

Assets fetched successfully

status
object
data
object