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 = "6362e1ed-e846-4c1c-9140-f817169d03aa"
# 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)Crystal structure for Fe2CoMnW | Space group: 156 (resolved from structure) | Generated from scratch using crystal structure prediction | Number of atoms: 5 | Generated: 2025-12-15 14:22:31
Supercell 3x3x3 of MnFe2CoW (Space group: P3m1, 162 symmetry operations)
Phase diagram of MnFe2CoW; eabovehull: 0.262422 eV/atom; predicted_stable: False
Phonon band structure (supercell [2, 2, 2], Δ=0.01 Å); no imaginary modes; min freq = -0.16 THz
AI-discovered magnetic material: Fe2CoMnW (performance score: 0.810) | Space group: 156 (resolved from structure) | AI-generated from scratch using crystal structure prediction | Key properties: Tc: 555K, Ms: 0.11T, MAE: 5.50mJ/m^3, Cost: $21/kg, E_hull: 0.262eV/atom, Dynamically stable | Discovered in 3 AI iterations | This material demonstrates that high magnetic performance can be achieved with relatively low cost and a small unit cell size. The high Curie temperature and magnetic anisotropy energy suggest potential for magnetic applications requiring thermal stability and strong anisotropy. The dynamic stability is a positive sign for synthesis feasibility. However, the elevated energy above hull suggests that further optimization or doping might be needed to improve thermodynamic stability. This insight highlights a trade-off between achieving strong magnetic properties and maintaining low energy above hull in this chemical composition and structure.