[v3beta] Smarter-1 Marketplace API

Smarter-1 is the first-ever AI model built for CPG compliance teams. It allows you to enrich large product catalogs with smarter classifications, instantly, and at scale. Please visit the Getting Started page (in the menu) to learn more about the underlying concepts and workflow.

BASE URL
https://api.smarterx.com

Authentication

Sign into view and manage your API credentials

docs

OpenAPI spec

GET - OpenAPI spec

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

GET
/smarter-1-marketplace/v3beta/docs
1

GET - Decisions

Retrieve a list of decisions that can apply to a product. You can use any of these decision names in your classification job request payload to retrieve specific decision ouputs for your product.

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Query Parameters

expand

optional, string enum

Expand the response to include the specified details about the decisions.

Possible Enum Values

recommended_product_attributes

GET
/smarter-1-marketplace/v3beta/products/classifications/decisions
1

GET - List Classification Jobs

List previously requested product clasification job(s).

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Query Parameters

page_size

integer, default: 10

The size of each page of job results

page_token

string

A page token, received from a previous call to this endpoint. Provide this to retrieve the subsequent page.

GET
/smarter-1-marketplace/v3beta/products/classification-jobs
1

POST - Initialize Product Classification Job

Invoke an asynchronous job to classify between 1-25 products based on available product attributes.

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Request Body

The input payload for the product classification job.

products

required, array, maximum of 5 items, minimum of 1 items

decisions_to_evaluate

required, array of strings
POST
/smarter-1-marketplace/v3beta/products/classification-jobs
1
EXAMPLE BODY
{
  "products": [
    {
      "flashpoint": "120F",
      "brand": "Well Known Name Brand",
      "ingredients_list": [
        "Ethanol",
        "Water",
        "Phosphorous"
      ]
    }
  ],
  "decisions_to_evaluate": [
    "RCRA_WASTE",
    "STORAGE"
  ]
}

GET - Status of Product Classification Job

Poll the current status of a product clasification job.

Protected by API Key

Headers

Authorization

required, string

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Path Parameters

job_id

required, string

The job id of the classification job

GET
/smarter-1-marketplace/v3beta/products/classification-jobs/:job_id
1