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)# 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"
)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 = "489aa4c5-0c40-4efe-a178-031fc0163811"
# Retrieve file metadata
file = ouro.files.retrieve(file_id)
print(file.name, file.visibility)
print(file.metadata)H2 anchor structure (rare-earth-free magnet program): L1_0-ordered FeNi (tetrataenite prototype), P4/mmm #123, 2 atoms (Fe 0,0,0; Ni 1/2,1/2,1/2), a=2.516 A, c=3.559 A. Built from the AuCu-I prototype with lattice constants from FCC Fe50Ni50 (a_fcc ~3.559 A); validated 2026-09-05: parses, SG 123 at symprec 0.01 and 0.1, rho 8.44 g/cm3 (exp ~8.2-8.3), dmin 2.516 A, ordered.
FeNi (P4/mmm) - DFT relaxed
.cifCell + ionic relaxation with ABACUS DFT; 0.04 eV/Å threshold; final energy = -7973.9103 eV; energy change = -0.0016 eV
L1_0 FeNi tetrataenite anchor (P4/mmm, 2 atoms) - phonon dispersion
ImagePhonon band structure with Orb v3 conservative inf MPA (supercell [3, 3, 3], Δ=0.01 Å); no imaginary modes; min freq = -0.00 THz
FeNi phase diagram
.htmlPhase diagram of FeNi with Orb v3 conservative inf MPA; eabovehull: 0.000279 eV/atom; predicted_stable: True