Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Project tree
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": "<any>",
"experiment_number": "<any>",
"base_model_id": "<any>",
"model_id": "<any>"
}
}
]
}
]
}
]
}
]
}
}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": "<any>",
"experiment_number": "<any>",
"base_model_id": "<any>",
"model_id": "<any>"
}
}
]
}
]
}
]
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Project tree
Show child attributes
Was this page helpful?