Skip to main content

Get All Projects

Get all the projects that you have access.

Method: GET Authorization: JWT
localhost:8000/api/v1/projects/get-all

Authorization

TypeKeyValue
JWTAuthorizationBearer ##########

Reponse Body

KeyData TypeDescription
successbooleanIndicate the success of the request
msgstringMessage indicators
error_codeintError code information, only set if success is false
resultjsonResult, only set if success is true
gen_atdatetimeGenerated datetime

Types

{
"success": <boolean>,
"msg": <string>,
"error_code": <int>,
"result": <json>,
"gen_at": <datetime>
}

Sample

{
"success": true,
"msg": "Projects fetched",
"error_code": null,
"result": [
{
"id": "MyProject",
"name": "MyProject",
"description": "This is my project",
"is_private": true,
"user_id": "7f7c0c39-0930-43f2-81a3-29e3cffecaa4",
"algo_type": "Regression",
"algo_selected": "Multiple Linear Regression",
"shared_type": null,
"shared_with": null,
"dataset_name": null,
"model_path": null,
"model_type": null,
"encoder_path": null,
"encoder_type": null,
"community_model_url": null,
"created_at": "2023-06-01T11:44:39.798483",
"updated_at": "2023-06-01T11:44:39.798490",
"is_community_model": false
}
],
"gen_at": "2023-06-01T11:59:02.058951"
}