Skip to main content
GET
Get Model Lineage
Returns the complete lineage graph for a model attestation. The graph includes all training datasets, parent models (for fine-tuned or distilled models), and downstream deployments connected by typed relationships. Model lineage enables compliance teams to trace exactly which data was used to train a model, verify that all upstream datasets are properly attested, and audit the full provenance chain from raw data to production deployment.

Authentication

string
required
API key with models:read scope. Alternatively, pass a Bearer JWT token in the Authorization header.
string
required
Tenant identifier for multi-tenant isolation.

Path Parameters

string
required
Model attestation identifier (maip-model:ULID).

Response

string
The root model identifier for this lineage query.
array
Array of lineage nodes. Each node contains: - id (string) — Resource identifier - type (string) — Node type: dataset, model, or deployment
  • name (string) — Human-readable name - version (string) — Resource version - status (string) — Current attestation status - created_at (string) — ISO 8601 timestamp
array
Array of relationships connecting nodes. Each edge contains: - source (string) — Source node identifier - target (string) — Target node identifier - relationship (string) — Relationship type (e.g. trained_on, fine_tuned_from, distilled_from, deployed_as) - metadata (object) — Optional edge metadata
array
Convenience field listing all dataset nodes in the lineage that have a direct trained_on relationship with the queried model. Each entry contains id, name, version, and status.

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Path Parameters

modelId
string<uuid>
required

Model identifier

Response

Model lineage

model_id
string<uuid>
training_runs
object[]
datasets
object[]
parent_models
object[]