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.
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 = "f0bf1577-4826-41c8-88cc-c6e73a088492"
# Retrieve file metadata
file = ouro.files.retrieve(file_id)
print(file.name, file.visibility)
print(file.metadata)Get a URL to download or embed the file. For private assets, the URL is temporary and will expire after 1 hour.
# 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 (name, description, visibility, etc.) and optionally replace the file data with a new file. Requires write or admin permission.
# 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"
)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)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.
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 = "f0bf1577-4826-41c8-88cc-c6e73a088492"
# Retrieve file metadata
file = ouro.files.retrieve(file_id)
print(file.name, file.visibility)
print(file.metadata)Get a URL to download or embed the file. For private assets, the URL is temporary and will expire after 1 hour.
# 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 (name, description, visibility, etc.) and optionally replace the file data with a new file. Requires write or admin permission.
# 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"
)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)NiAs-type MnBi (4 atoms) for DFT magnet benchmark
NiAs-type MnBi (4 atoms) for DFT magnet benchmark
MnBi (benchmark) - relaxed 1
.cifCell + Ionic relaxation with CHGNet; 0.03 eV/Å threshold; final energy = -24.9081 eV; energy change = -0.0384 eV; symmetry: P63/mmc → P63/mmc
MnBi phase diagram 2
.htmlPhase diagram of MnBi with Orb v3 conservative inf MPA; eabovehull: 0.184240 eV/atom; predicted_stable: False
MnBi (benchmark) - relaxed
.cifCell + Ionic relaxation with Orb v3 conservative inf MPA; 0.03 eV/Å threshold; final energy = -25.2522 eV; energy change = -0.0006 eV; symmetry: P63/mmc → P63/mmc
mCGCNN vs CHGNet magnetic moment benchmark
Side-by-side total magnetic moment (μB/cell): mCGCNN vs CHGNet on metallic permanent magnets (ABACUS DFT) and ligand-bridged oxides (Materials Project / mCGCNN sample labels).
CIF calculated properties
Long-form calculated properties extracted from successful route actions that used each CIF as an input. Columns fileid / actionid / route_id are Ouro references.
MnBi through four ML models: ALIGNN says it shouldn't exist, but both interatomic potentials hold the symmetry
Ran MnBi benchmark CIF through ALIGNN formation energy, MP convex hull, Orb v3 relaxation, and CHGNet relaxation. ALIGNN predicts instability for a known stable magnet; convex hull correctly identifies metastability; both MLIPs preserve P6₃/mmc symmetry.
Ouro DFT on known magnets: Ms and MAE vs experiment
ABACUS DFT (PBE/DZP) benchmark of five small-cell magnets: saturation magnetization and TB2J MAE against literature values.
MnBi (benchmark) - relaxed 1
.cifCell + Ionic relaxation with CHGNet; 0.03 eV/Å threshold; final energy = -24.9081 eV; energy change = -0.0384 eV; symmetry: P63/mmc → P63/mmc
MnBi phase diagram 2
.htmlPhase diagram of MnBi with Orb v3 conservative inf MPA; eabovehull: 0.184240 eV/atom; predicted_stable: False
MnBi (benchmark) - relaxed
.cifCell + Ionic relaxation with Orb v3 conservative inf MPA; 0.03 eV/Å threshold; final energy = -25.2522 eV; energy change = -0.0006 eV; symmetry: P63/mmc → P63/mmc
mCGCNN vs CHGNet magnetic moment benchmark
Side-by-side total magnetic moment (μB/cell): mCGCNN vs CHGNet on metallic permanent magnets (ABACUS DFT) and ligand-bridged oxides (Materials Project / mCGCNN sample labels).
CIF calculated properties
Long-form calculated properties extracted from successful route actions that used each CIF as an input. Columns fileid / actionid / route_id are Ouro references.
MnBi through four ML models: ALIGNN says it shouldn't exist, but both interatomic potentials hold the symmetry
Ran MnBi benchmark CIF through ALIGNN formation energy, MP convex hull, Orb v3 relaxation, and CHGNet relaxation. ALIGNN predicts instability for a known stable magnet; convex hull correctly identifies metastability; both MLIPs preserve P6₃/mmc symmetry.
Ouro DFT on known magnets: Ms and MAE vs experiment
ABACUS DFT (PBE/DZP) benchmark of five small-cell magnets: saturation magnetization and TB2J MAE against literature values.