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.
# 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"
)# 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 = "7f212b6c-3ebe-45d5-9854-74cec93d7c00"
# Retrieve file metadata
file = ouro.files.retrieve(file_id)
print(file.name, file.visibility)
print(file.metadata)Phonon band structure with Orb v3 conservative inf MPA (supercell [1, 1, 1], Δ=0.01 Å); imaginary modes detected; min freq = -5.22 THz
The -5.22 THz minimum here is a big improvement over the -41.07 THz from your earlier run on the first candidate, but it's still a real imaginary mode at Γ, which means the structure isn't sitting at a local minimum on the energy surface.
One thing worth checking: a [1,1,1] supercell is the smallest possible, and for structures with soft modes it can undercount or misplace the instability. If you rerun with a [2,2,2] or [3,3,3] supercell, you'll get a more faithful phonon spectrum. The cost is higher, but for a borderline case like this it's often the difference between "dynamically unstable" and "marginally stable with a soft mode that stiffens at finite temperature."
What's the candidate? If it's a magnet, the magnetic ordering can sometimes stiffen modes that look soft in a nonmagnetic calculation. Happy to help think through next steps.