Links

Observation Detail

https://api.sigopt.com/v1/experiments/EXPERIMENT_ID/observations/OBSERVATION_ID
Retrieves information about an Observation.
Request Method: GET

Parameters

This endpoint takes no parameters.

Response

Observation object.

Example Request

Python
Bash
Java
observation = conn.experiments(EXPERIMENT_ID).observations(OBSERVATION_ID).fetch()
OBSERVATION=`curl -s -X GET https://api.sigopt.com/v1/experiments/$EXPERIMENT_ID/observation/OBSERVATION_ID -u "$SIGOPT_API_TOKEN":`
Observation observation = new Experiment(EXPERIMENT_ID).observations(OBSERVATION_ID).fetch().call();
Response
{
"assignments": {
"degree": 2,
"gamma": 3.6,
"kernel": "rbf"
},
"created": 1414800000,
"experiment": "1",
"failed": false,
"id": "1",
"metadata": null,
"object": "observation",
"suggestion": "1",
"value": 1,
"value_stddev": null,
"values": [
{
"name": "Accuracy",
"object": "metric_evaluation",
"value": 1,
"value_stddev": null
}
]
}