v3

OpenAPI 3.1.0MIT2026-07-31192456807.8 KB
ShadowExperimentService

Create a shadow experiment target

Adds a deployment under the same endpoint as a target for mirrored requests.

post/projects/{projectId}/endpoints/{endpointId}/shadowExperiments/{experimentId}/targets

Path parameters

projectIdstring required

Project identifier.

endpointIdstring required

Endpoint identifier.

experimentIdstring required

Shadow experiment identifier.

Request body

namestring required

Human-readable target name, unique within the shadow experiment. At most 256 characters.

targetDeploymentIdstring required

Deployment under the parent endpoint that receives mirrored traffic. Exclude it from the endpoint's live traffic split.

descriptionstring

Optional free-form target description.

Response

OK

idstring required

Output only. Unique shadow experiment target identifier.

experimentIdstring required

Output only. Shadow experiment this target belongs to.

namestring required

Human-readable target name, unique within the shadow experiment. At most 256 characters.

targetDeploymentIdstring required

Deployment under the parent endpoint that receives mirrored traffic. Shadow targets should be excluded from the endpoint's live traffic split.

descriptionstring

Optional free-form target description.

createdAtstring date-time required

Output only. Timestamp when the target was created.

updatedAtstring date-time required

Output only. Timestamp when the target was last updated.

etagstring required

Opaque version tag for optimistic concurrency control. Returned on read; set it on update or delete requests for consistent read-modify-write.