Get analyses

AnalysisResource.getAnalyses(request, dataset_id, **kwargs)

Prior mandatory steps 1) Upload dataset 2) Create analysis

Get all analyses created on the given dataset along with their sub analyses.

Arguments

dataset_id Give dataset id

Possible errors

Error message
Invalid dataset id
No analyses are created yet

GET Request Example

curl -u username:password {url_prefix}/analyses/{dataset_id}/

Response Example

{
    "error": false,
    "error_msg": "",
    "result": {
        "analysis": [
            {
                "dataset_name": "bank dataset",
                "id": 1174,
                "name": "bank",
                "sub_analysis": [
                    {
                        "id": 1175,
                        "name": "bank2 analysis",
                    }
                ]
            },
            {
                "dataset_name": "bank dataset",
                "id": 1172,
                "name": "bank",
                "sub_analysis": [
                    {
                        "id": 1173,
                        "name": "bank1 analysis",
                    }
                ]
            }
        ]
    }
}