{"openapi":"3.1.0","info":{"title":"Api","version":"0.0.1"},"paths":{"/v0/projects":{"get":{"tags":["Projects"],"operationId":"Projects.listProjects","parameters":[{"name":"ownerId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"projectId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"slug","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"search","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"offset","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errorTrackingEnabled":{"type":"boolean"},"webVitalsEnabled":{"type":"boolean"},"sessionReplaysEnabled":{"type":"boolean"},"slug":{"type":"string"},"private":{"type":"boolean"},"templateId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"firstEventAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownerId":{"type":"string"},"preferredChartColors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"icon":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["icon","emoji","image","provider","favicon"]},"value":{"type":"string"},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["type","value"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","errorTrackingEnabled","webVitalsEnabled","sessionReplaysEnabled","slug","private","templateId","createdAt","firstEventAt","ownerId","preferredChartColors","icon"],"additionalProperties":false}},"total":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"limit":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"offset":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"hasMore":{"type":"boolean"}},"required":["items","total","limit","offset","hasMore"],"additionalProperties":false}}}},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"x-auth-required":true}},"/v0/public-projects":{"get":{"tags":["Projects"],"operationId":"Projects.listPublicProjects","parameters":[{"name":"ownerId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"ownerSlug","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"slug","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"search","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"offset","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"sort","in":"query","schema":{"anyOf":[{"type":"string","enum":["createdAt","name","creator","online","total"]},{"type":"null"}]},"required":false},{"name":"direction","in":"query","schema":{"anyOf":[{"type":"string","enum":["asc","desc"]},{"type":"null"}]},"required":false}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"createdAt":{"type":"string"},"ownerId":{"type":"string"},"owner":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"type":"string","enum":["user","organization"]},"createdAt":{"type":"string"}},"required":["id","name","slug","image","type","createdAt"],"additionalProperties":false},{"type":"null"}]},"templateId":{"anyOf":[{"type":"string"},{"type":"null"}]},"icon":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["icon","emoji","image","provider","favicon"]},"value":{"type":"string"},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["type","value"],"additionalProperties":false},{"type":"null"}]},"online":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"total":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["id","name","slug","createdAt","ownerId","owner","templateId","icon","online","total"],"additionalProperties":false}},"total":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"limit":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"offset":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"hasMore":{"type":"boolean"},"stats":{"type":"object","properties":{"projectCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"onlineServers":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalServers":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["projectCount","onlineServers","totalServers"],"additionalProperties":false}},"required":["items","total","limit","offset","hasMore","stats"],"additionalProperties":false}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"x-auth-required":false}},"/projects/{idOrSlug}/stats":{"get":{"tags":["Projects"],"operationId":"Projects.getPublicProjectStats","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[],"responses":{"200":{"description":"Public project activity stats.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicProjectStatsRecord"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"x-auth-required":false}},"/v0/project/{idOrSlug}":{"get":{"tags":["Projects"],"operationId":"Projects.getProject","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"allowedHostnames":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"errorTrackingEnabled":{"type":"boolean"},"webVitalsEnabled":{"type":"boolean"},"sessionReplaysEnabled":{"type":"boolean"},"replayRetentionDays":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"replayStorageState":{"type":"string","enum":["provisioning","active","resetting"]},"cookielessMode":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"searchConsoleSiteUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"token":{"anyOf":[{"type":"string"},{"type":"null"}]},"slug":{"type":"string"},"private":{"type":"boolean"},"templateId":{"anyOf":[{"type":"string"},{"type":"null"}]},"preferredChartColors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"codeContextConfig":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"codebergApiUrl":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"repository":{"anyOf":[{"type":"string"},{"type":"null"}]},"ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"mappings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"anyOf":[{"type":"string","enum":["github","codeberg"]},{"type":"null"}]},"javaPrefix":{"type":"string"},"repository":{"anyOf":[{"type":"string"},{"type":"null"}]},"ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"pathPattern":{"type":"string"}},"required":["id","provider","javaPrefix","repository","ref","pathPattern"],"additionalProperties":false}}},"required":["enabled","repository","ref","mappings"],"additionalProperties":false},{"type":"null"}]},"icon":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["icon","emoji","image","provider","favicon"]},"value":{"type":"string"},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["type","value"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string"},"firstEventAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownerId":{"type":"string"},"owner":{"anyOf":[{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"type":"string","enum":["user","organization"]},"createdAt":{"type":"string"}},"required":["id","name","slug","image","type","createdAt"],"additionalProperties":false},{"type":"null"}]},{"type":"null"}]}},"required":["id","name","allowedHostnames","errorTrackingEnabled","webVitalsEnabled","sessionReplaysEnabled","replayRetentionDays","replayStorageState","cookielessMode","searchConsoleSiteUrl","token","slug","private","templateId","preferredChartColors","codeContextConfig","icon","createdAt","firstEventAt","ownerId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errorTrackingEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"webVitalsEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"sessionReplaysEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"slug":{"type":"string"},"private":{"type":"boolean"},"templateId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"firstEventAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownerId":{"type":"string"},"owner":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"type":"string","enum":["user","organization"]},"createdAt":{"type":"string"}},"required":["id","name","slug","image","type","createdAt"],"additionalProperties":false},{"type":"null"}]},"preferredChartColors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"icon":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["icon","emoji","image","provider","favicon"]},"value":{"type":"string"},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["type","value"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","slug","private","templateId","createdAt","firstEventAt","ownerId","owner","preferredChartColors","icon"],"additionalProperties":false}]}}}},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"x-auth-required":false}},"/v0/project/{idOrSlug}/check-data":{"post":{"tags":["Projects"],"operationId":"Projects.checkProjectData","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"boolean"}}}},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"x-auth-required":true}},"/v0/project":{"post":{"tags":["Projects"],"operationId":"Projects.createProject","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"allowedHostnames":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"errorTrackingEnabled":{"type":"boolean"},"webVitalsEnabled":{"type":"boolean"},"sessionReplaysEnabled":{"type":"boolean"},"replayRetentionDays":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"replayStorageState":{"type":"string","enum":["provisioning","active","resetting"]},"cookielessMode":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"searchConsoleSiteUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"token":{"anyOf":[{"type":"string"},{"type":"null"}]},"slug":{"type":"string"},"private":{"type":"boolean"},"templateId":{"anyOf":[{"type":"string"},{"type":"null"}]},"preferredChartColors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"codeContextConfig":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"codebergApiUrl":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"repository":{"anyOf":[{"type":"string"},{"type":"null"}]},"ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"mappings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"anyOf":[{"type":"string","enum":["github","codeberg"]},{"type":"null"}]},"javaPrefix":{"type":"string"},"repository":{"anyOf":[{"type":"string"},{"type":"null"}]},"ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"pathPattern":{"type":"string"}},"required":["id","provider","javaPrefix","repository","ref","pathPattern"],"additionalProperties":false}}},"required":["enabled","repository","ref","mappings"],"additionalProperties":false},{"type":"null"}]},"icon":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["icon","emoji","image","provider","favicon"]},"value":{"type":"string"},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["type","value"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string"},"firstEventAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownerId":{"type":"string"},"owner":{"anyOf":[{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"type":"string","enum":["user","organization"]},"createdAt":{"type":"string"}},"required":["id","name","slug","image","type","createdAt"],"additionalProperties":false},{"type":"null"}]},{"type":"null"}]}},"required":["id","name","allowedHostnames","errorTrackingEnabled","webVitalsEnabled","sessionReplaysEnabled","replayRetentionDays","replayStorageState","cookielessMode","searchConsoleSiteUrl","token","slug","private","templateId","preferredChartColors","codeContextConfig","icon","createdAt","firstEventAt","ownerId"],"additionalProperties":false}}}},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"private":{"type":"boolean"},"templateId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"allowedHostnames":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"icon":{"anyOf":[{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["icon","emoji","image","provider","favicon"]},"value":{"type":"string"},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["type","value"],"additionalProperties":false},{"type":"null"}]},{"type":"null"}]}},"required":["name","private"],"additionalProperties":false}}},"required":true},"x-auth-required":true}},"/v0/project/{id}":{"patch":{"tags":["Projects"],"operationId":"Projects.updateProject","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"allowedHostnames":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"errorTrackingEnabled":{"type":"boolean"},"webVitalsEnabled":{"type":"boolean"},"sessionReplaysEnabled":{"type":"boolean"},"replayRetentionDays":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"replayStorageState":{"type":"string","enum":["provisioning","active","resetting"]},"cookielessMode":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"searchConsoleSiteUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"token":{"anyOf":[{"type":"string"},{"type":"null"}]},"slug":{"type":"string"},"private":{"type":"boolean"},"templateId":{"anyOf":[{"type":"string"},{"type":"null"}]},"preferredChartColors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"codeContextConfig":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"codebergApiUrl":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"repository":{"anyOf":[{"type":"string"},{"type":"null"}]},"ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"mappings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"anyOf":[{"type":"string","enum":["github","codeberg"]},{"type":"null"}]},"javaPrefix":{"type":"string"},"repository":{"anyOf":[{"type":"string"},{"type":"null"}]},"ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"pathPattern":{"type":"string"}},"required":["id","provider","javaPrefix","repository","ref","pathPattern"],"additionalProperties":false}}},"required":["enabled","repository","ref","mappings"],"additionalProperties":false},{"type":"null"}]},"icon":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["icon","emoji","image","provider","favicon"]},"value":{"type":"string"},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["type","value"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string"},"firstEventAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownerId":{"type":"string"},"owner":{"anyOf":[{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"type":"string","enum":["user","organization"]},"createdAt":{"type":"string"}},"required":["id","name","slug","image","type","createdAt"],"additionalProperties":false},{"type":"null"}]},{"type":"null"}]}},"required":["id","name","allowedHostnames","errorTrackingEnabled","webVitalsEnabled","sessionReplaysEnabled","replayRetentionDays","replayStorageState","cookielessMode","searchConsoleSiteUrl","token","slug","private","templateId","preferredChartColors","codeContextConfig","icon","createdAt","firstEventAt","ownerId"],"additionalProperties":false}}}},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"slug":{"anyOf":[{"type":"string"},{"type":"null"}]},"private":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"allowedHostnames":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"errorTrackingEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"webVitalsEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"sessionReplaysEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"replayRetentionDays":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"cookielessMode":{"anyOf":[{"anyOf":[{"type":"boolean"},{"type":"null"}]},{"type":"null"}]},"searchConsoleSiteUrl":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"preferredChartColors":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"codeContextConfig":{"anyOf":[{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"codebergApiUrl":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"repository":{"anyOf":[{"type":"string"},{"type":"null"}]},"ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"mappings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"provider":{"anyOf":[{"type":"string","enum":["github","codeberg"]},{"type":"null"}]},"javaPrefix":{"type":"string"},"repository":{"anyOf":[{"type":"string"},{"type":"null"}]},"ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"pathPattern":{"type":"string"}},"required":["id","provider","javaPrefix","repository","ref","pathPattern"],"additionalProperties":false}}},"required":["enabled","repository","ref","mappings"],"additionalProperties":false},{"type":"null"}]},{"type":"null"}]},"icon":{"anyOf":[{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["icon","emoji","image","provider","favicon"]},"value":{"type":"string"},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["type","value"],"additionalProperties":false},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false}}},"required":true},"x-auth-required":true},"delete":{"tags":["Projects"],"operationId":"Projects.deleteProject","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string"}},"required":["password"],"additionalProperties":false}}},"required":true},"x-auth-required":true}},"/v0/project-slug":{"get":{"tags":["Projects"],"operationId":"Projects.checkSlugAvailability","parameters":[{"name":"slug","in":"query","schema":{"type":"string"},"required":true},{"name":"excludeProjectId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["available"],"additionalProperties":false}}}},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"x-auth-required":false}},"/v0/project/{id}/owner":{"patch":{"tags":["Projects"],"operationId":"Projects.moveProject","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"targetOwnerId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["targetOwnerId"],"additionalProperties":false}}},"required":true},"x-auth-required":true}},"/v0/project/{id}/wipe":{"post":{"tags":["Projects"],"operationId":"Projects.wipeProjectData","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string"}},"required":["password"],"additionalProperties":false}}},"required":true},"x-auth-required":true}},"/v0/project/{id}/error-tracking/reset":{"post":{"tags":["Projects"],"operationId":"Projects.resetProjectErrorTracking","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string"}},"required":["password"],"additionalProperties":false}}},"required":true},"x-auth-required":true}},"/v0/project/{id}/error-grouping":{"get":{"tags":["Projects"],"operationId":"Projects.getErrorGroupingSettings","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","enum":["legacy","modern"]},"parserMaxInputBytes":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"parserMaxLines":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"parserMaxLineBytes":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"segmentSelection":{"type":"string","enum":["error_kind_only","root","root_and_terminal_cause","terminal_cause_frames"]},"includeErrorKind":{"type":"boolean"},"rawStackPolicy":{"type":"string","enum":["bounded","error_kind_only"]},"rawStackMaxBytes":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"maxFrames":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"includeFunction":{"type":"boolean"},"includeModule":{"type":"boolean"},"includeFile":{"type":"boolean"},"runtimeFramePolicy":{"type":"string","enum":["exclude_when_application_frame_exists","include"]},"adjacentFramePolicy":{"type":"string","enum":["deduplicate","preserve"]},"exclusions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["function","module","file"]},"matcher":{"type":"string","enum":["exact","prefix","suffix","contains"]},"pattern":{"type":"string"}},"required":["field","matcher","pattern"],"additionalProperties":false}}},"required":["mode","parserMaxInputBytes","parserMaxLines","parserMaxLineBytes","segmentSelection","includeErrorKind","rawStackPolicy","rawStackMaxBytes","maxFrames","includeFunction","includeModule","includeFile","runtimeFramePolicy","adjacentFramePolicy","exclusions"],"additionalProperties":false}}}},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"x-auth-required":true},"put":{"tags":["Projects"],"operationId":"Projects.updateErrorGroupingSettings","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","enum":["legacy","modern"]},"parserMaxInputBytes":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"parserMaxLines":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"parserMaxLineBytes":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"segmentSelection":{"type":"string","enum":["error_kind_only","root","root_and_terminal_cause","terminal_cause_frames"]},"includeErrorKind":{"type":"boolean"},"rawStackPolicy":{"type":"string","enum":["bounded","error_kind_only"]},"rawStackMaxBytes":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"maxFrames":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"includeFunction":{"type":"boolean"},"includeModule":{"type":"boolean"},"includeFile":{"type":"boolean"},"runtimeFramePolicy":{"type":"string","enum":["exclude_when_application_frame_exists","include"]},"adjacentFramePolicy":{"type":"string","enum":["deduplicate","preserve"]},"exclusions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["function","module","file"]},"matcher":{"type":"string","enum":["exact","prefix","suffix","contains"]},"pattern":{"type":"string"}},"required":["field","matcher","pattern"],"additionalProperties":false}}},"required":["mode","parserMaxInputBytes","parserMaxLines","parserMaxLineBytes","segmentSelection","includeErrorKind","rawStackPolicy","rawStackMaxBytes","maxFrames","includeFunction","includeModule","includeFile","runtimeFramePolicy","adjacentFramePolicy","exclusions"],"additionalProperties":false}}}},"400":{"description":"ProjectValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","enum":["legacy","modern"]},"parserMaxInputBytes":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"parserMaxLines":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"parserMaxLineBytes":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"segmentSelection":{"type":"string","enum":["error_kind_only","root","root_and_terminal_cause","terminal_cause_frames"]},"includeErrorKind":{"type":"boolean"},"rawStackPolicy":{"type":"string","enum":["bounded","error_kind_only"]},"rawStackMaxBytes":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"maxFrames":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"includeFunction":{"type":"boolean"},"includeModule":{"type":"boolean"},"includeFile":{"type":"boolean"},"runtimeFramePolicy":{"type":"string","enum":["exclude_when_application_frame_exists","include"]},"adjacentFramePolicy":{"type":"string","enum":["deduplicate","preserve"]},"exclusions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["function","module","file"]},"matcher":{"type":"string","enum":["exact","prefix","suffix","contains"]},"pattern":{"type":"string"}},"required":["field","matcher","pattern"],"additionalProperties":false}}},"required":["mode","parserMaxInputBytes","parserMaxLines","parserMaxLineBytes","segmentSelection","includeErrorKind","rawStackPolicy","rawStackMaxBytes","maxFrames","includeFunction","includeModule","includeFile","runtimeFramePolicy","adjacentFramePolicy","exclusions"],"additionalProperties":false}}},"required":true},"x-auth-required":true}},"/v0/project/{idOrSlug}/dashboards":{"get":{"tags":["Dashboards"],"operationId":"Dashboards.listDashboards","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DashboardRecordEncoded"}}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}},"post":{"tags":["Dashboards"],"operationId":"Dashboards.createDashboard","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"DashboardRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardRecordEncoded"}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"isPublic":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"position":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"markerOverrides":{"anyOf":[{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["inherit","replace","add","disable"]},"collections":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"display":{"anyOf":[{"type":"object","properties":{"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["collectionId"],"additionalProperties":false}},{"type":"null"}]},"hiddenCollectionIds":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["mode"],"additionalProperties":false},{"type":"null"}]},{"type":"null"}]}},"required":["name"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/dashboards/reorder":{"patch":{"tags":["Dashboards"],"operationId":"Dashboards.reorderDashboards","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dashboards":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"position":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["id","position"],"additionalProperties":false}}},"required":["dashboards"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/dashboards/{id}/duplicate":{"post":{"tags":["Dashboards"],"operationId":"Dashboards.duplicateDashboard","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"DashboardRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardRecordEncoded"}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/dashboards/{id}/copy":{"post":{"tags":["Dashboards"],"operationId":"Dashboards.copyDashboard","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"DashboardRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardRecordEncoded"}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"targetProjectId":{"type":"string"}},"required":["targetProjectId"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/dashboards/{id}":{"patch":{"tags":["Dashboards"],"operationId":"Dashboards.updateDashboard","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"DashboardRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardRecordEncoded"}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"isPublic":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"position":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"markerOverrides":{"anyOf":[{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["inherit","replace","add","disable"]},"collections":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"display":{"anyOf":[{"type":"object","properties":{"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["collectionId"],"additionalProperties":false}},{"type":"null"}]},"hiddenCollectionIds":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["mode"],"additionalProperties":false},{"type":"null"}]},{"type":"null"}]},"chartPositions":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"position":{"type":"object","properties":{"x":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"y":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"w":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"h":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["x","y","w","h"],"additionalProperties":false}},"required":["id","position"],"additionalProperties":false}},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"delete":{"tags":["Dashboards"],"operationId":"Dashboards.deleteDashboard","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/charts":{"get":{"tags":["Charts"],"operationId":"Charts.listCharts","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"dashboardId","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","enum":["null"]},{"type":"string"}]},{"type":"null"}]},"required":false},{"name":"chartId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"dashboardId":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"chartType":{"type":"string","enum":["widget","line","area","bar","pie","map","list","heatmap","radar","scatter"]},"queryConfig":{"anyOf":[{"type":"object","properties":{"groupLimit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"visualOptions":{"anyOf":[{"type":"object","properties":{"colors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"pie":{"anyOf":[{"type":"object","properties":{"style":{"anyOf":[{"type":"string","enum":["pie","donut"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showTotal":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showLabels":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"totalDisplayMode":{"anyOf":[{"type":"string","enum":["sum","count"]},{"type":"null"}]},"drilldown":{"anyOf":[{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"bar":{"anyOf":[{"type":"object","properties":{"stacked":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"orientation":{"anyOf":[{"type":"string","enum":["vertical","horizontal"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"line":{"anyOf":[{"type":"object","properties":{"lineType":{"anyOf":[{"type":"string","enum":["monotone","linear","step"]},{"type":"null"}]},"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"widget":{"anyOf":[{"type":"object","properties":{"showTrend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"displayMode":{"anyOf":[{"type":"string","enum":["default","compact"]},{"type":"null"}]},"valueFormat":{"anyOf":[{"type":"string","enum":["number","percent","duration_ms"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"list":{"anyOf":[{"type":"object","properties":{"selectedTabIndex":{"anyOf":[{"type":"number"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"multiMetric":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"heatmap":{"anyOf":[{"type":"object","properties":{"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"radar":{"anyOf":[{"type":"object","properties":{"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"fillOpacity":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"gridType":{"anyOf":[{"type":"string","enum":["polygon","circle"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"scatter":{"anyOf":[{"type":"object","properties":{"pointSize":{"anyOf":[{"type":"string","enum":["small","medium","large"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"markerCollections":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"display":{"anyOf":[{"type":"object","properties":{"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["collectionId"],"additionalProperties":false}},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"query":{"type":"object","properties":{"type":{"type":"string","enum":["flow"]},"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}}},"required":["type","nodes","edges"],"additionalProperties":false},"position":{"anyOf":[{"type":"object","properties":{"x":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"y":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"w":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"h":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["x","y","w","h"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string"}]}},"required":["id","projectId","dashboardId","name","description","chartType","queryConfig","query","position","createdAt","updatedAt"],"additionalProperties":false}}}}},"400":{"description":"ChartValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}},"post":{"tags":["Charts"],"operationId":"Charts.createChart","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"ChartValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dashboardId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"name":{"type":"string"},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"chartType":{"type":"string","enum":["widget","line","area","bar","pie","map","list","heatmap","radar","scatter"]},"queryConfig":{"anyOf":[{"type":"object","properties":{"groupLimit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"visualOptions":{"anyOf":[{"type":"object","properties":{"colors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"pie":{"anyOf":[{"type":"object","properties":{"style":{"anyOf":[{"type":"string","enum":["pie","donut"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showTotal":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showLabels":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"totalDisplayMode":{"anyOf":[{"type":"string","enum":["sum","count"]},{"type":"null"}]},"drilldown":{"anyOf":[{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"bar":{"anyOf":[{"type":"object","properties":{"stacked":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"orientation":{"anyOf":[{"type":"string","enum":["vertical","horizontal"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"line":{"anyOf":[{"type":"object","properties":{"lineType":{"anyOf":[{"type":"string","enum":["monotone","linear","step"]},{"type":"null"}]},"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"widget":{"anyOf":[{"type":"object","properties":{"showTrend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"displayMode":{"anyOf":[{"type":"string","enum":["default","compact"]},{"type":"null"}]},"valueFormat":{"anyOf":[{"type":"string","enum":["number","percent","duration_ms"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"list":{"anyOf":[{"type":"object","properties":{"selectedTabIndex":{"anyOf":[{"type":"number"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"multiMetric":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"heatmap":{"anyOf":[{"type":"object","properties":{"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"radar":{"anyOf":[{"type":"object","properties":{"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"fillOpacity":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"gridType":{"anyOf":[{"type":"string","enum":["polygon","circle"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"scatter":{"anyOf":[{"type":"object","properties":{"pointSize":{"anyOf":[{"type":"string","enum":["small","medium","large"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"markerCollections":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"display":{"anyOf":[{"type":"object","properties":{"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["collectionId"],"additionalProperties":false}},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"query":{"type":"object","properties":{"type":{"type":"string","enum":["flow"]},"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}}},"required":["type","nodes","edges"],"additionalProperties":false},"position":{"anyOf":[{"type":"object","properties":{"x":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"y":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"w":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"h":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["x","y","w","h"],"additionalProperties":false},{"type":"null"}]}},"required":["name","chartType","query"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/charts/{id}":{"patch":{"tags":["Charts"],"operationId":"Charts.updateChart","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"ChartValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dashboardId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"chartType":{"anyOf":[{"type":"string","enum":["widget","line","area","bar","pie","map","list","heatmap","radar","scatter"]},{"type":"null"}]},"queryConfig":{"anyOf":[{"type":"object","properties":{"groupLimit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"visualOptions":{"anyOf":[{"type":"object","properties":{"colors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"pie":{"anyOf":[{"type":"object","properties":{"style":{"anyOf":[{"type":"string","enum":["pie","donut"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showTotal":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showLabels":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"totalDisplayMode":{"anyOf":[{"type":"string","enum":["sum","count"]},{"type":"null"}]},"drilldown":{"anyOf":[{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"bar":{"anyOf":[{"type":"object","properties":{"stacked":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"orientation":{"anyOf":[{"type":"string","enum":["vertical","horizontal"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"line":{"anyOf":[{"type":"object","properties":{"lineType":{"anyOf":[{"type":"string","enum":["monotone","linear","step"]},{"type":"null"}]},"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"widget":{"anyOf":[{"type":"object","properties":{"showTrend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"displayMode":{"anyOf":[{"type":"string","enum":["default","compact"]},{"type":"null"}]},"valueFormat":{"anyOf":[{"type":"string","enum":["number","percent","duration_ms"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"list":{"anyOf":[{"type":"object","properties":{"selectedTabIndex":{"anyOf":[{"type":"number"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"multiMetric":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"heatmap":{"anyOf":[{"type":"object","properties":{"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"radar":{"anyOf":[{"type":"object","properties":{"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"fillOpacity":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"gridType":{"anyOf":[{"type":"string","enum":["polygon","circle"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"scatter":{"anyOf":[{"type":"object","properties":{"pointSize":{"anyOf":[{"type":"string","enum":["small","medium","large"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"markerCollections":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"display":{"anyOf":[{"type":"object","properties":{"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["collectionId"],"additionalProperties":false}},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"query":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["flow"]},"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}}},"required":["type","nodes","edges"],"additionalProperties":false},{"type":"null"}]},"position":{"anyOf":[{"type":"object","properties":{"x":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"y":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"w":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"h":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["x","y","w","h"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"delete":{"tags":["Charts"],"operationId":"Charts.deleteChart","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"ChartValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/metrics/query":{"post":{"tags":["Metrics"],"operationId":"Metrics.queryChartAst","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"outputs":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"dimensions":{"type":"array","items":{"type":"string"}},"metadata":{"anyOf":[{"type":"object","properties":{"iconSetId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"colors":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"splitField":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","enum":["scalar"]},"value":{"anyOf":[{"anyOf":[{"type":"string"},{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}]},{"type":"null"}]}},"required":["id","dimensions","type","value"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"dimensions":{"type":"array","items":{"type":"string"}},"metadata":{"anyOf":[{"type":"object","properties":{"iconSetId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"colors":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"splitField":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","enum":["timeSeries"]},"rows":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"allOf":[{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}]}}]}}},"required":["id","dimensions","type","rows"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"dimensions":{"type":"array","items":{"type":"string"}},"metadata":{"anyOf":[{"type":"object","properties":{"iconSetId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"colors":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"splitField":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","enum":["grouping"]},"rows":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"allOf":[{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}]}}]}}},"required":["id","dimensions","type","rows"],"additionalProperties":false}]}}},"required":["outputs"],"additionalProperties":false}}}},"400":{"description":"ChartQueryValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartQueryValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/MetricsDecodeErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"number","enum":[1]},"outputs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"query":{"$ref":"#/components/schemas/Union_"},"metadata":{"anyOf":[{"type":"object","properties":{"iconSetId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"colors":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"splitField":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["id","query"],"additionalProperties":false}}},"required":["version","outputs"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/metrics/preview":{"post":{"tags":["Metrics"],"operationId":"Metrics.getPreviewData","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"flowMeta":{"type":"object","properties":{"outputs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"index":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"name":{"type":"string"},"explicitName":{"anyOf":[{"type":"string"},{"type":"null"}]},"iconSetId":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"colors":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"splitDataSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupField":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupFields":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"primaryMetric":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string"}},"required":["field","aggregation"],"additionalProperties":false},{"type":"null"}]}},"required":["id","index","name","iconSetId"],"additionalProperties":false}},"hasTimeGroup":{"type":"boolean"},"hasBreakdownTimeSeries":{"type":"boolean"},"datasourceFields":{"type":"array","items":{"type":"string"}},"splitLabelSeparator":{"type":"string"},"timeGroupInterval":{"anyOf":[{"type":"string","enum":["minute","hour","day","week","month","auto"]},{"type":"null"}]}},"required":["outputs","hasTimeGroup","hasBreakdownTimeSeries","datasourceFields","splitLabelSeparator"],"additionalProperties":false},"markers":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"collectionId":{"type":"string"},"collectionName":{"type":"string"},"timestamp":{"type":"string"},"title":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","collectionId","collectionName","timestamp","title","description","icon","emoji","color"],"additionalProperties":false}},{"type":"null"}]},"markerCollectionGrouping":{"anyOf":[{"type":"object","additionalProperties":{"type":"string","enum":["auto","minute","hour","day","week","chart_bucket"]}},{"type":"null"}]}},"required":["data","flowMeta"],"additionalProperties":false}}}},"400":{"description":"ChartQueryValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartQueryValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/MetricsDecodeErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"queryConfig":{"type":"object","properties":{"groupLimit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"visualOptions":{"anyOf":[{"type":"object","properties":{"colors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"pie":{"anyOf":[{"type":"object","properties":{"style":{"anyOf":[{"type":"string","enum":["pie","donut"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showTotal":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showLabels":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"totalDisplayMode":{"anyOf":[{"type":"string","enum":["sum","count"]},{"type":"null"}]},"drilldown":{"anyOf":[{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"bar":{"anyOf":[{"type":"object","properties":{"stacked":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"orientation":{"anyOf":[{"type":"string","enum":["vertical","horizontal"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"line":{"anyOf":[{"type":"object","properties":{"lineType":{"anyOf":[{"type":"string","enum":["monotone","linear","step"]},{"type":"null"}]},"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"widget":{"anyOf":[{"type":"object","properties":{"showTrend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"displayMode":{"anyOf":[{"type":"string","enum":["default","compact"]},{"type":"null"}]},"valueFormat":{"anyOf":[{"type":"string","enum":["number","percent","duration_ms"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"list":{"anyOf":[{"type":"object","properties":{"selectedTabIndex":{"anyOf":[{"type":"number"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"multiMetric":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"heatmap":{"anyOf":[{"type":"object","properties":{"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"radar":{"anyOf":[{"type":"object","properties":{"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"fillOpacity":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"gridType":{"anyOf":[{"type":"string","enum":["polygon","circle"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"scatter":{"anyOf":[{"type":"object","properties":{"pointSize":{"anyOf":[{"type":"string","enum":["small","medium","large"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"markerCollections":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"display":{"anyOf":[{"type":"object","properties":{"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["collectionId"],"additionalProperties":false}},{"type":"null"}]}},"additionalProperties":false},"chartType":{"type":"string","enum":["widget","line","area","bar","pie","map","list","heatmap","radar","scatter"]},"query":{"type":"object","properties":{"type":{"type":"string","enum":["flow"]},"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}}},"required":["type","nodes","edges"],"additionalProperties":false}},"required":["queryConfig","chartType","query"],"additionalProperties":false}}},"required":true}}},"/v0/metrics/dashboard-data":{"post":{"tags":["Metrics"],"operationId":"Metrics.loadDashboardData","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"charts":{"type":"object"},"markers":{"anyOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"collectionId":{"type":"string"},"collectionName":{"type":"string"},"timestamp":{"type":"string"},"title":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","collectionId","collectionName","timestamp","title","description","icon","emoji","color"],"additionalProperties":false}}},{"type":"null"}]},"markerCollectionGrouping":{"anyOf":[{"type":"object","additionalProperties":{"type":"string","enum":["auto","minute","hour","day","week","chart_bucket"]}},{"type":"null"}]},"flowMeta":{"anyOf":[{"type":"object","additionalProperties":{"type":"object","properties":{"outputs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"index":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"name":{"type":"string"},"explicitName":{"anyOf":[{"type":"string"},{"type":"null"}]},"iconSetId":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"colors":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"splitDataSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupField":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupFields":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"primaryMetric":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string"}},"required":["field","aggregation"],"additionalProperties":false},{"type":"null"}]}},"required":["id","index","name","iconSetId"],"additionalProperties":false}},"hasTimeGroup":{"type":"boolean"},"hasBreakdownTimeSeries":{"type":"boolean"},"datasourceFields":{"type":"array","items":{"type":"string"}},"splitLabelSeparator":{"type":"string"},"timeGroupInterval":{"anyOf":[{"type":"string","enum":["minute","hour","day","week","month","auto"]},{"type":"null"}]}},"required":["outputs","hasTimeGroup","hasBreakdownTimeSeries","datasourceFields","splitLabelSeparator"],"additionalProperties":false}},{"type":"null"}]},"queryDebug":{"anyOf":[{"type":"object","properties":{"totalQueries":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalDurationMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"wallDurationMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"queries":{"type":"array","items":{"type":"object","properties":{"chartIds":{"type":"array","items":{"type":"string"}},"chartNames":{"type":"array","items":{"type":"string"}},"outputIds":{"type":"array","items":{"type":"string"}},"durationMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"rowCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"sql":{"type":"string"},"paramsJson":{"type":"string"},"datasource":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["chartIds","chartNames","outputIds","durationMs","rowCount","sql","paramsJson","datasource"],"additionalProperties":false}},"cache":{"type":"object","properties":{"hits":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"misses":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"bypasses":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"fallbacks":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"entries":{"type":"array","items":{"type":"object","properties":{"chartId":{"type":"string"},"chartName":{"type":"string"},"mode":{"type":"string","enum":["incremental","none"]},"status":{"type":"string","enum":["hit","miss","bypass","fallback"]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"interval":{"anyOf":[{"type":"string"},{"type":"null"}]},"durationMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"requestedRangeMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"queriedRangeMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"cachedFromMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"cachedThroughMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"cachedRanges":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"cachedRows":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"returnedRows":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["chartId","chartName","mode","status","durationMs"],"additionalProperties":false}}},"required":["hits","misses","bypasses","fallbacks","entries"],"additionalProperties":false}},"required":["totalQueries","totalDurationMs","wallDurationMs","queries","cache"],"additionalProperties":false},{"type":"null"}]}},"required":["charts"],"additionalProperties":false}}}},"400":{"description":"ChartQueryValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartQueryValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/MetricsDecodeErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"anyOf":[{"type":"string"},{"type":"null"}]},"slug":{"anyOf":[{"type":"string"},{"type":"null"}]},"dashboardId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"timeRange":{"anyOf":[{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["relative"]},"maxAgeMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["type","maxAgeMs"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["absolute"]},"fromMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"toMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["type","fromMs","toMs"],"additionalProperties":false}]},{"type":"null"}]},"dashboardFilters":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","greater_equal","less_equal"]},"value":{"type":"string"},"dataType":{"anyOf":[{"type":"string","enum":["string","number","boolean"]},{"type":"null"}]}},"required":["field","operator","value"],"additionalProperties":false}},{"type":"null"}]},"queryDebug":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/metrics/filter-suggestions":{"post":{"tags":["Metrics"],"operationId":"Metrics.getDashboardFilterSuggestions","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object","properties":{"values":{"type":"array","items":{"type":"string"}},"numericRange":{"anyOf":[{"type":"object","properties":{"min":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"max":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["min","max"],"additionalProperties":false},{"type":"null"}]}},"required":["values"],"additionalProperties":false}}}}},"400":{"description":"ChartQueryValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartQueryValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/MetricsDecodeErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dashboardId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"fields":{"type":"array","items":{"type":"string"}},"numericFields":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"timeRange":{"anyOf":[{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["relative"]},"maxAgeMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["type","maxAgeMs"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["absolute"]},"fromMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"toMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["type","fromMs","toMs"],"additionalProperties":false}]},{"type":"null"}]}},"required":["fields"],"additionalProperties":false}}},"required":true}}},"/v0/metrics/projects-dashboard":{"post":{"tags":["Metrics"],"operationId":"Metrics.getProjectsDashboardData","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"projects":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errorTrackingEnabled":{"type":"boolean"},"webVitalsEnabled":{"type":"boolean"},"sessionReplaysEnabled":{"type":"boolean"},"slug":{"type":"string"},"private":{"type":"boolean"},"templateId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"firstEventAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownerId":{"type":"string"},"preferredChartColors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"icon":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["icon","emoji","image","provider","favicon"]},"value":{"type":"string"},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["type","value"],"additionalProperties":false},{"type":"null"}]}},"required":["id","name","errorTrackingEnabled","webVitalsEnabled","sessionReplaysEnabled","slug","private","templateId","createdAt","firstEventAt","ownerId","preferredChartColors","icon"],"additionalProperties":false}},"stats":{"type":"object","additionalProperties":{"type":"object","properties":{"events":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"eventsPrevious":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"eventsChange":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"users":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"usersPrevious":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"usersChange":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"errors":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"errorsPrevious":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"errorsChange":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"onlineServers":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalServers":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"onlinePlayers":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalDownloads":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"lastActivity":{"type":"string"}},"required":["events","eventsPrevious","eventsChange","users","usersPrevious","usersChange","errors","errorsPrevious","errorsChange","onlineServers","totalServers","onlinePlayers","totalDownloads","lastActivity"],"additionalProperties":false}}},"required":["projects","stats"],"additionalProperties":false}}}},"400":{"description":"ChartQueryValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartQueryValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/MetricsDecodeErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ownerId":{"type":"string"},"metrics":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["ownerId"],"additionalProperties":false}}},"required":true}}},"/v0/metrics/embed/{chartId}":{"get":{"tags":["Metrics"],"operationId":"Metrics.getPublicChartData","parameters":[{"name":"chartId","in":"path","schema":{"type":"string"},"required":true}],"security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"chart":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"chartType":{"type":"string","enum":["widget","line","area","bar","pie","map","list","heatmap","radar","scatter"]},"queryConfig":{"anyOf":[{"type":"object","properties":{"groupLimit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"visualOptions":{"anyOf":[{"type":"object","properties":{"colors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"pie":{"anyOf":[{"type":"object","properties":{"style":{"anyOf":[{"type":"string","enum":["pie","donut"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showTotal":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"showLabels":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"totalDisplayMode":{"anyOf":[{"type":"string","enum":["sum","count"]},{"type":"null"}]},"drilldown":{"anyOf":[{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"bar":{"anyOf":[{"type":"object","properties":{"stacked":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"orientation":{"anyOf":[{"type":"string","enum":["vertical","horizontal"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"line":{"anyOf":[{"type":"object","properties":{"lineType":{"anyOf":[{"type":"string","enum":["monotone","linear","step"]},{"type":"null"}]},"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"widget":{"anyOf":[{"type":"object","properties":{"showTrend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"displayMode":{"anyOf":[{"type":"string","enum":["default","compact"]},{"type":"null"}]},"valueFormat":{"anyOf":[{"type":"string","enum":["number","percent","duration_ms"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"list":{"anyOf":[{"type":"object","properties":{"selectedTabIndex":{"anyOf":[{"type":"number"},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"multiMetric":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"heatmap":{"anyOf":[{"type":"object","properties":{"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"radar":{"anyOf":[{"type":"object","properties":{"showDots":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"fillOpacity":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"gridType":{"anyOf":[{"type":"string","enum":["polygon","circle"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"scatter":{"anyOf":[{"type":"object","properties":{"pointSize":{"anyOf":[{"type":"string","enum":["small","medium","large"]},{"type":"null"}]},"showLegend":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"markerCollections":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"display":{"anyOf":[{"type":"object","properties":{"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["collectionId"],"additionalProperties":false}},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"query":{"type":"object","properties":{"type":{"type":"string","enum":["flow"]},"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}}},"required":["type","nodes","edges"],"additionalProperties":false}},"required":["id","name","description","chartType","queryConfig","query"],"additionalProperties":false},"projectName":{"type":"string"},"projectPreferredChartColors":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"data":{},"markers":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"collectionId":{"type":"string"},"collectionName":{"type":"string"},"timestamp":{"type":"string"},"title":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","collectionId","collectionName","timestamp","title","description","icon","emoji","color"],"additionalProperties":false}},{"type":"null"}]},"markerCollectionGrouping":{"anyOf":[{"type":"object","additionalProperties":{"type":"string","enum":["auto","minute","hour","day","week","chart_bucket"]}},{"type":"null"}]},"flowMeta":{"anyOf":[{"type":"object","properties":{"outputs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"index":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"name":{"type":"string"},"explicitName":{"anyOf":[{"type":"string"},{"type":"null"}]},"iconSetId":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"colors":{"anyOf":[{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},{"type":"null"}]},"splitPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"splitDataSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupField":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupFields":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"primaryMetric":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string"}},"required":["field","aggregation"],"additionalProperties":false},{"type":"null"}]}},"required":["id","index","name","iconSetId"],"additionalProperties":false}},"hasTimeGroup":{"type":"boolean"},"hasBreakdownTimeSeries":{"type":"boolean"},"datasourceFields":{"type":"array","items":{"type":"string"}},"splitLabelSeparator":{"type":"string"},"timeGroupInterval":{"anyOf":[{"type":"string","enum":["minute","hour","day","week","month","auto"]},{"type":"null"}]}},"required":["outputs","hasTimeGroup","hasBreakdownTimeSeries","datasourceFields","splitLabelSeparator"],"additionalProperties":false},{"type":"null"}]}},"required":["chart","projectName","projectPreferredChartColors","data"],"additionalProperties":false}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/MetricsDecodeErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/funnels":{"get":{"tags":["Funnels"],"operationId":"Funnels.listFunnels","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FunnelRecordEncoded"}}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}},"post":{"tags":["Funnels"],"operationId":"Funnels.createFunnel","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"FunnelRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelRecordEncoded"}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"steps":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["event"]},{"type":"null"}]},"id":{"type":"string"},"name":{"type":"string"},"match":{"type":"string","enum":["all","any"]},"filters":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","contains","not_contains","starts_with","not_starts_with","ends_with","not_ends_with","greater_than","less_than"]},"value":{"anyOf":[{"type":"string"},{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"}]}},"required":["field","operator","value"],"additionalProperties":false}}},"required":["id","name","match","filters"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["feature_flag"]},"id":{"type":"string"},"name":{"type":"string"},"featureFlagId":{"type":"string"},"flagKey":{"type":"string"},"flagMatch":{"type":"string","enum":["set","unset","value"]},"value":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","id","name","featureFlagId","flagKey","flagMatch"],"additionalProperties":false}]}},"conversionWindowSeconds":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"strictOrder":{"type":"boolean"},"timeRangeSeconds":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["name","steps","conversionWindowSeconds","strictOrder","timeRangeSeconds"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/funnels/{id}":{"get":{"tags":["Funnels"],"operationId":"Funnels.getFunnel","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"FunnelDetail","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelDetailEncoded"}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}},"patch":{"tags":["Funnels"],"operationId":"Funnels.updateFunnel","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"FunnelRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelRecordEncoded"}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"steps":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["event"]},{"type":"null"}]},"id":{"type":"string"},"name":{"type":"string"},"match":{"type":"string","enum":["all","any"]},"filters":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","contains","not_contains","starts_with","not_starts_with","ends_with","not_ends_with","greater_than","less_than"]},"value":{"anyOf":[{"type":"string"},{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"}]}},"required":["field","operator","value"],"additionalProperties":false}}},"required":["id","name","match","filters"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["feature_flag"]},"id":{"type":"string"},"name":{"type":"string"},"featureFlagId":{"type":"string"},"flagKey":{"type":"string"},"flagMatch":{"type":"string","enum":["set","unset","value"]},"value":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","id","name","featureFlagId","flagKey","flagMatch"],"additionalProperties":false}]}},{"type":"null"}]},"conversionWindowSeconds":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"strictOrder":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"timeRangeSeconds":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"delete":{"tags":["Funnels"],"operationId":"Funnels.deleteFunnel","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/funnels/{id}/duplicate":{"post":{"tags":["Funnels"],"operationId":"Funnels.duplicateFunnel","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"FunnelRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelRecordEncoded"}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/data-sources/structured-fields":{"get":{"tags":["DataSources"],"operationId":"DataSources.getStructuredFieldCatalog","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"StructuredFieldCatalog","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructuredFieldCatalogEncoded"}}}},"400":{"description":"DataSourceValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/data-sources":{"get":{"tags":["DataSources"],"operationId":"DataSources.listDataSources","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DataSourceRecordEncoded"}}}}},"400":{"description":"DataSourceValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}},"post":{"tags":["DataSources"],"operationId":"DataSources.createDataSource","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"DataSourceRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceRecordEncoded"}}}},"400":{"description":"DataSourceValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"referenceId":{"type":"string","minLength":1,"pattern":"^[a-z0-9_]+$"},"dataType":{"type":"string","enum":["number","string","boolean","json"]},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"regex":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"allowNegative":{"anyOf":[{"anyOf":[{"type":"boolean"},{"type":"null"}]},{"type":"null"}]},"allowFloat":{"anyOf":[{"anyOf":[{"type":"boolean"},{"type":"null"}]},{"type":"null"}]},"minValue":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"maxValue":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"isArray":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"metricShape":{"type":"string","enum":["scalar","array","map"]}},"required":["name","referenceId","dataType","metricShape"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/data-sources/{id}":{"patch":{"tags":["DataSources"],"operationId":"DataSources.updateDataSource","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"DataSourceRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceRecordEncoded"}}}},"400":{"description":"DataSourceValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"referenceId":{"anyOf":[{"type":"string","minLength":1,"pattern":"^[a-z0-9_]+$"},{"type":"null"}]},"dataType":{"anyOf":[{"type":"string","enum":["number","string","boolean","json"]},{"type":"null"}]},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"regex":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"allowNegative":{"anyOf":[{"anyOf":[{"type":"boolean"},{"type":"null"}]},{"type":"null"}]},"allowFloat":{"anyOf":[{"anyOf":[{"type":"boolean"},{"type":"null"}]},{"type":"null"}]},"minValue":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"maxValue":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"isArray":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"metricShape":{"type":"string","enum":["scalar","array","map"]}},"required":["metricShape"],"additionalProperties":false}}},"required":true}},"delete":{"tags":["DataSources"],"operationId":"DataSources.deleteDataSource","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"DataSourceValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/network-rules":{"get":{"tags":["NetworkRules"],"operationId":"NetworkRules.listNetworkRules","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NetworkRuleRecordEncoded"}}}}},"400":{"description":"NetworkRuleValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}},"post":{"tags":["NetworkRules"],"operationId":"NetworkRules.createNetworkRule","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"NetworkRuleRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleRecordEncoded"}}}},"400":{"description":"NetworkRuleValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ipAddress":{"type":"string"},"allowed":{"type":"boolean"}},"required":["ipAddress","allowed"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/network-rules/{id}":{"delete":{"tags":["NetworkRules"],"operationId":"NetworkRules.deleteNetworkRule","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"NetworkRuleValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/notifications":{"get":{"tags":["Notifications"],"operationId":"Notifications.listNotifications","parameters":[{"name":"limit","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"unreadOnly","in":"query","schema":{"anyOf":[{"type":"string","enum":["true","false"]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NotificationRecordEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/NotificationErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/notifications/unread-count":{"get":{"tags":["Notifications"],"operationId":"Notifications.getUnreadNotificationCount","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"NotificationUnreadCount","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationUnreadCountEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/NotificationErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/notifications/{id}/read":{"post":{"tags":["Notifications"],"operationId":"Notifications.markNotificationRead","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/NotificationErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/notifications/{id}/unread":{"post":{"tags":["Notifications"],"operationId":"Notifications.markNotificationUnread","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/NotificationErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/notifications/read-all":{"post":{"tags":["Notifications"],"operationId":"Notifications.markAllNotificationsRead","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/NotificationErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/notifications/email-preferences":{"get":{"tags":["Notifications"],"operationId":"Notifications.getNotificationEmailPreferences","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NotificationEmailPreferenceEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/NotificationErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}},"put":{"tags":["Notifications"],"operationId":"Notifications.updateNotificationEmailPreferences","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NotificationEmailPreferenceEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/NotificationErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"preferences":{"type":"array","items":{"$ref":"#/components/schemas/NotificationEmailPreferenceEncoded"}}},"required":["preferences"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/downloads":{"get":{"tags":["Downloads"],"operationId":"Downloads.getDownloadAnalytics","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"dateFrom","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"dateTo","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"provider","in":"query","schema":{"anyOf":[{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},{"type":"null"}]},"required":false},{"name":"versionNumber","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"granularity","in":"query","schema":{"anyOf":[{"type":"string","enum":["day","30min"]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"DownloadAnalyticsResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadAnalyticsResponseEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/download-providers":{"get":{"tags":["Downloads"],"operationId":"Downloads.listDownloadProviders","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DownloadProviderRecordEncoded"}}}}},"400":{"description":"DownloadProviderError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}},"post":{"tags":["Downloads"],"operationId":"Downloads.createDownloadProvider","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"DownloadProviderRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderRecordEncoded"}}}},"400":{"description":"DownloadProviderError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},"externalId":{"type":"string"}},"required":["provider","externalId"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/download-providers/search":{"get":{"tags":["Downloads"],"operationId":"Downloads.searchDownloadProviderProjects","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"provider","in":"query","schema":{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},"required":true},{"name":"query","in":"query","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DownloadProviderSearchResultEncoded"}}}}},"400":{"description":"DownloadProviderError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/download-providers/{provider}/status":{"get":{"tags":["Downloads"],"operationId":"Downloads.checkDownloadProviderLinked","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"provider","in":"path","schema":{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"DownloadProviderStatus","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderStatusEncoded"}}}},"400":{"description":"DownloadProviderError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/download-providers/{id}":{"delete":{"tags":["Downloads"],"operationId":"Downloads.deleteDownloadProvider","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"DownloadProviderError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"}]}}}}}}},"/v0/images/upload-url":{"post":{"tags":["Images"],"operationId":"Images.createImageUploadUrl","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"imageId":{"type":"string"},"uploadURL":{"type":"string"}},"required":["imageId","uploadURL"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}},"502":{"description":"CloudflareImageError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudflareImageErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["user-avatar","organization-logo","project-icon"]},"organizationId":{"anyOf":[{"type":"string"},{"type":"null"}]},"projectId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type"],"additionalProperties":false}}},"required":true}}},"/v0/images/{imageId}":{"delete":{"tags":["Images"],"operationId":"Images.deleteImage","parameters":[{"name":"imageId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"boolean"}},"required":["deleted"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}},"502":{"description":"CloudflareImageError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudflareImageErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["user-avatar","organization-logo","project-icon"]},"imageId":{"type":"string"},"organizationId":{"anyOf":[{"type":"string"},{"type":"null"}]},"projectId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","imageId"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/retention":{"get":{"tags":["Retention"],"operationId":"Retention.getRetentionForProject","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"granularity","in":"query","schema":{"anyOf":[{"type":"string","enum":["day","week"]},{"type":"null"}]},"required":false},{"name":"cohortFrom","in":"query","schema":{"type":"string"},"required":true},{"name":"cohortTo","in":"query","schema":{"type":"string"},"required":true},{"name":"periodCount","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"includeHasMore","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"source","in":"query","schema":{"type":"string","enum":["web","mods"]},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"RetentionCohortPage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetentionCohortPageEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/retention/drivers":{"get":{"tags":["Retention"],"operationId":"Retention.getRetentionDriversForProject","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"granularity","in":"query","schema":{"anyOf":[{"type":"string","enum":["day","week"]},{"type":"null"}]},"required":false},{"name":"cohortFrom","in":"query","schema":{"type":"string"},"required":true},{"name":"cohortTo","in":"query","schema":{"type":"string"},"required":true},{"name":"targetPeriod","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"source","in":"query","schema":{"type":"string","enum":["web","mods"]},"required":true},{"name":"minSegmentUsers","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RetentionDriverDataEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/events":{"get":{"tags":["EventExplorer"],"operationId":"EventExplorer.getEventExplorerRows","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"templateId","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","enum":["null"]},{"type":"string"}]},{"type":"null"}]},"required":false},{"name":"mode","in":"query","schema":{"anyOf":[{"type":"string","enum":["events","errors","vitals","replays","feature-flags"]},{"type":"null"}]},"required":false},{"name":"page","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"pageSize","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"fromTime","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"toTime","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"EventExplorerResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventExplorerResultEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/event-marker-collections":{"get":{"tags":["Event Markers"],"operationId":"EventMarkers.listEventMarkerCollections","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"sourceType":{"type":"string","enum":["manual","download_analytics"]},"sourceOptions":{"anyOf":[{"type":"object","properties":{"downloadAnalytics":{"anyOf":[{"type":"object","properties":{"providers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"versionPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"defaultIcon":{"anyOf":[{"type":"string"},{"type":"null"}]},"defaultEmoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"defaultColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"grouping":{"type":"string","enum":["auto","minute","hour","day","week","chart_bucket"]},"visibility":{"type":"string","enum":["private","project","public"]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string"}]}},"required":["id","projectId","name","description","sourceType","sourceOptions","defaultIcon","defaultEmoji","defaultColor","grouping","visibility","createdAt","updatedAt"],"additionalProperties":false}}}}},"400":{"description":"EventMarkerValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMarkerValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"description":"Returns all marker collections configured for a project."},"post":{"tags":["Event Markers"],"operationId":"EventMarkers.createEventMarkerCollection","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"sourceType":{"type":"string","enum":["manual","download_analytics"]},"sourceOptions":{"anyOf":[{"type":"object","properties":{"downloadAnalytics":{"anyOf":[{"type":"object","properties":{"providers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"versionPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"defaultIcon":{"anyOf":[{"type":"string"},{"type":"null"}]},"defaultEmoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"defaultColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"grouping":{"type":"string","enum":["auto","minute","hour","day","week","chart_bucket"]},"visibility":{"type":"string","enum":["private","project","public"]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string"}]}},"required":["id","projectId","name","description","sourceType","sourceOptions","defaultIcon","defaultEmoji","defaultColor","grouping","visibility","createdAt","updatedAt"],"additionalProperties":false}}}},"400":{"description":"EventMarkerValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMarkerValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"description":"Creates a manual or generated marker collection for a project.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"sourceType":{"anyOf":[{"type":"string","enum":["manual","download_analytics"]},{"type":"null"}]},"sourceOptions":{"anyOf":[{"anyOf":[{"type":"object","properties":{"downloadAnalytics":{"anyOf":[{"type":"object","properties":{"providers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"versionPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},{"type":"null"}]},"defaultIcon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"defaultEmoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"defaultColor":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"grouping":{"anyOf":[{"type":"string","enum":["auto","minute","hour","day","week","chart_bucket"]},{"type":"null"}]},"visibility":{"anyOf":[{"type":"string","enum":["private","project","public"]},{"type":"null"}]}},"required":["name"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/event-marker-collections/{collectionId}":{"patch":{"tags":["Event Markers"],"operationId":"EventMarkers.updateEventMarkerCollection","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"collectionId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"sourceType":{"type":"string","enum":["manual","download_analytics"]},"sourceOptions":{"anyOf":[{"type":"object","properties":{"downloadAnalytics":{"anyOf":[{"type":"object","properties":{"providers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"versionPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"defaultIcon":{"anyOf":[{"type":"string"},{"type":"null"}]},"defaultEmoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"defaultColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"grouping":{"type":"string","enum":["auto","minute","hour","day","week","chart_bucket"]},"visibility":{"type":"string","enum":["private","project","public"]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string"}]}},"required":["id","projectId","name","description","sourceType","sourceOptions","defaultIcon","defaultEmoji","defaultColor","grouping","visibility","createdAt","updatedAt"],"additionalProperties":false}}}},"400":{"description":"EventMarkerValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMarkerValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"description":"Updates collection metadata and default display settings.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"sourceOptions":{"anyOf":[{"anyOf":[{"type":"object","properties":{"downloadAnalytics":{"anyOf":[{"type":"object","properties":{"providers":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"versionPattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},{"type":"null"}]},"defaultIcon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"defaultEmoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"defaultColor":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"grouping":{"anyOf":[{"type":"string","enum":["auto","minute","hour","day","week","chart_bucket"]},{"type":"null"}]},"visibility":{"anyOf":[{"type":"string","enum":["private","project","public"]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"delete":{"tags":["Event Markers"],"operationId":"EventMarkers.deleteEventMarkerCollection","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"collectionId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"EventMarkerValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMarkerValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"description":"Deletes a marker collection and all of its events."}},"/v0/project/{idOrSlug}/event-marker-collections/{collectionId}/events":{"get":{"tags":["Event Markers"],"operationId":"EventMarkers.listEventMarkers","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"collectionId","in":"path","schema":{"type":"string"},"required":true},{"name":"from","in":"query","schema":{"anyOf":[{"type":"string","description":"Inclusive start of the time range. Event time as an ISO 8601 string, Unix seconds, or Unix milliseconds. Values below 1_000_000_000_000 are interpreted as seconds."},{"type":"null"}]},"required":false},{"name":"to","in":"query","schema":{"anyOf":[{"type":"string","description":"Inclusive end of the time range. Event time as an ISO 8601 string, Unix seconds, or Unix milliseconds. Values below 1_000_000_000_000 are interpreted as seconds."},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"collectionId":{"type":"string"},"timestamp":{"anyOf":[{"type":"string"},{"type":"string"}]},"title":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"type":"string"},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}]},"externalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string"}]}},"required":["id","projectId","collectionId","timestamp","title","description","icon","emoji","color","metadata","externalId","createdAt","updatedAt"],"additionalProperties":false}}}}},"400":{"description":"EventMarkerValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMarkerValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"description":"Returns marker events in a collection, optionally filtered by an inclusive time range."},"post":{"tags":["Event Markers"],"operationId":"EventMarkers.createEventMarker","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"collectionId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"collectionId":{"type":"string"},"timestamp":{"anyOf":[{"type":"string"},{"type":"string"}]},"title":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"type":"string"},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}]},"externalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string"}]}},"required":["id","projectId","collectionId","timestamp","title","description","icon","emoji","color","metadata","externalId","createdAt","updatedAt"],"additionalProperties":false}}}},"400":{"description":"EventMarkerValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMarkerValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"description":"Creates a marker event in a manual collection. Reuses an existing event when externalId matches.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"$ref":"#/components/schemas/EventMarkerTimestampInput"},"title":{"type":"string"},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"metadata":{"anyOf":[{"anyOf":[{"type":"object"},{"type":"null"}]},{"type":"null"}]},"externalId":{"anyOf":[{"anyOf":[{"type":"string","description":"Optional stable identifier. When provided, duplicate values upsert the existing marker in the collection."},{"type":"null"}]},{"type":"null"}]}},"required":["timestamp","title"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/event-marker-collections/{collectionId}/events/bulk":{"post":{"tags":["Event Markers"],"operationId":"EventMarkers.bulkCreateEventMarkers","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"collectionId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"collectionId":{"type":"string"},"timestamp":{"anyOf":[{"type":"string"},{"type":"string"}]},"title":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"type":"string"},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}]},"externalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string"}]}},"required":["id","projectId","collectionId","timestamp","title","description","icon","emoji","color","metadata","externalId","createdAt","updatedAt"],"additionalProperties":false}}}}},"400":{"description":"EventMarkerValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMarkerValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"description":"Creates up to 500 marker events in a manual collection in a single request.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"timestamp":{"$ref":"#/components/schemas/EventMarkerTimestampInput"},"title":{"type":"string"},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"metadata":{"anyOf":[{"anyOf":[{"type":"object"},{"type":"null"}]},{"type":"null"}]},"externalId":{"anyOf":[{"anyOf":[{"type":"string","description":"Optional stable identifier. When provided, duplicate values upsert the existing marker in the collection."},{"type":"null"}]},{"type":"null"}]}},"required":["timestamp","title"],"additionalProperties":false}}},"required":["events"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/event-marker-collections/{collectionId}/events/{eventId}":{"patch":{"tags":["Event Markers"],"operationId":"EventMarkers.updateEventMarker","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"collectionId","in":"path","schema":{"type":"string"},"required":true},{"name":"eventId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"collectionId":{"type":"string"},"timestamp":{"anyOf":[{"type":"string"},{"type":"string"}]},"title":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"type":"string"},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}]},"externalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"string"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"string"}]}},"required":["id","projectId","collectionId","timestamp","title","description","icon","emoji","color","metadata","externalId","createdAt","updatedAt"],"additionalProperties":false}}}},"400":{"description":"EventMarkerValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMarkerValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"description":"Updates a marker event in a manual collection.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"anyOf":[{"$ref":"#/components/schemas/EventMarkerTimestampInput"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"metadata":{"anyOf":[{"anyOf":[{"type":"object"},{"type":"null"}]},{"type":"null"}]},"externalId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"delete":{"tags":["Event Markers"],"operationId":"EventMarkers.deleteEventMarker","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"collectionId","in":"path","schema":{"type":"string"},"required":true},{"name":"eventId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"EventMarkerValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMarkerValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"description":"Deletes a marker event from a manual collection."}},"/v0/project/{idOrSlug}/feature-flags":{"get":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.listFeatureFlags","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagRecordEncoded"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}},"post":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.createFeatureFlag","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"FeatureFlagRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagRecordEncoded"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"dataType":{"anyOf":[{"type":"string","enum":["boolean","number","string","json"]},{"type":"null"}]},"fallbackBehavior":{"anyOf":[{"type":"string","enum":["default","split"]},{"type":"null"}]},"value":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"allowSpecificOptIn":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"saveToAuthenticatedUser":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"userGrantRevalidateConditions":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"userGrantResult":{"anyOf":[{"type":"string","enum":["force_enabled","evaluate_variants"]},{"type":"null"}]},"conditionSets":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"resultOptionKey":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"key":{"type":"string"},"value":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","in","not_in","contains","not_contains","starts_with","ends_with","matches_regex","greater_than","less_than","greater_or_equal","less_or_equal","is_set","is_not_set"]}},"required":["key","value","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}},{"type":"null"}]},"variants":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"key":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"value":{"type":"string"},"weight":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"isDefault":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["key","value","weight"],"additionalProperties":false}},{"type":"null"}]},"groupIds":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["name","key"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/feature-flags/{id}":{"patch":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.updateFeatureFlag","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"FeatureFlagRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagRecordEncoded"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"dataType":{"anyOf":[{"type":"string","enum":["boolean","number","string","json"]},{"type":"null"}]},"fallbackBehavior":{"anyOf":[{"type":"string","enum":["default","split"]},{"type":"null"}]},"value":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"allowSpecificOptIn":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"saveToAuthenticatedUser":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"userGrantRevalidateConditions":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"userGrantResult":{"anyOf":[{"type":"string","enum":["force_enabled","evaluate_variants"]},{"type":"null"}]},"conditionSets":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"resultOptionKey":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"key":{"type":"string"},"value":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","in","not_in","contains","not_contains","starts_with","ends_with","matches_regex","greater_than","less_than","greater_or_equal","less_or_equal","is_set","is_not_set"]}},"required":["key","value","operator"],"additionalProperties":false}}},"required":["conditions"],"additionalProperties":false}},{"type":"null"}]},"variants":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"key":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"value":{"type":"string"},"weight":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"isDefault":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["key","value","weight"],"additionalProperties":false}},{"type":"null"}]},"groupIds":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"delete":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.deleteFeatureFlag","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/feature-flags/{id}/reset-states":{"post":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.resetFeatureFlagStates","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ResetFeatureFlagStatesResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetFeatureFlagStatesResultEncoded"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/feature-flags/{id}/stats":{"get":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.getFeatureFlagStats","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"fromTime","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"toTime","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"sessionId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagStatsRecordEncoded"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/feature-flags/{id}/summary":{"get":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.getFeatureFlagSummary","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"fromTime","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"toTime","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"sessionId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"FeatureFlagSummaryRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagSummaryRecordEncoded"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/feature-flags/{id}/evaluations":{"get":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.listFeatureFlagEvaluations","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"fromTime","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"toTime","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"sessionId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"offset","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagEvaluationRecordEncoded"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/feature-flag-groups":{"get":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.listFeatureFlagGroups","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagGroupRecordEncoded"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}},"post":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.upsertFeatureFlagGroup","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"description":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"type":{"type":"string","enum":["automatic","manual"]},"conditionMatcher":{"anyOf":[{"type":"string","enum":["all","any"]},{"type":"null"}]},"conditions":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"key":{"type":"string"},"value":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","in","not_in","contains","not_contains","starts_with","ends_with","matches_regex","greater_than","less_than","greater_or_equal","less_or_equal","is_set","is_not_set"]}},"required":["key","value","operator"],"additionalProperties":false}},{"type":"null"}]},"members":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"identifier":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"userId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"email":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]}},"required":["name","type"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/feature-flag-groups/{id}":{"delete":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.deleteFeatureFlagGroup","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/feature-flags/{id}/user-grants":{"get":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.listFeatureFlagUserGrants","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagUserGrantRecordEncoded"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}},"post":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.grantFeatureFlagUser","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"email":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"identifier":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/feature-flags/{id}/user-grants/revoke":{"post":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.revokeFeatureFlagUser","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"email":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"identifier":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/feature-flag-user-states":{"get":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.listFeatureFlagUserStates","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"userIds","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagUserStateRecordEncoded"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/feature-flags/{id}/test":{"post":{"tags":["FeatureFlags"],"operationId":"FeatureFlags.testFeatureFlag","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"TestFeatureFlagResult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestFeatureFlagResultEncoded"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/TinybirdErrorEncoded"},{"$ref":"#/components/schemas/EffectDrizzleQueryErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"identifier":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"externalId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"sessionId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"attributes":{"anyOf":[{"type":"object"},{"type":"null"}]},"userAgent":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}}},"/v1/project/{idOrSlug}/users":{"get":{"tags":["Users"],"operationId":"Users.searchUsersForProject","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"query","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cursor","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cohort","in":"query","schema":{"anyOf":[{"type":"string","enum":["identified","anonymous"]},{"type":"null"}]},"required":false},{"name":"sort","in":"query","schema":{"anyOf":[{"type":"string","enum":["user","eventCount","activeDays","avgSessionDurationMs","firstSeen","lastSeen"]},{"type":"null"}]},"required":false},{"name":"direction","in":"query","schema":{"anyOf":[{"type":"string","enum":["asc","desc"]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"UsersPage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPageEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/users":{"get":{"tags":["Users"],"operationId":"Users.getUsersForProject","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"from","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"to","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"offset","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cohort","in":"query","schema":{"anyOf":[{"type":"string","enum":["identified","anonymous"]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserListItemEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/users/active":{"get":{"tags":["Users"],"operationId":"Users.getUsersActiveTimeseries","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"from","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"to","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"offset","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cohort","in":"query","schema":{"anyOf":[{"type":"string","enum":["identified","anonymous"]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsersActiveTimeseriesRowEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/users/breakdown":{"get":{"tags":["Users"],"operationId":"Users.getUsersBreakdown","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"UsersBreakdown","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersBreakdownEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/users/key/{userKey}":{"get":{"tags":["Users"],"operationId":"Users.getUserByKey","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"userKey","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/UserListItemEncoded"},{"type":"null"}]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/users/activity":{"post":{"tags":["Users"],"operationId":"Users.getUserActivity","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserActivityDayEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"userIds":{"type":"array","items":{"type":"string"}}},"required":["userIds"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/users/sessions":{"post":{"tags":["Users"],"operationId":"Users.getUserSessions","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserSessionEventEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"userIds":{"type":"array","items":{"type":"string"}}},"required":["userIds"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/users/errors":{"post":{"tags":["Users"],"operationId":"Users.getUserErrors","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserErrorOccurrenceEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"userIds":{"type":"array","items":{"type":"string"}}},"required":["userIds"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/users/{userId}":{"delete":{"tags":["Users"],"operationId":"Users.deleteUserData","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"userId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/users/{userId}/identification":{"delete":{"tags":["Users"],"operationId":"Users.removeUserIdentification","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"userId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/vitals":{"get":{"tags":["WebVitals"],"operationId":"WebVitals.getWebVitalsForProject","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"from","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"to","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"device","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"browser","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"os","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"country","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"route","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WebVitalDataEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/vitals/build-deployments":{"get":{"tags":["WebVitals"],"operationId":"WebVitals.getBuildDeploymentsForProject","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"from","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"to","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"device","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"browser","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"os","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"country","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"route","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BuildDeploymentDataEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/vitals/trends":{"get":{"tags":["WebVitals"],"operationId":"WebVitals.getWebVitalsTrends","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"from","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"to","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"bucketMs","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"device","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"browser","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"os","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"country","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"route","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WebVitalsTrendPointEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/vitals/summary":{"get":{"tags":["WebVitals"],"operationId":"WebVitals.getWebVitalsSummary","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"from","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"to","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"device","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"browser","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"os","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"country","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"route","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WebVitalsMetricSummaryEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}}}},"/v0/project/{idOrSlug}/replays":{"get":{"tags":["SessionReplays"],"operationId":"SessionReplays.listReplays","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"from","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"to","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"pageSize","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cursorStartedAt","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cursorSessionId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cursorWindowId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"collectionId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"collectionFilterConfig","in":"query","schema":{"anyOf":[{"type":"string","contentMediaType":"application/json"},{"type":"null"}]},"required":false},{"name":"listFilterConfig","in":"query","schema":{"anyOf":[{"type":"string","contentMediaType":"application/json"},{"type":"null"}]},"required":false},{"name":"userIds","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/SessionReplayListItemEncoded"}},"nextCursor":{"anyOf":[{"type":"object","properties":{"startedAt":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"sessionId":{"type":"string"},"windowId":{"type":"string"}},"required":["startedAt","sessionId","windowId"],"additionalProperties":false},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}},"delete":{"tags":["SessionReplays"],"operationId":"SessionReplays.deleteAllReplays","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/replays/count":{"get":{"tags":["SessionReplays"],"operationId":"SessionReplays.getReplayCount","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"from","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"to","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"collectionId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"collectionFilterConfig","in":"query","schema":{"anyOf":[{"type":"string","contentMediaType":"application/json"},{"type":"null"}]},"required":false},{"name":"listFilterConfig","in":"query","schema":{"anyOf":[{"type":"string","contentMediaType":"application/json"},{"type":"null"}]},"required":false},{"name":"userIds","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/replay-collections":{"get":{"tags":["SessionReplays"],"operationId":"SessionReplays.listReplayCollections","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"includeCounts","in":"query","schema":{"anyOf":[{"type":"string","enum":["true","false"]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReplayCollectionRecordEncoded"}}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}},"post":{"tags":["SessionReplays"],"operationId":"SessionReplays.createReplayCollection","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ReplayCollectionRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayCollectionRecordEncoded"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"mode":{"type":"string","enum":["manual","automatic"]},"filterConfig":{"anyOf":[{"anyOf":[{"type":"object","properties":{"viewed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"identifiedState":{"anyOf":[{"type":"string","enum":["identified","anonymous"]},{"type":"null"}]},"browserIn":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"osIn":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"countryIn":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"routeVisitedAny":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"minEventCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxEventCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"minDurationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxDurationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"hasErrors":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"hasPoorVitals":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"poorVitalMetric":{"anyOf":[{"type":"string"},{"type":"null"}]},"playbackStart":{"anyOf":[{"type":"string","enum":["session_start","matched_event"]},{"type":"null"}]},"datasourceFilters":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"referenceId":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","contains","not_contains","greater_than","less_than"]},"value":{"type":"string"},"dataType":{"anyOf":[{"type":"string","enum":["string","number","boolean"]},{"type":"null"}]}},"required":["referenceId","operator","value"],"additionalProperties":false}},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},{"type":"null"}]}},"required":["name","mode"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/replay-collections/{id}":{"patch":{"tags":["SessionReplays"],"operationId":"SessionReplays.updateReplayCollection","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ReplayCollectionRecord","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayCollectionRecordEncoded"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}]},"filterConfig":{"anyOf":[{"anyOf":[{"type":"object","properties":{"viewed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"identifiedState":{"anyOf":[{"type":"string","enum":["identified","anonymous"]},{"type":"null"}]},"browserIn":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"osIn":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"countryIn":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"routeVisitedAny":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"minEventCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxEventCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"minDurationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxDurationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"hasErrors":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"hasPoorVitals":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"poorVitalMetric":{"anyOf":[{"type":"string"},{"type":"null"}]},"playbackStart":{"anyOf":[{"type":"string","enum":["session_start","matched_event"]},{"type":"null"}]},"datasourceFilters":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"referenceId":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","contains","not_contains","greater_than","less_than"]},"value":{"type":"string"},"dataType":{"anyOf":[{"type":"string","enum":["string","number","boolean"]},{"type":"null"}]}},"required":["referenceId","operator","value"],"additionalProperties":false}},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"delete":{"tags":["SessionReplays"],"operationId":"SessionReplays.deleteReplayCollection","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/replays/{sessionId}/{windowId}/collection-assignments":{"get":{"tags":["SessionReplays"],"operationId":"SessionReplays.listReplayCollectionAssignments","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"sessionId","in":"path","schema":{"type":"string"},"required":true},{"name":"windowId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ReplayCollectionAssignmentsResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayCollectionAssignmentsResponseEncoded"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}},"put":{"tags":["SessionReplays"],"operationId":"SessionReplays.setReplayCollectionAssignments","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"sessionId","in":"path","schema":{"type":"string"},"required":true},{"name":"windowId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ReplayCollectionAssignmentsResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayCollectionAssignmentsResponseEncoded"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"collectionIds":{"type":"array","items":{"type":"string"}}},"required":["collectionIds"],"additionalProperties":false}}},"required":true}}},"/v0/project/{idOrSlug}/replays/{sessionId}/{windowId}/events":{"get":{"tags":["SessionReplays"],"operationId":"SessionReplays.getReplayEventsPage","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"sessionId","in":"path","schema":{"type":"string"},"required":true},{"name":"windowId","in":"path","schema":{"type":"string"},"required":true},{"name":"cursorId","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cursorSequence","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cursorFirstEventTimestampMs","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"cursorCreatedAt","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"limitChunks","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"pageBytes","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"seekCoverageRelativeMs","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"seekRelativeMs","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"seekAtMs","in":"query","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false},{"name":"includeRouteSpans","in":"query","schema":{"anyOf":[{"type":"string","enum":["true","false"]},{"type":"null"}]},"required":false}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ReplayEventsPageResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayEventsPageResponseEncoded"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/replays/{sessionId}/errors":{"get":{"tags":["SessionReplays"],"operationId":"SessionReplays.getSessionErrors","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"sessionId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SessionErrorEncoded"}}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/replays/{sessionId}/vitals":{"get":{"tags":["SessionReplays"],"operationId":"SessionReplays.getSessionVitals","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"sessionId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SessionVitalEncoded"}}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/replays/{sessionId}/{windowId}":{"delete":{"tags":["SessionReplays"],"operationId":"SessionReplays.deleteReplay","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"sessionId","in":"path","schema":{"type":"string"},"required":true},{"name":"windowId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/project/{idOrSlug}/replays/{sessionId}/{windowId}/viewed":{"post":{"tags":["SessionReplays"],"operationId":"SessionReplays.markReplayViewed","parameters":[{"name":"idOrSlug","in":"path","schema":{"type":"string"},"required":true},{"name":"sessionId","in":"path","schema":{"type":"string"},"required":true},{"name":"windowId","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"204":{"description":"<No Content>"},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationErrorEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/InternalServerErrorEncoded"}]}}}}}}},"/v0/errors/issues":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.GetErrorIssuesForProject","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorIssueSummaryEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"from":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"to":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"limit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"searchQuery":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","resolved","all"]},{"type":"null"}]},"filters":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ErrorFilterEncoded"}},{"type":"null"}]}},"required":["projectId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/issues/projects":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.GetErrorIssuesForProjects","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorIssueSummaryEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectIds":{"type":"array","items":{"type":"string"}},"from":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"to":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"limit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"searchQuery":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","resolved","all"]},{"type":"null"}]},"filters":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ErrorFilterEncoded"}},{"type":"null"}]}},"required":["projectIds"],"additionalProperties":false}}},"required":true}}},"/v0/errors/issue":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.GetErrorIssueDetail","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ErrorIssueDetail","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorIssueDetailEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"errorId":{"type":"string"}},"required":["projectId","errorId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/occurrences":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.GetErrorOccurrencesForIssue","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorOccurrenceEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"errorId":{"type":"string"},"limit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["projectId","errorId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/timeseries":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.GetErrorOverviewTimeseries","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorTimelinePointEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"from":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"to":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"limit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"searchQuery":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","resolved","all"]},{"type":"null"}]},"filters":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ErrorFilterEncoded"}},{"type":"null"}]}},"required":["projectId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/timeseries/projects":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.GetErrorOverviewTimeseriesForProjects","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorTimelinePointEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectIds":{"type":"array","items":{"type":"string"}},"from":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"to":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"limit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"searchQuery":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","resolved","all"]},{"type":"null"}]},"filters":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ErrorFilterEncoded"}},{"type":"null"}]}},"required":["projectIds"],"additionalProperties":false}}},"required":true}}},"/v0/errors/delete":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.DeleteErrors","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"}}},"required":["ids"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"ids":{"type":"array","prefixItems":[{"type":"string"}],"minItems":1,"items":{"type":"string"}}},"required":["projectId","ids"],"additionalProperties":false}}},"required":true}}},"/v0/errors/viewed":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.MarkErrorsViewed","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"ids":{"type":"array","prefixItems":[{"type":"string"}],"minItems":1,"items":{"type":"string"}}},"required":["projectId","ids"],"additionalProperties":false}}},"required":true}}},"/v0/errors/resolve":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.ResolveErrorIssues","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"errorIds":{"type":"array","prefixItems":[{"type":"string"}],"minItems":1,"items":{"type":"string"}},"mode":{"type":"string","enum":["once","version","version_and_prior","forever"]},"targets":{"anyOf":[{"type":"array","prefixItems":[{"type":"object","properties":{"errorId":{"type":"string"},"source":{"type":"string","enum":["selected_occurrence","latest_occurrence"]},"occurrenceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"versionToken":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"versionSource":{"anyOf":[{"anyOf":[{"type":"string","enum":["build_id","plugin_version"]},{"type":"null"}]},{"type":"null"}]}},"required":["errorId","source","occurrenceId"],"additionalProperties":false}],"minItems":1,"items":{"type":"object","properties":{"errorId":{"type":"string"},"source":{"type":"string","enum":["selected_occurrence","latest_occurrence"]},"occurrenceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"versionToken":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"versionSource":{"anyOf":[{"anyOf":[{"type":"string","enum":["build_id","plugin_version"]},{"type":"null"}]},{"type":"null"}]}},"required":["errorId","source","occurrenceId"],"additionalProperties":false}},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["projectId","errorIds","mode"],"additionalProperties":false}}},"required":true}}},"/v0/errors/resolutions/clear":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.ClearErrorResolutions","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"errorIds":{"type":"array","prefixItems":[{"type":"string"}],"minItems":1,"items":{"type":"string"}}},"required":["projectId","errorIds"],"additionalProperties":false}}},"required":true}}},"/v0/errors/merge":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.MergeErrorIssues","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"primaryErrorId":{"type":"string"}},"required":["success","primaryErrorId"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"primaryErrorId":{"type":"string"},"mergedErrorIds":{"type":"array","prefixItems":[{"type":"string"}],"minItems":1,"items":{"type":"string"}}},"required":["projectId","primaryErrorId","mergedErrorIds"],"additionalProperties":false}}},"required":true}}},"/v0/errors/unmerge":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.UnmergeErrorIssueHashes","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"hashes":{"type":"array","prefixItems":[{"type":"string"}],"minItems":1,"items":{"type":"string"}}},"required":["projectId","hashes"],"additionalProperties":false}}},"required":true}}},"/v0/errors/filters":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.GetErrorFilterMeta","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"country_values":{"type":"array","items":{"type":"string"}},"browser_values":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"device_values":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"os_values":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"plugin_version_values":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"minecraft_version_values":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"java_version_values":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"server_type_values":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["country_values"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"}},"required":["projectId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/metadata":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.UpdateErrorIssueMetadata","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"errorId":{"type":"string"},"priority":{"anyOf":[{"anyOf":[{"type":"string","enum":["critical","high","medium","low"]},{"type":"null"}]},{"type":"null"}]},"assigneeId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["projectId","errorId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/labels/list":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.ListErrorLabels","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorLabelEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"includeCounts":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["projectId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/labels/create":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.CreateErrorLabel","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ErrorLabel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorLabelEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"}},"required":["projectId","name","color"],"additionalProperties":false}}},"required":true}}},"/v0/errors/labels/delete":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.DeleteErrorLabel","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"labelId":{"type":"string"}},"required":["projectId","labelId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/labels/update":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.UpdateErrorLabel","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ErrorLabel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorLabelEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"labelId":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"color":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["projectId","labelId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/labels/assign":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.SetErrorLabelAssignments","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"errorId":{"type":"string"},"labelIds":{"type":"array","items":{"type":"string"}}},"required":["projectId","errorId","labelIds"],"additionalProperties":false}}},"required":true}}},"/v0/errors/comments/list":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.GetErrorIssueComments","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorIssueCommentEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"errorId":{"type":"string"}},"required":["projectId","errorId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/comments/add":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.AddErrorIssueComment","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ErrorIssueComment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorIssueCommentEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"errorId":{"type":"string"},"content":{"type":"string"}},"required":["projectId","errorId","content"],"additionalProperties":false}}},"required":true}}},"/v0/errors/comments/delete":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.DeleteErrorIssueComment","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"commentId":{"type":"string"}},"required":["projectId","commentId"],"additionalProperties":false}}},"required":true}}},"/v0/errors/comments/pin":{"post":{"tags":["ErrorTracking"],"operationId":"ErrorTracking.ToggleErrorIssueCommentPin","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"ErrorIssueComment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorIssueCommentEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError | ErrorTrackingServiceError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerErrorEncoded"},{"$ref":"#/components/schemas/ErrorTrackingServiceErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlErrorEncoded"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string"},"commentId":{"type":"string"},"pinned":{"type":"boolean"}},"required":["projectId","commentId","pinned"],"additionalProperties":false}}},"required":true}}},"/v0/source-maps/list":{"post":{"tags":["SourceMaps"],"operationId":"SourceMaps.GetUploadedSourceMaps","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UploadedSourceMapEncoded"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUploadedSourceMapsPayloadEncoded"}}},"required":true}}},"/v0/source-maps/delete":{"post":{"tags":["SourceMaps"],"operationId":"SourceMaps.DeleteUploadedSourceMap","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUploadedSourceMapPayloadEncoded"}}},"required":true}}},"/v0/source-maps/wipe":{"post":{"tags":["SourceMaps"],"operationId":"SourceMaps.WipeUploadedSourceMaps","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WipeUploadedSourceMapsPayloadEncoded"}}},"required":true}}},"/v0/source-maps/cleanup":{"post":{"tags":["SourceMaps"],"operationId":"SourceMaps.CleanupUploadedSourceMaps","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"CleanupUploadedSourceMapsResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanupUploadedSourceMapsResponseEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanupUploadedSourceMapsPayloadEncoded"}}},"required":true}}},"/v0/source-maps/api-key":{"post":{"tags":["SourceMaps"],"operationId":"SourceMaps.GetSourceMapApiKey","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SourceMapApiKeyEncoded"},{"type":"null"}]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSourceMapApiKeyPayloadEncoded"}}},"required":true}}},"/v0/source-maps/api-key/create":{"post":{"tags":["SourceMaps"],"operationId":"SourceMaps.CreateSourceMapApiKey","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"CreateSourceMapApiKeyResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceMapApiKeyResponseEncoded"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceMapApiKeyPayloadEncoded"}}},"required":true}}},"/v0/source-maps/api-key/delete":{"post":{"tags":["SourceMaps"],"operationId":"SourceMaps.DeleteSourceMapApiKey","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"array","items":{"$ref":"#/components/schemas/SourceMapApiKeyEncoded"}}},"required":["deleted"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorEncoded"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorEncoded"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorEncoded"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorEncoded"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteSourceMapApiKeyPayloadEncoded"}}},"required":true}}}},"components":{"schemas":{"ProjectValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["ProjectValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ProjectConflictErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["ProjectConflictError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"InternalServerErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["InternalServerError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"UnauthorizedErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["UnauthorizedError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ForbiddenErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["ForbiddenError"]},"message":{"type":"string"},"code":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","message"],"additionalProperties":false},"NotFoundErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["NotFoundError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"PublicProjectStatsRecord":{"type":"object","properties":{"projectId":{"type":"string"},"name":{"type":"string"},"onlineServers":{"type":"number","minimum":0},"totalServers7d":{"type":"number","minimum":0},"onlinePlayers":{"type":"number","minimum":0}},"required":["projectId","name","onlineServers","totalServers7d","onlinePlayers"],"additionalProperties":false,"description":"Public project activity stats."},"DashboardRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"isPublic":{"type":"boolean"},"isDefault":{"type":"boolean"},"position":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"markerOverrides":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["inherit","replace","add","disable"]},"collections":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"display":{"anyOf":[{"type":"object","properties":{"icon":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"emoji":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"color":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["collectionId"],"additionalProperties":false}},{"type":"null"}]},"hiddenCollectionIds":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["mode"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","projectId","name","description","isPublic","isDefault","position","markerOverrides","createdAt","updatedAt"],"additionalProperties":false},"DashboardValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["DashboardValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ChartValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["ChartValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"Union_1":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["comparison"]},"field":{"type":"string"},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","notStartsWith","endsWith","notEndsWith","regex","notRegex","greaterThan","greaterOrEqual","lessThan","lessOrEqual","in","notIn","between","isNull","isNotNull"]},"value":{"anyOf":[{"anyOf":[{"type":"string"},{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"anyOf":[{"type":"string"},{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"},{"type":"null"}]}}]},{"type":"null"}]},"mapTarget":{"anyOf":[{"type":"string","enum":["key","value"]},{"type":"null"}]}},"required":["type","field","operator"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["and","or"]},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Union_1"}}},"required":["type","conditions"],"additionalProperties":false}]},"Union_2":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["literal"]},"value":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["input"]},"inputId":{"type":"string"}},"required":["type","inputId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["unary"]},"operator":{"type":"string","enum":["plus","minus"]},"operand":{"$ref":"#/components/schemas/Union_2"}},"required":["type","operator","operand"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["binary"]},"operator":{"type":"string","enum":["add","subtract","multiply","divide"]},"left":{"$ref":"#/components/schemas/Union_2"},"right":{"$ref":"#/components/schemas/Union_2"}},"required":["type","operator","left","right"],"additionalProperties":false}]},"Union_":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["source"]},"dataset":{"type":"string","enum":["events-web","events-mods","downloads","web-vitals","google-search-console","llm-traces"]},"field":{"type":"string"}},"required":["type","dataset","field"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["filter"]},"predicate":{"$ref":"#/components/schemas/Union_1"},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","predicate","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["timeRange"]},"range":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["relative"]},"value":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"unit":{"type":"string","enum":["millisecond","second","minute","hour","day","week"]}},"required":["type","value","unit"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["absolute"]},"from":{"type":"string"},"to":{"type":"string"}},"required":["type","from","to"],"additionalProperties":false}]},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","range","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["minimumAge"]},"milliseconds":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","milliseconds","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["group"]},"fields":{"type":"array","items":{"type":"string"}},"mode":{"type":"string","enum":["combined","flat"]},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","fields","mode","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["timeBucket"]},"interval":{"type":"string","enum":["auto","minute","hour","day","week","month"]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"gapFill":{"type":"string","enum":["none","zero"]},"cumulative":{"type":"boolean"},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","interval","gapFill","cumulative","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aggregate"]},"function":{"type":"string","enum":["count","sum","avg","median","min","max","distinct"]},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","function","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["deduplicate"]},"identity":{"anyOf":[{"type":"string","enum":["user_id","server_id","version_id","project"]},{"type":"null"}]},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","identity","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["limit"]},"rows":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"groupOthers":{"type":"boolean"},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","rows","groupOthers","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sort"]},"by":{"type":"string","enum":["time","dimension","value"]},"direction":{"type":"string","enum":["asc","desc"]},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","by","direction","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["transform"]},"operation":{"type":"string","enum":["toLowerCase","toUpperCase","toTitleCase","trim","append","replace","replaceRegex","length"]},"pattern":{"anyOf":[{"type":"string"},{"type":"null"}]},"replacement":{"anyOf":[{"type":"string"},{"type":"null"}]},"input":{"$ref":"#/components/schemas/Union_"}},"required":["type","operation","input"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["formula"]},"inputs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"query":{"$ref":"#/components/schemas/Union_"}},"required":["id","query"],"additionalProperties":false}},"expression":{"$ref":"#/components/schemas/Union_2"},"precision":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["type","inputs","expression","precision"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["combine"]},"operation":{"type":"string","enum":["sum"]},"inputs":{"type":"array","items":{"$ref":"#/components/schemas/Union_"}}},"required":["type","operation","inputs"],"additionalProperties":false}]},"MetricsDecodeErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["MetricsDecodeError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"TinybirdErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["TinybirdError"]},"message":{"type":"string"},"cause":{"anyOf":[{},{"type":"null"}]}},"required":["_tag","message"],"additionalProperties":false},"EffectDrizzleQueryErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["EffectDrizzleQueryError"]},"query":{"type":"string"},"params":{"type":"array"},"cause":{}},"required":["_tag","query","params","cause"],"additionalProperties":false},"ChartQueryValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["ChartQueryValidationError"]},"message":{"type":"string"},"path":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","message"],"additionalProperties":false},"FunnelRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"steps":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["event"]},{"type":"null"}]},"id":{"type":"string"},"name":{"type":"string"},"match":{"type":"string","enum":["all","any"]},"filters":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","contains","not_contains","starts_with","not_starts_with","ends_with","not_ends_with","greater_than","less_than"]},"value":{"anyOf":[{"type":"string"},{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"}]}},"required":["field","operator","value"],"additionalProperties":false}}},"required":["id","name","match","filters"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["feature_flag"]},"id":{"type":"string"},"name":{"type":"string"},"featureFlagId":{"type":"string"},"flagKey":{"type":"string"},"flagMatch":{"type":"string","enum":["set","unset","value"]},"value":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","id","name","featureFlagId","flagKey","flagMatch"],"additionalProperties":false}]}},{"type":"null"}]},"conversionWindowSeconds":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"strictOrder":{"type":"boolean"},"timeRangeSeconds":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","projectId","name","description","steps","conversionWindowSeconds","strictOrder","timeRangeSeconds","createdAt","updatedAt"],"additionalProperties":false},"FunnelValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["FunnelValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"FunnelStepResultEncoded":{"type":"object","properties":{"count":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"conversionRate":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"dropOffRate":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["count","conversionRate","dropOffRate"],"additionalProperties":false},"FunnelDetailEncoded":{"type":"object","properties":{"funnel":{"$ref":"#/components/schemas/FunnelRecordEncoded"},"baselineCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"steps":{"type":"array","items":{"$ref":"#/components/schemas/FunnelStepResultEncoded"}}},"required":["funnel","steps"],"additionalProperties":false},"StructuredFieldRecordEncoded":{"type":"object","properties":{"sourceReferenceId":{"type":"string"},"path":{"type":"array","items":{"type":"string"}},"dataType":{"type":"string","enum":["number","string","boolean"]},"observedTypes":{"type":"array","items":{"type":"string","enum":["number","string","boolean"]}},"observedCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"firstSeenAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastSeenAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"sampleValue":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["sourceReferenceId","path","dataType","observedTypes","observedCount","firstSeenAt","lastSeenAt","sampleValue"],"additionalProperties":false},"StructuredFieldCatalogEncoded":{"type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/StructuredFieldRecordEncoded"}}},"required":["fields"],"additionalProperties":false},"DataSourceValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["DataSourceValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"DataSourceRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"referenceId":{"type":"string"},"dataType":{"type":"string","enum":["number","string","boolean","json"]},"regex":{"anyOf":[{"type":"string"},{"type":"null"}]},"allowNegative":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"allowFloat":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"minValue":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxValue":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"isArray":{"type":"boolean"},"metricShape":{"type":"string","enum":["scalar","array","map"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","projectId","name","description","referenceId","dataType","regex","allowNegative","allowFloat","minValue","maxValue","isArray","metricShape","createdAt","updatedAt"],"additionalProperties":false},"NetworkRuleRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"ipAddress":{"type":"string"},"allowed":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","projectId","ipAddress","allowed","createdAt"],"additionalProperties":false},"NetworkRuleValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["NetworkRuleValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"NotificationRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["organization_invite","error_assignment","error_comment"]},"userId":{"type":"string"},"actorUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"actorName":{"anyOf":[{"type":"string"},{"type":"null"}]},"organizationId":{"anyOf":[{"type":"string"},{"type":"null"}]},"organizationName":{"anyOf":[{"type":"string"},{"type":"null"}]},"projectId":{"anyOf":[{"type":"string"},{"type":"null"}]},"projectName":{"anyOf":[{"type":"string"},{"type":"null"}]},"projectSlug":{"anyOf":[{"type":"string"},{"type":"null"}]},"issueId":{"anyOf":[{"type":"string"},{"type":"null"}]},"issueTitle":{"anyOf":[{"type":"string"},{"type":"null"}]},"commentId":{"anyOf":[{"type":"string"},{"type":"null"}]},"commentPreview":{"anyOf":[{"type":"string"},{"type":"null"}]},"invitationId":{"anyOf":[{"type":"string"},{"type":"null"}]},"readAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","type","userId","actorUserId","actorName","organizationId","organizationName","projectId","projectName","projectSlug","issueId","issueTitle","commentId","commentPreview","invitationId","readAt","createdAt"],"additionalProperties":false},"NotificationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["NotificationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"NotificationUnreadCountEncoded":{"type":"object","properties":{"count":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["count"],"additionalProperties":false},"NotificationEmailPreferenceEncoded":{"type":"object","properties":{"type":{"type":"string","enum":["organization_invite","error_assignment","error_comment"]},"emailEnabled":{"type":"boolean"}},"required":["type","emailEnabled"],"additionalProperties":false},"DownloadAnalyticsOverviewEncoded":{"type":"object","properties":{"totalDownloads":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"providersTracked":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"projectsTracked":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"latestSnapshotAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["totalDownloads","providersTracked","projectsTracked","latestSnapshotAt"],"additionalProperties":false},"DownloadHistoryPointEncoded":{"type":"object","properties":{"bucket":{"type":"string"},"downloads":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"gained":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"provider":{"anyOf":[{"anyOf":[{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},{"type":"null"}]},{"type":"null"}]}},"required":["bucket","downloads","gained"],"additionalProperties":false},"DownloadAnalyticsPointEncoded":{"type":"object","properties":{"bucket":{"type":"string"},"downloads":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"provider":{"anyOf":[{"anyOf":[{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},{"type":"null"}]},{"type":"null"}]}},"required":["bucket","downloads"],"additionalProperties":false},"DownloadProviderSummaryEncoded":{"type":"object","properties":{"provider":{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},"downloads":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"latestSnapshotAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"followers":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"views":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"watchers":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"stars":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"thumbsUpCount":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]}},"required":["provider","downloads","latestSnapshotAt"],"additionalProperties":false},"DownloadVersionRowEncoded":{"type":"object","properties":{"provider":{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},"externalId":{"type":"string"},"versionId":{"type":"string"},"versionNumber":{"type":"string"},"downloads":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"latestSnapshotAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"releaseDate":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["provider","externalId","versionId","versionNumber","downloads","latestSnapshotAt","releaseDate"],"additionalProperties":false},"DownloadAnalyticsResponseEncoded":{"type":"object","properties":{"overview":{"$ref":"#/components/schemas/DownloadAnalyticsOverviewEncoded"},"history":{"type":"array","items":{"$ref":"#/components/schemas/DownloadHistoryPointEncoded"}},"providerBreakdown":{"type":"array","items":{"$ref":"#/components/schemas/DownloadAnalyticsPointEncoded"}},"providerSummaries":{"type":"array","items":{"$ref":"#/components/schemas/DownloadProviderSummaryEncoded"}},"versions":{"type":"array","items":{"$ref":"#/components/schemas/DownloadVersionRowEncoded"}}},"required":["overview","history","providerBreakdown","providerSummaries","versions"],"additionalProperties":false},"DownloadProviderRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"provider":{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},"externalId":{"type":"string"},"title":{"type":"string"},"slug":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"url":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"iconUrl":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"summary":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"totalDownloads":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"lastSyncedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","projectId","provider","externalId","title","lastSyncedAt","createdAt"],"additionalProperties":false},"DownloadProviderErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["DownloadProviderError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"DownloadProviderSearchResultEncoded":{"type":"object","properties":{"provider":{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},"externalId":{"type":"string"},"title":{"type":"string"},"slug":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"url":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"iconUrl":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"summary":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"totalDownloads":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]}},"required":["provider","externalId","title"],"additionalProperties":false},"DownloadProviderStatusEncoded":{"type":"object","properties":{"linked":{"type":"boolean"}},"required":["linked"],"additionalProperties":false},"CloudflareImageErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["CloudflareImageError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"RetentionCohortPeriodEncoded":{"type":"object","properties":{"period":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"usersRetained":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"retentionRate":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["period","usersRetained","retentionRate"],"additionalProperties":false},"RetentionCohortDataEncoded":{"type":"object","properties":{"cohort":{"type":"string"},"cohortDate":{"type":"string"},"users":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"periods":{"type":"array","items":{"$ref":"#/components/schemas/RetentionCohortPeriodEncoded"}}},"required":["cohort","cohortDate","users","periods"],"additionalProperties":false},"RetentionCohortPageEncoded":{"type":"object","properties":{"cohorts":{"type":"array","items":{"$ref":"#/components/schemas/RetentionCohortDataEncoded"}},"hasMore":{"type":"boolean"}},"required":["cohorts","hasMore"],"additionalProperties":false},"RetentionDriverDataEncoded":{"type":"object","properties":{"source":{"type":"string","enum":["web","mods"]},"field":{"type":"string"},"value":{"type":"string"},"cohortUsers":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"retainedUsers":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"retentionRate":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"baselineRate":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"deltaPoints":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"impactScore":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["source","field","value","cohortUsers","retainedUsers","retentionRate","baselineRate","deltaPoints","impactScore"],"additionalProperties":false},"EventExplorerRowEncoded":{"type":"object","properties":{"id":{"type":"string"},"timestamp":{"type":"string"},"fieldValues":{"type":"object","additionalProperties":{"type":"string"}},"rawData":{"type":"string"}},"required":["id","timestamp","fieldValues","rawData"],"additionalProperties":false},"EventExplorerResultEncoded":{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/components/schemas/EventExplorerRowEncoded"}},"total":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"page":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"pageSize":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["rows","total","page","pageSize"],"additionalProperties":false},"EventMarkerValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["EventMarkerValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"EventMarkerTimestampInput":{"anyOf":[{"type":"string"},{"type":"string"},{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"string"}],"description":"Event time as an ISO 8601 string, Unix seconds, or Unix milliseconds. Values below 1_000_000_000_000 are interpreted as seconds."},"FeatureFlagConditionRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"conditionSetId":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"operator":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","conditionSetId","key","value","operator","createdAt"],"additionalProperties":false},"FeatureFlagConditionSetRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"featureFlagId":{"type":"string"},"resultOptionKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"sortOrder":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"createdAt":{"type":"string"},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagConditionRecordEncoded"}}},"required":["id","featureFlagId","resultOptionKey","sortOrder","createdAt","conditions"],"additionalProperties":false},"FeatureFlagVariantRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"featureFlagId":{"type":"string"},"key":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"value":{"type":"string"},"weight":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"isDefault":{"type":"boolean"},"sortOrder":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"createdAt":{"type":"string"}},"required":["id","featureFlagId","key","label","value","weight","isDefault","sortOrder","createdAt"],"additionalProperties":false},"FeatureFlagGroupAccessRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"featureFlagId":{"type":"string"},"groupId":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","featureFlagId","groupId","createdAt"],"additionalProperties":false},"FeatureFlagRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"projectId":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"enabled":{"type":"boolean"},"archived":{"type":"boolean"},"dataType":{"type":"string","enum":["boolean","number","string","json"]},"fallbackBehavior":{"type":"string","enum":["default","split"]},"hashVersion":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"hashSeed":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"value":{"anyOf":[{"type":"string"},{"type":"null"}]},"allowSpecificOptIn":{"type":"boolean"},"saveToAuthenticatedUser":{"type":"boolean"},"userGrantRevalidateConditions":{"type":"boolean"},"userGrantResult":{"type":"string","enum":["force_enabled","evaluate_variants"]},"rolloutSeed":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"enabledIdentifierCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"disabledIdentifierCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"conditionSets":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagConditionSetRecordEncoded"}},"variants":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagVariantRecordEncoded"}},"groupAccess":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagGroupAccessRecordEncoded"}},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","name","key","projectId","description","enabled","archived","dataType","fallbackBehavior","hashVersion","hashSeed","value","allowSpecificOptIn","saveToAuthenticatedUser","userGrantRevalidateConditions","userGrantResult","rolloutSeed","enabledIdentifierCount","disabledIdentifierCount","conditionSets","variants","groupAccess","createdAt","updatedAt"],"additionalProperties":false},"effect_sql_SqlError_ConnectionErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["ConnectionError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlError_AuthenticationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["AuthenticationError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlError_AuthorizationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["AuthorizationError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlError_SqlSyntaxErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["SqlSyntaxError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlError_UniqueViolationEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["UniqueViolation"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]},"constraint":{"type":"string"}},"required":["_tag","cause","constraint"],"additionalProperties":false},"effect_sql_SqlError_ConstraintErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["ConstraintError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlError_DeadlockErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["DeadlockError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlError_SerializationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["SerializationError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlError_LockTimeoutErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["LockTimeoutError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlError_StatementTimeoutErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["StatementTimeoutError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlError_UnknownErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["UnknownError"]},"cause":{},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"operation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","cause"],"additionalProperties":false},"effect_sql_SqlErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["SqlError"]},"reason":{"anyOf":[{"$ref":"#/components/schemas/effect_sql_SqlError_ConnectionErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_AuthenticationErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_AuthorizationErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_SqlSyntaxErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_UniqueViolationEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_ConstraintErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_DeadlockErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_SerializationErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_LockTimeoutErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_StatementTimeoutErrorEncoded"},{"$ref":"#/components/schemas/effect_sql_SqlError_UnknownErrorEncoded"}]}},"required":["_tag","reason"],"additionalProperties":false},"FeatureFlagValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["FeatureFlagValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ResetFeatureFlagStatesResultEncoded":{"type":"object","properties":{"deletedCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["deletedCount"],"additionalProperties":false},"FeatureFlagStatsRecordEncoded":{"type":"object","properties":{"date":{"type":"string"},"variantKey":{"type":"string"},"variantValue":{"anyOf":[{"type":"string"},{"type":"null"}]},"count":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"bucketStart":{"type":"string"}},"required":["date","variantKey","variantValue","count","bucketStart"],"additionalProperties":false},"FeatureFlagVariantSummaryRecordEncoded":{"type":"object","properties":{"variantKey":{"type":"string"},"variantValue":{"anyOf":[{"type":"string"},{"type":"null"}]},"identifierCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["variantKey","variantValue","identifierCount"],"additionalProperties":false},"FeatureFlagSummaryRecordEncoded":{"type":"object","properties":{"totalIdentifiers":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"variants":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagVariantSummaryRecordEncoded"}}},"required":["totalIdentifiers","variants"],"additionalProperties":false},"FeatureFlagEvaluationRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"identifier":{"type":"string"},"analyticsUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"rawIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}]},"userId":{"anyOf":[{"type":"string"},{"type":"null"}]},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"userKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasReplay":{"type":"boolean"},"enabled":{"type":"boolean"},"variantKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"variantValue":{"anyOf":[{"type":"string"},{"type":"null"}]},"flagKey":{"type":"string"},"flagType":{"type":"string"},"cause":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","identifier","analyticsUserId","rawIdentifier","userId","sessionId","email","userKey","hasReplay","enabled","variantKey","variantValue","flagKey","flagType","cause","createdAt"],"additionalProperties":false},"FeatureFlagGroupConditionRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"groupId":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"operator":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","groupId","key","value","operator","createdAt"],"additionalProperties":false},"FeatureFlagGroupMemberRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"groupId":{"type":"string"},"hashedIdentifier":{"anyOf":[{"type":"string"},{"type":"null"}]},"userId":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","groupId","hashedIdentifier","userId","email","createdAt"],"additionalProperties":false},"FeatureFlagGroupRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"type":"string","enum":["automatic","manual"]},"conditionMatcher":{"type":"string","enum":["all","any"]},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagGroupConditionRecordEncoded"}},"members":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagGroupMemberRecordEncoded"}},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","projectId","name","description","type","conditionMatcher","conditions","members","createdAt","updatedAt"],"additionalProperties":false},"FeatureFlagUserGrantRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"featureFlagId":{"type":"string"},"userId":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","projectId","featureFlagId","userId","email","createdAt","updatedAt"],"additionalProperties":false},"FeatureFlagUserStateRecordEncoded":{"type":"object","properties":{"featureFlagId":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"variantKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"variantValue":{"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["featureFlagId","name","key","enabled","variantKey","variantValue","updatedAt"],"additionalProperties":false},"TestFeatureFlagResultEncoded":{"type":"object","properties":{"enabled":{"type":"boolean"},"flagKey":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}]},"cause":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["enabled","flagKey","value","cause"],"additionalProperties":false},"UserListItemEncoded":{"type":"object","properties":{"userKey":{"type":"string"},"userId":{"type":"string"},"personId":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"userIds":{"type":"array","items":{"type":"string"}},"firstSeen":{"type":"string"},"lastSeen":{"type":"string"},"eventCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeDays":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgSessionDurationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"firstBrowser":{"type":"string"},"browser":{"type":"string"},"firstOs":{"type":"string"},"os":{"type":"string"},"firstCountry":{"type":"string"},"country":{"type":"string"},"firstDevice":{"type":"string"},"device":{"type":"string"},"externalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}]},"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"traits":{"anyOf":[{"type":"object"},{"type":"null"}]},"serverCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["userKey","userId","userIds","firstSeen","lastSeen","eventCount","activeDays","avgSessionDurationMs","firstBrowser","browser","firstOs","os","firstCountry","country","firstDevice","device","externalId","email","name","phone","avatarUrl","traits"],"additionalProperties":false},"UsersPageEncoded":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/UserListItemEncoded"}},"total":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["items","total","nextCursor"],"additionalProperties":false},"UsersActiveTimeseriesRowEncoded":{"type":"object","properties":{"date":{"type":"string"},"dau":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"mau":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["date","dau","mau"],"additionalProperties":false},"UsersCohortStatsEncoded":{"type":"object","properties":{"totalEvents":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgEvents":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeToday":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalTrend":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalEventsTrend":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgEventsTrend":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeTodayTrend":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["totalEvents","avgEvents","activeToday","totalTrend","totalEventsTrend","avgEventsTrend","activeTodayTrend"],"additionalProperties":false},"UsersBreakdownEncoded":{"type":"object","properties":{"total":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"identified":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"anonymous":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalEvents":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgEvents":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeToday":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalTrend":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalEventsTrend":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgEventsTrend":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeTodayTrend":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"identifiedStats":{"$ref":"#/components/schemas/UsersCohortStatsEncoded"},"anonymousStats":{"$ref":"#/components/schemas/UsersCohortStatsEncoded"}},"required":["total","identified","anonymous","totalEvents","avgEvents","activeToday","totalTrend","totalEventsTrend","avgEventsTrend","activeTodayTrend","identifiedStats","anonymousStats"],"additionalProperties":false},"UserActivityDayEncoded":{"type":"object","properties":{"date":{"type":"string"},"eventCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["date","eventCount"],"additionalProperties":false},"UserSessionEventEncoded":{"type":"object","properties":{"userId":{"type":"string"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"sessionDurationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"data":{"type":"object"},"createdAt":{"type":"string"}},"required":["userId","sessionId","sessionDurationMs","data","createdAt"],"additionalProperties":false},"UserErrorOccurrenceEncoded":{"type":"object","properties":{"id":{"type":"string"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"type":"string"},"issueHash":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","sessionId","message","issueHash","createdAt"],"additionalProperties":false},"WebVitalDataEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"metric":{"type":"string"},"value":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"label":{"type":"string"},"device":{"anyOf":[{"type":"string"},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}]},"os":{"anyOf":[{"type":"string"},{"type":"null"}]},"browser":{"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}]},"attributes":{"anyOf":[{"type":"object"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","projectId","sessionId","metric","value","label","device","country","os","browser","url","attributes","createdAt"],"additionalProperties":false},"BuildDeploymentDataEncoded":{"type":"object","properties":{"buildId":{"type":"string"},"deployedAt":{"type":"string"}},"required":["buildId","deployedAt"],"additionalProperties":false},"WebVitalsTrendPointEncoded":{"type":"object","properties":{"bucketStart":{"type":"string"},"metric":{"type":"string"},"samples":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p75":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p90":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p95":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p99":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["bucketStart","metric","samples","p75","p90","p95","p99"],"additionalProperties":false},"WebVitalsMetricSummaryEncoded":{"type":"object","properties":{"metric":{"type":"string"},"samples":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"good":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"needsImprovement":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"poor":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"goodPct":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"needsImprovementPct":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"poorPct":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p75":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p90":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p99":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["metric","samples","good","needsImprovement","poor","goodPct","needsImprovementPct","poorPct","p75","p90","p99"],"additionalProperties":false},"SessionReplayListItemEncoded":{"type":"object","properties":{"sessionId":{"type":"string"},"windowId":{"type":"string"},"identifier":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"startedAt":{"type":"string"},"endedAt":{"type":"string"},"eventCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"chunkCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"actualDuration":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"isComplete":{"type":"boolean"},"browser":{"anyOf":[{"type":"string"},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}]},"os":{"anyOf":[{"type":"string"},{"type":"null"}]},"viewed":{"type":"boolean"},"collectionAddedByName":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"collectionAddedByEmail":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"collectionAddedAt":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]}},"required":["sessionId","windowId","identifier","externalId","email","name","startedAt","endedAt","eventCount","chunkCount","actualDuration","isComplete","browser","country","os","viewed"],"additionalProperties":false},"SessionReplaysValidationErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["SessionReplaysValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ReplayCollectionRecordEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"mode":{"type":"string","enum":["manual","automatic"]},"filterConfig":{"anyOf":[{"type":"object","properties":{"viewed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"identifiedState":{"anyOf":[{"type":"string","enum":["identified","anonymous"]},{"type":"null"}]},"browserIn":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"osIn":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"countryIn":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"routeVisitedAny":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"minEventCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxEventCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"minDurationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxDurationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"hasErrors":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"hasPoorVitals":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"poorVitalMetric":{"anyOf":[{"type":"string"},{"type":"null"}]},"playbackStart":{"anyOf":[{"type":"string","enum":["session_start","matched_event"]},{"type":"null"}]},"datasourceFilters":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"referenceId":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","contains","not_contains","greater_than","less_than"]},"value":{"type":"string"},"dataType":{"anyOf":[{"type":"string","enum":["string","number","boolean"]},{"type":"null"}]}},"required":["referenceId","operator","value"],"additionalProperties":false}},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"position":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"defaultKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"updatedBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"replayCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["id","projectId","name","mode","filterConfig","position","defaultKey","createdBy","updatedBy","createdAt","updatedAt"],"additionalProperties":false},"ReplayCollectionAssignmentsResponseEncoded":{"type":"object","properties":{"sessionId":{"type":"string"},"windowId":{"type":"string"},"collectionIds":{"type":"array","items":{"type":"string"}}},"required":["sessionId","windowId","collectionIds"],"additionalProperties":false},"ReplayEventsPageResponseEncoded":{"type":"object","properties":{"sessionId":{"type":"string"},"windowId":{"type":"string"},"events":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object"}]}},"routeSpans":{"type":"array","items":{"type":"object","properties":{"route":{"type":"string"},"from":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"to":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"count":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["route","from","to","count"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"sequence":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"firstEventTimestampMs":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"createdAt":{"type":"string"}},"required":["id","sequence","firstEventTimestampMs","createdAt"],"additionalProperties":false},{"type":"null"}]},"hasMore":{"type":"boolean"},"loadedFrom":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"loadedTo":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["sessionId","windowId","events","routeSpans","nextCursor","hasMore","loadedFrom","loadedTo"],"additionalProperties":false},"SessionErrorEncoded":{"type":"object","properties":{"id":{"type":"string"},"errorId":{"type":"string"},"count":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"errorName":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","errorId","count","errorName","createdAt"],"additionalProperties":false},"SessionVitalEncoded":{"type":"object","properties":{"id":{"type":"string"},"metric":{"type":"string"},"value":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"label":{"type":"string"},"url":{"type":"string"},"attributes":{"anyOf":[{"type":"object"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","metric","value","label","url","attributes","createdAt"],"additionalProperties":false},"ErrorFilterEncoded":{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals"]},"value":{"type":"string"}},"required":["field","operator","value"],"additionalProperties":false},"ErrorResolutionInfoEncoded":{"type":"object","properties":{"mode":{"type":"string","enum":["once","version","version_and_prior","forever"]},"resolvedAt":{"type":"string"},"resolvedByUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"resolvedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"resolvedVersionToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"resolvedVersionSource":{"anyOf":[{"type":"string","enum":["build_id","plugin_version"]},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["mode","resolvedAt","resolvedByUserId","resolvedByName","resolvedVersionToken","resolvedVersionSource","note"],"additionalProperties":false},"ErrorLabelEncoded":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"},"projectId":{"anyOf":[{"type":"string"},{"type":"null"}]},"position":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"createdBy":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"updatedBy":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"issueCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["id","name","color"],"additionalProperties":false},"ErrorIssueSummaryEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"hash":{"type":"string"},"errorId":{"type":"string"},"errorName":{"type":"string"},"errorMessage":{"type":"string"},"language":{"anyOf":[{"type":"string"},{"type":"null"}]},"latestStack":{"type":"array","items":{"type":"string"}},"buildId":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorCauseId":{"anyOf":[{"type":"string"},{"type":"null"}]},"occurrenceCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"affectedSessionCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"latestOccurrenceId":{"type":"string"},"firstOccurred":{"type":"string"},"lastOccurred":{"type":"string"},"pluginVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstPluginVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstBuildId":{"anyOf":[{"type":"string"},{"type":"null"}]},"affectedVersionCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"affectedVersions":{"type":"array","items":{"type":"string"}},"mappedLatestStack":{"type":"array","items":{"type":"string"}},"sourceMapUsedName":{"anyOf":[{"type":"string"},{"type":"null"}]},"searchScore":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"matchedFields":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"eventTrend":{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"viewed":{"type":"boolean"},"status":{"type":"string","enum":["active","resolved"]},"regressed":{"type":"boolean"},"currentVersionToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"currentVersionSource":{"anyOf":[{"type":"string","enum":["build_id","plugin_version"]},{"type":"null"}]},"firstSeenVersionToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstSeenVersionSource":{"anyOf":[{"type":"string","enum":["build_id","plugin_version"]},{"type":"null"}]},"resolution":{"anyOf":[{"$ref":"#/components/schemas/ErrorResolutionInfoEncoded"},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["critical","high","medium","low"]},{"type":"null"}]},"assigneeId":{"anyOf":[{"type":"string"},{"type":"null"}]},"assigneeName":{"anyOf":[{"type":"string"},{"type":"null"}]},"labels":{"type":"array","items":{"$ref":"#/components/schemas/ErrorLabelEncoded"}},"commentCount":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["id","projectId","hash","errorId","errorName","errorMessage","language","latestStack","buildId","errorCauseId","occurrenceCount","affectedSessionCount","latestOccurrenceId","firstOccurred","lastOccurred","pluginVersion","firstPluginVersion","firstBuildId","affectedVersionCount","affectedVersions","mappedLatestStack","sourceMapUsedName","eventTrend","viewed","status","regressed","currentVersionToken","currentVersionSource","firstSeenVersionToken","firstSeenVersionSource","resolution","priority","assigneeId","assigneeName","labels","commentCount"],"additionalProperties":false},"ErrorTrackingServiceErrorEncoded":{"type":"object","properties":{"_tag":{"type":"string","enum":["ErrorTrackingServiceError"]},"message":{"type":"string"},"cause":{"anyOf":[{},{"type":"null"}]}},"required":["_tag","message"],"additionalProperties":false},"ErrorTimelinePointEncoded":{"type":"object","properties":{"date":{"type":"string"},"errors":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"uniqueErrors":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"bucketStart":{"type":"string"}},"required":["date","errors","uniqueErrors","bucketStart"],"additionalProperties":false},"ErrorIssueDetailEncoded":{"type":"object","properties":{"issue":{"$ref":"#/components/schemas/ErrorIssueSummaryEncoded"},"timeline":{"type":"array","items":{"$ref":"#/components/schemas/ErrorTimelinePointEncoded"}},"memberGroupHashes":{"type":"array","items":{"type":"string"}}},"required":["issue","timeline","memberGroupHashes"],"additionalProperties":false},"ErrorOccurrenceEncoded":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"hash":{"type":"string"},"errorId":{"type":"string"},"dataEntryId":{"anyOf":[{"type":"string"},{"type":"null"}]},"count":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"windowId":{"anyOf":[{"type":"string"},{"type":"null"}]},"buildId":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorName":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"language":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"latestStack":{"type":"array","items":{"type":"string"}},"mappedStack":{"type":"array","items":{"type":"string"}},"sourceMapUsedName":{"anyOf":[{"type":"string"},{"type":"null"}]},"context":{"anyOf":[{"type":"object"},{"type":"null"}]},"browser":{"anyOf":[{"type":"string"},{"type":"null"}]},"browserVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"os":{"anyOf":[{"type":"string"},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}]},"device":{"anyOf":[{"type":"string"},{"type":"null"}]},"playerCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"onlineMode":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"pluginVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"minecraftVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"javaVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"serverType":{"anyOf":[{"type":"string"},{"type":"null"}]},"osVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"osArch":{"anyOf":[{"type":"string"},{"type":"null"}]},"coreCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"handled":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["id","projectId","hash","errorId","dataEntryId","count","sessionId","windowId","buildId","errorName","errorMessage","language","createdAt","latestStack","mappedStack","sourceMapUsedName","context","browser","browserVersion","os","country","device","playerCount","onlineMode","pluginVersion","minecraftVersion","javaVersion","serverType","osVersion","osArch","coreCount","handled"],"additionalProperties":false},"ErrorIssueCommentEncoded":{"type":"object","properties":{"id":{"type":"string"},"authorId":{"type":"string"},"authorName":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"null"}]},{"type":"null"}]},"content":{"type":"string"},"pinnedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"pinnedByUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","authorId","content","pinnedAt","pinnedByUserId","createdAt","updatedAt"],"additionalProperties":false},"GetUploadedSourceMapsPayloadEncoded":{"type":"object","properties":{"projectId":{"type":"string"}},"required":["projectId"],"additionalProperties":false},"UploadedSourceMapEncoded":{"type":"object","properties":{"filename":{"type":"string"},"s3Key":{"type":"string"},"size":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["filename","s3Key","size"],"additionalProperties":false},"DeleteUploadedSourceMapPayloadEncoded":{"type":"object","properties":{"projectId":{"type":"string"},"s3Key":{"type":"string"}},"required":["projectId","s3Key"],"additionalProperties":false},"WipeUploadedSourceMapsPayloadEncoded":{"type":"object","properties":{"projectId":{"type":"string"}},"required":["projectId"],"additionalProperties":false},"CleanupUploadedSourceMapsPayloadEncoded":{"type":"object","properties":{"projectId":{"type":"string"}},"required":["projectId"],"additionalProperties":false},"CleanupUploadedSourceMapsResponseEncoded":{"type":"object","properties":{"ok":{"type":"boolean"},"latestBuildId":{"anyOf":[{"type":"string"},{"type":"null"}]},"excludedBuildIds":{"type":"array","items":{"type":"string"}},"deletedBuildIds":{"type":"array","items":{"type":"string"}},"deletedFiles":{"anyOf":[{"type":"number"},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["ok","latestBuildId","excludedBuildIds","deletedBuildIds","deletedFiles"],"additionalProperties":false},"GetSourceMapApiKeyPayloadEncoded":{"type":"object","properties":{"projectId":{"type":"string"}},"required":["projectId"],"additionalProperties":false},"SourceMapApiKeyEncoded":{"type":"object","properties":{"id":{"type":"string"},"keyPrefix":{"type":"string"},"createdAt":{"type":"string"},"lastUsedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","keyPrefix","createdAt","lastUsedAt"],"additionalProperties":false},"CreateSourceMapApiKeyPayloadEncoded":{"type":"object","properties":{"projectId":{"type":"string"}},"required":["projectId"],"additionalProperties":false},"CreateSourceMapApiKeyResponseEncoded":{"type":"object","properties":{"id":{"type":"string"},"keyPrefix":{"type":"string"},"createdAt":{"type":"string"},"fullKey":{"type":"string"}},"required":["id","keyPrefix","createdAt","fullKey"],"additionalProperties":false},"DeleteSourceMapApiKeyPayloadEncoded":{"type":"object","properties":{"projectId":{"type":"string"}},"required":["projectId"],"additionalProperties":false}},"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header."}}},"security":[],"tags":[{"name":"Projects"},{"name":"Dashboards"},{"name":"Charts"},{"name":"Metrics"},{"name":"Funnels"},{"name":"DataSources"},{"name":"NetworkRules"},{"name":"Notifications"},{"name":"Downloads"},{"name":"Images"},{"name":"Retention"},{"name":"EventExplorer"},{"name":"Event Markers","description":"Manage event marker collections and the timeline markers displayed on charts.","security":[{"apiKeyAuth":[]}],"x-auth-required":true},{"name":"FeatureFlags"},{"name":"Users"},{"name":"WebVitals"},{"name":"SessionReplays"},{"name":"ErrorTracking"},{"name":"SourceMaps"}],"servers":[{"url":"https://api.faststats.dev"}]}