Skip to main content
POST
/
physical_samples
curl -X POST "https://api.atomscale.ai/physical_samples/" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "GaAs-003"
  }'
{
  "id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
  "name": "GaAs-003",
  "created_datetime": "2024-01-15T11:00:00Z",
  "last_updated": "2024-01-15T11:00:00Z",
  "version": 1,
  "user_id": "user_abc123",
  "growth_instrument_id": null,
  "sample_id": null,
  "detail_notes_id": null,
  "physical_sample_metadata": null
}
Creates a new physical sample record. Samples represent the substrates and materials that measurements are taken from.
name
string
Name or label for the sample
growth_instrument_id
integer
ID of the growth instrument associated with this sample
sample_id
integer
Numeric sample identifier
detail_notes_id
string
UUID of existing detail notes to attach to the sample

Response

id
string
UUID of the created sample
name
string
Sample name
created_datetime
string
ISO 8601 timestamp of creation
last_updated
string
ISO 8601 timestamp of last update
user_id
string
ID of the user who created the sample
growth_instrument_id
integer
Growth instrument ID
sample_id
integer
Numeric sample identifier
curl -X POST "https://api.atomscale.ai/physical_samples/" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "GaAs-003"
  }'
{
  "id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
  "name": "GaAs-003",
  "created_datetime": "2024-01-15T11:00:00Z",
  "last_updated": "2024-01-15T11:00:00Z",
  "version": 1,
  "user_id": "user_abc123",
  "growth_instrument_id": null,
  "sample_id": null,
  "detail_notes_id": null,
  "physical_sample_metadata": null
}