Returns the current state of an optimization workflow, including status, current_step, current_hitl_gate (when the workflow is paused at a review gate), per-phase progress, and aggregated review and reviewer summaries.
Poll this endpoint to track a workflow through its lifecycle. A 401 response indicates that the access token has expired; re-authenticate and retry the request.
The status value progresses through PENDING, then RUNNING or IN_PROGRESS, then REVIEW_PENDING when paused at a human-in-the-loop gate, and ultimately COMPLETED. FAILED and CANCELLED are terminal alternatives.
When status is REVIEW_PENDING, the value of current_hitl_gate identifies the active gate. Gate approval is performed in the CommerceOS web application — direct the assigned reviewer to CommerceOS to evaluate and approve the gate. Once the reviewer acts, the workflow resumes and subsequent polls reflect the new state.
Documentation Index
Fetch the complete documentation index at: https://developer.fabric.inc/llms.txt
Use this file to discover all available pages before exploring further.
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"
Workflow identifier returned by POST /v2/optimize/workflows.
"9349773c-27fe-4d4f-a093-a5793dff8702"
Workflow state
Workflow state envelope returned by POST /v2/optimize/workflows and GET /v2/optimize/workflows/{workflow_id}. The status value progresses through PENDING, then RUNNING or IN_PROGRESS, then REVIEW_PENDING, and ultimately COMPLETED. FAILED and CANCELLED are terminal alternatives.
Workflow identifier. Use this value to poll for status and to construct deep links into the Commerce OS UI.
"9349773c-27fe-4d4f-a093-a5793dff8702"
"691df5949676c8e0b1d7b6b3"
Current lifecycle state.
PENDING, RUNNING, IN_PROGRESS, REVIEW_PENDING, COMPLETED, FAILED, CANCELLED "REVIEW_PENDING"
"2026-05-15T10:35:00Z"
"2026-05-15T10:42:08Z"
"OPTIMIZE"
COMMERCEOS, API "API"
null
Current step in the workflow. One of VALIDATE / VALIDATION, TAXONOMY_MAP / TAXONOMY, ENRICH / ENRICHMENT, or PUBLISH / PUBLISHED.
"TAXONOMY_MAP"
Active human-in-the-loop review gate. Populated when status is REVIEW_PENDING. One of VALIDATION_REVIEW, TAXONOMY_REVIEW, SAMPLE_REVIEW, ENRICHMENT_SAMPLE_REVIEW, FULL_ENRICHMENT_REVIEW, ENRICHMENT_FULL_REVIEW, or PUBLISH_APPROVAL.
"TAXONOMY_REVIEW"
"Spring 2026 catalog enrichment"
[]"2026-05-15T10:35:12Z"
null
Most recent error message. Populated when status is FAILED.
null
0
Phase-keyed progress for the workflow, computed at read time. The phases object contains one key per phase (validation, taxonomy, enrichment, publish), each carrying a phase-specific structure.
Aggregate counts across categories at the current enrichment-side review gate. This summary supports diagnosing which categories are blocking progression. For non-enrichment gates (taxonomy, validation, publish) the counts are typically zero, because those gates are workflow-level rather than per-category.
Resolved reference for the created_by and updated_by audit fields. A type of unknown is returned when the referenced identifier can no longer be resolved (for example, when a user has been hard-deleted).
Resolved reference for the created_by and updated_by audit fields. A type of unknown is returned when the referenced identifier can no longer be resolved (for example, when a user has been hard-deleted).