curl --request POST \
--url https://cloudlab.scispot.io/manifest/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Sample Plate",
"template": "96 Well Plate",
"plates": [
{
"labsheets": [
{
"labsheet": "Sample Manager",
"idType": "ID",
"items": [
{
"name": "SMPL000001",
"well": "A1"
},
{
"name": "SMPL000002",
"well": "A2"
}
]
}
]
}
],
"autoHrid": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Sample Plate',
template: '96 Well Plate',
plates: [
{
labsheets: [
{
labsheet: 'Sample Manager',
idType: 'ID',
items: [{name: 'SMPL000001', well: 'A1'}, {name: 'SMPL000002', well: 'A2'}]
}
]
}
],
autoHrid: true
})
};
fetch('https://cloudlab.scispot.io/manifest/create', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/manifest/create"
payload = {
"name": "Sample Plate",
"template": "96 Well Plate",
"plates": [{ "labsheets": [
{
"labsheet": "Sample Manager",
"idType": "ID",
"items": [
{
"name": "SMPL000001",
"well": "A1"
},
{
"name": "SMPL000002",
"well": "A2"
}
]
}
] }],
"autoHrid": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"uuid": "<uuid>",
"success": true
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Conflict"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Create A Manifest
Create a new manifest (plate, box, rack, etc.) from an existing manifest template.
Provide the manifest name, the template name to base it on, and the plates to populate,
where each plate can reference source labsheets and assign samples to specific wells.
By default a human-readable ID is generated automatically (autoHrid); set autoHrid to
false and supply your own hrid to control it.
curl --request POST \
--url https://cloudlab.scispot.io/manifest/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Sample Plate",
"template": "96 Well Plate",
"plates": [
{
"labsheets": [
{
"labsheet": "Sample Manager",
"idType": "ID",
"items": [
{
"name": "SMPL000001",
"well": "A1"
},
{
"name": "SMPL000002",
"well": "A2"
}
]
}
]
}
],
"autoHrid": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Sample Plate',
template: '96 Well Plate',
plates: [
{
labsheets: [
{
labsheet: 'Sample Manager',
idType: 'ID',
items: [{name: 'SMPL000001', well: 'A1'}, {name: 'SMPL000002', well: 'A2'}]
}
]
}
],
autoHrid: true
})
};
fetch('https://cloudlab.scispot.io/manifest/create', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/manifest/create"
payload = {
"name": "Sample Plate",
"template": "96 Well Plate",
"plates": [{ "labsheets": [
{
"labsheet": "Sample Manager",
"idType": "ID",
"items": [
{
"name": "SMPL000001",
"well": "A1"
},
{
"name": "SMPL000002",
"well": "A2"
}
]
}
] }],
"autoHrid": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"uuid": "<uuid>",
"success": true
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Conflict"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Authorizations
Personal access token from Scispot Account → Personal Tokens
Body
The name of the manifest to create.
The name of the existing manifest template to base this manifest on (e.g. a 96-well plate template). This defines the layout and number of wells.
The plates to create within the manifest. Each plate can reference source labsheets and assign their samples to wells.
Show child attributes
Show child attributes
(Optional) Whether to auto-generate the manifest's human-readable ID. Defaults to true. Set to false to supply your own hrid.
(Optional) The human-readable ID to assign to the manifest. Required when autoHrid is false.
