[{"data":1,"prerenderedAt":1556},["ShallowReactive",2],{"docs-nav":3,"content-query-VeOgfjGeVo":265},[4,8,11,14,17,21,25,29,32,36,40,44,48,52,56,60,63,67,71,75,79,83,87,91,95,99,103,107,111,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,163,166,169,172,175,178,181,184,187,190,193,196,199,202,205,208,211,214,217,220,223,226,229,232,235,238,241,244,247,250,253,256,259,262],{"_path":5,"title":6,"order":7},"/docs/getting-started","Getting Started",1,{"_path":9,"title":10,"order":7},"/docs/views/grid","Grid View",{"_path":12,"title":13,"order":7},"/docs/api/server","Server API",{"_path":15,"title":16,"order":7},"/docs/self-hosting/all-in-one","All-in-One Setup",{"_path":18,"title":19,"order":20},"/docs/core-concepts","Core Concepts",10,{"_path":22,"title":23,"order":24},"/docs/crdt","What is a CRDT?",11,{"_path":26,"title":27,"order":28},"/docs/api/client-http","Client HTTP API",2,{"_path":30,"title":31,"order":28},"/docs/self-hosting/separate-containers","Separate Containers Setup",{"_path":33,"title":34,"order":35},"/docs/interface-overview","Interface Overview",20,{"_path":37,"title":38,"order":39},"/docs/global-search","Global Search",22,{"_path":41,"title":42,"order":43},"/docs/filters","Filters",24,{"_path":45,"title":46,"order":47},"/docs/sorting","Sorting",25,{"_path":49,"title":50,"order":51},"/docs/tagging-and-selection","Tagging & Selection",26,{"_path":53,"title":54,"order":55},"/docs/quick-view","Quick View",28,{"_path":57,"title":58,"order":59},"/docs/api/cli","CLI",3,{"_path":61,"title":62,"order":59},"/docs/self-hosting/remote-access-tailscale","Remote Access with Tailscale",{"_path":64,"title":65,"order":66},"/docs/block-actions","Block Actions",30,{"_path":68,"title":69,"order":70},"/docs/deleting-blocks","Deleting Blocks & Trash",32,{"_path":72,"title":73,"order":74},"/docs/self-hosting","Self-Hosting",4,{"_path":76,"title":77,"order":78},"/docs/managing-heaps","Managing Heaps",40,{"_path":80,"title":81,"order":82},"/docs/file-scanning","File Scanning & Importing",42,{"_path":84,"title":85,"order":86},"/docs/storage-management","Storage Management",44,{"_path":88,"title":89,"order":90},"/docs/daily-notes","Daily Notes & Calendar",46,{"_path":92,"title":93,"order":94},"/docs/api","API",5,{"_path":96,"title":97,"order":98},"/docs/views","Views",60,{"_path":100,"title":101,"order":102},"/docs/authentication","Authentication & User Management",70,{"_path":104,"title":105,"order":106},"/docs/licenses-privacy","Licenses & Privacy",72,{"_path":108,"title":109,"order":110},"/docs/faq","FAQ",80,{"_path":112,"title":113,"order":114},"/docs/changelog","Changelog",99,{"_path":116,"title":117},"/docs/changelog/v16.16.37","v16.16.37",{"_path":119,"title":120},"/docs/changelog/v16.16.38","v16.16.38",{"_path":122,"title":123},"/docs/changelog/v16.11.0","v16.11.0",{"_path":125,"title":126},"/docs/changelog/v16.16.29","v16.16.29",{"_path":128,"title":129},"/docs/changelog/v16.16.28","v16.16.28",{"_path":131,"title":132},"/docs/changelog/v16.16.1","v16.16.1",{"_path":134,"title":135},"/docs/changelog/v16.10.0","v16.10.0",{"_path":137,"title":138},"/docs/changelog/v16.16.8","v16.16.8",{"_path":140,"title":141},"/docs/changelog/v16.7.0","v16.7.0",{"_path":143,"title":144},"/docs/changelog/v16.16.14","v16.16.14",{"_path":146,"title":147},"/docs/changelog/v16.16.7","v16.16.7",{"_path":149,"title":150},"/docs/changelog/v16.16.36","v16.16.36",{"_path":152,"title":153},"/docs/changelog/v16.16.32","v16.16.32",{"_path":155,"title":156},"/docs/changelog/v16.16.41","v16.16.41",{"_path":158,"title":159},"/docs/changelog/v16.6.0","v16.6.0",{"_path":161,"title":162},"/docs/changelog/v16.16.4","v16.16.4",{"_path":164,"title":165},"/docs/changelog/v16.16.0","v16.16.0",{"_path":167,"title":168},"/docs/changelog/v16.16.40","v16.16.40",{"_path":170,"title":171},"/docs/changelog/v16.16.20","v16.16.20",{"_path":173,"title":174},"/docs/changelog/v16.16.16","v16.16.16",{"_path":176,"title":177},"/docs/changelog/v16.16.25","v16.16.25",{"_path":179,"title":180},"/docs/changelog/v16.16.17","v16.16.17",{"_path":182,"title":183},"/docs/changelog/v16.17.8","v16.17.8",{"_path":185,"title":186},"/docs/changelog/v16.16.33","v16.16.33",{"_path":188,"title":189},"/docs/changelog/v16.16.22","v16.16.22",{"_path":191,"title":192},"/docs/changelog/v16.16.23","v16.16.23",{"_path":194,"title":195},"/docs/changelog/v16.16.35","v16.16.35",{"_path":197,"title":198},"/docs/changelog/v16.16.24","v16.16.24",{"_path":200,"title":201},"/docs/changelog/v16.16.5","v16.16.5",{"_path":203,"title":204},"/docs/changelog/v16.16.11","v16.16.11",{"_path":206,"title":207},"/docs/changelog/v16.16.27","v16.16.27",{"_path":209,"title":210},"/docs/changelog/v16.16.19","v16.16.19",{"_path":212,"title":213},"/docs/changelog/v16.16.13","v16.16.13",{"_path":215,"title":216},"/docs/changelog/v16.16.3","v16.16.3",{"_path":218,"title":219},"/docs/changelog/v16.9.0","v16.9.0",{"_path":221,"title":222},"/docs/changelog/v16.16.43","v16.16.43",{"_path":224,"title":225},"/docs/changelog/v16.16.2","v16.16.2",{"_path":227,"title":228},"/docs/changelog/v16.16.18","v16.16.18",{"_path":230,"title":231},"/docs/changelog/v16.16.30","v16.16.30",{"_path":233,"title":234},"/docs/changelog/v16.16.21","v16.16.21",{"_path":236,"title":237},"/docs/changelog/v16.16.26","v16.16.26",{"_path":239,"title":240},"/docs/changelog/v16.16.6","v16.16.6",{"_path":242,"title":243},"/docs/changelog/v16.16.31","v16.16.31",{"_path":245,"title":246},"/docs/changelog/v16.16.39","v16.16.39",{"_path":248,"title":249},"/docs/changelog/v16.16.34","v16.16.34",{"_path":251,"title":252},"/docs/changelog/v16.16.12","v16.16.12",{"_path":254,"title":255},"/docs/changelog/v16.8.0","v16.8.0",{"_path":257,"title":258},"/docs/changelog/v16.16.10","v16.16.10",{"_path":260,"title":261},"/docs/changelog/v16.16.9","v16.16.9",{"_path":263,"title":264},"/docs/changelog/v16.16.15","v16.16.15",{"_path":266,"_dir":267,"_draft":268,"_partial":268,"_locale":269,"title":270,"description":271,"published":268,"body":272,"_type":1551,"_id":1552,"_source":1415,"_file":1553,"_stem":1554,"_extension":1555},"/docs/api/client-http-reference","api",false,"","Client HTTP API Reference","Local HTTP endpoints exposed by the Electron desktop app.",{"type":273,"children":274,"toc":1538},"root",[275,283,306,598,608,623,628,644,654,667,671,716,726,738,742,786,796,808,812,832,842,854,859,905,909,923,933,945,949,1116,1126,1166,1176,1188,1192,1235,1239,1253,1263,1275,1280,1313,1317,1331,1336,1358,1368,1380,1384,1435,1439,1462,1472,1484,1488,1501,1505],{"type":276,"tag":277,"props":278,"children":280},"element","h1",{"id":279},"client-http-api-reference",[281],{"type":282,"value":270},"text",{"type":276,"tag":284,"props":285,"children":286},"p",{},[287,289,296,298,304],{"type":282,"value":288},"These are the local HTTP endpoints exposed by the Electron desktop app.\nAll endpoints except ",{"type":276,"tag":290,"props":291,"children":293},"code",{"className":292},[],[294],{"type":282,"value":295},"GET /api/health",{"type":282,"value":297}," require ",{"type":276,"tag":290,"props":299,"children":301},{"className":300},[],[302],{"type":282,"value":303},"Authorization: Bearer \u003Clocal-api-token>",{"type":282,"value":305},".",{"type":276,"tag":307,"props":308,"children":309},"table",{},[310,339],{"type":276,"tag":311,"props":312,"children":313},"thead",{},[314],{"type":276,"tag":315,"props":316,"children":317},"tr",{},[318,324,329,334],{"type":276,"tag":319,"props":320,"children":321},"th",{},[322],{"type":282,"value":323},"Method",{"type":276,"tag":319,"props":325,"children":326},{},[327],{"type":282,"value":328},"Path",{"type":276,"tag":319,"props":330,"children":331},{},[332],{"type":282,"value":333},"Auth",{"type":276,"tag":319,"props":335,"children":336},{},[337],{"type":282,"value":338},"Summary",{"type":276,"tag":340,"props":341,"children":342},"tbody",{},[343,371,397,422,447,472,497,522,548,573],{"type":276,"tag":315,"props":344,"children":345},{},[346,352,361,366],{"type":276,"tag":347,"props":348,"children":349},"td",{},[350],{"type":282,"value":351},"GET",{"type":276,"tag":347,"props":353,"children":354},{},[355],{"type":276,"tag":290,"props":356,"children":358},{"className":357},[],[359],{"type":282,"value":360},"/api/health",{"type":276,"tag":347,"props":362,"children":363},{},[364],{"type":282,"value":365},"No",{"type":276,"tag":347,"props":367,"children":368},{},[369],{"type":282,"value":370},"Lightweight health probe for the local API server.",{"type":276,"tag":315,"props":372,"children":373},{},[374,378,387,392],{"type":276,"tag":347,"props":375,"children":376},{},[377],{"type":282,"value":351},{"type":276,"tag":347,"props":379,"children":380},{},[381],{"type":276,"tag":290,"props":382,"children":384},{"className":383},[],[385],{"type":282,"value":386},"/api/info",{"type":276,"tag":347,"props":388,"children":389},{},[390],{"type":282,"value":391},"Yes",{"type":276,"tag":347,"props":393,"children":394},{},[395],{"type":282,"value":396},"Returns app version, current local API port, and basic local DB counts.",{"type":276,"tag":315,"props":398,"children":399},{},[400,404,413,417],{"type":276,"tag":347,"props":401,"children":402},{},[403],{"type":282,"value":351},{"type":276,"tag":347,"props":405,"children":406},{},[407],{"type":276,"tag":290,"props":408,"children":410},{"className":409},[],[411],{"type":282,"value":412},"/api/heaps",{"type":276,"tag":347,"props":414,"children":415},{},[416],{"type":282,"value":391},{"type":276,"tag":347,"props":418,"children":419},{},[420],{"type":282,"value":421},"Lists local workspaces ordered by last activity.",{"type":276,"tag":315,"props":423,"children":424},{},[425,429,438,442],{"type":276,"tag":347,"props":426,"children":427},{},[428],{"type":282,"value":351},{"type":276,"tag":347,"props":430,"children":431},{},[432],{"type":276,"tag":290,"props":433,"children":435},{"className":434},[],[436],{"type":282,"value":437},"/api/heaps/:id",{"type":276,"tag":347,"props":439,"children":440},{},[441],{"type":282,"value":391},{"type":276,"tag":347,"props":443,"children":444},{},[445],{"type":282,"value":446},"Returns one local workspace by ID.",{"type":276,"tag":315,"props":448,"children":449},{},[450,454,463,467],{"type":276,"tag":347,"props":451,"children":452},{},[453],{"type":282,"value":351},{"type":276,"tag":347,"props":455,"children":456},{},[457],{"type":276,"tag":290,"props":458,"children":460},{"className":459},[],[461],{"type":282,"value":462},"/api/heaps/:id/blocks",{"type":276,"tag":347,"props":464,"children":465},{},[466],{"type":282,"value":391},{"type":276,"tag":347,"props":468,"children":469},{},[470],{"type":282,"value":471},"Lists blocks in a workspace, with optional type filter, paging, and local FTS query.",{"type":276,"tag":315,"props":473,"children":474},{},[475,479,488,492],{"type":276,"tag":347,"props":476,"children":477},{},[478],{"type":282,"value":351},{"type":276,"tag":347,"props":480,"children":481},{},[482],{"type":276,"tag":290,"props":483,"children":485},{"className":484},[],[486],{"type":282,"value":487},"/api/blocks/:id",{"type":276,"tag":347,"props":489,"children":490},{},[491],{"type":282,"value":391},{"type":276,"tag":347,"props":493,"children":494},{},[495],{"type":282,"value":496},"Returns a single block plus local relations, backlinks, files, thumbnails, apps, and attributes.",{"type":276,"tag":315,"props":498,"children":499},{},[500,504,513,517],{"type":276,"tag":347,"props":501,"children":502},{},[503],{"type":282,"value":351},{"type":276,"tag":347,"props":505,"children":506},{},[507],{"type":276,"tag":290,"props":508,"children":510},{"className":509},[],[511],{"type":282,"value":512},"/api/search",{"type":276,"tag":347,"props":514,"children":515},{},[516],{"type":282,"value":391},{"type":276,"tag":347,"props":518,"children":519},{},[520],{"type":282,"value":521},"Runs local full-text search across blocks, optionally scoped to one heap.",{"type":276,"tag":315,"props":523,"children":524},{},[525,530,539,543],{"type":276,"tag":347,"props":526,"children":527},{},[528],{"type":282,"value":529},"POST",{"type":276,"tag":347,"props":531,"children":532},{},[533],{"type":276,"tag":290,"props":534,"children":536},{"className":535},[],[537],{"type":282,"value":538},"/api/query",{"type":276,"tag":347,"props":540,"children":541},{},[542],{"type":282,"value":391},{"type":276,"tag":347,"props":544,"children":545},{},[546],{"type":282,"value":547},"Executes a read-only SQL query against the local database.",{"type":276,"tag":315,"props":549,"children":550},{},[551,555,564,568],{"type":276,"tag":347,"props":552,"children":553},{},[554],{"type":282,"value":529},{"type":276,"tag":347,"props":556,"children":557},{},[558],{"type":276,"tag":290,"props":559,"children":561},{"className":560},[],[562],{"type":282,"value":563},"/api/blocks",{"type":276,"tag":347,"props":565,"children":566},{},[567],{"type":282,"value":391},{"type":276,"tag":347,"props":569,"children":570},{},[571],{"type":282,"value":572},"Creates a new block in the local app through the Rust block creation path.",{"type":276,"tag":315,"props":574,"children":575},{},[576,580,589,593],{"type":276,"tag":347,"props":577,"children":578},{},[579],{"type":282,"value":351},{"type":276,"tag":347,"props":581,"children":582},{},[583],{"type":276,"tag":290,"props":584,"children":586},{"className":585},[],[587],{"type":282,"value":588},"/api/tags",{"type":276,"tag":347,"props":590,"children":591},{},[592],{"type":282,"value":391},{"type":276,"tag":347,"props":594,"children":595},{},[596],{"type":282,"value":597},"Lists tag blocks used in a heap.",{"type":276,"tag":599,"props":600,"children":602},"h3",{"id":601},"get-apihealth",[603],{"type":276,"tag":290,"props":604,"children":606},{"className":605},[],[607],{"type":282,"value":295},{"type":276,"tag":609,"props":610,"children":611},"ul",{},[612,618],{"type":276,"tag":613,"props":614,"children":615},"li",{},[616],{"type":282,"value":617},"Authentication: No",{"type":276,"tag":613,"props":619,"children":620},{},[621],{"type":282,"value":622},"Purpose: Lightweight health probe for the local API server.",{"type":276,"tag":284,"props":624,"children":625},{},[626],{"type":282,"value":627},"Response:",{"type":276,"tag":609,"props":629,"children":630},{},[631],{"type":276,"tag":613,"props":632,"children":633},{},[634,636,642],{"type":282,"value":635},"Returns ",{"type":276,"tag":290,"props":637,"children":639},{"className":638},[],[640],{"type":282,"value":641},"{ \"status\": \"ok\" }",{"type":282,"value":643}," when the local API process is responding.",{"type":276,"tag":599,"props":645,"children":647},{"id":646},"get-apiinfo",[648],{"type":276,"tag":290,"props":649,"children":651},{"className":650},[],[652],{"type":282,"value":653},"GET /api/info",{"type":276,"tag":609,"props":655,"children":656},{},[657,662],{"type":276,"tag":613,"props":658,"children":659},{},[660],{"type":282,"value":661},"Authentication: Yes",{"type":276,"tag":613,"props":663,"children":664},{},[665],{"type":282,"value":666},"Purpose: Returns app version, current local API port, and basic local DB counts.",{"type":276,"tag":284,"props":668,"children":669},{},[670],{"type":282,"value":627},{"type":276,"tag":609,"props":672,"children":673},{},[674],{"type":276,"tag":613,"props":675,"children":676},{},[677,679,685,687,693,694,700,701,707,709,715],{"type":282,"value":678},"Includes ",{"type":276,"tag":290,"props":680,"children":682},{"className":681},[],[683],{"type":282,"value":684},"version",{"type":282,"value":686},", ",{"type":276,"tag":290,"props":688,"children":690},{"className":689},[],[691],{"type":282,"value":692},"port",{"type":282,"value":686},{"type":276,"tag":290,"props":695,"children":697},{"className":696},[],[698],{"type":282,"value":699},"blocks",{"type":282,"value":686},{"type":276,"tag":290,"props":702,"children":704},{"className":703},[],[705],{"type":282,"value":706},"workspaces",{"type":282,"value":708},", and ",{"type":276,"tag":290,"props":710,"children":712},{"className":711},[],[713],{"type":282,"value":714},"files",{"type":282,"value":305},{"type":276,"tag":599,"props":717,"children":719},{"id":718},"get-apiheaps",[720],{"type":276,"tag":290,"props":721,"children":723},{"className":722},[],[724],{"type":282,"value":725},"GET /api/heaps",{"type":276,"tag":609,"props":727,"children":728},{},[729,733],{"type":276,"tag":613,"props":730,"children":731},{},[732],{"type":282,"value":661},{"type":276,"tag":613,"props":734,"children":735},{},[736],{"type":282,"value":737},"Purpose: Lists local workspaces ordered by last activity.",{"type":276,"tag":284,"props":739,"children":740},{},[741],{"type":282,"value":627},{"type":276,"tag":609,"props":743,"children":744},{},[745],{"type":276,"tag":613,"props":746,"children":747},{},[748,750,756,757,763,764,770,771,777,778,784],{"type":282,"value":749},"Returns an array of workspace rows with ",{"type":276,"tag":290,"props":751,"children":753},{"className":752},[],[754],{"type":282,"value":755},"id",{"type":282,"value":686},{"type":276,"tag":290,"props":758,"children":760},{"className":759},[],[761],{"type":282,"value":762},"block_id",{"type":282,"value":686},{"type":276,"tag":290,"props":765,"children":767},{"className":766},[],[768],{"type":282,"value":769},"title",{"type":282,"value":686},{"type":276,"tag":290,"props":772,"children":774},{"className":773},[],[775],{"type":282,"value":776},"icon",{"type":282,"value":686},{"type":276,"tag":290,"props":779,"children":781},{"className":780},[],[782],{"type":282,"value":783},"type",{"type":282,"value":785},", and timestamps.",{"type":276,"tag":599,"props":787,"children":789},{"id":788},"get-apiheapsid",[790],{"type":276,"tag":290,"props":791,"children":793},{"className":792},[],[794],{"type":282,"value":795},"GET /api/heaps/:id",{"type":276,"tag":609,"props":797,"children":798},{},[799,803],{"type":276,"tag":613,"props":800,"children":801},{},[802],{"type":282,"value":661},{"type":276,"tag":613,"props":804,"children":805},{},[806],{"type":282,"value":807},"Purpose: Returns one local workspace by ID.",{"type":276,"tag":284,"props":809,"children":810},{},[811],{"type":282,"value":627},{"type":276,"tag":609,"props":813,"children":814},{},[815,820],{"type":276,"tag":613,"props":816,"children":817},{},[818],{"type":282,"value":819},"Returns the matching workspace row.",{"type":276,"tag":613,"props":821,"children":822},{},[823,824,830],{"type":282,"value":635},{"type":276,"tag":290,"props":825,"children":827},{"className":826},[],[828],{"type":282,"value":829},"404",{"type":282,"value":831}," if the workspace does not exist.",{"type":276,"tag":599,"props":833,"children":835},{"id":834},"get-apiheapsidblocks",[836],{"type":276,"tag":290,"props":837,"children":839},{"className":838},[],[840],{"type":282,"value":841},"GET /api/heaps/:id/blocks",{"type":276,"tag":609,"props":843,"children":844},{},[845,849],{"type":276,"tag":613,"props":846,"children":847},{},[848],{"type":282,"value":661},{"type":276,"tag":613,"props":850,"children":851},{},[852],{"type":282,"value":853},"Purpose: Lists blocks in a workspace, with optional type filter, paging, and local FTS query.",{"type":276,"tag":284,"props":855,"children":856},{},[857],{"type":282,"value":858},"Query parameters:",{"type":276,"tag":609,"props":860,"children":861},{},[862,872,883,894],{"type":276,"tag":613,"props":863,"children":864},{},[865,870],{"type":276,"tag":290,"props":866,"children":868},{"className":867},[],[869],{"type":282,"value":783},{"type":282,"value":871},": optional block type filter.",{"type":276,"tag":613,"props":873,"children":874},{},[875,881],{"type":276,"tag":290,"props":876,"children":878},{"className":877},[],[879],{"type":282,"value":880},"limit",{"type":282,"value":882},": max rows, capped at 500 by the implementation.",{"type":276,"tag":613,"props":884,"children":885},{},[886,892],{"type":276,"tag":290,"props":887,"children":889},{"className":888},[],[890],{"type":282,"value":891},"offset",{"type":282,"value":893},": pagination offset.",{"type":276,"tag":613,"props":895,"children":896},{},[897,903],{"type":276,"tag":290,"props":898,"children":900},{"className":899},[],[901],{"type":282,"value":902},"q",{"type":282,"value":904},": optional full-text prefix search term within the heap.",{"type":276,"tag":284,"props":906,"children":907},{},[908],{"type":282,"value":627},{"type":276,"tag":609,"props":910,"children":911},{},[912],{"type":276,"tag":613,"props":913,"children":914},{},[915,916,922],{"type":282,"value":635},{"type":276,"tag":290,"props":917,"children":919},{"className":918},[],[920],{"type":282,"value":921},"{ blocks, total, limit, offset }",{"type":282,"value":305},{"type":276,"tag":599,"props":924,"children":926},{"id":925},"get-apiblocksid",[927],{"type":276,"tag":290,"props":928,"children":930},{"className":929},[],[931],{"type":282,"value":932},"GET /api/blocks/:id",{"type":276,"tag":609,"props":934,"children":935},{},[936,940],{"type":276,"tag":613,"props":937,"children":938},{},[939],{"type":282,"value":661},{"type":276,"tag":613,"props":941,"children":942},{},[943],{"type":282,"value":944},"Purpose: Returns a single block plus local relations, backlinks, files, thumbnails, apps, and attributes.",{"type":276,"tag":284,"props":946,"children":947},{},[948],{"type":282,"value":627},{"type":276,"tag":609,"props":950,"children":951},{},[952,1037,1090],{"type":276,"tag":613,"props":953,"children":954},{},[955,957,962,963,968,969,974,975,980,981,987,989,995,996,1002,1003,1008,1009,1015,1016,1022,1023,1029,1030,1036],{"type":282,"value":956},"Includes block fields such as ",{"type":276,"tag":290,"props":958,"children":960},{"className":959},[],[961],{"type":282,"value":755},{"type":282,"value":686},{"type":276,"tag":290,"props":964,"children":966},{"className":965},[],[967],{"type":282,"value":769},{"type":282,"value":686},{"type":276,"tag":290,"props":970,"children":972},{"className":971},[],[973],{"type":282,"value":282},{"type":282,"value":686},{"type":276,"tag":290,"props":976,"children":978},{"className":977},[],[979],{"type":282,"value":783},{"type":282,"value":686},{"type":276,"tag":290,"props":982,"children":984},{"className":983},[],[985],{"type":282,"value":986},"workspace_id",{"type":282,"value":988},", timestamps, ",{"type":276,"tag":290,"props":990,"children":992},{"className":991},[],[993],{"type":282,"value":994},"relations",{"type":282,"value":686},{"type":276,"tag":290,"props":997,"children":999},{"className":998},[],[1000],{"type":282,"value":1001},"backlinks",{"type":282,"value":686},{"type":276,"tag":290,"props":1004,"children":1006},{"className":1005},[],[1007],{"type":282,"value":714},{"type":282,"value":686},{"type":276,"tag":290,"props":1010,"children":1012},{"className":1011},[],[1013],{"type":282,"value":1014},"apps",{"type":282,"value":686},{"type":276,"tag":290,"props":1017,"children":1019},{"className":1018},[],[1020],{"type":282,"value":1021},"available_views",{"type":282,"value":686},{"type":276,"tag":290,"props":1024,"children":1026},{"className":1025},[],[1027],{"type":282,"value":1028},"global_filters",{"type":282,"value":708},{"type":276,"tag":290,"props":1031,"children":1033},{"className":1032},[],[1034],{"type":282,"value":1035},"attributes",{"type":282,"value":305},{"type":276,"tag":613,"props":1038,"children":1039},{},[1040,1045,1047,1052,1054,1060,1061,1067,1068,1074,1076,1082,1083,1089],{"type":276,"tag":290,"props":1041,"children":1043},{"className":1042},[],[1044],{"type":282,"value":994},{"type":282,"value":1046}," and ",{"type":276,"tag":290,"props":1048,"children":1050},{"className":1049},[],[1051],{"type":282,"value":1001},{"type":282,"value":1053}," now include display-oriented fields like ",{"type":276,"tag":290,"props":1055,"children":1057},{"className":1056},[],[1058],{"type":282,"value":1059},"display_title",{"type":282,"value":686},{"type":276,"tag":290,"props":1062,"children":1064},{"className":1063},[],[1065],{"type":282,"value":1066},"text_excerpt",{"type":282,"value":708},{"type":276,"tag":290,"props":1069,"children":1071},{"className":1070},[],[1072],{"type":282,"value":1073},"file_name",{"type":282,"value":1075},", plus pagination metadata in ",{"type":276,"tag":290,"props":1077,"children":1079},{"className":1078},[],[1080],{"type":282,"value":1081},"relations_pagination",{"type":282,"value":1046},{"type":276,"tag":290,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":282,"value":1088},"backlinks_pagination",{"type":282,"value":305},{"type":276,"tag":613,"props":1091,"children":1092},{},[1093,1095,1100,1101,1106,1108,1114],{"type":282,"value":1094},"Query params: ",{"type":276,"tag":290,"props":1096,"children":1098},{"className":1097},[],[1099],{"type":282,"value":880},{"type":282,"value":686},{"type":276,"tag":290,"props":1102,"children":1104},{"className":1103},[],[1105],{"type":282,"value":891},{"type":282,"value":1107},", and optional ",{"type":276,"tag":290,"props":1109,"children":1111},{"className":1110},[],[1112],{"type":282,"value":1113},"view=\u003Cview-id-or-name>",{"type":282,"value":1115}," to embed paginated filtered view results.",{"type":276,"tag":599,"props":1117,"children":1119},{"id":1118},"get-apiblocksidviewsviewid",[1120],{"type":276,"tag":290,"props":1121,"children":1123},{"className":1122},[],[1124],{"type":282,"value":1125},"GET /api/blocks/:id/views/:viewId",{"type":276,"tag":609,"props":1127,"children":1128},{},[1129,1133,1138,1154],{"type":276,"tag":613,"props":1130,"children":1131},{},[1132],{"type":282,"value":661},{"type":276,"tag":613,"props":1134,"children":1135},{},[1136],{"type":282,"value":1137},"Purpose: Returns paginated block results for one saved app view using that view's filter and heap-filter settings.",{"type":276,"tag":613,"props":1139,"children":1140},{},[1141,1142,1147,1148,1153],{"type":282,"value":1094},{"type":276,"tag":290,"props":1143,"children":1145},{"className":1144},[],[1146],{"type":282,"value":880},{"type":282,"value":686},{"type":276,"tag":290,"props":1149,"children":1151},{"className":1150},[],[1152],{"type":282,"value":891},{"type":282,"value":305},{"type":276,"tag":613,"props":1155,"children":1156},{},[1157,1159,1165],{"type":282,"value":1158},"Response: ",{"type":276,"tag":290,"props":1160,"children":1162},{"className":1161},[],[1163],{"type":282,"value":1164},"{ view, items, total, limit, offset, global_filters }",{"type":282,"value":305},{"type":276,"tag":599,"props":1167,"children":1169},{"id":1168},"get-apisearch",[1170],{"type":276,"tag":290,"props":1171,"children":1173},{"className":1172},[],[1174],{"type":282,"value":1175},"GET /api/search",{"type":276,"tag":609,"props":1177,"children":1178},{},[1179,1183],{"type":276,"tag":613,"props":1180,"children":1181},{},[1182],{"type":282,"value":661},{"type":276,"tag":613,"props":1184,"children":1185},{},[1186],{"type":282,"value":1187},"Purpose: Runs local full-text search across blocks, optionally scoped to one heap.",{"type":276,"tag":284,"props":1189,"children":1190},{},[1191],{"type":282,"value":858},{"type":276,"tag":609,"props":1193,"children":1194},{},[1195,1205,1216,1226],{"type":276,"tag":613,"props":1196,"children":1197},{},[1198,1203],{"type":276,"tag":290,"props":1199,"children":1201},{"className":1200},[],[1202],{"type":282,"value":902},{"type":282,"value":1204},": required search term.",{"type":276,"tag":613,"props":1206,"children":1207},{},[1208,1214],{"type":276,"tag":290,"props":1209,"children":1211},{"className":1210},[],[1212],{"type":282,"value":1213},"heap",{"type":282,"value":1215},": optional workspace filter.",{"type":276,"tag":613,"props":1217,"children":1218},{},[1219,1224],{"type":276,"tag":290,"props":1220,"children":1222},{"className":1221},[],[1223],{"type":282,"value":880},{"type":282,"value":1225},": max rows, capped at 500.",{"type":276,"tag":613,"props":1227,"children":1228},{},[1229,1234],{"type":276,"tag":290,"props":1230,"children":1232},{"className":1231},[],[1233],{"type":282,"value":891},{"type":282,"value":893},{"type":276,"tag":284,"props":1236,"children":1237},{},[1238],{"type":282,"value":627},{"type":276,"tag":609,"props":1240,"children":1241},{},[1242],{"type":276,"tag":613,"props":1243,"children":1244},{},[1245,1246,1252],{"type":282,"value":635},{"type":276,"tag":290,"props":1247,"children":1249},{"className":1248},[],[1250],{"type":282,"value":1251},"{ results, total, limit, offset }",{"type":282,"value":305},{"type":276,"tag":599,"props":1254,"children":1256},{"id":1255},"post-apiquery",[1257],{"type":276,"tag":290,"props":1258,"children":1260},{"className":1259},[],[1261],{"type":282,"value":1262},"POST /api/query",{"type":276,"tag":609,"props":1264,"children":1265},{},[1266,1270],{"type":276,"tag":613,"props":1267,"children":1268},{},[1269],{"type":282,"value":661},{"type":276,"tag":613,"props":1271,"children":1272},{},[1273],{"type":282,"value":1274},"Purpose: Executes a read-only SQL query against the local database.",{"type":276,"tag":284,"props":1276,"children":1277},{},[1278],{"type":282,"value":1279},"Request body:",{"type":276,"tag":609,"props":1281,"children":1282},{},[1283,1302],{"type":276,"tag":613,"props":1284,"children":1285},{},[1286,1292,1294,1300],{"type":276,"tag":290,"props":1287,"children":1289},{"className":1288},[],[1290],{"type":282,"value":1291},"sql",{"type":282,"value":1293},": required SQL string. Only ",{"type":276,"tag":290,"props":1295,"children":1297},{"className":1296},[],[1298],{"type":282,"value":1299},"SELECT",{"type":282,"value":1301}," statements are accepted.",{"type":276,"tag":613,"props":1303,"children":1304},{},[1305,1311],{"type":276,"tag":290,"props":1306,"children":1308},{"className":1307},[],[1309],{"type":282,"value":1310},"params",{"type":282,"value":1312},": optional positional parameter array.",{"type":276,"tag":284,"props":1314,"children":1315},{},[1316],{"type":282,"value":627},{"type":276,"tag":609,"props":1318,"children":1319},{},[1320],{"type":276,"tag":613,"props":1321,"children":1322},{},[1323,1324,1330],{"type":282,"value":635},{"type":276,"tag":290,"props":1325,"children":1327},{"className":1326},[],[1328],{"type":282,"value":1329},"{ rows }",{"type":282,"value":305},{"type":276,"tag":284,"props":1332,"children":1333},{},[1334],{"type":282,"value":1335},"Notes:",{"type":276,"tag":609,"props":1337,"children":1338},{},[1339],{"type":276,"tag":613,"props":1340,"children":1341},{},[1342,1344,1349,1351,1357],{"type":282,"value":1343},"Non-",{"type":276,"tag":290,"props":1345,"children":1347},{"className":1346},[],[1348],{"type":282,"value":1299},{"type":282,"value":1350}," statements are rejected with ",{"type":276,"tag":290,"props":1352,"children":1354},{"className":1353},[],[1355],{"type":282,"value":1356},"403",{"type":282,"value":305},{"type":276,"tag":599,"props":1359,"children":1361},{"id":1360},"post-apiblocks",[1362],{"type":276,"tag":290,"props":1363,"children":1365},{"className":1364},[],[1366],{"type":282,"value":1367},"POST /api/blocks",{"type":276,"tag":609,"props":1369,"children":1370},{},[1371,1375],{"type":276,"tag":613,"props":1372,"children":1373},{},[1374],{"type":282,"value":661},{"type":276,"tag":613,"props":1376,"children":1377},{},[1378],{"type":282,"value":1379},"Purpose: Creates a new block in the local app through the Rust block creation path.",{"type":276,"tag":284,"props":1381,"children":1382},{},[1383],{"type":282,"value":1279},{"type":276,"tag":609,"props":1385,"children":1386},{},[1387,1397,1407,1418],{"type":276,"tag":613,"props":1388,"children":1389},{},[1390,1395],{"type":276,"tag":290,"props":1391,"children":1393},{"className":1392},[],[1394],{"type":282,"value":986},{"type":282,"value":1396},": required destination workspace.",{"type":276,"tag":613,"props":1398,"children":1399},{},[1400,1405],{"type":276,"tag":290,"props":1401,"children":1403},{"className":1402},[],[1404],{"type":282,"value":769},{"type":282,"value":1406},": optional block title.",{"type":276,"tag":613,"props":1408,"children":1409},{},[1410,1416],{"type":276,"tag":290,"props":1411,"children":1413},{"className":1412},[],[1414],{"type":282,"value":1415},"content",{"type":282,"value":1417},": optional text content.",{"type":276,"tag":613,"props":1419,"children":1420},{},[1421,1426,1428,1434],{"type":276,"tag":290,"props":1422,"children":1424},{"className":1423},[],[1425],{"type":282,"value":994},{"type":282,"value":1427},": optional array of ",{"type":276,"tag":290,"props":1429,"children":1431},{"className":1430},[],[1432],{"type":282,"value":1433},"{ to_id, type }",{"type":282,"value":305},{"type":276,"tag":284,"props":1436,"children":1437},{},[1438],{"type":282,"value":627},{"type":276,"tag":609,"props":1440,"children":1441},{},[1442],{"type":276,"tag":613,"props":1443,"children":1444},{},[1445,1446,1452,1454,1460],{"type":282,"value":635},{"type":276,"tag":290,"props":1447,"children":1449},{"className":1448},[],[1450],{"type":282,"value":1451},"{ id, success }",{"type":282,"value":1453}," with HTTP ",{"type":276,"tag":290,"props":1455,"children":1457},{"className":1456},[],[1458],{"type":282,"value":1459},"201",{"type":282,"value":1461}," on success.",{"type":276,"tag":599,"props":1463,"children":1465},{"id":1464},"get-apitags",[1466],{"type":276,"tag":290,"props":1467,"children":1469},{"className":1468},[],[1470],{"type":282,"value":1471},"GET /api/tags",{"type":276,"tag":609,"props":1473,"children":1474},{},[1475,1479],{"type":276,"tag":613,"props":1476,"children":1477},{},[1478],{"type":282,"value":661},{"type":276,"tag":613,"props":1480,"children":1481},{},[1482],{"type":282,"value":1483},"Purpose: Lists tag blocks used in a heap.",{"type":276,"tag":284,"props":1485,"children":1486},{},[1487],{"type":282,"value":858},{"type":276,"tag":609,"props":1489,"children":1490},{},[1491],{"type":276,"tag":613,"props":1492,"children":1493},{},[1494,1499],{"type":276,"tag":290,"props":1495,"children":1497},{"className":1496},[],[1498],{"type":282,"value":1213},{"type":282,"value":1500},": required workspace ID.",{"type":276,"tag":284,"props":1502,"children":1503},{},[1504],{"type":282,"value":627},{"type":276,"tag":609,"props":1506,"children":1507},{},[1508],{"type":276,"tag":613,"props":1509,"children":1510},{},[1511,1513,1518,1519,1524,1525,1530,1531,1537],{"type":282,"value":1512},"Returns an array of distinct tag blocks with ",{"type":276,"tag":290,"props":1514,"children":1516},{"className":1515},[],[1517],{"type":282,"value":755},{"type":282,"value":686},{"type":276,"tag":290,"props":1520,"children":1522},{"className":1521},[],[1523],{"type":282,"value":769},{"type":282,"value":686},{"type":276,"tag":290,"props":1526,"children":1528},{"className":1527},[],[1529],{"type":282,"value":776},{"type":282,"value":708},{"type":276,"tag":290,"props":1532,"children":1534},{"className":1533},[],[1535],{"type":282,"value":1536},"color",{"type":282,"value":305},{"title":269,"searchDepth":28,"depth":28,"links":1539},[1540,1541,1542,1543,1544,1545,1546,1547,1548,1549,1550],{"id":601,"depth":59,"text":295},{"id":646,"depth":59,"text":653},{"id":718,"depth":59,"text":725},{"id":788,"depth":59,"text":795},{"id":834,"depth":59,"text":841},{"id":925,"depth":59,"text":932},{"id":1118,"depth":59,"text":1125},{"id":1168,"depth":59,"text":1175},{"id":1255,"depth":59,"text":1262},{"id":1360,"depth":59,"text":1367},{"id":1464,"depth":59,"text":1471},"markdown","content:docs:api:client-http-reference.md","docs/api/client-http-reference.md","docs/api/client-http-reference","md",1777640558107]