{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "Clipvie API Directory",
  "description": "Catálogo de endpoints y servicios de Clipvie para agentes de software e inteligencia artificial",
  "version": "1.0.0",
  "baseUrl": "https://api.clipvie.com",
  "documentation": "https://github.com/josepablo05-pixel/takeyourclip",
  "authDocumentation": "https://clipvie.com/auth.md",
  "services": [
    {
      "id": "mcp",
      "name": "Model Context Protocol Endpoint",
      "type": "mcp",
      "endpoint": "https://api.clipvie.com/mcp",
      "transport": "streamable-http",
      "serverCard": "https://clipvie.com/.well-known/mcp/server.json",
      "description": "Punto de enlace principal para que LLMs y agentes descubran e invoquen herramientas"
    },
    {
      "id": "ingest",
      "name": "Video Ingestion API",
      "type": "rest",
      "endpoint": "https://api.clipvie.com/ingest/url",
      "method": "POST",
      "auth": "bearer",
      "description": "Importa un vídeo para su análisis a partir de una URL de YouTube o Twitch"
    },
    {
      "id": "projects",
      "name": "Projects Management API",
      "type": "rest",
      "endpoint": "https://api.clipvie.com/projects",
      "method": "GET",
      "auth": "bearer",
      "description": "Consulta el listado de proyectos y su progreso de transcripción y renderizado"
    },
    {
      "id": "clips",
      "name": "Clips API",
      "type": "rest",
      "endpoint": "https://api.clipvie.com/clips",
      "method": "GET",
      "auth": "bearer",
      "description": "Devuelve los clips extraídos, scores de viralidad y metadatos de renderizado"
    },
    {
      "id": "machine_payments",
      "name": "Machine Payments API (MPP / 402)",
      "type": "rest",
      "endpoint": "https://api.clipvie.com/pay",
      "method": "POST",
      "auth": "signed-budget",
      "description": "Protocolo de micropagos y recargas entre máquinas para agentes de IA autónomos"
    }
  ]
}
