Create Experiment
curl --request POST \
--url https://cloudlab.scispot.io/labspace/experiment/new \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My Experiment",
"location": "My Labspace",
"description": "This is a experiment for the labspace",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-02T00:00:00.000Z",
"hrid": "MY_EXPERIMENT"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'My Experiment',
location: 'My Labspace',
description: 'This is a experiment for the labspace',
startDate: '2026-01-01T00:00:00.000Z',
endDate: '2026-01-02T00:00:00.000Z',
hrid: 'MY_EXPERIMENT'
})
};
fetch('https://cloudlab.scispot.io/labspace/experiment/new', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labspace/experiment/new"
payload = {
"name": "My Experiment",
"location": "My Labspace",
"description": "This is a experiment for the labspace",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-02T00:00:00.000Z",
"hrid": "MY_EXPERIMENT"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"uuid": "<uuid>",
"name": "My Experiment",
"hrid": "MY_EXPERIMENT"
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Not found"
}{
"success": false,
"message": "Conflict"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Create
Create Experiment
Create an experiment page inside a labspace, folder or subfolder
Note: Labspace, Folder, and Subfolder names should not contain the colon (:) character as colon is used to separate the labspace, folder, and subfolder when assigning the location.
Validation notes: provide at least one of folder, labspace.
POST
https://cloudlab.scispot.io
/
labspace
/
experiment
/
new
Create Experiment
curl --request POST \
--url https://cloudlab.scispot.io/labspace/experiment/new \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My Experiment",
"location": "My Labspace",
"description": "This is a experiment for the labspace",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-02T00:00:00.000Z",
"hrid": "MY_EXPERIMENT"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'My Experiment',
location: 'My Labspace',
description: 'This is a experiment for the labspace',
startDate: '2026-01-01T00:00:00.000Z',
endDate: '2026-01-02T00:00:00.000Z',
hrid: 'MY_EXPERIMENT'
})
};
fetch('https://cloudlab.scispot.io/labspace/experiment/new', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labspace/experiment/new"
payload = {
"name": "My Experiment",
"location": "My Labspace",
"description": "This is a experiment for the labspace",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-02T00:00:00.000Z",
"hrid": "MY_EXPERIMENT"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"uuid": "<uuid>",
"name": "My Experiment",
"hrid": "MY_EXPERIMENT"
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Not found"
}{
"success": false,
"message": "Conflict"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Authorizations
Personal access token from Scispot Account → Personal Tokens
Body
application/json
The name of the experiment.
The location of the experiment. In the format of "Labspace:Folder:Subfolder"
Optional. The description of the experiment.
Optional. The ID of the template to use.
Optional. The start date of the experiment.
Optional. The end date of the experiment.
Optional human-readable ID for the page.
⌘I
