curl --request GET \
--url http://studio.premai.io/api/v1/public/projects/{projectId} \
--header 'Authorization: Bearer <token>'{
"project": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "project",
"children": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"type": "dataset",
"status": "processing",
"metadata": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"datapoints_count": 123
},
"children": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"type": "snapshot",
"metadata": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"training_count": 123,
"validation_count": 123,
"created_at": "<string>"
},
"children": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"type": "finetuning-job",
"status": "processing",
"metadata": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reasoning": true
},
"children": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"type": "experiment",
"status": "pending",
"metadata": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"experiment_number": 123,
"base_model_id": "<string>",
"model_id": "<string>"
}
}
]
}
]
}
]
}
]
}
}Expand a project into its datasets, snapshots, fine-tuning jobs, and experiments.
curl --request GET \
--url http://studio.premai.io/api/v1/public/projects/{projectId} \
--header 'Authorization: Bearer <token>'{
"project": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "project",
"children": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"type": "dataset",
"status": "processing",
"metadata": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"datapoints_count": 123
},
"children": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"type": "snapshot",
"metadata": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"training_count": 123,
"validation_count": 123,
"created_at": "<string>"
},
"children": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"type": "finetuning-job",
"status": "processing",
"metadata": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reasoning": true
},
"children": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"type": "experiment",
"status": "pending",
"metadata": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"experiment_number": 123,
"base_model_id": "<string>",
"model_id": "<string>"
}
}
]
}
]
}
]
}
]
}
}Was this page helpful?