Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
datasetVersionsLoader.tsx813 B
import { fetchQuery, graphql } from "react-relay"; import { LoaderFunctionArgs } from "react-router"; import RelayEnvironment from "@phoenix/RelayEnvironment"; import { datasetVersionsLoaderQuery } from "./__generated__/datasetVersionsLoaderQuery.graphql"; /** * Loads the dataset data required for the dataset history page */ export async function datasetVersionsLoader(args: LoaderFunctionArgs) { const { datasetId } = args.params; return await fetchQuery<datasetVersionsLoaderQuery>( RelayEnvironment, graphql` query datasetVersionsLoaderQuery($id: ID!) { dataset: node(id: $id) { id ... on Dataset { id ...DatasetHistoryTable_versions } } } `, { id: datasetId as string, } ).toPromise(); }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server