Build with Estii

Run a detailed comparison with another variant

POST
/v1/deal/{id}/compare/variant/{variantId}

Requires read scope.

Needs a member's token and the editor role. Meters as AI usage against the space credit measure. Kept once for the pair, and read from either variant. Refused with 409 when the deal review is switched off (feature_off) or a run for the pair is in flight from either variant, and when the plan does not permit it.

Authorization

bearerAuth
AuthorizationBearer <token>

A personal access token (estp_) or space API key (ests_).

In: header

Path Parameters

id*string
variantId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/deal/string/compare/variant/string" \  -H "Content-Type: application/json" \  -d '{    "space": "string"  }'
{  "run_id": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}