PUT
/
experiments
/
{id}
/
metrics
{
  "jobs": [
    {
      "state": "unknown",
      "jobId": "<string>",
      "jobConfig": {
        "id": "<string>"
      },
      "hostname": "<string>",
      "result": {
        "jobConfigId": "<string>",
        "jobRunId": "<string>",
        "docsWritten": 123,
        "exception": {
          "job": {
            "type": "APPKIT_APP",
            "id": "<string>",
            "canonicalName": "<string>",
            "uri": "<string>"
          },
          "jobRunId": "<string>",
          "httpStatusCode": 123,
          "error": "<string>",
          "message": "<string>",
          "details": "<string>",
          "cause": {
            "cause": {},
            "stackTrace": [
              {
                "methodName": "<string>",
                "fileName": "<string>",
                "lineNumber": 123,
                "className": "<string>",
                "nativeMethod": true
              }
            ],
            "message": "<string>",
            "localizedMessage": "<string>",
            "suppressed": [
              {}
            ]
          },
          "stackTrace": [
            {
              "methodName": "<string>",
              "fileName": "<string>",
              "lineNumber": 123,
              "className": "<string>",
              "nativeMethod": true
            }
          ],
          "localizedMessage": "<string>",
          "suppressed": [
            {
              "cause": {},
              "stackTrace": [
                {
                  "methodName": "<string>",
                  "fileName": "<string>",
                  "lineNumber": 123,
                  "className": "<string>",
                  "nativeMethod": true
                }
              ],
              "message": "<string>",
              "localizedMessage": "<string>",
              "suppressed": [
                {}
              ]
            }
          ],
          "httpStatusMessage": "<string>",
          "class": "<string>",
          "requestId": "<string>"
        }
      },
      "startTime": "<string>",
      "endTime": "<string>",
      "duration": 123
    }
  ]
}

Path Parameters

id
string
required

The experiment ID

Query Parameters

sync
boolean
default:false

When true, run the job synchronously; the request will not return until the metrics calculations jobs are complete

syncWaitSeconds
integer
default:300

The maximum amount of time to wait for metrics calculation jobs to complete, in seconds. Applicable only if syncis 'true'

Response

200 - application/json

successful operation

The response is of type object.