Skip to main content
GET
/
physical_samples
/
{physical_sample_id}
/
timeseries
/
import requests

response = requests.get(
    "https://api.atomscale.ai/physical_samples/a1b2c3d4-5678-90ab-cdef-1234567890ab/timeseries/",
    headers={"X-API-KEY": "YOUR_API_KEY"}
)
timeseries = response.json()
{
  "physical_sample_id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
  "properties": [
    {
      "property_name": "thickness",
      "property_values": [0, 5.2, 10.1, null, 20.0],
      "real_time_seconds": [0, 10, 20, 30, 40],
      "result_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "last_updated": "2024-01-15T10:00:00Z",
      "constituent_data_ids": ["d290f1ee-6c54-4b01-90e6-d701748f0851"],
      "generating_dbos_workflow_id": null
    }
  ]
}
Returns timeseries data aggregated across the data items associated with a physical sample. Results are organized by property, where each property carries its own arrays of values and times.
physical_sample_id
string
required
UUID of the physical sample

Response

physical_sample_id
string
UUID of the physical sample the timeseries belong to
properties
array
Array of property timeseries objects, one per property.
import requests

response = requests.get(
    "https://api.atomscale.ai/physical_samples/a1b2c3d4-5678-90ab-cdef-1234567890ab/timeseries/",
    headers={"X-API-KEY": "YOUR_API_KEY"}
)
timeseries = response.json()
{
  "physical_sample_id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
  "properties": [
    {
      "property_name": "thickness",
      "property_values": [0, 5.2, 10.1, null, 20.0],
      "real_time_seconds": [0, 10, 20, 30, 40],
      "result_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "last_updated": "2024-01-15T10:00:00Z",
      "constituent_data_ids": ["d290f1ee-6c54-4b01-90e6-d701748f0851"],
      "generating_dbos_workflow_id": null
    }
  ]
}