List Experiments.

GET /api/teams/{team}/experiments

Path parameters

  • team integer Required

    The ID of the team to list experiments in.

Query parameters

  • include string

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

  • sort string

    Field to sort by. Defaults to 'id'.

  • page integer

    Page number to return.

  • per_page integer

    Number of items to return in a page. Defaults to 15.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • id string
      • type string
      • attributes object
        Hide attributes attributes Show attributes attributes object
        • id integer
        • team_id integer
        • key string
        • description string
        • status string
        • created object
          Hide created attributes Show created attributes object
          • human string
          • string string
        • updated object
          Hide updated attributes Show updated attributes object
          • human string
          • string string
        • started object
          Hide started attributes Show started attributes object
          • human string
          • string string
        • stopped object
          Hide stopped attributes Show stopped attributes object
          • human string
          • string string
  • 403 application/json
    Hide response attribute Show response attribute object
    • message string
  • 404 application/json
    Hide response attribute Show response attribute object
    • message string
GET /api/teams/{team}/experiments
curl \
 -X GET https://checkmango.com/api/teams/1/experiments \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": "CORPORIS_AUTEM_CUM_ALIQUID_PERSPICIATIS",
      "type": "experiments",
      "attributes": {
        "id": 2,
        "team_id": 8,
        "key": "CORPORIS_AUTEM_CUM_ALIQUID_PERSPICIATIS",
        "description": null,
        "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/8/experiments/CORPORIS_AUTEM_CUM_ALIQUID_PERSPICIATIS"
        }
      }
    },
    {
      "id": "VOLUPTAS_PLACEAT_NIHIL_SIT",
      "type": "experiments",
      "attributes": {
        "id": 3,
        "team_id": 10,
        "key": "VOLUPTAS_PLACEAT_NIHIL_SIT",
        "description": "Incidunt ducimus quia delectus autem nihil ducimus ea voluptatem. Asperiores odio et rem totam ut. Fuga repellat nisi magni id praesentium nobis quaerat. Non aut et incidunt omnis eos neque modi.",
        "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/10/experiments/VOLUPTAS_PLACEAT_NIHIL_SIT"
        }
      }
    }
  ]
}
Response examples (403)
{
  "message": "Unauthenticated."
}
Response examples (404)
{
  "message": "Not Found"
}