Get Experiment.

GET /api/teams/{team}/experiments/{experiment}

Path parameters

  • team integer Required

    The ID of the team that the experiment belongs to.

  • experiment string Required

    The experiment key to show.

Query parameters

  • include string

    Comma-separated list of relationships to include in the response.

Responses

GET /api/teams/{team}/experiments/{experiment}
curl \
 -X GET https://checkmango.com/api/teams/10/experiments/MY_NEW_EXPERIMENT \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": "CONSEQUUNTUR_ANIMI_LABORIOSAM",
    "type": "experiments",
    "attributes": {
      "id": 5,
      "team_id": 14,
      "key": "CONSEQUUNTUR_ANIMI_LABORIOSAM",
      "description": "Voluptatem optio quas perspiciatis ad autem ipsam aut. Aliquam dolorem eius sed porro. Optio autem nemo voluptas consequatur nihil et. Vel ipsam perferendis et occaecati beatae alias delectus est. Incidunt nam quos sit velit illum eos recusandae.",
      "status": "draft",
      "created": {
        "human": "1 second ago",
        "string": "2024-04-08 10:42:02"
      },
      "updated": {
        "human": "1 second ago",
        "string": "2024-04-08 10:42:02"
      },
      "started": {
        "human": null,
        "string": null
      },
      "stopped": {
        "human": null,
        "string": null
      }
    },
    "links": {
      "self": {
        "href": "http://checkmango.com/api/teams/14/experiments/CONSEQUUNTUR_ANIMI_LABORIOSAM"
      }
    }
  }
}
Response examples (403)
{
  "message": "Unauthenticated."
}
Response examples (404)
{
  "message": "Not Found"
}