Skip to main content
PATCH
Update Version Labels

Headers

authorization
string | null
X-Organization-ID
string | null

Path Parameters

key
string
required
version
integer
required

Cookies

stytch_session
string | null

Body

application/json

Request to update labels on a product version.

labels
string[]
required

New labels for this version

Response

Successful Response

Response model for a single product version.

id
string
required

MongoDB ObjectId as string

key
string
required

Internal unique identifier (shared across versions)

productType
Producttype · object
required

Product type reference

source
string
required

Source of product data

version
integer
required

Version number

aiTraceId
string | null

AI-observability trace ID for this enrichment run (PostHog $ai_trace_id)

confidence
number | null

Confidence score (0-1)

createdAt
string | null

Creation timestamp

createdBy
string | null

User who created this version

enrichmentScore
number | null

Quality score (0-1)

enrichmentSources
string[] | null

Buckets that contributed to merged product

isPublished
boolean
default:false

Published status

labels
string[]

Version labels

lakehouseMatched
boolean | null

Did lakehouse_search contribute any property?

lakehousePropertiesCount
integer | null

Properties sourced from lakehouse

langfuseTraceId
string | null
deprecated

DEPRECATED: use aiTraceId (same value). Kept for backward compatibility.

properties
Properties · object

Product data

properties_metadata
Properties Metadata · object

Per-property metadata

propertyCount
integer
default:0

Number of properties with values

scrapeWarnings
Scrapewarnings · object[] | null

Scrape-quality warnings if the brand-site scrape returned suspect content

status
string | null

Status: complete, failed, partial

version_commit_message
string | null

Commit message for this version

version_created_from
integer | null

Version this was cloned from