Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://cloudlab.scispot.io/labsheets/get-labsheet-schema \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cloudlab.scispot.io/labsheets/get-labsheet-schema', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/get-labsheet-schema"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"labsheet": {
"name": "Sample Manager",
"columns": [
{
"name": "Sample ID",
"type": "ID_BARCODE",
"position": 0
},
{
"name": "Sample Name",
"type": "TEXT",
"position": 1
},
{
"name": "Sample",
"type": "NUMBER",
"position": 2
},
{
"name": "Sample Type",
"type": "LIST",
"position": 3,
"references": [
"DNA",
"RNA",
"Protein",
"Cell Culture",
"Other"
]
},
{
"name": "Sample Status",
"type": "STATUS",
"position": 4,
"references": [
"Pending",
"In Progress",
"Completed",
"On Hold",
"Cancelled"
]
},
{
"name": "Sample Quantity",
"type": "QUANTITY",
"position": 5
},
{
"name": "Sample Units",
"type": "UNIT",
"position": 6,
"references": [
"mg",
"g",
"kg",
"ml"
]
},
{
"name": "Test Results",
"type": "LOOKUP_REFERENCE",
"position": 7
},
{
"name": "Test Run Status",
"type": "LOOKUP",
"position": 8
}
]
}
}{
"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"
}Get a labsheet’s structure, including all of its column names, types, and positions
curl --request GET \
--url https://cloudlab.scispot.io/labsheets/get-labsheet-schema \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cloudlab.scispot.io/labsheets/get-labsheet-schema', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/get-labsheet-schema"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"labsheet": {
"name": "Sample Manager",
"columns": [
{
"name": "Sample ID",
"type": "ID_BARCODE",
"position": 0
},
{
"name": "Sample Name",
"type": "TEXT",
"position": 1
},
{
"name": "Sample",
"type": "NUMBER",
"position": 2
},
{
"name": "Sample Type",
"type": "LIST",
"position": 3,
"references": [
"DNA",
"RNA",
"Protein",
"Cell Culture",
"Other"
]
},
{
"name": "Sample Status",
"type": "STATUS",
"position": 4,
"references": [
"Pending",
"In Progress",
"Completed",
"On Hold",
"Cancelled"
]
},
{
"name": "Sample Quantity",
"type": "QUANTITY",
"position": 5
},
{
"name": "Sample Units",
"type": "UNIT",
"position": 6,
"references": [
"mg",
"g",
"kg",
"ml"
]
},
{
"name": "Test Results",
"type": "LOOKUP_REFERENCE",
"position": 7
},
{
"name": "Test Run Status",
"type": "LOOKUP",
"position": 8
}
]
}
}{
"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"
}