{
  "_id": "6a27b8c224555f66ed539bfd",
  "Package": "kagiPro",
  "Title": "Kagi API Client for R",
  "Version": "0.4.1",
  "Description": "User-friendly R client for the Kagi APIs (Search, Enrich,\nSummarizer, and FastGPT). Build endpoint-specific query\nobjects, run single or batch requests with one reusable\nconnection, and write reproducible JSON outputs for analysis\npipelines. Includes optional graceful error handling with dummy\noutputs and JSON-to-parquet conversion for downstream\nworkflows.",
  "Authors@R": "c(\nperson(\"Rainer M.\", \"Krug\", email = \"Rainer.Krug@Senckenberg.de\", role = c(\"aut\",\"cre\"))\n)",
  "Author": "Rainer M. Krug [aut, cre]",
  "Maintainer": "Rainer M. Krug <Rainer.Krug@Senckenberg.de>",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr, quarto",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/rkrug/kagiPro, https://rkrug.github.io/kagiPro/",
  "BugReports": "https://github.com/rkrug/kagiPro/issues",
  "Config/pak/sysreqs": "cmake libicu-dev libpng-dev libxml2-dev libssl-dev\npython3 xz-utils",
  "Repository": "https://rkrug.r-universe.dev",
  "Date/Publication": "2026-04-10 14:28:52 UTC",
  "RemoteUrl": "https://github.com/rkrug/kagiPro",
  "RemoteRef": "main",
  "RemoteSha": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 06:35:09 UTC",
    "User": "root"
  },
  "MD5sum": "6a679ecee80f6531dcefdaee1b0d0ed6",
  "_user": "rkrug",
  "_type": "src",
  "_file": "kagiPro_0.4.1.tar.gz",
  "_fileid": "171569b9cb294290e7e24f815aedd9b833c225842593498b9f95e6afee7bafe6",
  "_filesize": 227767,
  "_sha256": "171569b9cb294290e7e24f815aedd9b833c225842593498b9f95e6afee7bafe6",
  "_created": "2026-06-09T06:35:09.000Z",
  "_published": "2026-06-09T06:54:58.080Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80262681367,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500247998"
    },
    {
      "job": 80262681390,
      "time": 200,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500254152"
    },
    {
      "job": 80262681412,
      "time": 166,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7500527062"
    },
    {
      "job": 80262681420,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500470463"
    },
    {
      "job": 80262228339,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500198857"
    },
    {
      "job": 80262681371,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500235264"
    },
    {
      "job": 80262681446,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500231130"
    },
    {
      "job": 80262681467,
      "time": 175,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7500247587"
    },
    {
      "job": 80262681376,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500233986"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rkrug/actions/runs/27188297497",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rkrug/kagiPro",
  "_commit": {
    "id": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
    "author": "Rainer M Krug <rkrug@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "v0.4.1\n\nPrepare v0.4.1: external skill path + release metadata sync",
    "time": 1775831332
  },
  "_maintainer": {
    "name": "Rainer M. Krug",
    "email": "rainer.krug@senckenberg.de"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "arrow",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "duckdb",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "ragnar",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "keyring",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vcr",
      "role": "Suggests"
    }
  ],
  "_owner": "rkrug",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 3
    },
    {
      "week": "2026-15",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2026-04-10"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rkrug",
      "count": 36,
      "uuid": 487172
    }
  ],
  "_userbio": {
    "uuid": 487172,
    "type": "user",
    "name": "Rainer M Krug"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kagiPro"
  },
  "_devurl": "https://github.com/rkrug/kagipro",
  "_pkgdown": "https://rkrug.github.io/kagiPro/",
  "_searchresults": 9,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kagiPro.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "clean_request",
    "content_markdown",
    "download_content",
    "kagi_connection",
    "kagi_fetch",
    "kagi_request",
    "kagi_request_parquet",
    "kagi_update_query",
    "markdown_abstract",
    "open_search_query",
    "query_enrich_news",
    "query_enrich_web",
    "query_fastgpt",
    "query_search",
    "query_summarize",
    "read_corpus",
    "summarize_with_kagi",
    "summarize_with_openai"
  ],
  "_help": [
    {
      "page": "clean_request",
      "title": "Clean JSON Request Data While Preserving Query Metadata",
      "topics": [
        "clean_request"
      ]
    },
    {
      "page": "content_markdown",
      "title": "Extract Downloaded Content to Markdown",
      "topics": [
        "content_markdown"
      ]
    },
    {
      "page": "download_content",
      "title": "Download Endpoint Content for Abstract Generation",
      "topics": [
        "download_content"
      ]
    },
    {
      "page": "kagi_connection",
      "title": "Construct a Kagi API connection",
      "topics": [
        "kagi_connection"
      ]
    },
    {
      "page": "kagi_fetch",
      "title": "Fetch Kagi Data into an Endpoint-Structured Project Folder",
      "topics": [
        "kagi_fetch"
      ]
    },
    {
      "page": "kagi_request",
      "title": "Execute Kagi API requests and save JSON responses",
      "topics": [
        "kagi_request"
      ]
    },
    {
      "page": "kagi_request_parquet",
      "title": "Convert JSON files to Apache Parquet files",
      "topics": [
        "kagi_request_parquet"
      ]
    },
    {
      "page": "kagi_update_query",
      "title": "Re-Run a Stored Query by Name and Refresh Parquet",
      "topics": [
        "kagi_update_query"
      ]
    },
    {
      "page": "markdown_abstract",
      "title": "Summarize Markdown into Query-Level Abstract Parquet",
      "topics": [
        "markdown_abstract"
      ]
    },
    {
      "page": "open_search_query",
      "title": "Open a Kagi search in the browser",
      "topics": [
        "open_search_query"
      ]
    },
    {
      "page": "query_enrich_news",
      "title": "Build a Kagi search query string",
      "topics": [
        "query_enrich_news"
      ]
    },
    {
      "page": "query_enrich_web",
      "title": "Build a Kagi search query string",
      "topics": [
        "query_enrich_web"
      ]
    },
    {
      "page": "query_fastgpt",
      "title": "Create a FastGPT query payload",
      "topics": [
        "query_fastgpt"
      ]
    },
    {
      "page": "query_search",
      "title": "Build a Kagi search query string",
      "topics": [
        "query_search"
      ]
    },
    {
      "page": "query_summarize",
      "title": "Create a new Kagi summarize request",
      "topics": [
        "query_summarize"
      ]
    },
    {
      "page": "read_corpus",
      "title": "Read a kagiPro Parquet Corpus",
      "topics": [
        "read_corpus"
      ]
    },
    {
      "page": "summarize_with_kagi",
      "title": "Summarize Text via Kagi Summarize Endpoint",
      "topics": [
        "summarize_with_kagi"
      ]
    },
    {
      "page": "summarize_with_openai",
      "title": "Summarize Text via OpenAI Chat Completions",
      "topics": [
        "summarize_with_openai"
      ]
    }
  ],
  "_readme": "https://github.com/rkrug/kagiPro/raw/main/README.md",
  "_rundeps": [
    "arrow",
    "askpass",
    "assertthat",
    "bit",
    "bit64",
    "blob",
    "cli",
    "codetools",
    "commonmark",
    "cpp11",
    "curl",
    "DBI",
    "dbplyr",
    "digest",
    "dplyr",
    "duckdb",
    "future",
    "future.apply",
    "generics",
    "globals",
    "glue",
    "here",
    "httr",
    "httr2",
    "jsonlite",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "Matrix",
    "mime",
    "mirai",
    "nanonext",
    "openssl",
    "parallelly",
    "pillar",
    "pkgconfig",
    "png",
    "purrr",
    "R6",
    "ragnar",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "rvest",
    "S7",
    "selectr",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "agent-quick-index.qmd",
      "filename": "agent-quick-index.html",
      "title": "Agent Quick Index",
      "engine": "quarto::html",
      "headings": [
        "Connection and Authentication",
        "Query Construction",
        "Request Execution",
        "Storage and Refresh",
        "Content and Abstract Pipeline",
        "Utility"
      ],
      "created": "2026-04-10 12:53:14",
      "modified": "2026-04-10 12:53:14",
      "commits": 1
    },
    {
      "source": "api-contracts.qmd",
      "filename": "api-contracts.html",
      "title": "API Contracts",
      "engine": "quarto::html",
      "headings": [
        "Folder Contracts",
        "Request/Parquet Workflow",
        "Content/Abstract Workflow",
        "Data Contracts",
        "Base Parquet Corpus",
        "Abstract Parquet",
        "read_corpus(..., abstracts = TRUE)",
        "Execution Contracts",
        "Error-Handling Contracts",
        "Stability Notes"
      ],
      "created": "2026-04-10 12:53:14",
      "modified": "2026-04-10 12:53:14",
      "commits": 1
    },
    {
      "source": "corpus-workflow.qmd",
      "filename": "corpus-workflow.html",
      "title": "kagiPro Corpus Workflow: Search to Abstract-Linked Corpus",
      "engine": "quarto::html",
      "headings": [
        "End-to-End Corpus Workflow (Multiple Queries)",
        "1) Create connection and multi-query search input",
        "2) Fetch search results into endpoint-structured project folders",
        "3) (Optional) Explicit parquet conversion step",
        "4) Download linked source content",
        "5) Convert downloaded content to markdown",
        "6) Build query-level abstract parquet files",
        "7) Read corpus and link abstracts",
        "Practical Notes"
      ],
      "created": "2026-04-10 06:33:35",
      "modified": "2026-04-10 06:33:35",
      "commits": 1
    },
    {
      "source": "enrich-endpoint.qmd",
      "filename": "enrich-endpoint.html",
      "title": "kagiPro Enrich Endpoint Guide",
      "engine": "quarto::html",
      "headings": [
        "Enrich Endpoint: Context Discovery for Web and News",
        "Create the connection once",
        "Build web and news enrich queries",
        "Execute a focused run for each enrich type",
        "Move to a thematic batch workload",
        "Handle request failures without losing the whole run",
        "Convert enrich output to parquet",
        "Operational recommendations"
      ],
      "created": "2026-04-08 14:30:27",
      "modified": "2026-04-10 06:33:35",
      "commits": 2
    },
    {
      "source": "fastgpt-endpoint.qmd",
      "filename": "fastgpt-endpoint.html",
      "title": "kagiPro FastGPT Endpoint Guide",
      "engine": "quarto::html",
      "headings": [
        "FastGPT Endpoint: Practical Prompt Workflows",
        "Create one connection for all runs",
        "Build a single prompt query",
        "Execute and store the first response",
        "Scale prompts to a batch job",
        "Keep long runs resilient with graceful error handling",
        "Convert FastGPT output to parquet",
        "Operational recommendations"
      ],
      "created": "2026-04-08 14:30:27",
      "modified": "2026-04-10 06:33:35",
      "commits": 2
    },
    {
      "source": "quickstart.qmd",
      "filename": "quickstart.html",
      "title": "kagiPro Quickstart Guide",
      "engine": "quarto::html",
      "headings": [
        "kagiPro: First End-to-End Workflow",
        "Project-folder first workflow",
        "Install and load the package",
        "Create a secure API connection",
        "Build your first search query",
        "Execute and persist search results",
        "Run one example from each endpoint",
        "Enrich web",
        "Enrich news",
        "Summarize (text input)",
        "FastGPT",
        "Convert JSON results to parquet",
        "Bridge to OpenAlex-style vector input",
        "Where to go next",
        "Session info"
      ],
      "created": "2025-08-27 09:33:39",
      "modified": "2026-04-10 06:33:35",
      "commits": 4
    },
    {
      "source": "search-endpoint.qmd",
      "filename": "search-endpoint.html",
      "title": "kagiPro Search Endpoint Guide",
      "engine": "quarto::html",
      "headings": [
        "Search Endpoint: From Question to Reusable Search Pipeline",
        "Start with a reusable connection",
        "Build one precise search query",
        "Execute the request and persist results",
        "Scale from single query to query grid",
        "Choose your failure policy explicitly",
        "Convert search JSON to parquet for analysis",
        "Operational recommendations"
      ],
      "created": "2026-04-08 14:30:27",
      "modified": "2026-04-10 06:33:35",
      "commits": 2
    },
    {
      "source": "summarize-endpoint.qmd",
      "filename": "summarize-endpoint.html",
      "title": "kagiPro Summarize Endpoint Guide",
      "engine": "quarto::html",
      "headings": [
        "Summarize Endpoint: Robust Summaries in Real Pipelines",
        "Establish a reusable connection",
        "Build summarize queries for URL and text sources",
        "Execute a normal summarize request",
        "Handle known short-input failures safely",
        "Run mixed batches with one success and one failure",
        "Convert summarize JSON to parquet",
        "Operational recommendations"
      ],
      "created": "2026-04-08 14:30:27",
      "modified": "2026-04-10 06:33:35",
      "commits": 2
    }
  ],
  "_score": 3.9030899869919438,
  "_indexed": true,
  "_nocasepkg": "kagipro",
  "_universes": [
    "rkrug"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-06-09T06:37:50.000Z",
      "distro": "noble",
      "commit": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
      "fileid": "8dd98059a9c02d6722305900a6eb6fb56077d6684952b02c9cb46e9d09d45914",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rkrug/actions/runs/27188297497"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-06-09T06:38:14.000Z",
      "distro": "noble",
      "commit": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
      "fileid": "fac250645c62ed17e9d787a5d619b2c62c91549b1af7e027fbc91a3dccf467b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rkrug/actions/runs/27188297497"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-06-09T06:54:13.000Z",
      "commit": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
      "fileid": "879f09cfb3510778c9b3d9853fe9b580b8f0623ef63639507e684d4848f2dc74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rkrug/actions/runs/27188297497"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-06-09T06:51:06.000Z",
      "commit": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
      "fileid": "ebc63e9682abbf1b5bf191785e851d88ad22badfed340a1d9803ab04657c7854",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rkrug/actions/runs/27188297497"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-06-09T06:37:33.000Z",
      "commit": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
      "fileid": "705976c7902733a946c84c88b79a58972a7874c7062132e0b4cd59a43ed8a823",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rkrug/actions/runs/27188297497"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-06-09T06:36:42.000Z",
      "commit": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
      "fileid": "0e238c090e10755d65044b7a43da93e14726859b27cd34c442ad8feae0a50852",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rkrug/actions/runs/27188297497"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-06-09T06:37:37.000Z",
      "commit": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
      "fileid": "6c23979081b4a786981354f4d43e4a7538dff28ccd835dfd70c3e3340301e9e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rkrug/actions/runs/27188297497"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-06-09T06:36:43.000Z",
      "commit": "e4efb6151af89c7a2f8ff4fbedf509fed279a7a5",
      "fileid": "eaae076cc3acd65f152067a09981373ba8fad9034f37b37fde388c280d2d9d9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rkrug/actions/runs/27188297497"
    }
  ]
}