v4

latestOpenAPI 3.1.0MIT2026-08-04193459793.6 KB
ABExperimentService

Create an A/B experiment

Creates a managed control/variant split across two to 20 deployments under the same endpoint. Exactly one member is the control, member percentages must add up to 100, and the split applies only to traffic that the endpoint would otherwise send to the control.

post/projects/{projectId}/endpoints/{endpointId}/abExperiments

Path parameters

projectIdstring required

Project identifier.

endpointIdstring required

Endpoint identifier.

Request body

namestring required

Human-readable A/B experiment name, unique within the endpoint.

descriptionstring

Optional free-form description.

Response

OK

idstring required

Output only. Unique A/B experiment identifier.

projectIdstring required

Output only. Project that owns the parent endpoint.

endpointIdstring required

Output only. Endpoint this A/B experiment belongs to.

namestring required

Human-readable A/B experiment name, unique within the endpoint.

descriptionstring

Optional free-form description.

createdBystring required

Output only. Identifier of the principal that created the A/B experiment.

createdAtstring date-time required

Output only. Timestamp when the A/B experiment was created.

updatedAtstring date-time required

Output only. Timestamp when the A/B experiment was last updated.

etagstring required

Optional opaque version tag for optimistic concurrency control.