import requests
response = requests.post(
"https://api.atomscale.ai/tool-state/stream/chunk",
headers={
"X-API-KEY": "YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"data_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"chunk_index": 0,
"channel_name": "thickness",
"timestamps": [1705312200.0, 1705312210.0, 1705312220.0],
"values": [0, 5.2, 10.1],
"units": "nm"
}
)
result = response.json()