{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"limit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"offset":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"hasMore":{"type":"boolean"}},"required":["items","total","limit","offset","hasMore"],"additionalProperties":false}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"total":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["id","name","slug","createdAt","ownerId","owner","templateId","icon","online","total"],"additionalProperties":false}},"total":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"limit":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"offset":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"hasMore":{"type":"boolean"}},"required":["items","total","limit","offset","hasMore"],"additionalProperties":false}}}}},"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/NotFoundError"}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/ProjectValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictError"}}}}},"x-auth-required":false}},"/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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/ProjectValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictError"}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/ProjectValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictError"}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/ProjectValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictError"}}}}},"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/ProjectValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictError"}}}}},"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/ProjectValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictError"}}}}},"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/ProjectValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictError"}}}}},"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/ProjectValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"ProjectConflictError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectConflictError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string"}},"required":["password"],"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/DashboardRecord"}}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"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/DashboardRecord"}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/DashboardValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dashboards":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"position":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/DashboardRecord"}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/DashboardRecord"}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/DashboardRecord"}}}},"400":{"description":"DashboardValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"y":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"w":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"h":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/DashboardValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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":{"primaryMetric":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false},{"type":"null"}]},"metrics":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false}},{"type":"null"}]},"dimensions":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"object","properties":{"role":{"type":"string","enum":["time"]},"field":{"type":"string"},"interval":{"type":"string","enum":["minute","hour","day","week","month"]}},"required":["role","field","interval"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["group"]},"field":{"type":"string"},"limit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["role","field"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["series"]},"field":{"type":"string"}},"required":["role","field"],"additionalProperties":false}]}},{"type":"null"}]},"filters":{"anyOf":[{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"}]}},"required":["field","operator","value"],"additionalProperties":false}},{"type":"null"}]},"timeRange":{"anyOf":[{"type":"object","properties":{"maxAgeMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"from":{"anyOf":[{"type":"string"},{"type":"null"}]},"to":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"deduplicateServers":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["history","distribution"]},{"type":"null"}]},"groupLimit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"}]},"flowNodes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},{"type":"null"}]},"flowEdges":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}},{"type":"null"}]},"position":{"anyOf":[{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"y":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"w":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"h":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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","flowNodes","flowEdges","position","createdAt","updatedAt"],"additionalProperties":false}}}}},"400":{"description":"ChartValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"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/ChartValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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":{"primaryMetric":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false},{"type":"null"}]},"metrics":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false}},{"type":"null"}]},"dimensions":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"object","properties":{"role":{"type":"string","enum":["time"]},"field":{"type":"string"},"interval":{"type":"string","enum":["minute","hour","day","week","month"]}},"required":["role","field","interval"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["group"]},"field":{"type":"string"},"limit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["role","field"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["series"]},"field":{"type":"string"}},"required":["role","field"],"additionalProperties":false}]}},{"type":"null"}]},"filters":{"anyOf":[{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"}]}},"required":["field","operator","value"],"additionalProperties":false}},{"type":"null"}]},"timeRange":{"anyOf":[{"type":"object","properties":{"maxAgeMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"from":{"anyOf":[{"type":"string"},{"type":"null"}]},"to":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"deduplicateServers":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["history","distribution"]},{"type":"null"}]},"groupLimit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"}]},"flowNodes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},{"type":"null"}]},"flowEdges":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}},{"type":"null"}]},"position":{"anyOf":[{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"y":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"w":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"h":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["x","y","w","h"],"additionalProperties":false},{"type":"null"}]}},"required":["name","chartType"],"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/ChartValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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":{"primaryMetric":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false},{"type":"null"}]},"metrics":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false}},{"type":"null"}]},"dimensions":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"object","properties":{"role":{"type":"string","enum":["time"]},"field":{"type":"string"},"interval":{"type":"string","enum":["minute","hour","day","week","month"]}},"required":["role","field","interval"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["group"]},"field":{"type":"string"},"limit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["role","field"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["series"]},"field":{"type":"string"}},"required":["role","field"],"additionalProperties":false}]}},{"type":"null"}]},"filters":{"anyOf":[{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"}]}},"required":["field","operator","value"],"additionalProperties":false}},{"type":"null"}]},"timeRange":{"anyOf":[{"type":"object","properties":{"maxAgeMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"from":{"anyOf":[{"type":"string"},{"type":"null"}]},"to":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"deduplicateServers":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["history","distribution"]},{"type":"null"}]},"groupLimit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"}]},"flowNodes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},{"type":"null"}]},"flowEdges":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}},{"type":"null"}]},"position":{"anyOf":[{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"y":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"w":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"h":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/ChartValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerError"},{"$ref":"#/components/schemas/MetricsDecodeError"},{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"queryConfig":{"type":"object","properties":{"primaryMetric":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false},{"type":"null"}]},"metrics":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false}},{"type":"null"}]},"dimensions":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"object","properties":{"role":{"type":"string","enum":["time"]},"field":{"type":"string"},"interval":{"type":"string","enum":["minute","hour","day","week","month"]}},"required":["role","field","interval"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["group"]},"field":{"type":"string"},"limit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["role","field"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["series"]},"field":{"type":"string"}},"required":["role","field"],"additionalProperties":false}]}},{"type":"null"}]},"filters":{"anyOf":[{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"}]}},"required":["field","operator","value"],"additionalProperties":false}},{"type":"null"}]},"timeRange":{"anyOf":[{"type":"object","properties":{"maxAgeMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"from":{"anyOf":[{"type":"string"},{"type":"null"}]},"to":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"deduplicateServers":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["history","distribution"]},{"type":"null"}]},"groupLimit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"]},"flowNodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},"flowEdges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}}},"required":["queryConfig","chartType","flowNodes","flowEdges"],"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"}]},"fusionDebug":{"anyOf":[{"type":"object","properties":{"totalCharts":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalQueries":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"flowEngineDurationMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"executionDurationMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"summary":{"type":"object","properties":{"eligibleCharts":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"fusedBatchCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"fusedChartCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"ineligibleCharts":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"unfusedEligibleCharts":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["eligibleCharts","fusedBatchCount","fusedChartCount","ineligibleCharts","unfusedEligibleCharts"],"additionalProperties":false},"batches":{"type":"array","items":{"type":"object","properties":{"order":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"kind":{"type":"string","enum":["single","fused"]},"durationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"chartIds":{"type":"array","items":{"type":"string"}},"chartNames":{"type":"array","items":{"type":"string"}},"family":{"anyOf":[{"anyOf":[{"type":"string","enum":["time-series-by-output","grouping","widget"]},{"type":"string"}]},{"type":"null"}]},"sql":{"anyOf":[{"type":"string"},{"type":"null"}]},"paramsJson":{"anyOf":[{"type":"string"},{"type":"null"}]},"datasource":{"anyOf":[{"type":"string"},{"type":"null"}]},"explainJson":{"anyOf":[{"type":"string"},{"type":"null"}]},"explainError":{"anyOf":[{"type":"string"},{"type":"null"}]},"explainDurationMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["order","kind","durationMs","chartIds","chartNames"],"additionalProperties":false}},"totalDurationMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["totalCharts","totalQueries","summary","batches","totalDurationMs"],"additionalProperties":false},{"type":"null"}]}},"required":["charts"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerError"},{"$ref":"#/components/schemas/MetricsDecodeError"},{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["type","maxAgeMs"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["absolute"]},"fromMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"toMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"}]},"fusionDebug":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"max":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["min","max"],"additionalProperties":false},{"type":"null"}]}},"required":["values"],"additionalProperties":false}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerError"},{"$ref":"#/components/schemas/MetricsDecodeError"},{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["type","maxAgeMs"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["absolute"]},"fromMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"toMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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":{"stats":{"type":"object","additionalProperties":{"type":"object","properties":{"events":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"eventsPrevious":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"eventsChange":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"users":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"usersPrevious":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"usersChange":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"errors":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"errorsPrevious":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"errorsChange":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"onlineServers":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalServers":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"onlinePlayers":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalDownloads":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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":["stats"],"additionalProperties":false}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerError"},{"$ref":"#/components/schemas/MetricsDecodeError"},{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"projectIds":{"type":"array","items":{"type":"string"}},"metrics":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["projectIds"],"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":{"primaryMetric":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false},{"type":"null"}]},"metrics":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"aggregation":{"type":"string","enum":["sum","avg","median","min","max","count"]},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["field","aggregation"],"additionalProperties":false}},{"type":"null"}]},"dimensions":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"object","properties":{"role":{"type":"string","enum":["time"]},"field":{"type":"string"},"interval":{"type":"string","enum":["minute","hour","day","week","month"]}},"required":["role","field","interval"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["group"]},"field":{"type":"string"},"limit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["role","field"],"additionalProperties":false},{"type":"object","properties":{"role":{"type":"string","enum":["series"]},"field":{"type":"string"}},"required":["role","field"],"additionalProperties":false}]}},{"type":"null"}]},"filters":{"anyOf":[{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"boolean"}]}},"required":["field","operator","value"],"additionalProperties":false}},{"type":"null"}]},"timeRange":{"anyOf":[{"type":"object","properties":{"maxAgeMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"from":{"anyOf":[{"type":"string"},{"type":"null"}]},"to":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"deduplicateServers":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["history","distribution"]},{"type":"null"}]},"groupLimit":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"}]},"flowNodes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"data":{"type":"object"},"position":{"type":"object","properties":{"x":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"y":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"additionalProperties":false}},"required":["id"],"additionalProperties":false}},{"type":"null"}]},"flowEdges":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":false}},{"type":"null"}]}},"required":["id","name","description","chartType","queryConfig","flowNodes","flowEdges"],"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/NotFoundError"}}}},"500":{"description":"InternalServerError | MetricsDecodeError | TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InternalServerError"},{"$ref":"#/components/schemas/MetricsDecodeError"},{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/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/FunnelRecord"}}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"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/FunnelRecord"}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"strictOrder":{"type":"boolean"},"timeRangeSeconds":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/FunnelDetail"}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"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/FunnelRecord"}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"strictOrder":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"timeRangeSeconds":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/FunnelValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/FunnelRecord"}}}},"400":{"description":"FunnelValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/DataSourceRecord"}}}}},"400":{"description":"DataSourceValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"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/DataSourceRecord"}}}},"400":{"description":"DataSourceValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"referenceId":{"type":"string","allOf":[{"minLength":1},{"pattern":"^[a-z0-9_]+$"}]},"dataType":{"type":"string","enum":["number","string","boolean"]},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"maxValue":{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/DataSourceRecord"}}}},"400":{"description":"DataSourceValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"referenceId":{"anyOf":[{"type":"string","allOf":[{"minLength":1},{"pattern":"^[a-z0-9_]+$"}]},{"type":"null"}]},"dataType":{"anyOf":[{"type":"string","enum":["number","string","boolean"]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"maxValue":{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/DataSourceValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/NetworkRuleRecord"}}}}},"400":{"description":"NetworkRuleValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}},"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/NetworkRuleRecord"}}}},"400":{"description":"NetworkRuleValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRuleValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/NetworkRuleValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/NotificationRecord"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NotificationError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/v0/notifications/unread-count":{"get":{"tags":["Notifications"],"operationId":"Notifications.getUnreadNotificationCount","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"NotificationUnreadCount","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationUnreadCount"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NotificationError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/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/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NotificationError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/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/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NotificationError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/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/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NotificationError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/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/NotificationEmailPreference"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NotificationError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}},"put":{"tags":["Notifications"],"operationId":"Notifications.updateNotificationEmailPreferences","parameters":[],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NotificationEmailPreference"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"NotificationError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NotificationError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"preferences":{"type":"array","items":{"$ref":"#/components/schemas/NotificationEmailPreference"}}},"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/DownloadAnalyticsResponse"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/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/DownloadProviderRecord"}}}}},"400":{"description":"DownloadProviderError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}},"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/DownloadProviderRecord"}}}},"400":{"description":"DownloadProviderError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}},"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/DownloadProviderSearchResult"}}}}},"400":{"description":"DownloadProviderError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/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/DownloadProviderStatus"}}}},"400":{"description":"DownloadProviderError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadProviderError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/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/DownloadProviderError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"}]}}}}}}},"/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/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"502":{"description":"CloudflareImageError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudflareImageError"}}}}},"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/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"502":{"description":"CloudflareImageError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudflareImageError"}}}}},"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":"filters","in":"query","schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/RetentionFilter"}},{"type":"null"}]},"required":false},{"name":"filterMatch","in":"query","schema":{"anyOf":[{"type":"string","enum":["all","any"]},{"type":"null"}]},"required":false},{"name":"source","in":"query","schema":{"type":"string","enum":["web","mods"]},"required":true}],"security":[{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RetentionCohortData"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/RetentionDriverData"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/EventExplorerResult"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/EventMarkerValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/EventMarkerValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/EventMarkerValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/EventMarkerValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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":[{"anyOf":[{"type":"string","allOf":[{"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":{"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/EventMarkerValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/EventMarkerValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/EventMarkerValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/EventMarkerValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/EventMarkerValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/FeatureFlagRecord"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}},"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/FeatureFlagRecord"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/FeatureFlagRecord"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}}},"/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/ResetFeatureFlagStatesResult"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}}},"/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","allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"toTime","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","allOf":[{"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/FeatureFlagStatsRecord"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}}},"/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","allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"toTime","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","allOf":[{"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/FeatureFlagSummaryRecord"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}}},"/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","allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"toTime","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","allOf":[{"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","allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"required":false},{"name":"offset","in":"query","schema":{"anyOf":[{"anyOf":[{"type":"string","allOf":[{"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/FeatureFlagEvaluationRecord"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}}},"/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/FeatureFlagGroupRecord"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}},"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/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}},"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/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}}},"/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/FeatureFlagUserGrantRecord"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}},"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/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}},"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/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}},"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/FeatureFlagUserStateRecord"}}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}}}},"/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/TestFeatureFlagResult"}}}},"400":{"description":"FeatureFlagValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"TinybirdError | EffectDrizzleQueryError | effect/sql/SqlError","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinybirdError"},{"$ref":"#/components/schemas/EffectDrizzleQueryError"},{"$ref":"#/components/schemas/effect_sql_SqlError"}]}}}}},"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}}},"/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/UserListItem"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/UsersActiveTimeseriesRow"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/UsersBreakdown"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/UserListItem"},{"type":"null"}]}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/UserActivityDay"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/UserSessionEvent"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/UserErrorOccurrence"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}},"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/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/WebVitalData"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/BuildDeploymentData"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/WebVitalsTrendPoint"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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/WebVitalsMetricSummary"}}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}}}}},"/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":"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":"array","items":{"$ref":"#/components/schemas/SessionReplayListItem"}}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}},"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/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}}},"/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":"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}}},"/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/ReplayCollectionRecord"}}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}},"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/ReplayCollectionRecord"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxEventCount":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"minDurationMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxDurationMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/ReplayCollectionRecord"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}},"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxEventCount":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"minDurationMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxDurationMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}}},"/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/ReplayCollectionAssignmentsResponse"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}},"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/ReplayCollectionAssignmentsResponse"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}},"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/ReplayEventsPageResponse"}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}}},"/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/SessionError"}}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}}},"/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/SessionVital"}}}}},"400":{"description":"SessionReplaysValidationError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}}},"/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/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}}},"/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/SessionReplaysValidationError"}}}},"401":{"description":"UnauthorizedError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"ForbiddenError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"NotFoundError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"500":{"description":"InternalServerError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}}}}}},"components":{"schemas":{"PublicProjectStatsRecord":{"type":"object","properties":{"projectId":{"type":"string"},"name":{"type":"string"},"onlineServers":{"type":"number","allOf":[{"minimum":0}]},"totalServers7d":{"type":"number","allOf":[{"minimum":0}]},"onlinePlayers":{"type":"number","allOf":[{"minimum":0}]}},"required":["projectId","name","onlineServers","totalServers7d","onlinePlayers"],"additionalProperties":false,"description":"Public project activity stats."},"NotFoundError":{"type":"object","properties":{"_tag":{"type":"string","enum":["NotFoundError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ProjectValidationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["ProjectValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ProjectConflictError":{"type":"object","properties":{"_tag":{"type":"string","enum":["ProjectConflictError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"UnauthorizedError":{"type":"object","properties":{"_tag":{"type":"string","enum":["UnauthorizedError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ForbiddenError":{"type":"object","properties":{"_tag":{"type":"string","enum":["ForbiddenError"]},"message":{"type":"string"},"code":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["_tag","message"],"additionalProperties":false},"DashboardRecord":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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},"DashboardValidationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["DashboardValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ChartValidationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["ChartValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"InternalServerError":{"type":"object","properties":{"_tag":{"type":"string","enum":["InternalServerError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"MetricsDecodeError":{"type":"object","properties":{"_tag":{"type":"string","enum":["MetricsDecodeError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"TinybirdError":{"type":"object","properties":{"_tag":{"type":"string","enum":["TinybirdError"]},"message":{"type":"string"},"cause":{"anyOf":[{},{"type":"null"}]}},"required":["_tag","message"],"additionalProperties":false},"EffectDrizzleQueryError":{"type":"object","properties":{"_tag":{"type":"string","enum":["EffectDrizzleQueryError"]},"query":{"type":"string"},"params":{"type":"array"},"cause":{}},"required":["_tag","query","params","cause"],"additionalProperties":false},"FunnelRecord":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"strictOrder":{"type":"boolean"},"timeRangeSeconds":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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},"FunnelValidationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["FunnelValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"FunnelStepResult":{"type":"object","properties":{"count":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"conversionRate":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"dropOffRate":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["count","conversionRate","dropOffRate"],"additionalProperties":false},"FunnelDetail":{"type":"object","properties":{"funnel":{"$ref":"#/components/schemas/FunnelRecord"},"baselineCount":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"steps":{"type":"array","items":{"$ref":"#/components/schemas/FunnelStepResult"}}},"required":["funnel","steps"],"additionalProperties":false},"DataSourceRecord":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"name":{"type":"string"},"referenceId":{"type":"string"},"dataType":{"type":"string","enum":["number","string","boolean"]},"regex":{"anyOf":[{"type":"string"},{"type":"null"}]},"allowNegative":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"allowFloat":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"minValue":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxValue":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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","referenceId","dataType","regex","allowNegative","allowFloat","minValue","maxValue","isArray","metricShape","createdAt","updatedAt"],"additionalProperties":false},"DataSourceValidationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["DataSourceValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"NetworkRuleRecord":{"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},"NetworkRuleValidationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["NetworkRuleValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"NotificationRecord":{"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},"NotificationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["NotificationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"NotificationUnreadCount":{"type":"object","properties":{"count":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["count"],"additionalProperties":false},"NotificationEmailPreference":{"type":"object","properties":{"type":{"type":"string","enum":["organization_invite","error_assignment","error_comment"]},"emailEnabled":{"type":"boolean"}},"required":["type","emailEnabled"],"additionalProperties":false},"DownloadAnalyticsOverview":{"type":"object","properties":{"totalDownloads":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"providersTracked":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"projectsTracked":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"latestSnapshotAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["totalDownloads","providersTracked","projectsTracked","latestSnapshotAt"],"additionalProperties":false},"DownloadHistoryPoint":{"type":"object","properties":{"bucket":{"type":"string"},"downloads":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"gained":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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},"DownloadAnalyticsPoint":{"type":"object","properties":{"bucket":{"type":"string"},"downloads":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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},"DownloadProviderSummary":{"type":"object","properties":{"provider":{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},"downloads":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"latestSnapshotAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"followers":{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"views":{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"watchers":{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"stars":{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]},"thumbsUpCount":{"anyOf":[{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]}},"required":["provider","downloads","latestSnapshotAt"],"additionalProperties":false},"DownloadVersionRow":{"type":"object","properties":{"provider":{"type":"string","enum":["modrinth","spigot","hangar","ore","curseforge","github"]},"externalId":{"type":"string"},"versionId":{"type":"string"},"versionNumber":{"type":"string"},"downloads":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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},"DownloadAnalyticsResponse":{"type":"object","properties":{"overview":{"$ref":"#/components/schemas/DownloadAnalyticsOverview"},"history":{"type":"array","items":{"$ref":"#/components/schemas/DownloadHistoryPoint"}},"providerBreakdown":{"type":"array","items":{"$ref":"#/components/schemas/DownloadAnalyticsPoint"}},"providerSummaries":{"type":"array","items":{"$ref":"#/components/schemas/DownloadProviderSummary"}},"versions":{"type":"array","items":{"$ref":"#/components/schemas/DownloadVersionRow"}}},"required":["overview","history","providerBreakdown","providerSummaries","versions"],"additionalProperties":false},"DownloadProviderRecord":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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},"DownloadProviderError":{"type":"object","properties":{"_tag":{"type":"string","enum":["DownloadProviderError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"DownloadProviderSearchResult":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},{"type":"null"}]}},"required":["provider","externalId","title"],"additionalProperties":false},"DownloadProviderStatus":{"type":"object","properties":{"linked":{"type":"boolean"}},"required":["linked"],"additionalProperties":false},"CloudflareImageError":{"type":"object","properties":{"_tag":{"type":"string","enum":["CloudflareImageError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"RetentionFilter":{"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":[{"anyOf":[{"type":"string","allOf":[{"pattern":"^[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?$"}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"string","enum":["true","false"]},{"type":"string"}]},"dataType":{"type":"string","enum":["string","number","boolean"]}},"required":["field","operator","value","dataType"],"additionalProperties":false},"RetentionCohortPeriod":{"type":"object","properties":{"period":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"usersRetained":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"retentionRate":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["period","usersRetained","retentionRate"],"additionalProperties":false},"RetentionCohortData":{"type":"object","properties":{"cohort":{"type":"string"},"cohortDate":{"type":"string"},"users":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"periods":{"type":"array","items":{"$ref":"#/components/schemas/RetentionCohortPeriod"}}},"required":["cohort","cohortDate","users","periods"],"additionalProperties":false},"RetentionDriverData":{"type":"object","properties":{"source":{"type":"string","enum":["web","mods"]},"field":{"type":"string"},"value":{"type":"string"},"cohortUsers":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"retainedUsers":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"retentionRate":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"baselineRate":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"deltaPoints":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"impactScore":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["source","field","value","cohortUsers","retainedUsers","retentionRate","baselineRate","deltaPoints","impactScore"],"additionalProperties":false},"EventExplorerRow":{"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},"EventExplorerResult":{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/components/schemas/EventExplorerRow"}},"total":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"page":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"pageSize":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["rows","total","page","pageSize"],"additionalProperties":false},"EventMarkerValidationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["EventMarkerValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"EventMarkerTimestampInput":{"anyOf":[{"type":"string"},{"type":"string"},{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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."},"FeatureFlagConditionRecord":{"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},"FeatureFlagConditionSetRecord":{"type":"object","properties":{"id":{"type":"string"},"featureFlagId":{"type":"string"},"resultOptionKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"sortOrder":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"createdAt":{"type":"string"},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagConditionRecord"}}},"required":["id","featureFlagId","resultOptionKey","sortOrder","createdAt","conditions"],"additionalProperties":false},"FeatureFlagVariantRecord":{"type":"object","properties":{"id":{"type":"string"},"featureFlagId":{"type":"string"},"key":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"value":{"type":"string"},"weight":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"isDefault":{"type":"boolean"},"sortOrder":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"createdAt":{"type":"string"}},"required":["id","featureFlagId","key","label","value","weight","isDefault","sortOrder","createdAt"],"additionalProperties":false},"FeatureFlagGroupAccessRecord":{"type":"object","properties":{"id":{"type":"string"},"featureFlagId":{"type":"string"},"groupId":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","featureFlagId","groupId","createdAt"],"additionalProperties":false},"FeatureFlagRecord":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"hashSeed":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"enabledIdentifierCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"disabledIdentifierCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"conditionSets":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagConditionSetRecord"}},"variants":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagVariantRecord"}},"groupAccess":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagGroupAccessRecord"}},"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},"FeatureFlagValidationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["FeatureFlagValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"effect_sql_SqlError_ConnectionError":{"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_AuthenticationError":{"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_AuthorizationError":{"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_SqlSyntaxError":{"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_UniqueViolation":{"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_ConstraintError":{"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_DeadlockError":{"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_SerializationError":{"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_LockTimeoutError":{"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_StatementTimeoutError":{"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_UnknownError":{"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_SqlError":{"type":"object","properties":{"_tag":{"type":"string","enum":["SqlError"]},"reason":{"anyOf":[{"$ref":"#/components/schemas/effect_sql_SqlError_ConnectionError"},{"$ref":"#/components/schemas/effect_sql_SqlError_AuthenticationError"},{"$ref":"#/components/schemas/effect_sql_SqlError_AuthorizationError"},{"$ref":"#/components/schemas/effect_sql_SqlError_SqlSyntaxError"},{"$ref":"#/components/schemas/effect_sql_SqlError_UniqueViolation"},{"$ref":"#/components/schemas/effect_sql_SqlError_ConstraintError"},{"$ref":"#/components/schemas/effect_sql_SqlError_DeadlockError"},{"$ref":"#/components/schemas/effect_sql_SqlError_SerializationError"},{"$ref":"#/components/schemas/effect_sql_SqlError_LockTimeoutError"},{"$ref":"#/components/schemas/effect_sql_SqlError_StatementTimeoutError"},{"$ref":"#/components/schemas/effect_sql_SqlError_UnknownError"}]}},"required":["_tag","reason"],"additionalProperties":false},"ResetFeatureFlagStatesResult":{"type":"object","properties":{"deletedCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["deletedCount"],"additionalProperties":false},"FeatureFlagStatsRecord":{"type":"object","properties":{"date":{"type":"string"},"variantKey":{"type":"string"},"variantValue":{"anyOf":[{"type":"string"},{"type":"null"}]},"count":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"bucketStart":{"type":"string"}},"required":["date","variantKey","variantValue","count","bucketStart"],"additionalProperties":false},"FeatureFlagVariantSummaryRecord":{"type":"object","properties":{"variantKey":{"type":"string"},"variantValue":{"anyOf":[{"type":"string"},{"type":"null"}]},"identifierCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["variantKey","variantValue","identifierCount"],"additionalProperties":false},"FeatureFlagSummaryRecord":{"type":"object","properties":{"totalIdentifiers":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"variants":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagVariantSummaryRecord"}}},"required":["totalIdentifiers","variants"],"additionalProperties":false},"FeatureFlagEvaluationRecord":{"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},"FeatureFlagGroupConditionRecord":{"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},"FeatureFlagGroupMemberRecord":{"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},"FeatureFlagGroupRecord":{"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/FeatureFlagGroupConditionRecord"}},"members":{"type":"array","items":{"$ref":"#/components/schemas/FeatureFlagGroupMemberRecord"}},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","projectId","name","description","type","conditionMatcher","conditions","members","createdAt","updatedAt"],"additionalProperties":false},"FeatureFlagUserGrantRecord":{"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},"FeatureFlagUserStateRecord":{"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},"TestFeatureFlagResult":{"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},"UserListItem":{"type":"object","properties":{"userKey":{"type":"string"},"userId":{"type":"string"},"userIds":{"type":"array","items":{"type":"string"}},"firstSeen":{"type":"string"},"lastSeen":{"type":"string"},"eventCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeDays":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"browser":{"type":"string"},"os":{"type":"string"},"country":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["userKey","userId","userIds","firstSeen","lastSeen","eventCount","activeDays","browser","os","country","device","externalId","email","name","phone","avatarUrl","traits"],"additionalProperties":false},"UsersActiveTimeseriesRow":{"type":"object","properties":{"date":{"type":"string"},"dau":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"mau":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["date","dau","mau"],"additionalProperties":false},"UsersCohortStats":{"type":"object","properties":{"totalEvents":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgEvents":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeToday":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalTrend":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalEventsTrend":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgEventsTrend":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeTodayTrend":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["totalEvents","avgEvents","activeToday","totalTrend","totalEventsTrend","avgEventsTrend","activeTodayTrend"],"additionalProperties":false},"UsersBreakdown":{"type":"object","properties":{"total":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"identified":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"anonymous":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalEvents":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgEvents":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeToday":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalTrend":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"totalEventsTrend":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"avgEventsTrend":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"activeTodayTrend":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"identifiedStats":{"$ref":"#/components/schemas/UsersCohortStats"},"anonymousStats":{"$ref":"#/components/schemas/UsersCohortStats"}},"required":["total","identified","anonymous","totalEvents","avgEvents","activeToday","totalTrend","totalEventsTrend","avgEventsTrend","activeTodayTrend","identifiedStats","anonymousStats"],"additionalProperties":false},"UserActivityDay":{"type":"object","properties":{"date":{"type":"string"},"eventCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["date","eventCount"],"additionalProperties":false},"UserSessionEvent":{"type":"object","properties":{"userId":{"type":"string"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"data":{"type":"object"},"createdAt":{"type":"string"}},"required":["userId","sessionId","data","createdAt"],"additionalProperties":false},"UserErrorOccurrence":{"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},"WebVitalData":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"metric":{"type":"string"},"value":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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},"BuildDeploymentData":{"type":"object","properties":{"buildId":{"type":"string"},"deployedAt":{"type":"string"}},"required":["buildId","deployedAt"],"additionalProperties":false},"WebVitalsTrendPoint":{"type":"object","properties":{"bucketStart":{"type":"string"},"metric":{"type":"string"},"samples":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p75":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p90":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p95":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p99":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["bucketStart","metric","samples","p75","p90","p95","p99"],"additionalProperties":false},"WebVitalsMetricSummary":{"type":"object","properties":{"metric":{"type":"string"},"samples":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"good":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"needsImprovement":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"poor":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"goodPct":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"needsImprovementPct":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"poorPct":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p75":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p90":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"p99":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["metric","samples","good","needsImprovement","poor","goodPct","needsImprovementPct","poorPct","p75","p90","p99"],"additionalProperties":false},"SessionReplayListItem":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"snapshotCount":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"actualDuration":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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"}},"required":["sessionId","windowId","identifier","externalId","email","name","startedAt","endedAt","eventCount","snapshotCount","actualDuration","isComplete","browser","country","os","viewed"],"additionalProperties":false},"SessionReplaysValidationError":{"type":"object","properties":{"_tag":{"type":"string","enum":["SessionReplaysValidationError"]},"message":{"type":"string"}},"required":["_tag","message"],"additionalProperties":false},"ReplayCollectionRecord":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxEventCount":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"minDurationMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"maxDurationMs":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["id","projectId","name","mode","filterConfig","position","defaultKey","createdBy","updatedBy","createdAt","updatedAt"],"additionalProperties":false},"ReplayCollectionAssignmentsResponse":{"type":"object","properties":{"sessionId":{"type":"string"},"windowId":{"type":"string"},"collectionIds":{"type":"array","items":{"type":"string"}}},"required":["sessionId","windowId","collectionIds"],"additionalProperties":false},"ReplayEventsPageResponse":{"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":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"to":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"count":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]}},"required":["route","from","to","count"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"sequence":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"firstEventTimestampMs":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"createdAt":{"type":"string"}},"required":["id","sequence","firstEventTimestampMs","createdAt"],"additionalProperties":false},{"type":"null"}]},"hasMore":{"type":"boolean"},"loadedFrom":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]},"loadedTo":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},{"type":"null"}]}},"required":["sessionId","windowId","events","routeSpans","nextCursor","hasMore","loadedFrom","loadedTo"],"additionalProperties":false},"SessionError":{"type":"object","properties":{"id":{"type":"string"},"errorId":{"type":"string"},"count":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"type":"string","enum":["Infinity","-Infinity","NaN"]}]},"errorName":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","errorId","count","errorName","createdAt"],"additionalProperties":false},"SessionVital":{"type":"object","properties":{"id":{"type":"string"},"metric":{"type":"string"},"value":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","enum":["NaN"]},{"type":"string","enum":["Infinity"]},{"type":"string","enum":["-Infinity"]}]},{"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}},"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"}],"servers":[{"url":"https://api.faststats.dev"}]}