[{"data":1,"prerenderedAt":351},["ShallowReactive",2],{"navigation_docs":3,"-providers-permacc":88,"-providers-permacc-surround":348},[4,40],{"title":5,"path":6,"stem":7,"children":8,"icon":39},"Guide","\u002Fguide","1.guide\u002F1.index",[9,11,15,19,23,27,31,35],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Listing Captures","\u002Fguide\u002Fsnapshots","1.guide\u002F2.snapshots",{"title":16,"path":17,"stem":18},"Reading Captures","\u002Fguide\u002Fcontent","1.guide\u002F3.content",{"title":20,"path":21,"stem":22},"Comparing Versions","\u002Fguide\u002Fdiff","1.guide\u002F4.diff",{"title":24,"path":25,"stem":26},"Configuration","\u002Fguide\u002Fconfiguration","1.guide\u002F5.configuration",{"title":28,"path":29,"stem":30},"Agents","\u002Fguide\u002Fagents","1.guide\u002F6.agents",{"title":32,"path":33,"stem":34},"Custom Providers","\u002Fguide\u002Fcustom","1.guide\u002F7.custom",{"title":36,"path":37,"stem":38},"Explorer","\u002Fguide\u002Fexplorer","1.guide\u002F8.explorer","i-lucide-book-open",{"title":41,"path":42,"stem":43,"children":44,"icon":87},"Providers","\u002Fproviders","2.providers\u002F0.index",[45,47,51,55,59,63,67,71,75,79,83],{"title":46,"path":42,"stem":43},"Overview",{"title":48,"path":49,"stem":50},"Wayback Machine","\u002Fproviders\u002Fwayback","2.providers\u002F01.wayback",{"title":52,"path":53,"stem":54},"Arquivo.pt","\u002Fproviders\u002Farquivo","2.providers\u002F02.arquivo",{"title":56,"path":57,"stem":58},"Webarchiv Österreich","\u002Fproviders\u002Fwebarchiv","2.providers\u002F03.webarchiv",{"title":60,"path":61,"stem":62},"Archive.today","\u002Fproviders\u002Farchive-today","2.providers\u002F04.archive-today",{"title":64,"path":65,"stem":66},"Common Crawl","\u002Fproviders\u002Fcommoncrawl","2.providers\u002F05.commoncrawl",{"title":68,"path":69,"stem":70},"WebCite","\u002Fproviders\u002Fwebcite","2.providers\u002F06.webcite",{"title":72,"path":73,"stem":74},"Memento","\u002Fproviders\u002Fmemento","2.providers\u002F07.memento",{"title":76,"path":77,"stem":78},"Archive-It","\u002Fproviders\u002Farchive-it","2.providers\u002F08.archive-it",{"title":80,"path":81,"stem":82},"Conifer","\u002Fproviders\u002Fconifer","2.providers\u002F09.conifer",{"title":84,"path":85,"stem":86},"Perma.cc","\u002Fproviders\u002Fpermacc","2.providers\u002F10.permacc","i-lucide-library",{"id":89,"title":84,"body":90,"description":341,"extension":342,"links":343,"meta":344,"navigation":160,"path":85,"seo":346,"stem":86,"__hash__":347},"docs\u002F2.providers\u002F10.permacc.md",{"type":91,"value":92,"toc":333},"minimark",[93,97,102,219,227,231,263,267,278,282,296,300,320,324,329],[94,95],"provider-facts",{"slug":96},"permacc",[98,99,101],"h2",{"id":100},"load-it","Load it",[103,104,109],"pre",{"className":105,"code":106,"language":107,"meta":108,"style":108},"language-ts shiki shiki-themes vitesse-light vitesse-light vesper","import { createArchive, providers } from \"@agntn\u002Farchives\";\n\nconst archive = createArchive(providers.permacc({ apiKey: process.env.PERMA_CC_API_KEY! }));\n","ts","",[110,111,112,155,162],"code",{"__ignoreMap":108},[113,114,117,121,125,129,132,135,138,141,145,149,152],"span",{"class":115,"line":116},"line",1,[113,118,120],{"class":119},"sB1ot","import",[113,122,124],{"class":123},"sldxI"," {",[113,126,128],{"class":127},"sA8fy"," createArchive",[113,130,131],{"class":123},",",[113,133,134],{"class":127}," providers",[113,136,137],{"class":123}," }",[113,139,140],{"class":119}," from",[113,142,144],{"class":143},"sbwUx"," \"",[113,146,148],{"class":147},"sHyde","@agntn\u002Farchives",[113,150,151],{"class":143},"\"",[113,153,154],{"class":123},";\n",[113,156,158],{"class":115,"line":157},2,[113,159,161],{"emptyLinePlaceholder":160},true,"\n",[113,163,165,169,172,176,179,182,185,188,190,193,197,200,203,205,208,210,213,216],{"class":115,"line":164},3,[113,166,168],{"class":167},"s8Cdk","const",[113,170,171],{"class":127}," archive",[113,173,175],{"class":174},"sUeik"," =",[113,177,128],{"class":178},"shFES",[113,180,181],{"class":123},"(",[113,183,184],{"class":127},"providers",[113,186,187],{"class":123},".",[113,189,96],{"class":178},[113,191,192],{"class":123},"({ ",[113,194,196],{"class":195},"sYv7f","apiKey",[113,198,199],{"class":123},": ",[113,201,202],{"class":127},"process",[113,204,187],{"class":123},[113,206,207],{"class":127},"env",[113,209,187],{"class":123},[113,211,212],{"class":127},"PERMA_CC_API_KEY",[113,214,215],{"class":167},"!",[113,217,218],{"class":123}," }));\n",[220,221,222,223,226],"p",{},"Without a key, at construction or per call, ",[110,224,225],{},"snapshots()"," returns an error response rather than sending an unauthenticated request.",[98,228,230],{"id":229},"what-it-lists","What it lists",[220,232,233,236,237,240,241,244,245,244,248,251,252,255,256,259,260,187],{},[110,234,235],{},"snapshots"," asks ",[110,238,239],{},"api.perma.cc"," for archives of one exact URL. A bare domain is normalised to its HTTPS root. Only archives the account behind the key can access are returned. Each page carries ",[110,242,243],{},"guid",", ",[110,246,247],{},"title",[110,249,250],{},"created_by"," and Perma's own string ",[110,253,254],{},"status"," in ",[110,257,258],{},"_meta","; the snapshot is ",[110,261,262],{},"perma.cc\u002F\u003Cguid>",[98,264,266],{"id":265},"reading-bodies","Reading bodies",[220,268,269,270,273,274,277],{},"The API returns metadata only. ",[110,271,272],{},"content()"," answers ",[110,275,276],{},"unsupported"," with that reason.",[98,279,281],{"id":280},"over-mcp","Over MCP",[220,283,284,285,287,288,291,292,295],{},"The key is read from ",[110,286,212],{}," or ",[110,289,290],{},"PERMACC_API_KEY"," and never accepted as a tool argument. ",[110,293,294],{},"archives_providers"," reports whether one is set; the options in every result are redacted before they reach a transcript.",[98,297,299],{"id":298},"gotchas","Gotchas",[301,302,303,315],"ul",{},[304,305,306,307,310,311,314],"li",{},"Exact URL, not prefix. ",[110,308,309],{},"example.com"," finds archives of ",[110,312,313],{},"https:\u002F\u002Fexample.com\u002F"," and nothing beneath it.",[304,316,317,319],{},[110,318,254],{}," is a string here, unlike the numeric HTTP status on the CDX providers.",[98,321,323],{"id":322},"where-it-lives","Where it lives",[220,325,326,187],{},[110,327,328],{},"src\u002Fproviders\u002Fpermacc.ts",[330,331,332],"style",{},"html pre.shiki code .sB1ot, html code.shiki .sB1ot{--shiki-light:#1E754F;--shiki-default:#1E754F;--shiki-dark:#A0A0A0}html pre.shiki code .sldxI, html code.shiki .sldxI{--shiki-light:#999999;--shiki-default:#999999;--shiki-dark:#FFF}html pre.shiki code .sA8fy, html code.shiki .sA8fy{--shiki-light:#B07D48;--shiki-default:#B07D48;--shiki-dark:#FFF}html pre.shiki code .sbwUx, html code.shiki .sbwUx{--shiki-light:#B5695977;--shiki-default:#B5695977;--shiki-dark:#99FFE4}html pre.shiki code .sHyde, html code.shiki .sHyde{--shiki-light:#B56959;--shiki-default:#B56959;--shiki-dark:#99FFE4}html pre.shiki code .s8Cdk, html code.shiki .s8Cdk{--shiki-light:#AB5959;--shiki-default:#AB5959;--shiki-dark:#A0A0A0}html pre.shiki code .sUeik, html code.shiki .sUeik{--shiki-light:#999999;--shiki-default:#999999;--shiki-dark:#A0A0A0}html pre.shiki code .shFES, html code.shiki .shFES{--shiki-light:#59873A;--shiki-default:#59873A;--shiki-dark:#FFC799}html pre.shiki code .sYv7f, html code.shiki .sYv7f{--shiki-light:#998418;--shiki-default:#998418;--shiki-dark:#FFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":108,"searchDepth":157,"depth":157,"links":334},[335,336,337,338,339,340],{"id":100,"depth":157,"text":101},{"id":229,"depth":157,"text":230},{"id":265,"depth":157,"text":266},{"id":280,"depth":157,"text":281},{"id":298,"depth":157,"text":299},{"id":322,"depth":157,"text":323},"The REST API behind an API key. Exact URL lookup, metadata only, and only what the key can see.","md",null,{"icon":345},"i-lucide-lock",{"title":84,"description":341},"jsczn7ShNJ0StdQBIIPzuTDs3I9dt5R5SfV1aoTynA4",[349,343],{"title":80,"path":81,"stem":82,"description":350,"children":-1},"Read-only search inside an existing public Conifer collection. Needs a user and a collection; no bodies.",1788446777799]