Skip to main content
GET
/
scanner
/
api
/
v1
/
captures
/
{id}
/
proposals
List enrichment proposals
curl --request GET \
  --url https://www.closient.com/scanner/api/v1/captures/{id}/proposals \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "field_name": "<string>",
    "current_value": "<string>",
    "proposed_value": "<string>",
    "confidence": "<string>",
    "reasoning": "<string>",
    "source": "<string>",
    "status": "PENDING",
    "created": "2023-11-07T05:31:56Z",
    "metadata": {},
    "reviewed_at": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.closient.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string<shortuuid>
required

Unique capture id identifier.

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$

Response

200 - application/json

OK

id
string<uuid>
required

Unique proposal identifier (UUID).

field_name
string
required

Product field targeted by this proposal. One of: name, description, brand_name, category, ingredients, ai_summary, images.

Maximum string length: 50
current_value
string
required

Current value of the field on the linked product (may be empty).

proposed_value
string
required

AI-suggested replacement value for the field.

confidence
string
required

Model confidence score from 0.00 to 1.00 (two decimal places).

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
reasoning
string
required

Free-form explanation of why this change was proposed.

source
string
required

Identifier of the system that generated this proposal — for example bedrock_claude (vision extraction), hunter_io / apollo_io (contact discovery), local_database (GTIN lookup). Free-form string; not enumerated on the model.

Maximum string length: 100
status
enum<string>
required

Review state of the proposal. Newly-generated proposals start PENDING; the review endpoint transitions them to ACCEPTED or REJECTED. Only ACCEPTED proposals are applied to the linked product by the apply endpoint.

Available options:
PENDING,
ACCEPTED,
REJECTED
created
string<date-time>
required

Timestamp when the proposal was generated.

metadata
Metadata · object

Developer-attached key/value data attached to this object. Up to 50 keys; key max 40 chars, value max 500 chars.

reviewed_at
string<date-time> | null

Timestamp when the proposal was reviewed.