Sandbox

Create Ab Test

Create a new AB test between two environments.

post/api/sandbox/ab-test

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/sandbox/ab-test
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

project_idinteger required

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

env_a_uuidstring required
env_b_uuidstring required
split_ratiointeger
segment_idstring nullable
namestring
primary_metricstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.