v3

OpenAPI 3.1.0MIT2026-07-31192456807.8 KB
ABExperimentService

Update an A/B experiment

Updates an experiment's description or member traffic percentages. Use the experiment etag for optimistic concurrency.

patch/projects/{projectId}/endpoints/{endpointId}/abExperiments/{id}

Path parameters

projectIdstring required

Project identifier.

endpointIdstring required

Endpoint identifier.

idstring required

A/B experiment identifier.

Query parameters

updateMaskstring

Fields to update. If omitted, all mutable fields are overwritten.

Request body

descriptionstring

Updated free-form description.

etagstring

Opaque version tag from a prior read for optimistic concurrency.

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.