{"uid":"cap_667KwBfLyHNov-Z7qj7pM","slug":"artefaktum-artifact-lineage-relations-90cfe68c","name":"Artefaktum Artifact Lineage / Relations","description":"List an artifact's lineage: the artifacts it was derived from and those derived from it, with relation type and direction. Costs $0.005 in USDC. No signup: a wallet's first payment creates its account and a default project; the same wallet later reaches the same files.","url":"https://api.artefaktum.dev/v1/artifacts/:artifact_id/relations?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["artifact_id"],"properties":{"artifact_id":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"array"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yyWRJ2nx_n8HzxZwld90H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an artifact's lineage graph: the artifacts it was derived from (parents) and those derived from it (children), with relation type and direction.","exampleAgentPrompt":"Show me the full lineage for artifact abc123 on Artefaktum — I want to see both what it was derived from and what has been derived from it, along with the relation types.","exampleUseCases":[{"title":"Trace ML model provenance","prompt":"I need to see the full lineage of artifact model-v3-final on Artefaktum — show me all the datasets and preprocessing steps it was derived from, and any downstream models built on top of it."},{"title":"Audit data pipeline dependencies","prompt":"Can you pull the relations for artifact id pipeline-output-2024-q2 on Artefaktum? I want to know which raw data artifacts fed into it and which reports or exports were generated from it."},{"title":"Verify no orphaned artifacts","prompt":"For artifact id doc-summary-v2 on Artefaktum, show me its lineage so I can confirm it's properly linked to its source document and that nothing downstream is depending on it before I let it expire."}],"resultDescription":"A JSON array of relation objects, each describing a linked artifact with its relation type (e.g. derived_from, derived_into) and direction (parent or child), allowing the caller to reconstruct the artifact's full provenance graph.","failureModes":["artifact_id not found — 404 with error message","wallet has not paid or account not initialized — 402 payment required","invalid artifact_id format — 400 bad request","artifact belongs to a different wallet — 403 forbidden","network timeout or service unavailable — 503"],"whenToPreferThis":"Use this endpoint when you need to understand the provenance or downstream impact of a specific artifact stored in Artefaktum — i.e., which artifacts it was built from and which artifacts were built from it. Prefer this over generic artifact metadata endpoints when lineage, derivation chains, or dependency auditing is the goal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:52:52.261Z","isFirstParty":false,"canonicalSlug":"artefaktum-artifact-lineage-relations-90cfe68c"}