Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://cloudlab.scispot.io/labsheets/add-rows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"labsheet": "Sample Manager",
"rows": [
[
"Sample 1",
1,
"DNA",
"Pending",
0.001,
"mg",
null,
null,
[
"Sample 2",
2,
"DNA",
"Pending",
0.002,
"mg",
null,
null
]
]
],
"waitRefresh": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
labsheet: 'Sample Manager',
rows: [
[
'Sample 1',
1,
'DNA',
'Pending',
0.001,
'mg',
null,
null,
['Sample 2', 2, 'DNA', 'Pending', 0.002, 'mg', null, null]
]
],
waitRefresh: true
})
};
fetch('https://cloudlab.scispot.io/labsheets/add-rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/add-rows"
payload = {
"labsheet": "Sample Manager",
"rows": [["Sample 1", 1, "DNA", "Pending", 0.001, "mg", None, None, ["Sample 2", 2, "DNA", "Pending", 0.002, "mg", None, None]]],
"waitRefresh": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)[
{
"row": "2",
"success": "true",
"uuid": "<uuid>"
}
]{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Not found"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Add rows to a Labsheet. Ensure row values correspond to the column labels in the labsheet and are defined for each column. leave an empty string for a column if you do not want to add a value for that column.
curl --request POST \
--url https://cloudlab.scispot.io/labsheets/add-rows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"labsheet": "Sample Manager",
"rows": [
[
"Sample 1",
1,
"DNA",
"Pending",
0.001,
"mg",
null,
null,
[
"Sample 2",
2,
"DNA",
"Pending",
0.002,
"mg",
null,
null
]
]
],
"waitRefresh": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
labsheet: 'Sample Manager',
rows: [
[
'Sample 1',
1,
'DNA',
'Pending',
0.001,
'mg',
null,
null,
['Sample 2', 2, 'DNA', 'Pending', 0.002, 'mg', null, null]
]
],
waitRefresh: true
})
};
fetch('https://cloudlab.scispot.io/labsheets/add-rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/add-rows"
payload = {
"labsheet": "Sample Manager",
"rows": [["Sample 1", 1, "DNA", "Pending", 0.001, "mg", None, None, ["Sample 2", 2, "DNA", "Pending", 0.002, "mg", None, None]]],
"waitRefresh": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)[
{
"row": "2",
"success": "true",
"uuid": "<uuid>"
}
]{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Not found"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Personal access token from Scispot Account → Personal Tokens
