For the complete documentation index, see llms.txt. This page is also available as Markdown.

Seller

Add an overview of the Seller API here. This block is preserved across regenerations.

Endpoints

GET /api/v1/seller/sessions

List sell sessions for the tenant

get
/seller/sessions
Authorizations
X-API-KeystringRequired

Scoped API key. Scopes: read, commerce, admin.

Responses
200

List of sell sessions

get/seller/sessions

No content

Notes, examples, or caveats for GET /seller/sessions go here.

POST /api/v1/seller/sessions

Open a sell session for a buyer agent

post
/seller/sessions
Authorizations
X-API-KeystringRequired

Scoped API key. Scopes: read, commerce, admin.

Body
counterpartystringOptional

Label for the buyer agent's principal (audit)

sessionKeystringOptional
titlestringOptional
Responses
201

Sell session created

No content

post/seller/sessions

No content

Notes, examples, or caveats for POST /seller/sessions go here.

GET /api/v1/seller/sessions/{id}/messages

Replay a sell session's turns

get
/seller/sessions/{id}/messages
Authorizations
X-API-KeystringRequired

Scoped API key. Scopes: read, commerce, admin.

Path parameters
idstringRequired

Sell session UUID

Responses
200

Ordered list of buyer and seller turns

No content

get/seller/sessions/{id}/messages

No content

Notes, examples, or caveats for GET /seller/sessions/{id}/messages go here.

POST /api/v1/seller/sessions/{id}/messages

Send a buyer message and run one seller turn

post
/seller/sessions/{id}/messages
Authorizations
X-API-KeystringRequired

Scoped API key. Scopes: read, commerce, admin.

Path parameters
idstringRequired

Sell session UUID

Body
messagestringRequired

The buyer agent's message

merchantNamestringOptional
catalogSummarystringOptional
requiredToClosestringOptional
allowCommitbooleanOptional

When false, the seller quotes/builds but does not commit

Responses
200

Seller reply with executed tool calls and token usage

No content

post/seller/sessions/{id}/messages

No content

Notes, examples, or caveats for POST /seller/sessions/{id}/messages go here.

Last updated

Was this helpful?