list_attributes()
Python package: neptune-query
Lists unique attributes in the runs of a Neptune project.
To limit the results, define filters for runs to search or attributes to include.
Parameters
Returns
list[str]
– A list of attribute names in the runs of the Neptune project.
Example
List all attributes of a specific run:
import neptune_query.runs as nq_runs
nq_runs.list_attributes(
runs=["prompt-wolf-20250605132116671-2g2r1"], # run ID
)
List all attributes that begin with "metrics":
import neptune_query.runs as nq_runs
nq_runs.list_attributes(attributes=r"^metrics")
Search a specific project for runs with a learning rate less than 0.01 and return the logged attributes:
import neptune_query.runs as nq_runs
from neptune_query.filters import Filter
nq_runs.list_attributes(
project="team-alpha/sandbox",
runs=Filter.lt("config/lr", 0.01),
)