Shadow Experiment Service

Get a shadow experiment

GET
/projects/{projectId}/endpoints/{endpointId}/shadowExperiments/{id}

Retrieves a shadow experiment, including its sampling strategy and target deployments.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Project identifier.

endpointId*string

Endpoint identifier.

id*string

Shadow experiment identifier.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/projects/string/endpoints/string/shadowExperiments/string"
{  "id": "string",  "projectId": "string",  "endpointId": "string",  "name": "string",  "description": "string",  "source": {    "endpoint": {      "sampling": {        "uniform": {          "rate": 0        }      }    }  },  "targets": [    {      "id": "string",      "experimentId": "string",      "name": "string",      "targetDeploymentId": "string",      "description": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "etag": "string"    }  ],  "createdBy": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "etag": "string",  "state": "SHADOW_EXPERIMENT_STATE_ACTIVE"}