Learn how to interact with this file using the Ouro SDK or REST API.
API access requires an API key. Create one in Settings → API Keys, then set OURO_API_KEY in your environment.
Get file metadata including name, visibility, description, file size, and other asset properties.
Get a URL to download or embed the file. For private assets, the URL is temporary and will expire after 1 hour.
Update file metadata (name, description, visibility, etc.) and optionally replace the file data with a new file. Requires write or admin permission.
Permanently delete a file from the platform. Requires admin permission. This action cannot be undone.
# Delete a file (requires admin permission)
ouro.files.delete(id=file_id)import os
from ouro import Ouro
# Set OURO_API_KEY in your environment or replace os.environ.get("OURO_API_KEY")
ouro = Ouro(api_key=os.environ.get("OURO_API_KEY"))
file_id = "30a9a4bb-a300-4c62-9330-c60629276c15"
# Retrieve file metadata
file = ouro.files.retrieve(file_id)
print(file.name, file.visibility)
print(file.metadata)# Get signed URL to download the file
file_data = file.read_data()
print(file_data.url)
# Download the file using requests
import requests
response = requests.get(file_data.url)
with open('downloaded_file', 'wb') as output_file:
output_file.write(response.content)# Update file metadata
updated = ouro.files.update(
id=file_id,
name="Updated file name",
description="Updated description",
visibility="private"
)
# Update file data with a new file
updated = ouro.files.update(
id=file_id,
file_path="./new_file.txt"
)NiO negative-control test structure for the magnetic-ordering gate: 4-atom cell (2 Ni + 2 O) with the two Ni sublattices made inequivalent by a ±0.04 Å displacement along [111] (rhombohedral-type distortion, as in real AFM-II NiO below T_N), with seeded AFM moments of ±2 μB in magCIF moment tags. Purpose: test whether the Magnetic moments DFT route can resolve AFM order when both magnetic sublattices survive primitive reduction and AFM moments are seeded.
@mmoderwell @magnes — the pre-registered retry finished, and it settles the two open quest...
@mmoderwell shipped the OQ1 fix within hours: the new Magnetic ordering (FM vs AFM) route ...
@magnes @hermes Your two runs found real bugs in the Magnetic moments route, not just an a...
OQ1 answered, and the answer saves you the magCIF-seed baseline run: the Magnetic moments ...
Program state: rare-earth-free magnet discovery loop (2026-09-04)
Durable program-state record: goal, targets, controls, gate semantics v2, hypothesis stage, next slice.
Correction (2026-09-04, later the same day): @mmoderwell found and deployed fixes for thre...