[{"data":1,"prerenderedAt":1056},["ShallowReactive",2],{"navigation":3,"reference:logs":45},{"title":4,"links":5},"API reference",[6,9,12,15,18,21,24,27,30,33,36,39,42],{"title":7,"href":8},"Accounts","\u002Freference\u002Faccounts",{"title":10,"href":11},"Connect","\u002Freference\u002Fconnect",{"title":13,"href":14},"Calendars","\u002Freference\u002Fcalendars",{"title":16,"href":17},"Events","\u002Freference\u002Fevents",{"title":19,"href":20},"Availability","\u002Freference\u002Favailability",{"title":22,"href":23},"Meetings","\u002Freference\u002Fmeetings",{"title":25,"href":26},"Invitations","\u002Freference\u002Finvitations",{"title":28,"href":29},"Webhooks","\u002Freference\u002Fwebhooks",{"title":31,"href":32},"Metadata","\u002Freference\u002Fmetadata",{"title":34,"href":35},"Keys","\u002Freference\u002Fkeys",{"title":37,"href":38},"Sandbox","\u002Freference\u002Fsandbox",{"title":40,"href":41},"Usage","\u002Freference\u002Fusage",{"title":43,"href":44},"Logs","\u002Freference\u002Flogs",{"kind":46,"title":47,"name":43,"description":48,"sections":49,"tries":57,"body":111},"generated","Logs API","Look up any v2 request by its trace ID to see what was requested, what the API responded and why, and what happened while the request was processed.",[50,54],{"id":51,"title":52,"tag":53},"logs-list","List request logs","GET",{"id":55,"title":56,"tag":53},"logs-get","Get a request log",{"logs.list":58,"logs.get":101},{"operationId":59,"method":53,"path":60,"summary":52,"fields":61,"body":100,"unavailable":100},"logs.list","\u002Fv2\u002Flogs",[62,69,72,77,81,84,87,91,94,97],{"name":63,"in":64,"type":65,"required":66,"raw":67,"sample":67,"options":68},"accountId","query","string",false,"",[],{"name":70,"in":64,"type":65,"required":66,"raw":67,"sample":67,"options":71},"subjectId",[],{"name":73,"in":64,"type":65,"required":66,"raw":74,"sample":74,"options":75},"outcome","failed",[74,76],"succeeded",{"name":78,"in":64,"type":79,"required":66,"raw":67,"sample":67,"options":80},"status","integer",[],{"name":82,"in":64,"type":65,"required":66,"raw":67,"sample":67,"options":83},"errorCode",[],{"name":85,"in":64,"type":65,"required":66,"raw":67,"sample":67,"options":86},"route",[],{"name":88,"in":64,"type":89,"required":66,"raw":67,"sample":67,"options":90},"since","string (date-time)",[],{"name":92,"in":64,"type":89,"required":66,"raw":67,"sample":67,"options":93},"until",[],{"name":95,"in":64,"type":79,"required":66,"raw":67,"sample":67,"options":96},"limit",[],{"name":98,"in":64,"type":65,"required":66,"raw":67,"sample":67,"options":99},"cursor",[],null,{"operationId":102,"method":53,"path":103,"summary":56,"fields":104,"body":100,"unavailable":100},"logs.get","\u002Fv2\u002Flogs\u002F{traceId}",[105],{"name":106,"in":107,"type":65,"required":108,"raw":109,"sample":109,"options":110},"traceId","path",true,"trc_000000000000000000000000",[],{"type":112,"value":113},"minimark",[114,118,124,140,143,148,495,497,501,1053],[115,116,43],"h1",{"id":117},"logs",[119,120,121],"lead",{},[122,123,48],"p",{},[125,126,127],"note",{},[122,128,129,130,134,135,139],{},"The examples use IDs from a sample sandbox. Your sandbox has the same people, calendars and events with its own IDs, which ",[131,132,133],"code",{},"GET \u002Fv2\u002Fsandbox"," returns. When you're signed in to the dashboard, ",[136,137,138],"strong",{},"Try it"," fills in your IDs and sends the request to your sandbox, never to live data.",[141,142],"hr",{},[144,145,146],"section-heading",{"id":51,"label":60,"tag":53},[122,147,52],{},[149,150,151,306],"row",{},[152,153,154,157,160,165,234,238],"column",{},[122,155,156],{},"Returns the app's v2 requests, newest first. Each log includes the status, error code and hint, and what happened while the request was processed: operations, provider requests, token refreshes, and the webhooks and invitations it triggered. A test key lists the sandbox's requests. Logs are kept for 7 days, or 14 days on Growth and 30 days on Scale. Request and response bodies are never stored.",[158,159],"try-it",{"operation":59},[161,162,164],"h3",{"id":163},"query-parameters","Query parameters",[166,167,168,171,173,189,194,202,210,215,220,225],"properties",{},[169,170],"property",{"name":63,"type":65},[169,172],{"name":70,"type":65},[169,174,175],{"name":73,"type":65},[122,176,177,179,180,182,183,185,186,188],{},[131,178,74],{}," returns requests that received a 4xx or 5xx response. ",[131,181,76],{}," returns requests that received a 2xx or 3xx response. One of ",[131,184,74],{},", ",[131,187,76],{},".",[169,190,191],{"name":78,"type":79},[122,192,193],{},"An HTTP status code. From 100 to 599.",[169,195,196],{"name":82,"type":65},[122,197,198,199,188],{},"An error code, such as ",[131,200,201],{},"CONNECTION_REVOKED",[169,203,204],{"name":85,"type":65},[122,205,206,207,209],{},"An endpoint, as it appears in ",[131,208,85],{},", such as \"POST \u002Fv2\u002Fevents\".",[169,211,212],{"name":88,"type":89},[122,213,214],{},"Returns only requests made at or after this time.",[169,216,217],{"name":92,"type":89},[122,218,219],{},"Returns only requests made before this time.",[169,221,222],{"name":95,"type":79},[122,223,224],{},"The maximum number of results in one page. From 1 to 100.",[169,226,227],{"name":98,"type":65},[122,228,229,230,233],{},"The ",[131,231,232],{},"nextCursor"," from the previous page.",[161,235,237],{"id":236},"errors","Errors",[239,240,241,252,261,270,279,288,297],"ul",{},[242,243,244,251],"li",{},[245,246,248],"a",{"href":247},"\u002Ferrors\u002FVALIDATION_INVALID_QUERY",[131,249,250],{},"VALIDATION_INVALID_QUERY"," (400): A query parameter is not valid.",[242,253,254,260],{},[245,255,257],{"href":256},"\u002Ferrors\u002FAUTH_INVALID_KEY",[131,258,259],{},"AUTH_INVALID_KEY"," (401): The API key is missing, unknown or revoked.",[242,262,263,269],{},[245,264,266],{"href":265},"\u002Ferrors\u002FAUTH_EXPIRED_KEY",[131,267,268],{},"AUTH_EXPIRED_KEY"," (401): The API key has expired.",[242,271,272,278],{},[245,273,275],{"href":274},"\u002Ferrors\u002FAUTH_INSUFFICIENT_SCOPE",[131,276,277],{},"AUTH_INSUFFICIENT_SCOPE"," (403): The API key or session does not have permission to make this request.",[242,280,281,287],{},[245,282,284],{"href":283},"\u002Ferrors\u002FRATE_LIMIT_EXCEEDED",[131,285,286],{},"RATE_LIMIT_EXCEEDED"," (429): The request rate exceeds this plan's rate limit.",[242,289,290,296],{},[245,291,293],{"href":292},"\u002Ferrors\u002FRATE_LIMIT_BURST",[131,294,295],{},"RATE_LIMIT_BURST"," (429): Too many requests were sent in a short period.",[242,298,299,305],{},[245,300,302],{"href":301},"\u002Ferrors\u002FINTERNAL_ERROR",[131,303,304],{},"INTERNAL_ERROR"," (500): Something went wrong on our end.",[152,307,309,400],{":sticky":308},"true",[310,311,313,347],"code-group",{"label":60,"title":312,"tag":53},"Request",[314,315,320],"pre",{"className":316,"code":317,"filename":318,"language":319,"meta":67,"style":67},"language-bash shiki css-variables","curl 'https:\u002F\u002Fapi.pyas.io\u002Fv2\u002Flogs?outcome=failed' \\\n  -H \"x-api-key: $PYAS_API_KEY\"\n","cURL","bash",[131,321,322,338],{"__ignoreMap":67},[323,324,326,330,334],"span",{"class":325},"line",[323,327,329],{"style":328},"color:var(--shiki-token-function)","curl",[323,331,333],{"style":332},"color:var(--shiki-token-string-expression)"," 'https:\u002F\u002Fapi.pyas.io\u002Fv2\u002Flogs?outcome=failed'",[323,335,337],{"style":336},"color:var(--shiki-foreground)"," \\",[323,339,340,344],{"class":325},[323,341,343],{"style":342},"color:var(--shiki-token-string)","  -H",[323,345,346],{"style":332}," \"x-api-key: $PYAS_API_KEY\"",[314,348,353],{"className":349,"code":350,"filename":351,"language":352,"meta":67,"style":67},"language-js shiki css-variables","const result = await pyas.logs.list({\n  \"outcome\": \"failed\"\n})\n","Node.js","js",[131,354,355,384,395],{"__ignoreMap":67},[323,356,357,361,365,368,371,374,376,378,381],{"class":325},[323,358,360],{"style":359},"color:var(--shiki-token-keyword)","const",[323,362,364],{"style":363},"color:var(--shiki-token-constant)"," result",[323,366,367],{"style":359}," =",[323,369,370],{"style":359}," await",[323,372,373],{"style":363}," pyas",[323,375,188],{"style":328},[323,377,117],{"style":363},[323,379,380],{"style":328},".list",[323,382,383],{"style":336},"({",[323,385,386,389,392],{"class":325},[323,387,388],{"style":332},"  \"outcome\"",[323,390,391],{"style":359},":",[323,393,394],{"style":332}," \"failed\"",[323,396,397],{"class":325},[323,398,399],{"style":336},"})",[310,401,404],{"label":402,"title":403},"200 OK","Response",[314,405,409],{"className":406,"code":407,"language":408,"meta":67,"style":67},"language-json shiki css-variables","{\n  \"success\": true,\n  \"data\": [],\n  \"provider\": null,\n  \"traceId\": \"trc_5f2a9c1e7b3d4a6f8e0c2b1d\",\n  \"meta\": {\n    \"nextCursor\": null\n  }\n}\n","json",[131,410,411,416,430,442,454,466,476,485,490],{"__ignoreMap":67},[323,412,413],{"class":325},[323,414,415],{"style":336},"{",[323,417,418,421,424,427],{"class":325},[323,419,420],{"style":359},"  \"success\"",[323,422,391],{"style":423},"color:var(--shiki-token-punctuation)",[323,425,426],{"style":363}," true",[323,428,429],{"style":423},",",[323,431,432,435,437,440],{"class":325},[323,433,434],{"style":359},"  \"data\"",[323,436,391],{"style":423},[323,438,439],{"style":336}," []",[323,441,429],{"style":423},[323,443,444,447,449,452],{"class":325},[323,445,446],{"style":359},"  \"provider\"",[323,448,391],{"style":423},[323,450,451],{"style":363}," null",[323,453,429],{"style":423},[323,455,456,459,461,464],{"class":325},[323,457,458],{"style":359},"  \"traceId\"",[323,460,391],{"style":423},[323,462,463],{"style":332}," \"trc_5f2a9c1e7b3d4a6f8e0c2b1d\"",[323,465,429],{"style":423},[323,467,468,471,473],{"class":325},[323,469,470],{"style":359},"  \"meta\"",[323,472,391],{"style":423},[323,474,475],{"style":336}," {",[323,477,478,481,483],{"class":325},[323,479,480],{"style":359},"    \"nextCursor\"",[323,482,391],{"style":423},[323,484,451],{"style":363},[323,486,487],{"class":325},[323,488,489],{"style":336},"  }",[323,491,492],{"class":325},[323,493,494],{"style":336},"}",[141,496],{},[144,498,499],{"id":55,"label":103,"tag":53},[122,500,56],{},[149,502,503,587],{},[152,504,505,515,527,529,533,537,540],{},[122,506,507,508,511,512,514],{},"Returns one request by its trace ID, which is the ",[131,509,510],{},"X-Trace-Id"," header of any v2 response or the ",[131,513,106],{}," of an error. Logs are written within a few seconds of the response.",[122,516,517,520,521,523,524,526],{},[136,518,519],{},"In the sandbox:"," Use the ",[131,522,510],{}," header from any earlier response, or the ",[131,525,106],{}," from an error. Logs are written a few seconds after the response is sent.",[158,528],{"operation":102},[161,530,532],{"id":531},"path-parameters","Path parameters",[166,534,535],{},[169,536],{"name":106,"type":65,":required":308},[161,538,237],{"id":539},"errors-1",[239,541,542,548,554,560,569,575,581],{},[242,543,544,260],{},[245,545,546],{"href":256},[131,547,259],{},[242,549,550,269],{},[245,551,552],{"href":265},[131,553,268],{},[242,555,556,278],{},[245,557,558],{"href":274},[131,559,277],{},[242,561,562,568],{},[245,563,565],{"href":564},"\u002Ferrors\u002FRESOURCE_NOT_FOUND",[131,566,567],{},"RESOURCE_NOT_FOUND"," (404): The calendar or event was not found.",[242,570,571,287],{},[245,572,573],{"href":283},[131,574,286],{},[242,576,577,296],{},[245,578,579],{"href":292},[131,580,295],{},[242,582,583,305],{},[245,584,585],{"href":301},[131,586,304],{},[152,588,589,650],{":sticky":308},[310,590,591,611],{"label":103,"title":312,"tag":53},[314,592,594],{"className":316,"code":593,"filename":318,"language":319,"meta":67,"style":67},"curl 'https:\u002F\u002Fapi.pyas.io\u002Fv2\u002Flogs\u002Ftrc_000000000000000000000000' \\\n  -H \"x-api-key: $PYAS_API_KEY\"\n",[131,595,596,605],{"__ignoreMap":67},[323,597,598,600,603],{"class":325},[323,599,329],{"style":328},[323,601,602],{"style":332}," 'https:\u002F\u002Fapi.pyas.io\u002Fv2\u002Flogs\u002Ftrc_000000000000000000000000'",[323,604,337],{"style":336},[323,606,607,609],{"class":325},[323,608,343],{"style":342},[323,610,346],{"style":332},[314,612,614],{"className":349,"code":613,"filename":351,"language":352,"meta":67,"style":67},"const result = await pyas.logs.get({\n  \"traceId\": \"trc_000000000000000000000000\"\n})\n",[131,615,616,637,646],{"__ignoreMap":67},[323,617,618,620,622,624,626,628,630,632,635],{"class":325},[323,619,360],{"style":359},[323,621,364],{"style":363},[323,623,367],{"style":359},[323,625,370],{"style":359},[323,627,373],{"style":363},[323,629,188],{"style":328},[323,631,117],{"style":363},[323,633,634],{"style":328},".get",[323,636,383],{"style":336},[323,638,639,641,643],{"class":325},[323,640,458],{"style":332},[323,642,391],{"style":359},[323,644,645],{"style":332}," \"trc_000000000000000000000000\"",[323,647,648],{"class":325},[323,649,399],{"style":336},[310,651,652],{"label":402,"title":403},[314,653,655],{"className":406,"code":654,"language":408,"meta":67,"style":67},"{\n  \"success\": true,\n  \"data\": {\n    \"traceId\": \"trc_5f2a9c1e7b3d4a6f8e0c2b1d\",\n    \"createdAt\": \"2026-11-14T20:00:32.997Z\",\n    \"mode\": \"test\",\n    \"keyId\": null,\n    \"client\": null,\n    \"method\": \"GET\",\n    \"route\": \"GET \u002Fv2\u002Fcalendars\",\n    \"operationId\": \"calendars.list\",\n    \"path\": \"\u002Fv2\u002Fcalendars\",\n    \"status\": 200,\n    \"durationMs\": 4,\n    \"accountId\": \"sbx_fda58c5980_1\",\n    \"subjectId\": null,\n    \"error\": null,\n    \"idempotencyKey\": null,\n    \"replayed\": false,\n    \"cache\": \"MISS\",\n    \"queuedMs\": null,\n    \"operations\": [\n      {\n        \"provider\": \"pyas\",\n        \"operation\": \"listCalendars\",\n        \"accountId\": \"sbx_fda58c5980_1\",\n        \"durationMs\": 1\n      }\n    ],\n    \"providerCalls\": [],\n    \"tokenRefreshes\": [],\n    \"webhookEvents\": [],\n    \"invitations\": [],\n    \"omitted\": 0\n  },\n  \"provider\": null,\n  \"traceId\": \"trc_5f2a9c1e7b3d4a6f8e0c2b1d\",\n  \"meta\": {}\n}\n",[131,656,657,661,671,679,690,702,714,725,736,748,760,772,784,796,808,820,831,842,853,865,877,888,898,903,915,927,938,948,953,960,971,982,993,1004,1014,1020,1030,1040,1049],{"__ignoreMap":67},[323,658,659],{"class":325},[323,660,415],{"style":336},[323,662,663,665,667,669],{"class":325},[323,664,420],{"style":359},[323,666,391],{"style":423},[323,668,426],{"style":363},[323,670,429],{"style":423},[323,672,673,675,677],{"class":325},[323,674,434],{"style":359},[323,676,391],{"style":423},[323,678,475],{"style":336},[323,680,681,684,686,688],{"class":325},[323,682,683],{"style":359},"    \"traceId\"",[323,685,391],{"style":423},[323,687,463],{"style":332},[323,689,429],{"style":423},[323,691,692,695,697,700],{"class":325},[323,693,694],{"style":359},"    \"createdAt\"",[323,696,391],{"style":423},[323,698,699],{"style":332}," \"2026-11-14T20:00:32.997Z\"",[323,701,429],{"style":423},[323,703,704,707,709,712],{"class":325},[323,705,706],{"style":359},"    \"mode\"",[323,708,391],{"style":423},[323,710,711],{"style":332}," \"test\"",[323,713,429],{"style":423},[323,715,716,719,721,723],{"class":325},[323,717,718],{"style":359},"    \"keyId\"",[323,720,391],{"style":423},[323,722,451],{"style":363},[323,724,429],{"style":423},[323,726,727,730,732,734],{"class":325},[323,728,729],{"style":359},"    \"client\"",[323,731,391],{"style":423},[323,733,451],{"style":363},[323,735,429],{"style":423},[323,737,738,741,743,746],{"class":325},[323,739,740],{"style":359},"    \"method\"",[323,742,391],{"style":423},[323,744,745],{"style":332}," \"GET\"",[323,747,429],{"style":423},[323,749,750,753,755,758],{"class":325},[323,751,752],{"style":359},"    \"route\"",[323,754,391],{"style":423},[323,756,757],{"style":332}," \"GET \u002Fv2\u002Fcalendars\"",[323,759,429],{"style":423},[323,761,762,765,767,770],{"class":325},[323,763,764],{"style":359},"    \"operationId\"",[323,766,391],{"style":423},[323,768,769],{"style":332}," \"calendars.list\"",[323,771,429],{"style":423},[323,773,774,777,779,782],{"class":325},[323,775,776],{"style":359},"    \"path\"",[323,778,391],{"style":423},[323,780,781],{"style":332}," \"\u002Fv2\u002Fcalendars\"",[323,783,429],{"style":423},[323,785,786,789,791,794],{"class":325},[323,787,788],{"style":359},"    \"status\"",[323,790,391],{"style":423},[323,792,793],{"style":363}," 200",[323,795,429],{"style":423},[323,797,798,801,803,806],{"class":325},[323,799,800],{"style":359},"    \"durationMs\"",[323,802,391],{"style":423},[323,804,805],{"style":363}," 4",[323,807,429],{"style":423},[323,809,810,813,815,818],{"class":325},[323,811,812],{"style":359},"    \"accountId\"",[323,814,391],{"style":423},[323,816,817],{"style":332}," \"sbx_fda58c5980_1\"",[323,819,429],{"style":423},[323,821,822,825,827,829],{"class":325},[323,823,824],{"style":359},"    \"subjectId\"",[323,826,391],{"style":423},[323,828,451],{"style":363},[323,830,429],{"style":423},[323,832,833,836,838,840],{"class":325},[323,834,835],{"style":359},"    \"error\"",[323,837,391],{"style":423},[323,839,451],{"style":363},[323,841,429],{"style":423},[323,843,844,847,849,851],{"class":325},[323,845,846],{"style":359},"    \"idempotencyKey\"",[323,848,391],{"style":423},[323,850,451],{"style":363},[323,852,429],{"style":423},[323,854,855,858,860,863],{"class":325},[323,856,857],{"style":359},"    \"replayed\"",[323,859,391],{"style":423},[323,861,862],{"style":363}," false",[323,864,429],{"style":423},[323,866,867,870,872,875],{"class":325},[323,868,869],{"style":359},"    \"cache\"",[323,871,391],{"style":423},[323,873,874],{"style":332}," \"MISS\"",[323,876,429],{"style":423},[323,878,879,882,884,886],{"class":325},[323,880,881],{"style":359},"    \"queuedMs\"",[323,883,391],{"style":423},[323,885,451],{"style":363},[323,887,429],{"style":423},[323,889,890,893,895],{"class":325},[323,891,892],{"style":359},"    \"operations\"",[323,894,391],{"style":423},[323,896,897],{"style":336}," [",[323,899,900],{"class":325},[323,901,902],{"style":336},"      {",[323,904,905,908,910,913],{"class":325},[323,906,907],{"style":359},"        \"provider\"",[323,909,391],{"style":423},[323,911,912],{"style":332}," \"pyas\"",[323,914,429],{"style":423},[323,916,917,920,922,925],{"class":325},[323,918,919],{"style":359},"        \"operation\"",[323,921,391],{"style":423},[323,923,924],{"style":332}," \"listCalendars\"",[323,926,429],{"style":423},[323,928,929,932,934,936],{"class":325},[323,930,931],{"style":359},"        \"accountId\"",[323,933,391],{"style":423},[323,935,817],{"style":332},[323,937,429],{"style":423},[323,939,940,943,945],{"class":325},[323,941,942],{"style":359},"        \"durationMs\"",[323,944,391],{"style":423},[323,946,947],{"style":363}," 1",[323,949,950],{"class":325},[323,951,952],{"style":336},"      }",[323,954,955,958],{"class":325},[323,956,957],{"style":336},"    ]",[323,959,429],{"style":423},[323,961,962,965,967,969],{"class":325},[323,963,964],{"style":359},"    \"providerCalls\"",[323,966,391],{"style":423},[323,968,439],{"style":336},[323,970,429],{"style":423},[323,972,973,976,978,980],{"class":325},[323,974,975],{"style":359},"    \"tokenRefreshes\"",[323,977,391],{"style":423},[323,979,439],{"style":336},[323,981,429],{"style":423},[323,983,984,987,989,991],{"class":325},[323,985,986],{"style":359},"    \"webhookEvents\"",[323,988,391],{"style":423},[323,990,439],{"style":336},[323,992,429],{"style":423},[323,994,995,998,1000,1002],{"class":325},[323,996,997],{"style":359},"    \"invitations\"",[323,999,391],{"style":423},[323,1001,439],{"style":336},[323,1003,429],{"style":423},[323,1005,1006,1009,1011],{"class":325},[323,1007,1008],{"style":359},"    \"omitted\"",[323,1010,391],{"style":423},[323,1012,1013],{"style":363}," 0",[323,1015,1016,1018],{"class":325},[323,1017,489],{"style":336},[323,1019,429],{"style":423},[323,1021,1022,1024,1026,1028],{"class":325},[323,1023,446],{"style":359},[323,1025,391],{"style":423},[323,1027,451],{"style":363},[323,1029,429],{"style":423},[323,1031,1032,1034,1036,1038],{"class":325},[323,1033,458],{"style":359},[323,1035,391],{"style":423},[323,1037,463],{"style":332},[323,1039,429],{"style":423},[323,1041,1042,1044,1046],{"class":325},[323,1043,470],{"style":359},[323,1045,391],{"style":423},[323,1047,1048],{"style":336}," {}",[323,1050,1051],{"class":325},[323,1052,494],{"style":336},[1054,1055,67],"style",{},1794697270186]