[{"data":1,"prerenderedAt":1178},["ShallowReactive",2],{"docs-\u002Fapi\u002Fapi-keys\u002F":3},{"id":4,"title":5,"body":6,"breadcrumb":1123,"coderail":1129,"dateModified":1165,"datePublished":1165,"description":1166,"extension":1167,"meta":1168,"navigation":1169,"next":1170,"path":1171,"prev":1172,"schemaType":1173,"seo":1174,"stem":1175,"wide":1176,"__hash__":1177},"docs\u002Fapi\u002Fapi-keys.md","POST \u002Fapi-keys",{"type":7,"value":8,"toc":1105},"minimark",[9,16,68,83,97,101,129,134,138,141,146,200,204,254,260,266,270,353,364,368,372,375,378,404,408,538,545,638,642,647,650,653,679,683,720,723,758,762,1063,1076,1080,1101],[10,11,12],"p",{},[13,14,15],"strong",{},"Summary",[17,18,19,36,42,52,62],"ul",{},[20,21,22,25,26,29,30,29,33],"li",{},[13,23,24],{},"endpoint"," — ",[27,28,5],"code",{},", ",[27,31,32],{},"GET \u002Fapi-keys",[27,34,35],{},"DELETE \u002Fapi-keys",[20,37,38,41],{},[13,39,40],{},"purpose"," — generate, list, and revoke long-lived API keys for MCP clients and direct API access",[20,43,44,47,48,51],{},[13,45,46],{},"auth"," — the account page's session token (a Supabase session JWT) only — a ",[27,49,50],{},"tm_"," API key, or a valid MCP OAuth access token, is rejected with 403",[20,53,54,57,58,61],{},[13,55,56],{},"limits"," — up to five active keys per account; not counted against the daily rate limits, and responses carry no ",[27,59,60],{},"X-RateLimit-*"," headers",[20,63,64,67],{},[13,65,66],{},"synchronous"," — yes (no polling, no webhooks)",[10,69,70,71,74,75,78,79,82],{},"Manages API keys for the authenticated user. Three methods, one path. Use ",[27,72,73],{},"POST"," to create a key, ",[27,76,77],{},"GET"," to list existing keys, and ",[27,80,81],{},"DELETE"," to revoke one by ID.",[10,84,85,86,91,92,96],{},"The ",[87,88,90],"a",{"href":89},"\u002Faccount\u002F","account page"," calls these endpoints for you after you sign in. That is the normal way to manage keys. See ",[87,93,95],{"href":94},"\u002Fauth\u002F","Authentication"," for the three kinds of token.",[98,99],"endpoint-bar",{"method":73,"path":100},"https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fapi-keys",[102,103,105],"callout",{"variant":104},"warn",[10,106,107,110,111,114,115,117,118,121,122,124,125,128],{},[13,108,109],{},"Session token only — API keys cannot manage other API keys."," Every request to ",[27,112,113],{},"\u002Fapi-keys"," must use the session JWT the account page holds as the bearer token. A bearer token that starts with ",[27,116,50],{}," is rejected with ",[27,119,120],{},"403"," straight away. The OAuth access token an MCP client holds is checked first: a valid one is rejected with ",[27,123,120],{},", and an expired or invalid one gets ",[27,126,127],{},"401",". This prevents a leaked server key from quietly creating or revoking other keys.",[130,131,133],"h2",{"id":132},"generate","Generate a key",[10,135,136],{},[27,137,5],{},[10,139,140],{},"Creates a new API key. The plaintext key is returned once in the response body and is never stored or recoverable after that — copy it immediately.",[142,143,145],"h3",{"id":144},"request-headers","Request headers",[147,148,149,165],"table",{},[150,151,152],"thead",{},[153,154,155,159,162],"tr",{},[156,157,158],"th",{},"Header",[156,160,161],{},"Required",[156,163,164],{},"Value",[166,167,168,184],"tbody",{},[153,169,170,176,179],{},[171,172,173],"td",{},[27,174,175],{},"Authorization",[171,177,178],{},"yes",[171,180,181],{},[27,182,183],{},"Bearer \u003Csupabase-jwt>",[153,185,186,191,194],{},[171,187,188],{},[27,189,190],{},"Content-Type",[171,192,193],{},"recommended",[171,195,196,199],{},[27,197,198],{},"application\u002Fjson",". The body is read as JSON whether or not the header is sent.",[142,201,203],{"id":202},"request-body","Request body",[147,205,206,221],{},[150,207,208],{},[153,209,210,213,216,218],{},[156,211,212],{},"Field",[156,214,215],{},"Type",[156,217,161],{},[156,219,220],{},"Description",[166,222,223],{},[153,224,225,230,233,236],{},[171,226,227],{},[27,228,229],{},"label",[171,231,232],{},"string",[171,234,235],{},"optional",[171,237,238,239,242,243,246,247,250,251,253],{},"Human-readable name for the key, e.g. ",[27,240,241],{},"\"Claude Desktop\""," or ",[27,244,245],{},"\"Cursor\"",". Shown in the key list. At most 60 characters after surrounding spaces are trimmed. An empty label, or ",[27,248,249],{},"null",", is stored as ",[27,252,249],{},".",[10,255,256,257,259],{},"The body is optional. An account can hold at most five active keys; a sixth ",[27,258,73],{}," returns 409 until you revoke one.",[10,261,262,263],{},"Key creation can be limited to approved accounts. When it is, a signed-in account outside that list gets a 403 with ",[27,264,265],{},"Key creation is limited to approved accounts.",[142,267,269],{"id":268},"response-201","Response — 201",[147,271,272,282],{},[150,273,274],{},[153,275,276,278,280],{},[156,277,212],{},[156,279,215],{},[156,281,220],{},[166,283,284,297,312,326,338],{},[153,285,286,291,294],{},[171,287,288],{},[27,289,290],{},"id",[171,292,293],{},"string (UUID)",[171,295,296],{},"Unique key ID. Use this to revoke the key later.",[153,298,299,304,306],{},[171,300,301],{},[27,302,303],{},"prefix",[171,305,232],{},[171,307,308,309,311],{},"First 11 characters of the key (",[27,310,50],{}," + 8 hex chars). Shown in the key list so you can identify the key without the full value.",[153,313,314,318,321],{},[171,315,316],{},[27,317,229],{},[171,319,320],{},"string | null",[171,322,323,324,253],{},"The label you supplied, or ",[27,325,249],{},[153,327,328,333,335],{},[171,329,330],{},[27,331,332],{},"api_key",[171,334,232],{},[171,336,337],{},"The full plaintext key. This is the only time it appears.",[153,339,340,345,347],{},[171,341,342],{},[27,343,344],{},"warning",[171,346,232],{},[171,348,349,350],{},"Literal reminder: ",[27,351,352],{},"\"This is the only time the full key will be shown. Store it now.\"",[102,354,355],{"variant":104},[10,356,357,360,361,363],{},[13,358,359],{},"One-time disclosure."," The ",[27,362,332],{}," field is absent from all other responses. TagManifest stores only the SHA-256 hash. If you lose the key, revoke it and generate a new one.",[130,365,367],{"id":366},"list","List keys",[10,369,370],{},[27,371,32],{},[10,373,374],{},"Returns all keys for the authenticated user, sorted newest first. Never returns plaintext key values — only metadata.",[142,376,145],{"id":377},"request-headers-1",[147,379,380,390],{},[150,381,382],{},[153,383,384,386,388],{},[156,385,158],{},[156,387,161],{},[156,389,164],{},[166,391,392],{},[153,393,394,398,400],{},[171,395,396],{},[27,397,175],{},[171,399,178],{},[171,401,402],{},[27,403,183],{},[142,405,407],{"id":406},"response-200","Response — 200",[409,410,415],"pre",{"className":411,"code":412,"language":413,"meta":414,"style":414},"language-json shiki shiki-themes github-light github-dark","{\n  \"keys\": [\n    {\n      \"id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n      \"key_prefix\": \"tm_a1b2c3d4\",\n      \"label\": \"Claude Desktop\",\n      \"created_at\": \"2026-05-04T09:27:13.000Z\",\n      \"last_used_at\": \"2026-05-04T13:25:53.000Z\",\n      \"revoked_at\": null\n    }\n  ]\n}\n","json","",[27,416,417,426,436,442,458,471,483,496,509,520,526,532],{"__ignoreMap":414},[418,419,422],"span",{"class":420,"line":421},"line",1,[418,423,425],{"class":424},"sVt8B","{\n",[418,427,429,433],{"class":420,"line":428},2,[418,430,432],{"class":431},"sj4cs","  \"keys\"",[418,434,435],{"class":424},": [\n",[418,437,439],{"class":420,"line":438},3,[418,440,441],{"class":424},"    {\n",[418,443,445,448,451,455],{"class":420,"line":444},4,[418,446,447],{"class":431},"      \"id\"",[418,449,450],{"class":424},": ",[418,452,454],{"class":453},"sZZnC","\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"",[418,456,457],{"class":424},",\n",[418,459,461,464,466,469],{"class":420,"line":460},5,[418,462,463],{"class":431},"      \"key_prefix\"",[418,465,450],{"class":424},[418,467,468],{"class":453},"\"tm_a1b2c3d4\"",[418,470,457],{"class":424},[418,472,474,477,479,481],{"class":420,"line":473},6,[418,475,476],{"class":431},"      \"label\"",[418,478,450],{"class":424},[418,480,241],{"class":453},[418,482,457],{"class":424},[418,484,486,489,491,494],{"class":420,"line":485},7,[418,487,488],{"class":431},"      \"created_at\"",[418,490,450],{"class":424},[418,492,493],{"class":453},"\"2026-05-04T09:27:13.000Z\"",[418,495,457],{"class":424},[418,497,499,502,504,507],{"class":420,"line":498},8,[418,500,501],{"class":431},"      \"last_used_at\"",[418,503,450],{"class":424},[418,505,506],{"class":453},"\"2026-05-04T13:25:53.000Z\"",[418,508,457],{"class":424},[418,510,512,515,517],{"class":420,"line":511},9,[418,513,514],{"class":431},"      \"revoked_at\"",[418,516,450],{"class":424},[418,518,519],{"class":431},"null\n",[418,521,523],{"class":420,"line":522},10,[418,524,525],{"class":424},"    }\n",[418,527,529],{"class":420,"line":528},11,[418,530,531],{"class":424},"  ]\n",[418,533,535],{"class":420,"line":534},12,[418,536,537],{"class":424},"}\n",[10,539,540,541,544],{},"Each object in ",[27,542,543],{},"keys"," contains:",[147,546,547,557],{},[150,548,549],{},[153,550,551,553,555],{},[156,552,212],{},[156,554,215],{},[156,556,220],{},[166,558,559,574,586,597,610,623],{},[153,560,561,565,567],{},[171,562,563],{},[27,564,290],{},[171,566,293],{},[171,568,569,570,573],{},"Key ID. Pass to ",[27,571,572],{},"DELETE \u002Fapi-keys?id="," to revoke.",[153,575,576,581,583],{},[171,577,578],{},[27,579,580],{},"key_prefix",[171,582,232],{},[171,584,585],{},"First 11 characters of the key — enough to identify it in the UI.",[153,587,588,592,594],{},[171,589,590],{},[27,591,229],{},[171,593,320],{},[171,595,596],{},"User-supplied label.",[153,598,599,604,607],{},[171,600,601],{},[27,602,603],{},"created_at",[171,605,606],{},"string (ISO 8601)",[171,608,609],{},"When the key was generated.",[153,611,612,617,620],{},[171,613,614],{},[27,615,616],{},"last_used_at",[171,618,619],{},"string (ISO 8601) | null",[171,621,622],{},"When the key last authenticated a request.",[153,624,625,630,632],{},[171,626,627],{},[27,628,629],{},"revoked_at",[171,631,619],{},[171,633,634,635,637],{},"When the key was revoked. ",[27,636,249],{}," means the key is still active.",[130,639,641],{"id":640},"revoke","Revoke a key",[10,643,644],{},[27,645,646],{},"DELETE \u002Fapi-keys?id=\u003Cuuid>",[10,648,649],{},"Marks a key as revoked. Revoked keys are rejected immediately on any subsequent request. The key record is retained for audit purposes — it is not deleted from the database.",[142,651,145],{"id":652},"request-headers-2",[147,654,655,665],{},[150,656,657],{},[153,658,659,661,663],{},[156,660,158],{},[156,662,161],{},[156,664,164],{},[166,666,667],{},[153,668,669,673,675],{},[171,670,671],{},[27,672,175],{},[171,674,178],{},[171,676,677],{},[27,678,183],{},[142,680,682],{"id":681},"query-parameters","Query parameters",[147,684,685,698],{},[150,686,687],{},[153,688,689,692,694,696],{},[156,690,691],{},"Param",[156,693,215],{},[156,695,161],{},[156,697,220],{},[166,699,700],{},[153,701,702,706,708,710],{},[171,703,704],{},[27,705,290],{},[171,707,293],{},[171,709,178],{},[171,711,85,712,714,715,717,718,253],{},[27,713,290],{}," of the key to revoke. Returned by ",[27,716,5],{}," and ",[27,719,32],{},[142,721,407],{"id":722},"response-200-1",[409,724,726],{"className":411,"code":725,"language":413,"meta":414,"style":414},"{\n  \"revoked\": true,\n  \"id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\n}\n",[27,727,728,732,744,754],{"__ignoreMap":414},[418,729,730],{"class":420,"line":421},[418,731,425],{"class":424},[418,733,734,737,739,742],{"class":420,"line":428},[418,735,736],{"class":431},"  \"revoked\"",[418,738,450],{"class":424},[418,740,741],{"class":431},"true",[418,743,457],{"class":424},[418,745,746,749,751],{"class":420,"line":438},[418,747,748],{"class":431},"  \"id\"",[418,750,450],{"class":424},[418,752,753],{"class":453},"\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\n",[418,755,756],{"class":420,"line":444},[418,757,537],{"class":424},[130,759,761],{"id":760},"errors","Errors",[147,763,764,777],{},[150,765,766],{},[153,767,768,771,774],{},[156,769,770],{},"Status",[156,772,773],{},"Body",[156,775,776],{},"Cause",[166,778,779,799,818,839,857,877,891,908,922,938,958,986,1003,1020,1035,1049],{},[153,780,781,786,791],{},[171,782,783],{},[27,784,785],{},"400",[171,787,788],{},[27,789,790],{},"{ \"error\": \"Missing required query param: id\" }",[171,792,793,795,796,798],{},[27,794,81],{}," called without the ",[27,797,290],{}," query parameter.",[153,800,801,805,810],{},[171,802,803],{},[27,804,785],{},[171,806,807],{},[27,808,809],{},"{ \"error\": \"Invalid key id\" }",[171,811,812,814,815,817],{},[27,813,81],{}," called with an ",[27,816,290],{}," that is not a UUID.",[153,819,820,824,829],{},[171,821,822],{},[27,823,785],{},[171,825,826],{},[27,827,828],{},"{ \"error\": \"label must be a string\" }",[171,830,831,833,834,836,837,253],{},[27,832,73],{}," with a ",[27,835,229],{}," that is neither a string nor ",[27,838,249],{},[153,840,841,845,850],{},[171,842,843],{},[27,844,785],{},[171,846,847],{},[27,848,849],{},"{ \"error\": \"label must be 60 characters or fewer\" }",[171,851,852,833,854,856],{},[27,853,73],{},[27,855,229],{}," longer than 60 characters after surrounding spaces are trimmed.",[153,858,859,863,868],{},[171,860,861],{},[27,862,127],{},[171,864,865],{},[27,866,867],{},"{ \"error\": \"Missing or malformed Authorization header\" }",[171,869,870,871,873,874,253],{},"No ",[27,872,175],{}," header, or the header does not start with ",[27,875,876],{},"Bearer ",[153,878,879,883,888],{},[171,880,881],{},[27,882,127],{},[171,884,885],{},[27,886,887],{},"{ \"error\": \"Invalid or expired token\" }",[171,889,890],{},"The session token is expired, malformed, or not recognized.",[153,892,893,897,902],{},[171,894,895],{},[27,896,120],{},[171,898,899],{},[27,900,901],{},"{ \"error\": \"API keys cannot manage API keys — use a session JWT\" }",[171,903,904,905,907],{},"The bearer token starts with ",[27,906,50],{},". It is refused on the prefix alone, before the key is looked up.",[153,909,910,914,919],{},[171,911,912],{},[27,913,120],{},[171,915,916],{},[27,917,918],{},"{ \"error\": \"MCP access tokens cannot manage API keys — use a session JWT\" }",[171,920,921],{},"Request carried a valid access token from an MCP client. An expired or invalid one gets the 401 above.",[153,923,924,928,933],{},[171,925,926],{},[27,927,120],{},[171,929,930],{},[27,931,932],{},"{ \"error\": \"Key creation is limited to approved accounts.\" }",[171,934,935,937],{},[27,936,73],{}," from a signed-in account that is not on the approved list, when key creation is limited to approved accounts.",[153,939,940,945,950],{},[171,941,942],{},[27,943,944],{},"404",[171,946,947],{},[27,948,949],{},"{ \"error\": \"Key not found\" }",[171,951,952,954,955,957],{},[27,953,81],{}," targeted an ",[27,956,290],{}," that does not exist or belongs to a different user.",[153,959,960,965,970],{},[171,961,962],{},[27,963,964],{},"405",[171,966,967],{},[27,968,969],{},"{ \"error\": \"Method not allowed\" }",[171,971,972,973,29,975,29,977,242,979,982,983,985],{},"A method other than ",[27,974,73],{},[27,976,77],{},[27,978,81],{},[27,980,981],{},"OPTIONS",", sent with a valid session token. The token is checked first, so without one the answer is 401 or 403. ",[27,984,981],{}," returns 200 and needs no token.",[153,987,988,993,998],{},[171,989,990],{},[27,991,992],{},"409",[171,994,995],{},[27,996,997],{},"{ \"error\": \"This account already has 5 active keys. Revoke one to create another.\" }",[171,999,1000,1002],{},[27,1001,73],{}," when the account already holds five active keys.",[153,1004,1005,1010,1015],{},[171,1006,1007],{},[27,1008,1009],{},"413",[171,1011,1012],{},[27,1013,1014],{},"{ \"error\": \"Request body too large\" }",[171,1016,1017,1019],{},[27,1018,73],{}," body over 16 KB.",[153,1021,1022,1027,1032],{},[171,1023,1024],{},[27,1025,1026],{},"500",[171,1028,1029],{},[27,1030,1031],{},"{ \"error\": \"Key generation failed\" }",[171,1033,1034],{},"Internal error during key creation — retry once before reporting.",[153,1036,1037,1041,1046],{},[171,1038,1039],{},[27,1040,1026],{},[171,1042,1043],{},[27,1044,1045],{},"{ \"error\": \"Failed to list keys\" }",[171,1047,1048],{},"Internal error during key listing — retry once before reporting.",[153,1050,1051,1055,1060],{},[171,1052,1053],{},[27,1054,1026],{},[171,1056,1057],{},[27,1058,1059],{},"{ \"error\": \"Revoke failed\" }",[171,1061,1062],{},"Internal error during revocation — retry once before reporting.",[10,1064,85,1065,1068,1069,1072,1073,253],{},[27,1066,1067],{},"503"," ",[27,1070,1071],{},"rate_limiter_unavailable"," response does not occur here. It comes only from the scan and rule endpoints, which are rate limited. See ",[87,1074,761],{"href":1075},"\u002Ferrors\u002F#503",[130,1077,1079],{"id":1078},"see-also","See also",[17,1081,1082,1087,1094],{},[20,1083,1084,1086],{},[87,1085,95],{"href":94}," — the three kinds of token and what each can do",[20,1088,1089,1093],{},[87,1090,1092],{"href":1091},"\u002Frate-limits\u002F","Rate limits"," — daily caps and rate-limit response headers",[20,1095,1096,1100],{},[87,1097,1099],{"href":1098},"\u002F","API reference introduction"," — base URL, versioning, and error conventions",[1102,1103,1104],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}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":414,"searchDepth":428,"depth":428,"links":1106},[1107,1112,1116,1121,1122],{"id":132,"depth":428,"text":133,"children":1108},[1109,1110,1111],{"id":144,"depth":438,"text":145},{"id":202,"depth":438,"text":203},{"id":268,"depth":438,"text":269},{"id":366,"depth":428,"text":367,"children":1113},[1114,1115],{"id":377,"depth":438,"text":145},{"id":406,"depth":438,"text":407},{"id":640,"depth":428,"text":641,"children":1117},[1118,1119,1120],{"id":652,"depth":438,"text":145},{"id":681,"depth":438,"text":682},{"id":722,"depth":438,"text":407},{"id":760,"depth":428,"text":761},{"id":1078,"depth":428,"text":1079},[1124,1126,1128],{"label":1125,"href":1098},"API Reference",{"label":1127},"REST endpoints",{"label":5},{"cards":1130,"onpage":1160},[1131,1141,1147,1153],{"title":133,"tabs":1132},[1133,1137],{"label":1134,"language":1135,"code":1136},"cURL","bash","curl https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fapi-keys \\\n  -X POST \\\n  -H \"Authorization: Bearer $SUPABASE_JWT\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"label\":\"Claude Desktop\"}'\n",{"label":1138,"language":1139,"code":1140},"Node","javascript","const r = await fetch(\"https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fapi-keys\", {\n  method: \"POST\",\n  headers: {\n    Authorization: `Bearer ${process.env.SUPABASE_JWT}`,\n    \"Content-Type\": \"application\u002Fjson\"\n  },\n  body: JSON.stringify({ label: \"Claude Desktop\" })\n});\nconst { api_key, id, prefix } = await r.json();\n\u002F\u002F Save api_key now — it will not be shown again.\n",{"title":367,"tabs":1142},[1143,1145],{"label":1134,"language":1135,"code":1144},"curl https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fapi-keys \\\n  -H \"Authorization: Bearer $SUPABASE_JWT\"\n",{"label":1138,"language":1139,"code":1146},"const r = await fetch(\"https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fapi-keys\", {\n  headers: { Authorization: `Bearer ${process.env.SUPABASE_JWT}` }\n});\nconst { keys } = await r.json();\n",{"title":641,"tabs":1148},[1149,1151],{"label":1134,"language":1135,"code":1150},"curl \"https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fapi-keys?id=a1b2c3d4-e5f6-7890-abcd-ef1234567890\" \\\n  -X DELETE \\\n  -H \"Authorization: Bearer $SUPABASE_JWT\"\n",{"label":1138,"language":1139,"code":1152},"const r = await fetch(\n  `https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fapi-keys?id=${keyId}`,\n  {\n    method: \"DELETE\",\n    headers: { Authorization: `Bearer ${process.env.SUPABASE_JWT}` }\n  }\n);\nconst { revoked, id } = await r.json();\n",{"title":1154,"variant":1155,"tabs":1156},"201 — generated key","response",[1157],{"label":1158,"language":413,"code":1159},"JSON","{\n  \"id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n  \"prefix\": \"tm_a1b2c3d4\",\n  \"label\": \"Claude Desktop\",\n  \"api_key\": \"tm_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6\",\n  \"warning\": \"This is the only time the full key will be shown. Store it now.\"\n}\n",[1161,1162,1163,1164],{"id":132,"label":133},{"id":366,"label":367},{"id":640,"label":641},{"id":760,"label":761},null,"Generate, list, and revoke API keys. Takes the account page's session token only — API keys and MCP access tokens cannot manage keys.","md",{},true,{"href":1091,"title":1092},"\u002Fapi\u002Fapi-keys",{"href":94,"title":95},"APIReference",{"title":5,"description":1166},"api\u002Fapi-keys",false,"xNm0mBtb3ZG-OR8glAMrcgGDuPvsrIWo2Mo9CMNoxko",1796069482966]