Arize Phoenix
How to list Arize Phoenix datasets
List available Phoenix datasets with the REST API or px CLI. Use the returned dataset IDs to inspect individual datasets.
Documentation reviewed · 2 methods with sources
Ways to do it
API
GET /v1/datasets
List dataset metadata. Optionally pass name to narrow the list.
Read source: Phoenix REST list datasets- Requirements
- The Phoenix instance endpoint. Use a Phoenix API key as a Bearer token if authentication is enabled.
- Limitations
- The default page contains up to 10 datasets. Pass next_cursor as cursor to retrieve the next page.
Example shell
curl --fail "${PHOENIX_ENDPOINT%/}/v1/datasets?limit=10" -H "Authorization: Bearer $PHOENIX_API_KEY"CLI
px dataset list
List datasets as table or JSON output from the official Phoenix CLI.
Read source: Phoenix CLI dataset commands- Requirements
- The px CLI, PHOENIX_ENDPOINT, and PHOENIX_API_KEY if the instance requires authentication.
- Limitations
- Set --limit to bound the number of datasets in the output.
Example shell
px dataset list --limit 10 --format json