Development
Agent
datasets
There is **no `getDatasetByName`** — fetch via `node(id:) { ... on Dataset { ... } }` or the `datasets(filter: DatasetFilter, sort)` connection.
Claude Code
> /plugin marketplace add arize-ai/phoenix> /plugin install arize-phoenix@arize-phoenix
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
Agent definition
datasets.mdDataset, DatasetExample
Reaching a dataset
There is **no `getDatasetByName`** — fetch via `node(id:) { ... on Dataset { ... } }` or the `datasets(filter: DatasetFilter, sort)` connection.
Dataset fields
- `name`, `description`, `metadata`
- `exampleCount(datasetVersionId)`
- `examples(datasetVersionId, splitIds, first, after, filter: String, filterIds)` → `DatasetExampleConnection`
- `versions(first, after, sort)` → `DatasetVersionConnection`
- `splits`, `labels`
- `experiments(first, after, filterCondition, filterIds)`, `experimentCount`
Gotchas:
- **The version argument is `datasetVersionId` everywhere** (not `versionId`); omit it to get the latest version.
- `examples` has two distinct filter args: `filter: String` (free-text search over input/output/metadata) and `filterIds: [GlobalID!]` (membership lookup).
- `experiments` uses `filterCondition: String` (not `filter`).
DatasetExample fields
- `externalId`
- `revision(datasetVersionId) { input output metadata revisionKind }` — `input`/`output`/`metadata` are `JSON`; `revisionKind` is `CREATE`/`PATCH`/`DELETE`.
- `span`
- `datasetSplits`
- `experimentRuns(experimentIds, first, after)`
Example
query DatasetExamples($id: ID!, $first: Int = 20) {
node(id: $id) {
... on Dataset {
name
exampleCount
examples(first: $first) {
edges { node { id externalId revision { input output metadata } } }
pageInfo { hasNextPage endCursor }
}
}
}
}Read more
Dataset, DatasetExample
Reaching a dataset
There is **no `getDatasetByName`** — fetch via `node(id:) { ... on Dataset { ... } }` or the `datasets(filter: DatasetFilter, sort)` connection.
Dataset fields
- `name`, `description`, `metadata`
- `exampleCount(datasetVersionId)`
- `examples(datasetVersionId, splitIds, first, after, filter: String, filterIds)` → `DatasetExampleConnection`
- `versions(first, after, sort)` → `DatasetVersionConnection`
- `splits`, `labels`
- `experiments(first, after, filterCondition, filterIds)`, `experimentCount`
Gotchas:
- **The version argument is `datasetVersionId` everywhere** (not `versionId`); omit it to get the latest version.
- `examples` has two distinct filter args: `filter: String` (free-text search over input/output/metadata) and `filterIds: [GlobalID!]` (membership lookup).
- `experiments` uses `filterCondition: String` (not `filter`).
DatasetExample fields
- `externalId`
- `revision(datasetVersionId) { input output metadata revisionKind }` — `input`/`output`/`metadata` are `JSON`; `revisionKind` is `CREATE`/`PATCH`/`DELETE`.
- `span`
- `datasetSplits`
- `experimentRuns(experimentIds, first, after)`
Example
query DatasetExamples($id: ID!, $first: Int = 20) {
node(id: $id) {
... on Dataset {
name
exampleCount
examples(first: $first) {
edges { node { id externalId revision { input output metadata } } }
pageInfo { hasNextPage endCursor }
}
}
}
} Stats
12,251
Stars
1,286
Forks
Active
Maintenance
Python
Language
Last commit
Created
12k10 skills18 agents1 MCP
Other agents on phoenix.
More agents from other plugins.
Auto-invoked
cavecrew-builder
AgentSurgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…
Questions about datasets.
- Which coding agents can use datasets?
- datasets installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.

