{
  "name": "artbitrage-pipeline",
  "version": "1.0.0",
  "description": "Data collection, enrichment, and distribution for agents + humans",
  "stages": [
    "collect",
    "enrich",
    "distribute"
  ],
  "endpoints": {
    "GET /api/pipeline": "this manifest",
    "GET /api/pipeline/workflow": "copy-paste workflow for humans and agents",
    "GET /api/pipeline/collect?q=love&limit=3&source=all": "collect art from museum APIs",
    "GET /api/pipeline/enrich?id=ARTID": "enrich a piece with AI metadata",
    "GET /api/pipeline/feed?limit=20": "enriched feed (art + AI + museum cross-refs)",
    "GET /api/pipeline/export?format=json|csv|ndjson|markdown": "export full collection",
    "GET /api/pipeline/agent": "agent-optimized data package",
    "GET /api/pipeline/human": "human-friendly gallery view",
    "POST /api/pipeline/ingest": "ingest external art with enrichment"
  },
  "sources": [
    {
      "source": "met",
      "source_name": "Metropolitan Museum of Art",
      "url": "https://collectionapi.metmuseum.org/public/collection/v1/search",
      "open_access": true,
      "auth": "none"
    },
    {
      "source": "artic",
      "source_name": "Art Institute of Chicago",
      "url": "https://api.artic.edu/api/v1/artworks/search",
      "open_access": true,
      "auth": "none"
    },
    {
      "source": "cma",
      "source_name": "Cleveland Museum of Art",
      "url": "https://openaccess-api.clevelandart.org/api/artworks/",
      "open_access": true,
      "auth": "none"
    },
    {
      "source": "wikimedia",
      "source_name": "Wikimedia Commons",
      "url": "https://commons.wikimedia.org/w/api.php",
      "open_access": true,
      "auth": "none"
    },
    {
      "source": "internet_archive",
      "source_name": "Internet Archive",
      "url": "https://archive.org/advancedsearch.php",
      "open_access": true,
      "auth": "none"
    }
  ],
  "default_sources": [
    "met",
    "artic",
    "cma",
    "wikimedia"
  ],
  "obtain": {
    "humans": [
      "/",
      "/api/pipeline/human",
      "/data/human-feed.md"
    ],
    "agents": [
      "/api/pipeline/agent",
      "/data/agent-feed.json",
      "/data/collection.ndjson",
      "/data/manifest.json"
    ],
    "builders": [
      "python3 tools/build_data_packs.py",
      "python3 tools/build_data_packs.py verify"
    ]
  },
  "free": true,
  "no_keys": true,
  "agent_friendly": true,
  "human_friendly": true
}