Skip to main content

Get a takeaway

GET 

/takeaways/:takeawayId

Get a takeaway associated with the given Id.

Request

Path Parameters

    takeawayId int64required

Responses

OK

Schema

    bookmarkedForCurrentUser boolean
    createdById int64

    Account Id of the creator of the associated experiment

    createdByName string

    Name of the creator of the associated experiment

    id int64

    Unique Id of the takeaway

    imageUrl string

    URL of the associated image

    relevantDate date-time

    Corresponds to datePaused when the associated experiment has status PAUSED, and to dateEnd when the related experiment has status STOPPED

    resultData

    object

    Takeaway result data

    primaryGoalUplift double
    result string

    Possible values: [INCONCLUSIVE, LOSS, WIN]

    revenueUplift double
    totalRevenue double
    siteId int64

    Unique Id of the site the takeaway belongs to

    sourceDateCreated date-time

    Date when the associated experiment was created

    sourceDateModified date-time

    Date when the associated experiment was modified

    sourceDateStarted date-time

    Date when the source object was started

    sourceDateStatusModified date-time

    Date when the status of the associated experiment was modified

    sourceId int64

    Unique Id of the associated experiment

    sourceMainGoalId int64

    Unique Id of the main goal of the associated experiment

    sourceMainGoalName string

    Name of the main goal of the associated experiment

    sourceName string

    Name of the associated experiment

    sourceStatus string

    Status of the associated experiment

    Possible values: [PAUSED, STOPPED]

    sourceTargetingSegmentId int64

    Unique Id of the targeting segment of the associated experiment

    sourceTargetingSegmentName string

    Name of the targeting segment of the associated experiment

    sourceType string

    Type of the source object

    Possible values: [AI, AUTOPROMO, BUILDER, CLASSIC, DEVELOPER, IA, MVT, PROMPT, SDK_HYBRID]

    summary string

    Generated summary of the associated experiment

Loading...