{"openapi":"3.1.0","info":{"title":"APImetrics","description":"API for the APImetrics platform","termsOfService":"http://apimetrics.io/tos/","contact":{"name":"APIContext Support","url":"https://apicontext.io/","email":"support@apicontext.com"},"license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"version":"0.1.0"},"paths":{"/api/3/project/analytics/calls-monthly":{"get":{"tags":["Analytics"],"summary":"Project-Calls-Monthly","operationId":"project-calls-monthly","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"accept","in":"header","required":false,"schema":{"type":"string","title":"Accept"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCallsMonthly"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/analytics/slow-calls-daily":{"get":{"tags":["Analytics"],"summary":"Org-Slow-Calls-Daily-Csv","operationId":"org-slow-calls-daily-csv","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"thresholds","in":"query","required":false,"schema":{"type":"array","items":{"type":"integer"},"minItems":2,"examples":[[700,800,900,1000,2000]],"title":"Thresholds"}},{"name":"accept","in":"header","required":false,"schema":{"type":"string","title":"Accept"}}],"responses":{"200":{"description":"Download a CSV file with the slow calls data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgSlowCallsDaily"}},"text/csv":{"example":"day,project_id,pass_count,slow700_count,slow800_count,slow1000_count,slow2000_count,slow9000_count,warn_count,fail_count,total\n2024-07-02,Test New,263,0,0,0,0,0,0,0,263\n2024-07-02,API Drift White Paper II,186,0,8,63,1,0,0,0,258\n2024-07-02,APImetrics APIs,708,1,0,0,0,0,0,0,709\n"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/analytics/slow-calls-monthly":{"get":{"tags":["Analytics"],"summary":"Org-Slow-Calls-Monthly","operationId":"org-slow-calls-monthly","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"thresholds","in":"query","required":false,"schema":{"type":"array","items":{"type":"integer"},"minItems":2,"examples":[[700,800,900,1000,2000]],"title":"Thresholds"}},{"name":"accept","in":"header","required":false,"schema":{"type":"string","title":"Accept"}}],"responses":{"200":{"description":"Download a CSV file with the slow calls data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgSlowCallsMonthly"}},"text/csv":{"example":"month,project_id,pass_count,slow700_count,slow800_count,slow1000_count,slow2000_count,slow9000_count,warn_count,fail_count,total\n2024-07-01,Test New,4955,0,0,0,0,0,0,0,4955\n2024-07-01,API Drift White Paper II,3301,1,239,941,4,0,7,436,4929\n2024-07-01,APImetrics APIs,4739,9,2,2,1,0,0,0,4753\n"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/calls/{call_id}/update-kms-helper":{"post":{"tags":["Calls"],"summary":"Update-Kms-Helper","description":"Create a new KMS helper API call based on an existing old helper API call.","operationId":"update-kms-helper","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"API Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Update-Kms-Helper"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/baseline/dailies/{date}":{"get":{"tags":["Baseline"],"summary":"Baseline-Dailies","operationId":"baseline-dailies","parameters":[{"name":"date","in":"path","required":true,"schema":{"type":"string","format":"date","title":"Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Baseline-Dailies"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/baseline/hourlies":{"get":{"tags":["Baseline"],"summary":"Baseline-Hourlies","operationId":"baseline-hourlies","parameters":[{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Start"}},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Baseline-Hourlies"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/billing/usage-counts":{"get":{"tags":["Billing"],"summary":"Org-Billing-Usage-Counts","operationId":"org-billing-usage-counts","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}},{"name":"months","in":"query","required":false,"schema":{"type":"integer","maximum":24,"minimum":1,"default":6,"title":"Months"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageCountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/billing/quota":{"get":{"tags":["Billing"],"summary":"Org-Billing-Quota","operationId":"org-billing-quota","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/projects/billing/usage-counts":{"get":{"tags":["Billing"],"summary":"Project-Billing-Usage-Counts","operationId":"project-billing-usage-counts","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"months","in":"query","required":false,"schema":{"type":"integer","maximum":24,"minimum":1,"default":6,"title":"Months"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageCountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/projects/billing/quota":{"get":{"tags":["Billing"],"summary":"Project-Billing-Quota","operationId":"project-billing-quota","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/monitors/browser/":{"get":{"tags":["Browser Monitors"],"summary":"List all Browser Monitors for a project","operationId":"list-browser-monitors","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserTestSetupListResults"},"examples":{"list":{"summary":"A project's Browser monitors","value":{"results":[{"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIXCxILQnJvd3NlckNhbGwYgICA","meta":{"monitor_type":"www","name":"Check homepage","tags":[],"domain":"example.com","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"setup":{"url":"https://example.com/","browser_types":["chromium"]}}]}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Browser Monitors"],"summary":"Create a new Browser Monitor","operationId":"create-browser-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api3__monitors__browser__api_models__CreateRequest"},"examples":{"basic":{"summary":"Monitor a page using the default browser","value":{"name":"Check homepage","tags":[],"workspace":"global","url":"https://example.com"}},"multi_browser":{"summary":"Monitor across multiple browsers","value":{"name":"Cross-browser checkout check","tags":["checkout","critical"],"workspace":"global","url":"https://shop.example.com/checkout","browser_types":["chromium","firefox"]}}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserTestSetupRepr"},"examples":{"chromium":{"summary":"Browser monitor targeting Chromium","value":{"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIXCxILQnJvd3NlckNhbGwYgICA","meta":{"monitor_type":"www","name":"Check homepage","tags":[],"domain":"example.com","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"setup":{"url":"https://example.com/","browser_types":["chromium"]}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/monitors/browser/{monitor_id}":{"get":{"tags":["Browser Monitors"],"summary":"Read a Browser Monitor by ID","operationId":"read-browser-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Browser Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserTestSetupRepr"},"examples":{"chromium":{"summary":"Browser monitor targeting Chromium","value":{"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIXCxILQnJvd3NlckNhbGwYgICA","meta":{"monitor_type":"www","name":"Check homepage","tags":[],"domain":"example.com","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"setup":{"url":"https://example.com/","browser_types":["chromium"]}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Browser Monitors"],"summary":"Update an existing Browser Monitor","operationId":"update-browser-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Browser Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api3__monitors__browser__api_models__UpdateRequest"},"examples":{"rename":{"summary":"Rename the monitor","value":{"meta":{"name":"Updated homepage monitor"}}},"change_setup":{"summary":"Update target URL and browsers","value":{"setup":{"url":"https://new.example.com","browser_types":["chromium","webkit"]}}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserTestSetupRepr"},"examples":{"chromium":{"summary":"Browser monitor targeting Chromium","value":{"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIXCxILQnJvd3NlckNhbGwYgICA","meta":{"monitor_type":"www","name":"Check homepage","tags":[],"domain":"example.com","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"setup":{"url":"https://example.com/","browser_types":["chromium"]}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Browser Monitors"],"summary":"Delete an existing Browser Monitor","operationId":"delete-browser-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Browser Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/certificates/":{"get":{"tags":["Certificates"],"summary":"List-Certificates","description":"List metadata for all of an org's Certificates.","operationId":"list-certificates","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateListResults"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Certificates"],"summary":"Create-Certificate","description":"Create a new Certificate.","operationId":"create-certificate","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api3__certificates__api_models__CreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateMetadata"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/certificates/{certificate_id}":{"get":{"tags":["Certificates"],"summary":"Read-Certificate","description":"Read an existing Certificate.","operationId":"read-certificate","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"certificate_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID"}},{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateMetadata"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Certificates"],"summary":"Update-Certificate","description":"Update an existing Certificate.","operationId":"update-certificate","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"certificate_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID"}},{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api3__certificates__api_models__UpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateMetadata"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Certificates"],"summary":"Delete-Certificate","description":"Delete an existing Certificate.","operationId":"delete-certificate","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"certificate_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID"}},{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/external/ingest/{source}":{"post":{"tags":["External Sources"],"summary":"Ingest-External-Source","operationId":"ingest-external-source","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string","title":"Source"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Ingest-External-Source"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/files/oas":{"post":{"tags":["Files"],"summary":"Upload-New-Oas","description":"Upload a new OpenAPI spec.","operationId":"upload-new-oas","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload-new-oas"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/files/oas_url":{"post":{"tags":["Files"],"summary":"Upload-New-Oas-From-Url","description":"Upload a new OpenAPI spec.","operationId":"upload-new-oas-from-url","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadUrl"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/governance/changes":{"get":{"tags":["Governance"],"summary":"List-Changes","description":"Return a list of changes within the given time range.","operationId":"list-changes","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"from_timestamp","in":"query","required":true,"schema":{"type":"string","title":"From Timestamp"}},{"name":"to_timestamp","in":"query","required":true,"schema":{"type":"string","title":"To Timestamp"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/governance/conformance/{spec}/endpoints":{"post":{"tags":["Governance"],"summary":"Manage-Endpoint-Classification","description":"Manage the classification of endpoints for a given spec","operationId":"manage-endpoint-classification","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"spec","in":"path","required":true,"schema":{"type":"string","title":"Spec"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointClassificationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Governance"],"summary":"Get-Endpoint-Classifications","description":"Manage the classification of endpoints for a given spec","operationId":"get-endpoint-classifications","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"spec","in":"path","required":true,"schema":{"type":"string","title":"Spec"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/governance/conformance/results":{"get":{"tags":["Governance"],"summary":"Conformance-Results","description":"Query the conformance results","operationId":"conformance-results","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"resolved","in":"query","required":false,"schema":{"type":"boolean","title":"Include resolved results","default":false}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/governance/conformance/data-checks":{"get":{"tags":["Governance"],"summary":"List-Data-Checks","description":"List data checks for the given project","operationId":"list-data-checks","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/governance/conformance/data-checks/{check_name}":{"put":{"tags":["Governance"],"summary":"Put-Data-Check","description":"Create or update data check with the given name","operationId":"put-data-check","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"check_name","in":"path","required":true,"schema":{"type":"string","title":"Check Name"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataCheckPutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Governance"],"summary":"Delete-Data-Check","description":"Delete data check with the given name","operationId":"delete-data-check","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"check_name","in":"path","required":true,"schema":{"type":"string","title":"Check Name"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/governance/conformance/results/summary":{"get":{"tags":["Governance"],"summary":"Conformance-Results-Summary","description":"Query the latest conformance result summary for a project","operationId":"conformance-results-summary","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/governance/conformance/resolution":{"post":{"tags":["Governance"],"summary":"Update-Resolution","description":"Update the resolution status for a conformance result","operationId":"update-resolution","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConformanceResolutionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/governance/conformance/results/evaluate":{"post":{"tags":["Governance"],"summary":"Evaluate-Most-Recent","description":"Run conformance checks and summary calculation on the most recent calls","operationId":"evaluate-most-recent","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/governance/conformance/settings":{"get":{"tags":["Governance"],"summary":"List-Settings","description":"Retrieve the conformance settings for a project","operationId":"list-settings","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Governance"],"summary":"Put-Settings","description":"Insert or update conformance settings for a project","operationId":"put-settings","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConformanceSettingsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/integrations/":{"get":{"tags":["Integrations"],"summary":"List-Integrations-For-Org","operationId":"list-integrations-for-org","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReadIntegration"},"title":"Response List-Integrations-For-Org"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Integrations"],"summary":"Create-Integration","operationId":"create-integration","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIntegration"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadIntegration"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/integrations/{id}":{"get":{"tags":["Integrations"],"summary":"Get-Integration-By-Id","operationId":"get-integration-by-id","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadIntegration"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Integrations"],"summary":"Update-Integration","operationId":"update-integration","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIntegration"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadIntegration"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Integrations"],"summary":"Delete-Integration","operationId":"delete-integration","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/integrations/datadog/authenticate":{"post":{"tags":["Integrations"],"summary":"Authenticate-Datadog-Integration","operationId":"authenticate-datadog-integration","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"code_verifier","in":"query","required":true,"schema":{"type":"string","title":"Code Verifier"}},{"name":"domain","in":"query","required":true,"schema":{"type":"string","title":"Domain"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","title":"Redirect Uri"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/inventory":{"get":{"tags":["Inventory"],"summary":"List-Inventory","description":"Return a list of discovered endpoints.","operationId":"list-inventory","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"from_timestamp","in":"query","required":true,"schema":{"type":"string","title":"From Timestamp"}},{"name":"to_timestamp","in":"query","required":true,"schema":{"type":"string","title":"To Timestamp"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List-Inventory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/inventory/coverage":{"get":{"tags":["Inventory"],"summary":"Oas-Coverage","description":"Return API call coverage data for OpenAPI endpoints.","operationId":"oas-coverage","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"from_timestamp","in":"query","required":true,"schema":{"type":"string","title":"From Timestamp"}},{"name":"to_timestamp","in":"query","required":true,"schema":{"type":"string","title":"To Timestamp"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Oas-Coverage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/inventory/endpoints/{file_id}":{"get":{"tags":["Inventory"],"summary":"Oas-Endpoints","description":"Return a list of endpoints for the requested OpenAPI spec.","operationId":"oas-endpoints","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","title":"File Id"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Oas-Endpoints"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/monitors/mcp/":{"get":{"tags":["MCP Monitors"],"summary":"List all MCP Monitors for a project","operationId":"list-mcp-monitors","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpTestSetupListResults"},"examples":{"list":{"summary":"A project's MCP monitors","value":{"results":[{"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIWCxILTWNwVGVzdFNldHVwGICAgICA","meta":{"monitor_type":"mcp","name":"Check tools endpoint","tags":[],"domain":"mcp.example.com","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"setup":{"url":"https://mcp.example.com/sse","overall_timeout_ms":30000,"steps":[{"timeout_ms":10000,"wait_ms":0,"step_type":"list_tools"}]}}]}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["MCP Monitors"],"summary":"Create a new MCP Monitor","operationId":"create-mcp-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api3__monitors__mcp__api_models__CreateRequest"},"examples":{"list_tools":{"summary":"Monitor that lists available tools","value":{"name":"Check tools endpoint","tags":[],"workspace":"global","url":"https://mcp.example.com/sse","overall_timeout_ms":30000,"steps":[{"timeout_ms":10000,"wait_ms":0,"step_type":"list_tools"}]}},"call_tool":{"summary":"Monitor that calls a specific tool","value":{"name":"Echo health check","tags":[],"workspace":"global","url":"https://mcp.example.com/sse","overall_timeout_ms":60000,"steps":[{"timeout_ms":10000,"wait_ms":0,"step_type":"list_tools"},{"timeout_ms":15000,"wait_ms":0,"step_type":"call_tool","tool_name":"echo","parameters":{"message":"ping"}}]}}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpTestSetupRepr"},"examples":{"list_tools":{"summary":"Monitor that lists available MCP tools","value":{"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIWCxILTWNwVGVzdFNldHVwGICAgICA","meta":{"monitor_type":"mcp","name":"Check tools endpoint","tags":[],"domain":"mcp.example.com","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"setup":{"url":"https://mcp.example.com/sse","overall_timeout_ms":30000,"steps":[{"timeout_ms":10000,"wait_ms":0,"step_type":"list_tools"}]}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/monitors/mcp/{monitor_id}":{"get":{"tags":["MCP Monitors"],"summary":"Read an MCP Monitor by ID","operationId":"read-mcp-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"MCP Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpTestSetupRepr"},"examples":{"list_tools":{"summary":"Monitor that lists available MCP tools","value":{"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIWCxILTWNwVGVzdFNldHVwGICAgICA","meta":{"monitor_type":"mcp","name":"Check tools endpoint","tags":[],"domain":"mcp.example.com","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"setup":{"url":"https://mcp.example.com/sse","overall_timeout_ms":30000,"steps":[{"timeout_ms":10000,"wait_ms":0,"step_type":"list_tools"}]}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["MCP Monitors"],"summary":"Update an existing MCP Monitor","operationId":"update-mcp-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"MCP Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api3__monitors__mcp__api_models__CreateRequest"},"examples":{"list_tools":{"summary":"Monitor that lists available tools","value":{"name":"Check tools endpoint","tags":[],"workspace":"global","url":"https://mcp.example.com/sse","overall_timeout_ms":30000,"steps":[{"timeout_ms":10000,"wait_ms":0,"step_type":"list_tools"}]}},"call_tool":{"summary":"Monitor that calls a specific tool","value":{"name":"Echo health check","tags":[],"workspace":"global","url":"https://mcp.example.com/sse","overall_timeout_ms":60000,"steps":[{"timeout_ms":10000,"wait_ms":0,"step_type":"list_tools"},{"timeout_ms":15000,"wait_ms":0,"step_type":"call_tool","tool_name":"echo","parameters":{"message":"ping"}}]}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpTestSetupRepr"},"examples":{"list_tools":{"summary":"Monitor that lists available MCP tools","value":{"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIWCxILTWNwVGVzdFNldHVwGICAgICA","meta":{"monitor_type":"mcp","name":"Check tools endpoint","tags":[],"domain":"mcp.example.com","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"setup":{"url":"https://mcp.example.com/sse","overall_timeout_ms":30000,"steps":[{"timeout_ms":10000,"wait_ms":0,"step_type":"list_tools"}]}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["MCP Monitors"],"summary":"Patch an existing MCP Monitor","operationId":"patch-mcp-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"MCP Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api3__monitors__mcp__api_models__UpdateRequest"},"examples":{"rename":{"summary":"Rename the monitor","value":{"name":"Updated monitor name"}},"replace_steps":{"summary":"Replace steps with a tool call sequence","value":{"steps":[{"timeout_ms":10000,"wait_ms":0},{"timeout_ms":15000,"wait_ms":0,"tool_name":"echo","parameters":{"message":"ping"}}]}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpTestSetupRepr"},"examples":{"list_tools":{"summary":"Monitor that lists available MCP tools","value":{"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIWCxILTWNwVGVzdFNldHVwGICAgICA","meta":{"monitor_type":"mcp","name":"Check tools endpoint","tags":[],"domain":"mcp.example.com","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"setup":{"url":"https://mcp.example.com/sse","overall_timeout_ms":30000,"steps":[{"timeout_ms":10000,"wait_ms":0,"step_type":"list_tools"}]}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["MCP Monitors"],"summary":"Delete an existing MCP Monitor","operationId":"delete-mcp-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"MCP Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/monitors/":{"get":{"tags":["Monitors"],"summary":"List all Monitors for a project","operationId":"list-monitors","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ListResponse"},"examples":{"api_monitor":{"summary":"Project monitor list","value":{"meta":{"project_id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIKCxIEVXNlchhiAgI","more":false},"data":[{"meta":{"monitor_type":"api","name":"Check payments API","tags":["payments"],"domain":"api.example.com","content_type":"application/json","accept":"application/json","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"request":{"method":"GET","url":"https://api.example.com/v1/health","parameters":[],"headers":[{"key":"Accept","value":"application/json"}]},"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIUCxIKVGVzdFNldHVwMhiAgICA"}]}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/monitors/{monitor_id}":{"get":{"tags":["Monitors"],"summary":"Read a Monitor by ID","operationId":"get-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TestSetup2Repr"},{"$ref":"#/components/schemas/BrowserTestSetupRepr"},{"$ref":"#/components/schemas/McpTestSetupRepr"}],"title":"Response Get-Monitor"},"examples":{"api":{"summary":"API monitor","value":{"meta":{"monitor_type":"api","name":"Check payments API","tags":["payments"],"domain":"api.example.com","content_type":"application/json","accept":"application/json","created":"2025-01-15T10:00:00Z","last_update":"2025-01-15T10:00:00Z","owner":"ahJzfmFwaW1ldHJpY3MtcHJvZHILCxIEVXNlchhiAgI","workspace":"global"},"request":{"method":"GET","url":"https://api.example.com/v1/health","parameters":[],"headers":[{"key":"Accept","value":"application/json"}]},"id":"ahJzfmFwaW1ldHJpY3MtcHJvZHIUCxIKVGVzdFNldHVwMhiAgICA"}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/monitors/{monitor_id}/run":{"post":{"tags":["Monitors"],"summary":"Trigger a Monitor to run now","operationId":"run-monitor","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Monitor ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunMonitorRequest"},"examples":{"immediate":{"summary":"Run the monitor immediately","value":{"context":{},"location_id":"","run_delay":0}},"with_context":{"summary":"Run with variable substitution context","value":{"context":{"env":"staging"},"location_id":"","run_delay":0}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallRunPayload"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/downtimes":{"get":{"tags":["Downtimes"],"summary":"List-Org-Downtimes","description":"List downtimes defined on the given org.","operationId":"list-org-downtimes","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List-Org-Downtimes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Downtimes"],"summary":"Create-Org-Downtime","description":"Create a new downtime for this org.","operationId":"create-org-downtime","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditableDowntimeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create-Org-Downtime"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/downtimes/{downtime_id}":{"put":{"tags":["Downtimes"],"summary":"Update-Org-Downtime","description":"Update an existing downtime for this org.","operationId":"update-org-downtime","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"downtime_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID"}},{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditableDowntimeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update-Org-Downtime"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Downtimes"],"summary":"Delete-Org-Downtime","description":"Delete an existing downtime for this org.","operationId":"delete-org-downtime","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"downtime_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID"}},{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/organizations/{org_id}/backend":{"put":{"tags":["Organizations"],"summary":"Update-Org-Backend","description":"Update the apimetrics-backend tag for an organization. Requires SITE_ADMIN permission.","operationId":"update-org-backend","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBackendRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationBackendResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/project/security-profiles":{"get":{"tags":["Projects"],"summary":"List-Security-Profiles-For-Project","operationId":"list-security-profiles-for-project","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response List-Security-Profiles-For-Project"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/project/agents":{"get":{"tags":["Projects"],"summary":"List-Agents-For-Project","description":"List all agents accessible to a project.\nReturns public agents + agents owned by the project's organization.\nPersonal projects (no org) only get public agents.","operationId":"list-agents-for-project","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List-Agents-For-Project"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/agents/":{"get":{"tags":["Remote Agents"],"summary":" List Agents","operationId":"_list_agents","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ReadAgentResponse"},"type":"array","title":"Response  List Agents"}}}}},"security":[{"OAuth2":[]},{"ApiKey":[]}]},"post":{"tags":["Remote Agents"],"summary":" Create Agent","operationId":"_create_agent","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAgentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadAgentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2":[]},{"ApiKey":[]}]}},"/api/3/agents/{agent_id}":{"get":{"tags":["Remote Agents"],"summary":" Agent By Id","operationId":"_agent_by_id","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadAgentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Remote Agents"],"summary":" Update Agent","operationId":"_update_agent","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAgentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Remote Agents"],"summary":" Delete Agent","operationId":"_delete_agent","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/agents/{agent_id}/config":{"get":{"tags":["Remote Agents"],"summary":" Agent Config By Id","operationId":"_agent_config_by_id","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/results/{result_id}/content/{path}":{"get":{"tags":["Results"],"summary":"Get-Result-Content","operationId":"get-result-content","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","pattern":"^pg[a-z][a-z]-[A-Za-z0-9_-]+={0,2}$","title":"Result ID"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/results/{result_id}/screenshot":{"get":{"tags":["Results"],"summary":"Get-Result-Screenshot","operationId":"get-result-screenshot","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/fulfilment/azure/subscribe":{"post":{"tags":["SaaS Fulfilment"],"summary":"Handle Subscribe","operationId":"handle_subscribe","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/fulfilment/azure/provision":{"post":{"tags":["SaaS Fulfilment"],"summary":"Handle Provision New","operationId":"handle_provision_new","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisionNewRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2":[]},{"ApiKey":[]}]}},"/api/3/fulfilment/azure/provision/{org_id}":{"post":{"tags":["SaaS Fulfilment"],"summary":"Handle Provision Existing","operationId":"handle_provision_existing","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisionExistingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/fulfilment/azure/webhook":{"post":{"tags":["SaaS Fulfilment"],"summary":"Handle Webhook","operationId":"handle_webhook","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AzureWebhook":[]}]}},"/api/3/schedules/":{"get":{"tags":["Schedules"],"summary":"List-Schedules","description":"List schedules for the project.","operationId":"list-schedules","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Schedules"],"summary":"Create-Schedule","description":"Create a new schedule for the project.","operationId":"create-schedule","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditableScheduleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSchedule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/schedules/{schedule_id}":{"get":{"tags":["Schedules"],"summary":"Get-Schedule","description":"Get a specific schedule by ID.","operationId":"get-schedule","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Schedule ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Schedules"],"summary":"Update-Schedule","description":"Update an existing schedule.","operationId":"update-schedule","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Schedule ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditableScheduleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSchedule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Schedules"],"summary":"Delete-Schedule","description":"Delete an existing schedule for this org.","operationId":"delete-schedule","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Schedule ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/schedules/{schedule_id}/targets/{target_id}":{"post":{"tags":["Schedules"],"summary":"Add-Call-To-Schedule","description":"Add a target to an existing schedule.","operationId":"add-call-to-schedule","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Schedule ID"}},{"name":"target_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSchedule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Schedules"],"summary":"Remove-Call-From-Schedule","description":"Remove a target from an existing schedule.","operationId":"remove-call-from-schedule","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Schedule ID"}},{"name":"target_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSchedule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/slos":{"get":{"tags":["SLOs"],"summary":"List-Slos","description":"List all SLO configurations.","operationId":"list-slos","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"All project-scoped SLO configurations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SloListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["SLOs"],"summary":"Create-Slo","description":"Create a new SLO configuration.","operationId":"create-slo","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SloCreateRequest"},"examples":{"project-scope":{"summary":"Project-scoped SLO","value":{"scope":"project","objectives":[{"metric":"availability","measure":"mean","comparator":">","value":0.995,"unit":"percent","period":"MONTH"},{"metric":"slow","measure":"mean","comparator":"<","value":0.075,"unit":"percent","period":"MONTH"},{"metric":"total","measure":"mean","comparator":"<","value":500.0,"unit":"ms","period":"MONTH"},{"metric":"casc","measure":"value","comparator":">","value":799.0,"unit":"value","period":"MONTH"}],"thresholds":[{"metric":"latency","delta":100.0,"unit":"ms","period":"MONTH"},{"metric":"grade","delta":0.05,"unit":"pp","period":"MONTH"}],"include_tags":[],"exclude_tags":[]}},"workflow-scope":{"summary":"Workflow-scoped SLO","value":{"scope":"workflow","scope_id":"apim_workflow_abc123","objectives":[{"metric":"availability","measure":"mean","comparator":">","value":0.995,"unit":"percent","period":"MONTH"},{"metric":"slow","measure":"mean","comparator":"<","value":0.075,"unit":"percent","period":"MONTH"},{"metric":"total","measure":"mean","comparator":"<","value":500.0,"unit":"ms","period":"MONTH"},{"metric":"casc","measure":"value","comparator":">","value":799.0,"unit":"value","period":"MONTH"}],"thresholds":[{"metric":"latency","delta":100.0,"unit":"ms","period":"MONTH"},{"metric":"grade","delta":0.05,"unit":"pp","period":"MONTH"}],"include_tags":[],"exclude_tags":[]}},"monitor-scope":{"summary":"Monitor-scoped SLO","value":{"scope":"monitor","scope_id":"apim_mon_abc123","objectives":[{"metric":"availability","measure":"mean","comparator":">","value":0.995,"unit":"percent","period":"MONTH"},{"metric":"slow","measure":"mean","comparator":"<","value":0.075,"unit":"percent","period":"MONTH"},{"metric":"total","measure":"mean","comparator":"<","value":500.0,"unit":"ms","period":"MONTH"},{"metric":"casc","measure":"value","comparator":">","value":799.0,"unit":"value","period":"MONTH"}],"thresholds":[{"metric":"latency","delta":100.0,"unit":"ms","period":"MONTH"},{"metric":"grade","delta":0.05,"unit":"pp","period":"MONTH"}],"include_tags":[],"exclude_tags":[]}}}}}},"responses":{"201":{"description":"A new SLO configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SloResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/slos/project":{"get":{"tags":["SLOs"],"summary":"Get-Project-Slo","description":"Get the project-scoped SLO configuration.","operationId":"get-project-slo","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SloResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["SLOs"],"summary":"Update-Project-Slo","description":"Update the project-scoped SLO configuration.","operationId":"update-project-slo","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SloUpdateRequest"},"examples":{"update":{"summary":"Update objectives and thresholds","value":{"objectives":[{"metric":"availability","measure":"mean","comparator":">","value":0.995,"unit":"percent","period":"MONTH"},{"metric":"slow","measure":"mean","comparator":"<","value":0.075,"unit":"percent","period":"MONTH"},{"metric":"total","measure":"mean","comparator":"<","value":500.0,"unit":"ms","period":"MONTH"},{"metric":"casc","measure":"value","comparator":">","value":799.0,"unit":"value","period":"MONTH"}],"thresholds":[{"metric":"latency","delta":100.0,"unit":"ms","period":"MONTH"},{"metric":"grade","delta":0.05,"unit":"pp","period":"MONTH"}]}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SloResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["SLOs"],"summary":"Delete-Project-Slo","description":"Delete the project-scoped SLO configuration.","operationId":"delete-project-slo","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/slos/{scope}/{scope_id}":{"get":{"tags":["SLOs"],"summary":"Get-Slo","description":"Get an SLO configuration by scope and scope_id.","operationId":"get-slo","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"scope","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ScopedScope"}},{"name":"scope_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Monitor ID"},{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Workflow ID"}],"description":"Monitor ID or Workflow ID","title":"Scope Id"},"description":"Monitor ID or Workflow ID"},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"The requested SLO configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SloResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["SLOs"],"summary":"Update-Slo","description":"Update an SLO configuration by scope and scope_id.","operationId":"update-slo","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"scope","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ScopedScope"}},{"name":"scope_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Monitor ID"},{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Workflow ID"}],"description":"Monitor ID or Workflow ID","title":"Scope Id"},"description":"Monitor ID or Workflow ID"},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SloUpdateRequest"},"examples":{"update":{"summary":"Update objectives and thresholds","value":{"objectives":[{"metric":"availability","measure":"mean","comparator":">","value":0.995,"unit":"percent","period":"MONTH"},{"metric":"slow","measure":"mean","comparator":"<","value":0.075,"unit":"percent","period":"MONTH"},{"metric":"total","measure":"mean","comparator":"<","value":500.0,"unit":"ms","period":"MONTH"},{"metric":"casc","measure":"value","comparator":">","value":799.0,"unit":"value","period":"MONTH"}],"thresholds":[{"metric":"latency","delta":100.0,"unit":"ms","period":"MONTH"},{"metric":"grade","delta":0.05,"unit":"pp","period":"MONTH"}]}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SloResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["SLOs"],"summary":"Delete-Slo","description":"Delete an SLO configuration by scope and scope_id.","operationId":"delete-slo","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"scope","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ScopedScope"}},{"name":"scope_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Monitor ID"},{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Workflow ID"}],"description":"Monitor ID or Workflow ID","title":"Scope Id"},"description":"Monitor ID or Workflow ID"},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/slos/incidents":{"get":{"tags":["SLOs"],"summary":"Get-Incidents","description":"List all incidents that were open during the specified time window.","operationId":"get-incidents","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"from_timestamp","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From Timestamp"}},{"name":"to_timestamp","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"To Timestamp"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/suppliers":{"get":{"tags":["Suppliers"],"summary":"List-Suppliers","description":"Return a categorised list of suppliers.","operationId":"list-suppliers","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List-Suppliers"}}}}}}},"/api/3/project/suppliers":{"get":{"tags":["Suppliers"],"summary":"Get-Project-Suppliers","description":"Return the list of enabled suppliers for the selected project.","operationId":"get-project-suppliers","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get-Project-Suppliers"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Suppliers"],"summary":"Put-Project-Suppliers","description":"Set the list of enabled suppliers for the selected project","operationId":"put-project-suppliers","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectSuppliersRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put-Project-Suppliers"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/project/suppliers/results":{"get":{"tags":["Suppliers"],"summary":"Get-Suppliers-Results","description":"Query the current supplier results for the selected project","operationId":"get-suppliers-results","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get-Suppliers-Results"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/webhooks/":{"get":{"tags":["Webhooks"],"summary":"List-Webhooks","description":"List webhooks for the project.","operationId":"list-webhooks","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"monitor_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Monitor Id"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Webhooks"],"summary":"Create-Webhook","description":"Create a new webhook for the project.","operationId":"create-webhook","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditableWebHookBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWebHook"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/webhooks/{webhook_id}":{"get":{"tags":["Webhooks"],"summary":"Get-Webhook","description":"Get a specific webhook by ID.","operationId":"get-webhook","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Webhook ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Webhooks"],"summary":"Update-Webhook","description":"Update an existing webhook.","operationId":"update-webhook","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Webhook ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditableWebHookBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWebHook"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Webhooks"],"summary":"Delete-Webhook","description":"Delete an existing webhook for this project.","operationId":"delete-webhook","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Webhook ID"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/workflows/{workflow_id}/locations":{"get":{"tags":["Workflows"],"summary":"Get-Workflow-Locations","operationId":"get-workflow-locations","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowLocationOptions"},"title":"Response Get-Workflow-Locations"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/3/workflows/{workflow_id}/run":{"post":{"tags":["Workflows"],"summary":"Run-Workflow","operationId":"run-workflow","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRunPayload"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2/audits/":{"get":{"tags":["Audits"],"summary":"List-Audits","description":"List audit records for the project.","operationId":"list-audits","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limit"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2/audits/organization/{org_id}/":{"get":{"tags":["Audits"],"summary":"List-Audits-By-Org","description":"List audit records for an organization.","operationId":"list-audits-by-org","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"const":"","type":"string"},{"type":"null"}],"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2/audits/resource/{key_str}/":{"get":{"tags":["Audits"],"summary":"List-Audits-By-Resource","description":"List audit records for a specific resource, optionally merging related kinds.","operationId":"list-audits-by-resource","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"key_str","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"const":"","type":"string"},{"type":"null"}],"title":"Limit"}},{"name":"include","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Include"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2/calls/{call_id}/conditions/":{"get":{"tags":["Calls"],"summary":"Get-Call-Conditions","description":"Get the post-test conditions for an API call.","operationId":"get-call-conditions","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string","title":"Call Id"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConditionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Calls"],"summary":"Set-Call-Conditions","description":"Replace the post-test conditions for an API call.","operationId":"set-call-conditions","security":[{"OAuth2":[]},{"ApiKey":[]}],"parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string","title":"Call Id"}},{"name":"apimetrics-project-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apimetrics-Project-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostConditionsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConditionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2/calls":{"get":{"operationId":"list-calls","summary":"List API calls","tags":["Calls"],"parameters":[{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/attributes"},{"name":"organization","in":"query","description":"If set, return calls shared across the organisation","schema":{"type":"string"}},{"name":"domain","in":"query","description":"Filter by hostname","schema":{"type":"string"}},{"name":"api_url","in":"query","description":"Filter by exact URL","schema":{"type":"string"}}],"responses":{"200":{"description":"Paginated list of calls","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CallOutput"}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}}},"post":{"operationId":"create-call","summary":"Create an API call","tags":["Calls"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallInput"}}}},"responses":{"201":{"description":"Call created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallOutput"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/api/2/calls/build/curl":{"post":{"operationId":"build-call-from-curl","summary":"Parse a curl command and return a call definition","tags":["Calls"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["request"],"properties":{"request":{"type":"string","description":"A curl command string","example":"curl -X GET https://httpbin.org/get -H 'Accept: application/json'"}}}}}},"responses":{"200":{"description":"Parsed call definition (not persisted)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallOutput"}}}},"400":{"$ref":"#/components/responses/BadRequest"}}}},"/api/2/calls/auth/{sc_key_str}":{"get":{"operationId":"list-calls-by-auth","summary":"List calls that use a specific auth config","tags":["Calls"],"parameters":[{"$ref":"#/components/parameters/authKey"},{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Paginated list of calls","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CallOutput"}}}}}}},"404":{"$ref":"#/components/responses/NotFound"}}}},"/api/2/calls/{test_key_str}":{"get":{"operationId":"get-call","summary":"Get a single API call","tags":["Calls"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"$ref":"#/components/parameters/attributes"}],"responses":{"200":{"description":"Call object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallOutput"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"post":{"operationId":"update-call","summary":"Update an API call","tags":["Calls"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallInput"}}}},"responses":{"200":{"description":"Updated call","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallOutput"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"operationId":"delete-call","summary":"Delete an API call","tags":["Calls"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"responses":{"204":{"description":"Deleted"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/api/2/calls/{test_key_str}/run":{"post":{"operationId":"run-call","summary":"Trigger an immediate (on-demand) execution of an API call","tags":["Calls"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallRunInput"}}}},"responses":{"200":{"description":"Task queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallRunOutput"}}}},"422":{"description":"Project out of quota"}}}},"/api/2/calls/{test_key_str}/variables/used":{"get":{"operationId":"list-call-variables-used","summary":"List variable names referenced in the call definition","tags":["Calls"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"responses":{"200":{"description":"Variable names","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}}}},"/api/2/calls/{test_key_str}/variables/set":{"get":{"operationId":"list-call-variables-set","summary":"List variable names that this call's conditions write","tags":["Calls"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"responses":{"200":{"description":"Variable names","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}}}},"/api/2/calls/{test_key_str}/results":{"get":{"operationId":"list-call-results","summary":"List execution results for an API call","tags":["Results"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"},{"name":"since","in":"query","description":"ISO 8601 timestamp — return results after this time","schema":{"type":"string","format":"date-time"}},{"name":"before","in":"query","description":"ISO 8601 timestamp — return results before this time","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Paginated list of results","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ResultOutput"}}}}}}}}}},"/api/2/calls/{test_key_str}/stats":{"get":{"operationId":"get-call-stats","summary":"Get aggregated performance stats for a call","tags":["Stats"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"responses":{"200":{"description":"Stats summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsOutput"}}}}}}},"/api/2/calls/{test_key_str}/stats/since":{"get":{"operationId":"get-call-stats-since","summary":"Get stats for a call since a given time","tags":["Stats"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Stats summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsOutput"}}}}}}},"/api/2/calls/{test_key_str}/stats/before":{"get":{"operationId":"get-call-stats-before","summary":"Get stats for a call before a given time","tags":["Stats"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"name":"before","in":"query","required":true,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Stats summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsOutput"}}}}}}},"/api/2/calls/{test_key_str}/stats/http_codes":{"get":{"operationId":"get-call-http-code-breakdown","summary":"Get HTTP status code breakdown for a call","tags":["Stats"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"responses":{"200":{"description":"HTTP code counts","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"}}}}}}}},"/api/2/calls/{test_key_str}/stats/passfail":{"get":{"operationId":"get-call-pass-fail","summary":"Get pass/fail stats per location for a call","tags":["Stats"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"responses":{"200":{"description":"Pass/fail stats","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassFailStats"}}}}}}},"/api/2/calls/{test_key_str}/stats/passfail_total":{"get":{"operationId":"get-call-pass-fail-total","summary":"Get overall pass/fail totals for a call","tags":["Stats"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"responses":{"200":{"description":"Pass/fail totals","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassFailStats"}}}}}}},"/api/2/conditions":{"get":{"operationId":"list-conditions","summary":"List conditions for the project","tags":["Conditions"],"parameters":[{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Paginated list of conditions","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"type":"object"}}}}}}}}},"post":{"operationId":"create-condition","summary":"Create a project-level condition","tags":["Conditions"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"201":{"description":"Condition created"}}}},"/api/2/calls/{test_key_str}/conditions":{"get":{"operationId":"list-call-conditions","summary":"List conditions attached to a specific call","tags":["Conditions"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"responses":{"200":{"description":"Conditions","content":{"application/json":{"schema":{"type":"object"}}}}}},"post":{"operationId":"create-call-condition","summary":"Create a condition for a specific call","tags":["Conditions"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"201":{"description":"Condition created"}}}},"/api/2/webhooks/types":{"get":{"operationId":"list-webhook-types","summary":"List available webhook integration types","tags":["Webhooks"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Webhook types","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/WebhookTypeDescription"}}}}}}}}}},"/api/2/webhooks/types/{type}":{"get":{"operationId":"get-webhook-type","summary":"Get parameter schema for a webhook type","tags":["Webhooks"],"parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Parameter list for this type","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object"}}}}}}}}}},"/api/2/calls/{test_key_str}/webhooks":{"get":{"operationId":"list-call-webhooks","summary":"List webhooks attached to a call","tags":["Webhooks"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Webhooks list","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/WebhookOutput"}}}}}}}}},"post":{"operationId":"create-call-webhook","summary":"Create a webhook attached to a call","tags":["Webhooks"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookInput"}}}},"responses":{"201":{"description":"Webhook created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOutput"}}}}}}},"/api/2/calls/{test_key_str}/webhooks/{web_hook_key_str}":{"get":{"operationId":"get-call-webhook","summary":"Get a call-level webhook","tags":["Webhooks"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"$ref":"#/components/parameters/webhookKey"},{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Webhook object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOutput"}}}}}},"post":{"operationId":"update-call-webhook","summary":"Update a call-level webhook","tags":["Webhooks"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"$ref":"#/components/parameters/webhookKey"},{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookInput"}}}},"responses":{"200":{"description":"Updated webhook"}}},"delete":{"operationId":"delete-call-webhook","summary":"Delete a call-level webhook","tags":["Webhooks"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"$ref":"#/components/parameters/webhookKey"},{"$ref":"#/components/parameters/projectId"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/auth":{"get":{"operationId":"list-auth-settings","summary":"List authentication configurations","tags":["Auth Settings"],"parameters":[{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"},{"name":"organization","in":"query","description":"If set, return org-shared auth configs","schema":{"type":"string"}}],"responses":{"200":{"description":"Auth configs list","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/AuthOutput"}}}}}}}}},"post":{"operationId":"create-auth-setting","summary":"Create an authentication configuration","tags":["Auth Settings"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthInput"}}}},"responses":{"201":{"description":"Auth config created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthOutput"}}}}}}},"/api/2/auth/domain/{domain}":{"get":{"operationId":"list-auth-settings-by-domain","summary":"List auth configs for a specific domain","tags":["Auth Settings"],"parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","format":"hostname"}},{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Auth configs","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/2/auth/{sc_key_str}":{"get":{"operationId":"get-auth-setting","summary":"Get an authentication configuration","tags":["Auth Settings"],"parameters":[{"$ref":"#/components/parameters/authKey"}],"responses":{"200":{"description":"Auth config","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthOutput"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"post":{"operationId":"update-auth-setting","summary":"Update an authentication configuration","tags":["Auth Settings"],"parameters":[{"$ref":"#/components/parameters/authKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthInput"}}}},"responses":{"200":{"description":"Updated auth config","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthOutput"}}}}}},"delete":{"operationId":"delete-auth-setting","summary":"Delete an authentication configuration","tags":["Auth Settings"],"parameters":[{"$ref":"#/components/parameters/authKey"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/schedules/call/{test_key_str}":{"get":{"operationId":"list-schedules-for-call","summary":"List schedules that include a specific call","tags":["Schedules"],"parameters":[{"$ref":"#/components/parameters/callKey"},{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Schedules list"}}}},"/api/2/schedules/workflow/{run_key}":{"get":{"operationId":"list-schedules-for-workflow","summary":"List schedules that include a specific workflow","tags":["Schedules"],"parameters":[{"$ref":"#/components/parameters/workflowKey"},{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Schedules list"}}}},"/api/2/schedules/{key_str}/downtime":{"get":{"operationId":"list-schedule-downtimes","summary":"List scheduled downtime windows for a schedule","tags":["Schedules"],"parameters":[{"$ref":"#/components/parameters/scheduleKey"}],"responses":{"200":{"description":"Downtime windows","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/DowntimeOutput"}}}}}}}}},"post":{"operationId":"create-schedule-downtime","summary":"Create a downtime window for a schedule","tags":["Schedules"],"parameters":[{"$ref":"#/components/parameters/scheduleKey"},{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowntimeInput"}}}},"responses":{"201":{"description":"Downtime window created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowntimeOutput"}}}}}}},"/api/2/schedules/downtime/{downtime_key_str}":{"get":{"operationId":"get-schedule-downtime","summary":"Get a downtime window","tags":["Schedules"],"parameters":[{"$ref":"#/components/parameters/downtimeKey"}],"responses":{"200":{"description":"Downtime object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowntimeOutput"}}}}}},"post":{"operationId":"update-schedule-downtime","summary":"Update a downtime window","tags":["Schedules"],"parameters":[{"$ref":"#/components/parameters/downtimeKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowntimeInput"}}}},"responses":{"200":{"description":"Updated downtime"}}},"delete":{"operationId":"delete-schedule-downtime","summary":"Delete a downtime window","tags":["Schedules"],"parameters":[{"$ref":"#/components/parameters/downtimeKey"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/files":{"get":{"operationId":"list-files","summary":"List uploaded files","tags":["Files"],"parameters":[{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Files list","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/FileOutput"}}}}}}}}}},"/api/2/files/file":{"post":{"operationId":"create-file","summary":"Upload a new file","tags":["Files"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"name":{"type":"string"}}}}}},"responses":{"201":{"description":"File uploaded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileOutput"}}}}}}},"/api/2/files/url":{"post":{"operationId":"import-file","summary":"Import a file from a URL","tags":["Files"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"name":{"type":"string"}}}}}},"responses":{"201":{"description":"File imported"}}}},"/api/2/files/{key}":{"get":{"operationId":"get-file","summary":"Get file metadata","tags":["Files"],"parameters":[{"$ref":"#/components/parameters/fileKey"}],"responses":{"200":{"description":"File metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileOutput"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"operationId":"delete-file","summary":"Delete a file","tags":["Files"],"parameters":[{"$ref":"#/components/parameters/fileKey"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/files/{key}/content":{"get":{"operationId":"get-file-content","summary":"Download the raw content of a file","tags":["Files"],"parameters":[{"$ref":"#/components/parameters/fileKey"}],"responses":{"200":{"description":"Raw file content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}}},"/api/2/incidents":{"get":{"operationId":"list-incidents","summary":"List incidents","tags":["Incidents"],"parameters":[{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Incidents list","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/IncidentOutput"}}}}}}}}},"post":{"operationId":"create-incident","summary":"Create an incident","tags":["Incidents"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentInput"}}}},"responses":{"201":{"description":"Incident created"}}}},"/api/2/incidents/{incident_id}":{"get":{"operationId":"get-incident","summary":"Get an incident","tags":["Incidents"],"parameters":[{"$ref":"#/components/parameters/incidentId"}],"responses":{"200":{"description":"Incident object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentOutput"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"post":{"operationId":"update-incident","summary":"Update an incident","tags":["Incidents"],"parameters":[{"$ref":"#/components/parameters/incidentId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentInput"}}}},"responses":{"200":{"description":"Updated incident"}}},"delete":{"operationId":"delete-incident","summary":"Delete an incident","tags":["Incidents"],"parameters":[{"$ref":"#/components/parameters/incidentId"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/notifications":{"get":{"operationId":"list-notifications","summary":"List notification log entries","tags":["Notifications"],"parameters":[{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Notifications list","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"type":"object"}}}}}}}}}},"/api/2/notifications/call/{test_key_str}":{"get":{"operationId":"list-call-notifications","summary":"List notifications for a specific call","tags":["Notifications"],"parameters":[{"$ref":"#/components/parameters/callKey"}],"responses":{"200":{"description":"Notifications list"}}}},"/api/2/environment":{"get":{"operationId":"list-environments","summary":"List environment workspaces","tags":["Environment"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Workspaces list","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"string","description":"Workspace name"}}}}}}}}},"put":{"operationId":"create-environment","summary":"Create an environment workspace","tags":["Environment"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}}}},"responses":{"201":{"description":"Workspace created"}}}},"/api/2/environment/{workspace}":{"get":{"operationId":"list-environment-variables","summary":"List variables in a workspace","tags":["Environment"],"parameters":[{"name":"workspace","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Variables list","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceVariable"}}}}}}}}},"post":{"operationId":"update-environment","summary":"Update workspace metadata","tags":["Environment"],"parameters":[{"name":"workspace","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Updated"}}},"put":{"operationId":"create-environment-variable","summary":"Create a variable in a workspace","tags":["Environment"],"parameters":[{"name":"workspace","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceVariable"}}}},"responses":{"201":{"description":"Variable created"}}},"delete":{"operationId":"delete-environment","summary":"Delete a workspace","tags":["Environment"],"parameters":[{"name":"workspace","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/projectId"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/environment/{workspace}/{var}":{"get":{"operationId":"get-environment-variable","summary":"Get a workspace variable","tags":["Environment"],"parameters":[{"name":"workspace","in":"path","required":true,"schema":{"type":"string"}},{"name":"var","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Variable value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceVariable"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"post":{"operationId":"update-environment-variable","summary":"Update a workspace variable","tags":["Environment"],"parameters":[{"name":"workspace","in":"path","required":true,"schema":{"type":"string"}},{"name":"var","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceVariable"}}}},"responses":{"200":{"description":"Updated"}}},"delete":{"operationId":"delete-environment-variable","summary":"Delete a workspace variable","tags":["Environment"],"parameters":[{"name":"workspace","in":"path","required":true,"schema":{"type":"string"}},{"name":"var","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/projectId"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/reports":{"get":{"operationId":"list-reports","summary":"List reports","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Reports list","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ReportOutput"}}}}}}}}},"post":{"operationId":"create-report","summary":"Create a report","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportInput"}}}},"responses":{"201":{"description":"Report created"}}}},"/api/2/reports/{report_key}":{"get":{"operationId":"get-report","summary":"Get a report","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/reportKey"}],"responses":{"200":{"description":"Report object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportOutput"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"post":{"operationId":"update-report","summary":"Update a report","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/reportKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportInput"}}}},"responses":{"200":{"description":"Updated report"}}},"delete":{"operationId":"delete-report","summary":"Delete a report","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/reportKey"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/workflows":{"get":{"operationId":"list-workflows","summary":"List workflows","tags":["Workflows"],"parameters":[{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Workflows list","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowOutput"}}}}}}}}},"post":{"operationId":"create-workflow","summary":"Create a workflow","tags":["Workflows"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowInput"}}}},"responses":{"201":{"description":"Workflow created"}}}},"/api/2/workflows/{run_key}":{"get":{"operationId":"get-workflow","summary":"Get a workflow","tags":["Workflows"],"parameters":[{"$ref":"#/components/parameters/workflowKey"}],"responses":{"200":{"description":"Workflow object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowOutput"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"post":{"operationId":"update-workflow","summary":"Update a workflow","tags":["Workflows"],"parameters":[{"$ref":"#/components/parameters/workflowKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowInput"}}}},"responses":{"200":{"description":"Updated workflow"}}},"delete":{"operationId":"delete-workflow","summary":"Delete a workflow","tags":["Workflows"],"parameters":[{"$ref":"#/components/parameters/workflowKey"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/workflows/{run_key}/run":{"post":{"operationId":"run-workflow","summary":"Trigger an immediate execution of a workflow","tags":["Workflows"],"parameters":[{"$ref":"#/components/parameters/workflowKey"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallRunInput"}}}},"responses":{"200":{"description":"Workflow queued"}}}},"/api/2/workflows/{run_key}/results":{"get":{"operationId":"list-workflow-results","summary":"List execution results for a workflow","tags":["Workflows"],"parameters":[{"$ref":"#/components/parameters/workflowKey"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Results list","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ResultOutput"}}}}}}}}}},"/api/2/agents":{"get":{"operationId":"list-agents","summary":"List remote monitoring agents","tags":["Agents"],"parameters":[{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"Agents list","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/AgentOutput"}}}}}}}}}},"/api/2/agents/info":{"get":{"operationId":"get-agent-info","summary":"Get available agent location information","tags":["Agents"],"security":[],"responses":{"200":{"description":"Location info","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/2/agents/{agent_key}":{"get":{"operationId":"get-agent","summary":"Get a remote agent","tags":["Agents"],"parameters":[{"$ref":"#/components/parameters/agentKey"}],"responses":{"200":{"description":"Agent object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOutput"}}}}}},"post":{"operationId":"update-agent","summary":"Update a remote agent","tags":["Agents"],"parameters":[{"$ref":"#/components/parameters/agentKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOutput"}}}},"responses":{"200":{"description":"Updated agent"}}},"delete":{"operationId":"delete-agent","summary":"Delete a remote agent","tags":["Agents"],"parameters":[{"$ref":"#/components/parameters/agentKey"}],"responses":{"204":{"description":"Deleted"}}}},"/api/2/audits":{"get":{"operationId":"list-audits","summary":"List audit log entries for the project","tags":["Audits"],"parameters":[{"$ref":"#/components/parameters/projectId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Audit entries","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ListMeta"},"results":{"type":"array","items":{"$ref":"#/components/schemas/AuditOutput"}}}}}}}}}},"/api/2/audits/organization/{org_id}":{"get":{"operationId":"list-org-audits","summary":"List audit log entries for an organisation","tags":["Audits"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Audit entries"}}}},"/api/2/audits/resource/{key}":{"get":{"operationId":"list-resource-audits","summary":"List audit log entries for a specific resource","tags":["Audits"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"$ref":"#/components/schemas/KeyStr"}}],"responses":{"200":{"description":"Audit entries"}}}},"/api/2/organizations":{"get":{"operationId":"list-organizations","summary":"List organisations the account belongs to","tags":["Organizations"],"security":[{"OAuth2":[]}],"responses":{"200":{"description":"Organisations list","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationOutput"}}}}}}}}},"post":{"operationId":"create-organization","summary":"Create an organisation","tags":["Organizations"],"security":[{"OAuth2":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationInput"}}}},"responses":{"201":{"description":"Organisation created"}}}},"/api/2/organizations/{org_id}":{"get":{"operationId":"get-organization","summary":"Get an organisation","tags":["Organizations"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/orgId"}],"responses":{"200":{"description":"Organisation object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationOutput"}}}}}},"put":{"operationId":"update-organization","summary":"Update an organisation","tags":["Organizations"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/orgId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationInput"}}}},"responses":{"200":{"description":"Updated organisation"}}}},"/api/2/organizations/{org_id}/projects":{"get":{"operationId":"list-organization-projects","summary":"List projects in an organisation","tags":["Organizations"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Projects list"}}}},"/api/2/account":{"get":{"operationId":"get-account","summary":"Get the authenticated account details","tags":["Account"],"security":[{"OAuth2":[]}],"responses":{"200":{"description":"Account details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountOutput"}}}}}},"post":{"operationId":"update-account","summary":"Update account details","tags":["Account"],"security":[{"OAuth2":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"display_name":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated account"}}}},"/api/2/account/projects":{"get":{"operationId":"list-account-projects","summary":"List all projects accessible to the account","tags":["Account"],"security":[{"OAuth2":[]}],"responses":{"200":{"description":"Projects list","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ProjectOutput"}}}}}}}}},"post":{"operationId":"create-project","summary":"Create a new project","tags":["Projects"],"security":[{"OAuth2":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true}}}}}},"responses":{"201":{"description":"Project created"}}}},"/api/2/account/billing":{"get":{"operationId":"get-account-billing","summary":"Get billing information for the account","tags":["Account"],"security":[{"OAuth2":[]}],"responses":{"200":{"description":"Billing details"}}}},"/api/2/account/quota":{"get":{"operationId":"get-account-quota","summary":"Get quota information for the account","tags":["Account"],"security":[{"OAuth2":[]}],"responses":{"200":{"description":"Quota details"}}}},"/api/2/account/subscription/proj/{sub_id}":{"get":{"operationId":"get-project-subscription","summary":"Get subscription for a project","tags":["Account"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/subId"}],"responses":{"200":{"description":"Subscription details"}}},"post":{"operationId":"update-project-subscription","summary":"Update subscription for a project","tags":["Account"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/subId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Updated subscription"}}}},"/api/2/account/subscription/proj/{sub_id}/usage":{"get":{"operationId":"get-project-usage","summary":"Get usage statistics for a project subscription","tags":["Account"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/subId"}],"responses":{"200":{"description":"Usage statistics"}}}},"/api/2/account/subscription/org/{sub_id}":{"get":{"operationId":"get-org-subscription","summary":"Get subscription for an organisation","tags":["Account"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/subId"}],"responses":{"200":{"description":"Subscription details"}}},"post":{"operationId":"update-org-subscription","summary":"Update subscription for an organisation","tags":["Account"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/subId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Updated subscription"}}}},"/api/2/account/subscription/org/{sub_id}/usage":{"get":{"operationId":"get-org-usage","summary":"Get usage statistics for an organisation subscription","tags":["Account"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/subId"}],"responses":{"200":{"description":"Usage statistics"}}}},"/api/2/account/verify":{"post":{"operationId":"verify-account-email","summary":"Verify the account email address","tags":["Account"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"}}}}}},"responses":{"200":{"description":"Email verified"}}}},"/api/2/account/reset_password":{"post":{"operationId":"reset-account-password","summary":"Request a password reset","tags":["Account"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"}}}}}},"responses":{"200":{"description":"Reset email sent"}}}},"/api/2/api-keys":{"get":{"operationId":"list-api-keys","summary":"List API keys for the account","tags":["API Keys"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/projectId"}],"responses":{"200":{"description":"API keys list","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyOutput"}}}}}}}}},"post":{"operationId":"create-api-key","summary":"Create a new API key","tags":["API Keys"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/projectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}}}},"responses":{"201":{"description":"API key created (key value only returned here)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyOutput"}}}}}}},"/api/2/api-keys/{key_str}":{"get":{"operationId":"get-api-key","summary":"Get an API key (metadata only — key value not returned)","tags":["API Keys"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/scheduleKey"}],"responses":{"200":{"description":"API key metadata"}}},"delete":{"operationId":"delete-api-key","summary":"Delete an API key","tags":["API Keys"],"security":[{"OAuth2":[]}],"parameters":[{"$ref":"#/components/parameters/scheduleKey"}],"responses":{"204":{"description":"Deleted"}}}}},"components":{"schemas":{"AgentLocation":{"prefixItems":[{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api"},{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Www"},{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp"}],"type":"array","maxItems":3},"ApiSchedule":{"properties":{"meta":{"$ref":"#/components/schemas/ApiScheduleMeta"},"schedule":{"$ref":"#/components/schemas/ApiScheduleSpec"}},"type":"object","required":["meta","schedule"],"title":"ApiSchedule"},"ApiScheduleMeta":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"owner":{"type":"string","title":"Owner"},"created":{"type":"string","format":"date-time","title":"Created"},"last_update":{"type":"string","format":"date-time","title":"Last Update"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"}},"type":"object","required":["id","name","owner","created","last_update","tags"],"title":"ApiScheduleMeta"},"ApiScheduleSpec":{"properties":{"frequency":{"type":"integer","title":"Frequency"},"target_ids":{"items":{"type":"string"},"type":"array","title":"Target Ids"},"regions":{"items":{"type":"string"},"type":"array","title":"Regions"},"locations":{"items":{"type":"string"},"type":"array","title":"Locations"},"backoff_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backoff Method"}},"type":"object","required":["frequency","target_ids","regions","locations","backoff_method"],"title":"ApiScheduleSpec"},"ApiWebHook":{"properties":{"meta":{"$ref":"#/components/schemas/ApiWebHookMeta"},"webhook":{"$ref":"#/components/schemas/ApiWebHookSpec"},"id":{"type":"string","title":"Id"}},"type":"object","required":["meta","webhook","id"],"title":"ApiWebHook"},"ApiWebHookMeta":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"owner":{"type":"string","title":"Owner"},"created":{"type":"string","format":"date-time","title":"Created"},"last_update":{"type":"string","format":"date-time","title":"Last Update"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"include_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Include Tags"},"exclude_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Tags"},"project_webhook":{"type":"boolean","title":"Project Webhook"},"call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Id"}},"type":"object","required":["name","owner","created","last_update","tags","include_tags","exclude_tags","project_webhook","call_id"],"title":"ApiWebHookMeta"},"ApiWebHookSpec":{"properties":{"type":{"type":"string","title":"Type"},"enabled":{"type":"boolean","title":"Enabled"},"alerts":{"items":{"type":"string"},"type":"array","title":"Alerts"},"parameters":{"additionalProperties":{"type":"string"},"type":"object","title":"Parameters"}},"type":"object","required":["type","enabled","alerts","parameters"],"title":"ApiWebHookSpec"},"BackendCloud":{"type":"string","enum":["azure","azure-next","linode","linode-next"],"title":"BackendCloud"},"Beneficiary":{"properties":{"emailId":{"type":"string","title":"Emailid"},"objectId":{"type":"string","title":"Objectid"},"tenantId":{"type":"string","title":"Tenantid"},"puid":{"type":"string","title":"Puid"}},"type":"object","required":["emailId","objectId","tenantId","puid"],"title":"Beneficiary"},"Body_upload-new-oas":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload-new-oas"},"BrowserTestSetupListResults":{"properties":{"results":{"items":{"$ref":"#/components/schemas/BrowserTestSetupRepr"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"BrowserTestSetupListResults"},"BrowserTestSetupRepr":{"properties":{"id":{"type":"string","title":"Id"},"meta":{"$ref":"#/components/schemas/models__browser_call___MetaRepr"},"setup":{"$ref":"#/components/schemas/models__browser_call___SetupRepr"}},"type":"object","required":["id","meta","setup"],"title":"BrowserTestSetupRepr"},"COMPARATORS":{"type":"string","enum":["<",">"],"title":"COMPARATORS"},"CallRunPayload":{"properties":{"call_id":{"type":"string","title":"Call Id"},"location_id":{"type":"string","title":"Location Id"},"result_id":{"type":"string","title":"Result Id"},"context":{"additionalProperties":true,"type":"object","title":"Context"},"user":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"User"}},"type":"object","required":["call_id","location_id","result_id","context"],"title":"CallRunPayload"},"CertificateListMeta":{"properties":{"org_id":{"type":"string","pattern":"^[a-z0-9]{3,400}$","title":"Organization ID"}},"type":"object","required":["org_id"],"title":"CertificateListMeta"},"CertificateListResults":{"properties":{"results":{"items":{"$ref":"#/components/schemas/CertificateMetadata"},"type":"array","title":"Results"},"meta":{"$ref":"#/components/schemas/CertificateListMeta"}},"type":"object","required":["results","meta"],"title":"CertificateListResults"},"CertificateMetadata":{"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID"},"created":{"type":"string","format":"date-time","title":"Created"},"last_update":{"type":"string","format":"date-time","title":"Last Update"},"name":{"type":"string","title":"Name"},"intended_use":{"$ref":"#/components/schemas/IntendedUse"},"not_after":{"type":"string","format":"date-time","title":"Not After"},"not_before":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Not Before"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"issuer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer"},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"kid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kid"},"kid_alg":{"$ref":"#/components/schemas/KidAlg","default":"manual"},"projects":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Projects"}},"type":"object","required":["id","created","last_update","name","intended_use","not_after","not_before","subject","issuer","serial_number","version","kid","projects"],"title":"CertificateMetadata","description":"Certificate metadata for responses which don't need the actual values."},"ConditionalModel":{"properties":{"source":{"type":"string","title":"Source"},"source_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Index"},"variable_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variable Name"},"variable_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variable Path"},"condition":{"type":"string","title":"Condition"},"val":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Val"},"test_result_on_true":{"title":"Test Result On True"},"test_result_on_false":{"title":"Test Result On False"}},"type":"object","required":["source","condition"],"title":"ConditionalModel"},"ConditionsMeta":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Id"},"break_on_fail":{"type":"boolean","title":"Break On Fail","default":false}},"type":"object","title":"ConditionsMeta"},"ConditionsResponse":{"properties":{"conditions":{"items":{"$ref":"#/components/schemas/ConditionalModel"},"type":"array","title":"Conditions"},"conditions_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conditions Id"},"meta":{"$ref":"#/components/schemas/ConditionsMeta"}},"type":"object","required":["conditions"],"title":"ConditionsResponse"},"ConformanceResolutionRequest":{"properties":{"result_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Id"},"conformance_result_id":{"type":"string","title":"Conformance Result Id"},"status":{"type":"string","title":"Status"},"notes":{"type":"string","title":"Notes"}},"type":"object","required":["conformance_result_id","status","notes"],"title":"ConformanceResolutionRequest"},"ConformanceSettingsRequest":{"properties":{"standards_settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Standards Settings"},"network_settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Network Settings"},"coverage_settings":{"anyOf":[{"$ref":"#/components/schemas/CoverageSettings"},{"type":"null"}]}},"type":"object","required":["standards_settings","network_settings","coverage_settings"],"title":"ConformanceSettingsRequest"},"CoverageSettings":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"test_coverage":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Test Coverage","description":"Test coverage percentage (0-1)"},"endpoint_coverage":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Endpoint Coverage","description":"Endpoint coverage percentage (0-1)"}},"type":"object","required":["enabled","test_coverage","endpoint_coverage"],"title":"CoverageSettings"},"CreateAgentRequest":{"properties":{"agent_type":{"type":"string","title":"Agent Type"},"display_name":{"type":"string","title":"Display Name"},"queue_name":{"type":"string","title":"Queue Name"},"config_key_suffix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Config Key Suffix"},"cloud":{"type":"string","title":"Cloud"},"owners":{"items":{"type":"string"},"type":"array","title":"Owners"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"},"user_city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User City"},"user_region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Region"},"user_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Country"},"user_continent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Continent"},"user_geography":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Geography"}},"type":"object","required":["agent_type","display_name","queue_name","cloud","owners"],"title":"CreateAgentRequest"},"CreateIntegration":{"properties":{"name":{"type":"string","title":"Name"},"provider":{"type":"string","title":"Provider"},"details":{"additionalProperties":{"type":"string"},"type":"object","title":"Details"}},"type":"object","required":["name","provider","details"],"title":"CreateIntegration"},"DataCheckPutRequest":{"properties":{"include_tags":{"items":{"type":"string"},"type":"array","title":"Include Tags"},"exclude_tags":{"items":{"type":"string"},"type":"array","title":"Exclude Tags"},"rules":{"items":{"anyOf":[{"$ref":"#/components/schemas/JsonPathGroupRule"},{"$ref":"#/components/schemas/JsonPathValueRule"},{"$ref":"#/components/schemas/JsonPathRegexRule"},{"$ref":"#/components/schemas/JsonPathSubstringRule"},{"$ref":"#/components/schemas/JsonPathCountRule"}]},"type":"array","title":"Rules"}},"type":"object","required":["include_tags","exclude_tags","rules"],"title":"DataCheckPutRequest"},"EditableDowntimeBody":{"properties":{"projects":{"items":{"type":"string"},"type":"array","title":"Projects"},"repeated":{"type":"boolean","title":"Repeated"},"repeat_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Days"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"zone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zone"}},"type":"object","required":["projects","repeated"],"title":"EditableDowntimeBody"},"EditableScheduleBody":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"frequency":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frequency"},"targets":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Targets"},"regions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Regions"},"locations":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Locations"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"backoff_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backoff Method"}},"type":"object","title":"EditableScheduleBody"},"EditableWebHookBody":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"web_hook_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Web Hook Type"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"monitor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Monitor Id"},"global_settings":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Global Settings"},"alerts":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Alerts"},"parameters":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Parameters"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"include_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Include Tags"},"exclude_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Tags"}},"type":"object","title":"EditableWebHookBody"},"EndpointClassificationRequest":{"properties":{"method":{"type":"string","title":"Method"},"hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hostname"},"path":{"type":"string","title":"Path"},"classification":{"type":"string","title":"Classification"}},"type":"object","required":["method","hostname","path","classification"],"title":"EndpointClassificationRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IncidentListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/IncidentResponse"},"type":"array","title":"Results","description":"The list of incidents"}},"type":"object","required":["results"],"title":"IncidentListResponse"},"IncidentResponse":{"properties":{"slo_id":{"type":"string","title":"Slo Id","description":"The ID of the SLO that the incident is associated with"},"opened_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opened At","description":"The time the incident was opened"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At","description":"The time the incident was closed"}},"type":"object","required":["slo_id"],"title":"IncidentResponse"},"IntendedUse":{"type":"string","enum":["mtls","signing","signing-pss"],"title":"IntendedUse"},"JsonPathCountRule":{"properties":{"id":{"type":"string","title":"Id"},"domain_type":{"type":"string","title":"Domain Type"},"json_path":{"type":"string","title":"Json Path"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"type":{"type":"string","const":"jsonpath-count","title":"Type"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["id","domain_type","json_path","source_url","type","count"],"title":"JsonPathCountRule"},"JsonPathGroupRule":{"properties":{"id":{"type":"string","title":"Id"},"domain_type":{"type":"string","title":"Domain Type"},"json_path":{"type":"string","title":"Json Path"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"type":{"type":"string","const":"jsonpath-group","title":"Type"},"sub_rules":{"items":{"anyOf":[{"$ref":"#/components/schemas/JsonPathValueRule"},{"$ref":"#/components/schemas/JsonPathRegexRule"},{"$ref":"#/components/schemas/JsonPathSubstringRule"},{"$ref":"#/components/schemas/JsonPathCountRule"}]},"type":"array","title":"Sub Rules"}},"type":"object","required":["id","domain_type","json_path","source_url","type","sub_rules"],"title":"JsonPathGroupRule"},"JsonPathRegexRule":{"properties":{"id":{"type":"string","title":"Id"},"domain_type":{"type":"string","title":"Domain Type"},"json_path":{"type":"string","title":"Json Path"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"type":{"type":"string","const":"jsonpath-regex","title":"Type"},"regex":{"type":"string","title":"Regex"},"flags":{"anyOf":[{"items":{"type":"string","enum":["g","i","m","s","u","v"]},"type":"array"},{"type":"null"}],"title":"Flags"}},"type":"object","required":["id","domain_type","json_path","source_url","type","regex","flags"],"title":"JsonPathRegexRule"},"JsonPathSubstringRule":{"properties":{"id":{"type":"string","title":"Id"},"domain_type":{"type":"string","title":"Domain Type"},"json_path":{"type":"string","title":"Json Path"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"type":{"type":"string","const":"jsonpath-substring","title":"Type"},"substring_of":{"type":"string","title":"Substring Of"},"flags":{"anyOf":[{"items":{"type":"string","enum":["ignore_case","ignore_whitespace"]},"type":"array"},{"type":"null"}],"title":"Flags"}},"type":"object","required":["id","domain_type","json_path","source_url","type","substring_of","flags"],"title":"JsonPathSubstringRule"},"JsonPathValueRule":{"properties":{"id":{"type":"string","title":"Id"},"domain_type":{"type":"string","title":"Domain Type"},"json_path":{"type":"string","title":"Json Path"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"type":{"type":"string","const":"jsonpath-value","title":"Type"},"value":{"title":"Value"},"flags":{"anyOf":[{"items":{"type":"string","enum":["ignore_case","ignore_whitespace"]},"type":"array"},{"type":"null"}],"title":"Flags"}},"type":"object","required":["id","domain_type","json_path","source_url","type","value","flags"],"title":"JsonPathValueRule"},"KidAlg":{"type":"string","enum":["manual","rfc7638-sha1","rfc7638-sha256"],"title":"KidAlg"},"MEASURES":{"type":"string","enum":["mean","value"],"title":"MEASURES"},"METRICS":{"type":"string","enum":["pass","slow","warning","fail","availability","dns","tcp","handshake","upload","processing","download","total","network","server","total_no_dns","casc","apdex","first_contentful_paint","largest_contentful_paint","first_input_delay","cumulative_layout_shift"],"title":"METRICS"},"McpCallToolStepRepr":{"properties":{"timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Timeout Ms","description":"Step timeout (milliseconds)"},"wait_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Wait Ms","description":"Time to wait after finishing step (milliseconds)"},"step_type":{"type":"string","const":"call_tool","title":"Step Type","default":"call_tool"},"tool_name":{"type":"string","title":"Tool Name","description":"Name of the tool to call"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Parameters","description":"Arguments to provide for the tool call"}},"additionalProperties":false,"type":"object","required":["timeout_ms","wait_ms","tool_name"],"title":"McpCallToolStepRepr"},"McpGetPromptStepRepr":{"properties":{"timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Timeout Ms","description":"Step timeout (milliseconds)"},"wait_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Wait Ms","description":"Time to wait after finishing step (milliseconds)"},"step_type":{"type":"string","const":"get_prompt","title":"Step Type","default":"get_prompt"},"prompt_name":{"type":"string","title":"Prompt Name","description":"Name of the prompt to get"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Parameters","description":"Arguments to provide to the prompt template"}},"additionalProperties":false,"type":"object","required":["timeout_ms","wait_ms","prompt_name"],"title":"McpGetPromptStepRepr"},"McpListPromptsStepRepr":{"properties":{"timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Timeout Ms","description":"Step timeout (milliseconds)"},"wait_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Wait Ms","description":"Time to wait after finishing step (milliseconds)"},"step_type":{"type":"string","const":"list_prompts","title":"Step Type","default":"list_prompts"}},"additionalProperties":false,"type":"object","required":["timeout_ms","wait_ms"],"title":"McpListPromptsStepRepr"},"McpListResourceTemplatesStepRepr":{"properties":{"timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Timeout Ms","description":"Step timeout (milliseconds)"},"wait_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Wait Ms","description":"Time to wait after finishing step (milliseconds)"},"step_type":{"type":"string","const":"list_resource_templates","title":"Step Type","default":"list_resource_templates"}},"additionalProperties":false,"type":"object","required":["timeout_ms","wait_ms"],"title":"McpListResourceTemplatesStepRepr"},"McpListResourcesStepRepr":{"properties":{"timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Timeout Ms","description":"Step timeout (milliseconds)"},"wait_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Wait Ms","description":"Time to wait after finishing step (milliseconds)"},"step_type":{"type":"string","const":"list_resources","title":"Step Type","default":"list_resources"}},"additionalProperties":false,"type":"object","required":["timeout_ms","wait_ms"],"title":"McpListResourcesStepRepr"},"McpListToolsStepRepr":{"properties":{"timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Timeout Ms","description":"Step timeout (milliseconds)"},"wait_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Wait Ms","description":"Time to wait after finishing step (milliseconds)"},"step_type":{"type":"string","const":"list_tools","title":"Step Type","default":"list_tools"}},"additionalProperties":false,"type":"object","required":["timeout_ms","wait_ms"],"title":"McpListToolsStepRepr"},"McpReadResourceStepRepr":{"properties":{"timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Timeout Ms","description":"Step timeout (milliseconds)"},"wait_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Wait Ms","description":"Time to wait after finishing step (milliseconds)"},"step_type":{"type":"string","const":"read_resource","title":"Step Type","default":"read_resource"},"resource_uri":{"type":"string","title":"Resource Uri","description":"URI of the resource to read"}},"additionalProperties":false,"type":"object","required":["timeout_ms","wait_ms","resource_uri"],"title":"McpReadResourceStepRepr"},"McpTestSetupListResults":{"properties":{"results":{"items":{"$ref":"#/components/schemas/McpTestSetupRepr"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"McpTestSetupListResults"},"McpTestSetupRepr":{"properties":{"id":{"type":"string","title":"Id"},"meta":{"$ref":"#/components/schemas/models__mcp_test_setup___MetaRepr"},"setup":{"$ref":"#/components/schemas/models__mcp_test_setup___SetupRepr"}},"type":"object","required":["id","meta","setup"],"title":"McpTestSetupRepr"},"McpWaitStepRepr":{"properties":{"timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Timeout Ms","description":"Step timeout (milliseconds)"},"wait_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Wait Ms","description":"Time to wait after finishing step (milliseconds)"},"step_type":{"type":"string","const":"wait","title":"Step Type","default":"wait"}},"additionalProperties":false,"type":"object","required":["timeout_ms","wait_ms"],"title":"McpWaitStepRepr"},"MonthlyResultCounts":{"properties":{"month":{"type":"string","title":"Month"},"api_count":{"type":"integer","title":"Api Count"},"browser_count":{"type":"integer","title":"Browser Count"},"mcp_count":{"type":"integer","title":"Mcp Count"},"total_count":{"type":"integer","title":"Total Count"}},"type":"object","required":["month","api_count","browser_count","mcp_count","total_count"],"title":"MonthlyResultCounts"},"OrgSlowCallDaily":{"properties":{"day":{"type":"string","format":"date","title":"Day"},"project_id":{"type":"string","title":"Project Id"},"pass_count":{"type":"integer","title":"Pass Count"},"warn_count":{"type":"integer","title":"Warn Count"},"fail_count":{"type":"integer","title":"Fail Count"},"total":{"type":"integer","title":"Total"},"slow_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Slow Counts"}},"type":"object","required":["day","project_id","pass_count","warn_count","fail_count","total","slow_counts"],"title":"OrgSlowCallDaily"},"OrgSlowCallMonthly":{"properties":{"month":{"type":"string","format":"date","title":"Month"},"project_id":{"type":"string","title":"Project Id"},"test_id":{"type":"string","title":"Test Id"},"pass_count":{"type":"integer","title":"Pass Count"},"warn_count":{"type":"integer","title":"Warn Count"},"fail_count":{"type":"integer","title":"Fail Count"},"total":{"type":"integer","title":"Total"},"url":{"type":"string","title":"Url"},"slow_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Slow Counts"}},"type":"object","required":["month","project_id","test_id","pass_count","warn_count","fail_count","total","url","slow_counts"],"title":"OrgSlowCallMonthly"},"OrgSlowCallsDaily":{"properties":{"meta":{"$ref":"#/components/schemas/OrgSlowCallsMetadata"},"data":{"items":{"$ref":"#/components/schemas/OrgSlowCallDaily"},"type":"array","title":"Data"}},"type":"object","required":["meta","data"],"title":"OrgSlowCallsDaily"},"OrgSlowCallsMetadata":{"properties":{"report_type":{"type":"string","title":"Report Type"},"version":{"type":"integer","title":"Version"},"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["report_type","version","start_date","end_date","created_at"],"title":"OrgSlowCallsMetadata"},"OrgSlowCallsMonthly":{"properties":{"meta":{"$ref":"#/components/schemas/OrgSlowCallsMetadata"},"data":{"items":{"$ref":"#/components/schemas/OrgSlowCallMonthly"},"type":"array","title":"Data"}},"type":"object","required":["meta","data"],"title":"OrgSlowCallsMonthly"},"OrganizationBackendResponse":{"properties":{"org_id":{"type":"string","title":"Org Id"},"backend":{"type":"string","title":"Backend"}},"type":"object","required":["org_id","backend"],"title":"OrganizationBackendResponse"},"PERIODS":{"type":"string","enum":["PT5M","PT10M","PT15M","PT30M","PT1H","PT3H","PT6H","PT12H","DAY","WEEK","MONTH"],"title":"PERIODS"},"PostConditionsRequest":{"properties":{"conditions":{"items":{"$ref":"#/components/schemas/ConditionalModel"},"type":"array","title":"Conditions"},"meta":{"anyOf":[{"$ref":"#/components/schemas/ConditionsMeta"},{"type":"null"}]}},"type":"object","required":["conditions"],"title":"PostConditionsRequest"},"ProjectCall":{"properties":{"day":{"type":"string","format":"date","title":"Day"},"test_id":{"type":"string","title":"Test Id"},"pass_count":{"type":"integer","title":"Pass Count"},"slow_count":{"type":"integer","title":"Slow Count"},"warn_count":{"type":"integer","title":"Warn Count"},"fail_count":{"type":"integer","title":"Fail Count"},"total":{"type":"integer","title":"Total"},"avg_server_time":{"type":"number","title":"Avg Server Time"},"sum_server_time":{"type":"number","title":"Sum Server Time"},"url":{"type":"string","title":"Url"}},"type":"object","required":["day","test_id","pass_count","slow_count","warn_count","fail_count","total","avg_server_time","sum_server_time","url"],"title":"ProjectCall"},"ProjectCallsMetadata":{"properties":{"report_type":{"type":"string","title":"Report Type"},"version":{"type":"integer","title":"Version"},"project_id":{"type":"string","title":"Project Id"},"month":{"type":"string","format":"date","title":"Month"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["report_type","version","project_id","month","created_at"],"title":"ProjectCallsMetadata"},"ProjectCallsMonthly":{"properties":{"meta":{"$ref":"#/components/schemas/ProjectCallsMetadata"},"data":{"items":{"$ref":"#/components/schemas/ProjectCall"},"type":"array","title":"Data"}},"type":"object","required":["meta","data"],"title":"ProjectCallsMonthly"},"ProjectSuppliersRequestBody":{"properties":{"project_key_strs":{"items":{"type":"string"},"type":"array","title":"Project Key Strs"}},"type":"object","required":["project_key_strs"],"title":"ProjectSuppliersRequestBody"},"ProvisionExistingRequest":{"properties":{"subscription_id":{"type":"string","title":"Subscription Id"}},"type":"object","required":["subscription_id"],"title":"ProvisionExistingRequest"},"ProvisionNewRequest":{"properties":{"subscription_id":{"type":"string","title":"Subscription Id"},"org_name":{"type":"string","title":"Org Name"}},"type":"object","required":["subscription_id","org_name"],"title":"ProvisionNewRequest"},"Purchaser":{"properties":{"emailId":{"type":"string","title":"Emailid"},"objectId":{"type":"string","title":"Objectid"},"tenantId":{"type":"string","title":"Tenantid"},"puid":{"type":"string","title":"Puid"}},"type":"object","required":["emailId","objectId","tenantId","puid"],"title":"Purchaser"},"QuotaResponse":{"properties":{"sub":{"$ref":"#/components/schemas/SubInfo"},"quotas":{"$ref":"#/components/schemas/Quotas"},"usage":{"$ref":"#/components/schemas/Usage"},"weights":{"$ref":"#/components/schemas/UsageWeights"},"has_trial_expired":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Trial Expired"},"trial_expiry_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trial Expiry Date"},"month_progress":{"type":"number","title":"Month Progress"}},"type":"object","required":["sub","quotas","usage","weights","has_trial_expired","trial_expiry_date","month_progress"],"title":"QuotaResponse"},"Quotas":{"properties":{"test_run_quota":{"type":"integer","title":"Test Run Quota"},"test_setup_quota":{"type":"integer","title":"Test Setup Quota"},"public_report_quota":{"type":"integer","title":"Public Report Quota"}},"type":"object","required":["test_run_quota","test_setup_quota","public_report_quota"],"title":"Quotas"},"ReadAgentResponse":{"properties":{"id":{"type":"string","title":"Id"},"agent_type":{"type":"string","title":"Agent Type"},"display_name":{"type":"string","title":"Display Name"},"queue_name":{"type":"string","title":"Queue Name"},"config_key_suffix":{"type":"string","title":"Config Key Suffix"},"access_token":{"type":"string","title":"Access Token"},"owners":{"items":{"type":"string"},"type":"array","title":"Owners"},"cloud":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cloud"},"meta":{"additionalProperties":true,"type":"object","title":"Meta"},"agent":{"additionalProperties":true,"type":"object","title":"Agent"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"},"user_cloud":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Cloud"},"user_city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User City"},"user_region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Region"},"user_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Country"},"user_continent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Continent"},"user_geography":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Geography"}},"type":"object","required":["id","agent_type","display_name","queue_name","config_key_suffix","access_token","owners","cloud","meta","agent"],"title":"ReadAgentResponse"},"ReadIntegration":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"provider":{"type":"string","title":"Provider"},"details":{"additionalProperties":{"type":"string"},"type":"object","title":"Details"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_modified":{"type":"string","format":"date-time","title":"Last Modified"}},"type":"object","required":["id","name","provider","details","created_by","created_at","last_modified"],"title":"ReadIntegration"},"RunMonitorRequest":{"properties":{"context":{"additionalProperties":{"type":"string"},"type":"object","title":"Context","default":{}},"location_id":{"type":"string","title":"Location Id","default":""},"run_delay":{"type":"integer","title":"Run Delay","default":0}},"type":"object","title":"RunMonitorRequest"},"Scope":{"type":"string","enum":["project","workflow","monitor"],"title":"Scope"},"ScopedScope":{"type":"string","enum":["workflow","monitor"],"title":"ScopedScope","description":"Scope enum for routes that require a scope_id (monitor and workflow only)."},"ServiceLevelObjectiveModel":{"properties":{"metric":{"$ref":"#/components/schemas/METRICS","description":"The metric to measure"},"measure":{"$ref":"#/components/schemas/MEASURES","description":"The measure to use for the metric"},"comparator":{"$ref":"#/components/schemas/COMPARATORS","description":"The comparator to use for the metric"},"value":{"type":"number","title":"Value"},"unit":{"$ref":"#/components/schemas/UNITS","description":"The unit of the metric"},"period":{"$ref":"#/components/schemas/PERIODS","description":"The period of the metric"}},"type":"object","required":["metric","measure","comparator","value","unit","period"],"title":"ServiceLevelObjectiveModel"},"SloCreateRequest":{"properties":{"scope":{"$ref":"#/components/schemas/Scope","description":"The scope of the SLO"},"scope_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope Id","description":"Monitor ID for monitor-scoped SLOs; Workflow ID for workflow-scoped SLOs; not required for project-scoped SLOs"},"objectives":{"items":{"$ref":"#/components/schemas/ServiceLevelObjectiveModel"},"type":"array","title":"Objectives","description":"The objectives of the SLO"},"thresholds":{"items":{"$ref":"#/components/schemas/ThresholdModel"},"type":"array","title":"Thresholds","description":"The thresholds of the SLO"},"include_tags":{"items":{"type":"string"},"type":"array","title":"Include Tags","description":"Not used at present"},"exclude_tags":{"items":{"type":"string"},"type":"array","title":"Exclude Tags","description":"Not used at present"}},"type":"object","required":["scope"],"title":"SloCreateRequest"},"SloListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/SloResponse"},"type":"array","title":"Results","description":"The list of SLOs"}},"type":"object","required":["results"],"title":"SloListResponse"},"SloResponse":{"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","title":"Resource ID","description":"The unique identifier of the SLO"},"scope":{"$ref":"#/components/schemas/Scope","description":"The scope of the SLO"},"scope_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope Id","description":"Monitor ID for monitor-scoped SLOs; Workflow ID for workflow-scoped SLOs; not required for project-scoped SLOs"},"objectives":{"items":{"$ref":"#/components/schemas/ServiceLevelObjectiveModel"},"type":"array","title":"Objectives","description":"The objectives of the SLO"},"thresholds":{"items":{"$ref":"#/components/schemas/ThresholdModel"},"type":"array","title":"Thresholds","description":"The thresholds of the SLO"},"include_tags":{"items":{"type":"string"},"type":"array","title":"Include Tags","description":"Not used at present"},"exclude_tags":{"items":{"type":"string"},"type":"array","title":"Exclude Tags","description":"Not used at present"},"created":{"type":"string","format":"date-time","title":"Created","description":"The initial creation time of the SLO"},"last_update":{"type":"string","format":"date-time","title":"Last Update","description":"The last update time of the SLO"}},"type":"object","required":["id","scope","scope_id","objectives","thresholds","include_tags","exclude_tags","created","last_update"],"title":"SloResponse"},"SloUpdateRequest":{"properties":{"objectives":{"anyOf":[{"items":{"$ref":"#/components/schemas/ServiceLevelObjectiveModel"},"type":"array"},{"type":"null"}],"title":"Objectives","description":"The new objectives of the SLO"},"thresholds":{"anyOf":[{"items":{"$ref":"#/components/schemas/ThresholdModel"},"type":"array"},{"type":"null"}],"title":"Thresholds","description":"The new thresholds of the SLO"},"include_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Include Tags","description":"Not used at present"},"exclude_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Tags","description":"Not used at present"}},"type":"object","title":"SloUpdateRequest"},"SubInfo":{"properties":{"level":{"type":"string","title":"Level"},"name":{"type":"string","title":"Name"},"plan":{"type":"string","title":"Plan"},"start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"org_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Id"},"backend":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend"}},"type":"object","required":["level","name","plan","start","end","state","org_id","backend"],"title":"SubInfo"},"SubscriptionDetails":{"properties":{"id":{"type":"string","title":"Id"},"publisherId":{"type":"string","title":"Publisherid"},"offerId":{"type":"string","title":"Offerid"},"name":{"type":"string","title":"Name"},"saasSubscriptionStatus":{"type":"string","title":"Saassubscriptionstatus"},"beneficiary":{"$ref":"#/components/schemas/Beneficiary"},"purchaser":{"$ref":"#/components/schemas/Purchaser"},"planId":{"type":"string","title":"Planid"},"term":{"$ref":"#/components/schemas/Term"},"autoRenew":{"type":"boolean","title":"Autorenew"},"isTest":{"type":"boolean","title":"Istest"},"isFreeTrial":{"type":"boolean","title":"Isfreetrial"},"allowedCustomerOperations":{"items":{"type":"string"},"type":"array","title":"Allowedcustomeroperations"},"sandboxType":{"type":"string","title":"Sandboxtype"},"lastModified":{"type":"string","format":"date-time","title":"Lastmodified"},"quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity"},"sessionMode":{"type":"string","title":"Sessionmode"}},"type":"object","required":["id","publisherId","offerId","name","saasSubscriptionStatus","beneficiary","purchaser","planId","term","autoRenew","isTest","isFreeTrial","allowedCustomerOperations","sandboxType","lastModified","sessionMode"],"title":"SubscriptionDetails"},"THRESHOLDS":{"type":"string","enum":["grade","latency"],"title":"THRESHOLDS"},"Term":{"properties":{"termUnit":{"type":"string","title":"Termunit"},"startDate":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Startdate"},"endDate":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Enddate"}},"type":"object","required":["termUnit"],"title":"Term"},"TestSetup2Repr":{"properties":{"meta":{"$ref":"#/components/schemas/models__call___MetaRepr"},"request":{"$ref":"#/components/schemas/_RequestRepr"},"id":{"type":"string","title":"Id"}},"type":"object","required":["meta","request","id"],"title":"TestSetup2Repr"},"ThresholdModel":{"properties":{"metric":{"$ref":"#/components/schemas/THRESHOLDS","description":"The metric to measure"},"delta":{"type":"number","title":"Delta"},"unit":{"$ref":"#/components/schemas/UNITS","description":"The unit of the metric"},"period":{"$ref":"#/components/schemas/PERIODS","description":"The period of the metric"}},"type":"object","required":["metric","delta","unit","period"],"title":"ThresholdModel"},"UNITS":{"type":"string","enum":["ms","percent","pp","value"],"title":"UNITS","x-enum-descriptions":{"ms":"Duration in milliseconds","percent":"Absolute percentage value, e.g. availability > 0.995","pp":"Percentage points — the arithmetic difference between two percentages. Only valid for grade thresholds.","value":"Dimensionless numeric value"}},"UpdateBackendRequest":{"properties":{"backend":{"$ref":"#/components/schemas/BackendCloud"}},"type":"object","required":["backend"],"title":"UpdateBackendRequest"},"UpdateIntegration":{"properties":{"name":{"type":"string","title":"Name"},"details":{"additionalProperties":{"type":"string"},"type":"object","title":"Details"}},"type":"object","required":["name","details"],"title":"UpdateIntegration"},"UpdateRequestMeta":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Display name for the monitor"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description for the monitor"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","description":"Tags to apply to the monitor for grouping or advanced features"},"workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace","description":"Workspace to assign the monitor to"}},"type":"object","title":"UpdateRequestMeta"},"UpdateRequestSetup":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Target URL for the monitor"},"browser_types":{"anyOf":[{"items":{"type":"string","enum":["chromium","firefox","webkit","camoufox"]},"type":"array"},{"type":"null"}],"title":"Browser Types","description":"Browsers which the monitor is permitted to run on"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent","description":"User-Agent header value for the monitor"}},"type":"object","title":"UpdateRequestSetup"},"UploadFileResponse":{"properties":{"id":{"type":"string","title":"Id"},"meta":{"additionalProperties":true,"type":"object","title":"Meta"},"tagger_status":{"type":"string","title":"Tagger Status"},"parse_info":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Parse Info"}},"type":"object","required":["id","meta","tagger_status","parse_info"],"title":"UploadFileResponse"},"UploadUrl":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"UploadUrl"},"Usage":{"properties":{"project_test_run_usage":{"type":"integer","title":"Project Test Run Usage"},"org_test_run_usage":{"type":"integer","title":"Org Test Run Usage"},"test_setup_count":{"type":"integer","title":"Test Setup Count"},"public_report_count":{"type":"integer","title":"Public Report Count"},"scheduled_test_count":{"type":"integer","title":"Scheduled Test Count"}},"type":"object","required":["project_test_run_usage","org_test_run_usage","test_setup_count","public_report_count","scheduled_test_count"],"title":"Usage"},"UsageCountsResponse":{"properties":{"org_id":{"type":"string","title":"Org Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"months":{"items":{"$ref":"#/components/schemas/MonthlyResultCounts"},"type":"array","title":"Months"}},"type":"object","required":["org_id","project_id","months"],"title":"UsageCountsResponse"},"UsageWeights":{"properties":{"api":{"type":"integer","title":"Api","default":1},"browser":{"type":"integer","title":"Browser","default":10},"mcp":{"type":"integer","title":"Mcp","default":1}},"type":"object","title":"UsageWeights"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebhookPayload":{"properties":{"id":{"type":"string","title":"Id"},"activityId":{"type":"string","title":"Activityid"},"publisherId":{"type":"string","title":"Publisherid"},"offerId":{"type":"string","title":"Offerid"},"planId":{"type":"string","title":"Planid"},"quantity":{"type":"integer","title":"Quantity"},"subscriptionId":{"type":"string","title":"Subscriptionid"},"timeStamp":{"type":"string","format":"date-time","title":"Timestamp"},"action":{"type":"string","enum":["ChangePlan","ChangeQuantity","Renew","Suspend","Unsubscribe","Reinstate"],"title":"Action"},"status":{"type":"string","enum":["InProgress","Succeeded","Failed"],"title":"Status"},"operationRequestSource":{"type":"string","title":"Operationrequestsource"},"subscription":{"$ref":"#/components/schemas/SubscriptionDetails"},"purchaseToken":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purchasetoken"}},"type":"object","required":["id","activityId","publisherId","offerId","planId","quantity","subscriptionId","timeStamp","action","status","operationRequestSource","subscription"],"title":"WebhookPayload"},"WorkflowLocationOptions":{"properties":{"cloud":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cloud"},"continent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Continent"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"api":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Api"},"www":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Www"},"mcp":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Mcp"}},"type":"object","required":["cloud","continent","country","city","api","www","mcp"],"title":"WorkflowLocationOptions"},"WorkflowRunPayload":{"properties":{"workflow_id":{"type":"string","title":"Workflow Id"},"workflow_result_id":{"type":"string","title":"Workflow Result Id"},"location_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Id"},"api_location_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Location Id"},"www_location_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Www Location Id"},"mcp_location_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp Location Id"},"context":{"additionalProperties":true,"type":"object","title":"Context"},"between_calls_delay":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Between Calls Delay"},"user":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"User"}},"type":"object","required":["workflow_id","workflow_result_id","context"],"title":"WorkflowRunPayload"},"WorkflowRunRequest":{"properties":{"locations":{"$ref":"#/components/schemas/AgentLocation"},"run_delay":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"Run Delay","default":0},"between_calls_delay":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"Between Calls Delay","default":0},"context":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Context"}},"type":"object","required":["locations"],"title":"WorkflowRunRequest"},"_ListResponse":{"properties":{"meta":{"$ref":"#/components/schemas/_ListResponseMeta"},"data":{"items":{"anyOf":[{"$ref":"#/components/schemas/TestSetup2Repr"},{"$ref":"#/components/schemas/BrowserTestSetupRepr"},{"$ref":"#/components/schemas/McpTestSetupRepr"}]},"type":"array","title":"Data"}},"type":"object","required":["meta","data"],"title":"_ListResponse"},"_ListResponseMeta":{"properties":{"project_id":{"type":"string","title":"Project Id"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"more":{"type":"boolean","title":"More"}},"type":"object","required":["project_id","next_cursor","more"],"title":"_ListResponseMeta"},"_RequestRepr":{"properties":{"method":{"type":"string","title":"Method"},"url":{"type":"string","title":"Url"},"parameters":{"anyOf":[{"items":{"$ref":"#/components/schemas/_TestParameterRepr"},"type":"array"},{"type":"null"}],"title":"Parameters"},"headers":{"anyOf":[{"items":{"$ref":"#/components/schemas/_TestParameterRepr"},"type":"array"},{"type":"null"}],"title":"Headers"},"auth_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Id"},"token_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Id"},"body":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Body"},"file_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Id"}},"type":"object","required":["method","url","parameters","headers","auth_id","token_id","body"],"title":"_RequestRepr"},"_TestParameterRepr":{"properties":{"key":{"type":"string","title":"Key"},"value":{"type":"string","title":"Value"}},"type":"object","required":["key","value"],"title":"_TestParameterRepr"},"api3__certificates__api_models__CreateRequest":{"properties":{"name":{"type":"string","title":"Name"},"intended_use":{"$ref":"#/components/schemas/IntendedUse"},"certificate":{"type":"string","title":"Certificate"},"private_key":{"type":"string","title":"Private Key"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"kid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kid"},"kid_alg":{"anyOf":[{"$ref":"#/components/schemas/KidAlg"},{"type":"null"}]},"projects":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Projects"}},"type":"object","required":["name","intended_use","certificate","private_key"],"title":"CreateRequest"},"api3__certificates__api_models__UpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"intended_use":{"anyOf":[{"$ref":"#/components/schemas/IntendedUse"},{"type":"null"}]},"certificate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certificate"},"private_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Private Key"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"kid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kid"},"kid_alg":{"anyOf":[{"$ref":"#/components/schemas/KidAlg"},{"type":"null"}]},"projects":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Projects"}},"type":"object","title":"UpdateRequest"},"api3__monitors__browser__api_models__CreateRequest":{"properties":{"name":{"type":"string","title":"Name","description":"Display name for the monitor"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description for the monitor"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Tags to apply to the monitor for grouping or advanced features"},"workspace":{"type":"string","title":"Workspace","description":"Workspace to assign the monitor to","default":"global"},"url":{"type":"string","title":"Url","description":"Target URL for the monitor"},"browser_types":{"anyOf":[{"items":{"type":"string","enum":["chromium","firefox","webkit","camoufox"]},"type":"array"},{"type":"null"}],"title":"Browser Types","description":"Browsers which the monitor is permitted to run on"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent","description":"User-Agent header value for the monitor"}},"type":"object","required":["name","url"],"title":"CreateRequest"},"api3__monitors__browser__api_models__UpdateRequest":{"properties":{"meta":{"anyOf":[{"$ref":"#/components/schemas/UpdateRequestMeta"},{"type":"null"}]},"setup":{"anyOf":[{"$ref":"#/components/schemas/UpdateRequestSetup"},{"type":"null"}]}},"type":"object","title":"UpdateRequest"},"api3__monitors__mcp__api_models__CreateRequest":{"properties":{"name":{"type":"string","title":"Name","description":"Display name for the monitor"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description for the monitor"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Tags to apply to the monitor for grouping or advanced features"},"workspace":{"type":"string","title":"Workspace","description":"Workspace to assign the monitor to","default":"global"},"url":{"type":"string","title":"Url","description":"Target URL for the monitor"},"overall_timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Overall Timeout Ms","description":"Session timeout for the monitor (milliseconds)","default":30000},"steps":{"items":{"oneOf":[{"$ref":"#/components/schemas/McpListToolsStepRepr"},{"$ref":"#/components/schemas/McpCallToolStepRepr"},{"$ref":"#/components/schemas/McpListResourcesStepRepr"},{"$ref":"#/components/schemas/McpListResourceTemplatesStepRepr"},{"$ref":"#/components/schemas/McpReadResourceStepRepr"},{"$ref":"#/components/schemas/McpListPromptsStepRepr"},{"$ref":"#/components/schemas/McpGetPromptStepRepr"},{"$ref":"#/components/schemas/McpWaitStepRepr"}],"discriminator":{"propertyName":"step_type","mapping":{"call_tool":"#/components/schemas/McpCallToolStepRepr","get_prompt":"#/components/schemas/McpGetPromptStepRepr","list_prompts":"#/components/schemas/McpListPromptsStepRepr","list_resource_templates":"#/components/schemas/McpListResourceTemplatesStepRepr","list_resources":"#/components/schemas/McpListResourcesStepRepr","list_tools":"#/components/schemas/McpListToolsStepRepr","read_resource":"#/components/schemas/McpReadResourceStepRepr","wait":"#/components/schemas/McpWaitStepRepr"}}},"type":"array","minItems":1,"title":"Steps","description":"Steps to execute during MCP session"},"auth_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Id","description":"Auth Settings to use with the monitor"},"token_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Id","description":"Auth Token to use with the monitor"}},"type":"object","required":["name","url"],"title":"CreateRequest"},"api3__monitors__mcp__api_models__UpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Display name for the monitor"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description for the monitor"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","description":"Tags to apply to the monitor for grouping or advanced features"},"workspace":{"type":"string","title":"Workspace","description":"Workspace to assign the monitor to","default":"global"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Target URL for the monitor"},"overall_timeout_ms":{"anyOf":[{"type":"integer","maximum":120000.0,"minimum":0.0},{"type":"null"}],"title":"Overall Timeout Ms","description":"Session timeout for the monitor in milliseconds"},"steps":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/McpListToolsStepRepr"},{"$ref":"#/components/schemas/McpCallToolStepRepr"},{"$ref":"#/components/schemas/McpListResourcesStepRepr"},{"$ref":"#/components/schemas/McpListResourceTemplatesStepRepr"},{"$ref":"#/components/schemas/McpReadResourceStepRepr"},{"$ref":"#/components/schemas/McpListPromptsStepRepr"},{"$ref":"#/components/schemas/McpGetPromptStepRepr"},{"$ref":"#/components/schemas/McpWaitStepRepr"}],"discriminator":{"propertyName":"step_type","mapping":{"call_tool":"#/components/schemas/McpCallToolStepRepr","get_prompt":"#/components/schemas/McpGetPromptStepRepr","list_prompts":"#/components/schemas/McpListPromptsStepRepr","list_resource_templates":"#/components/schemas/McpListResourceTemplatesStepRepr","list_resources":"#/components/schemas/McpListResourcesStepRepr","list_tools":"#/components/schemas/McpListToolsStepRepr","read_resource":"#/components/schemas/McpReadResourceStepRepr","wait":"#/components/schemas/McpWaitStepRepr"}}},"type":"array","minItems":1},{"type":"null"}],"title":"Steps","description":"Steps to execute during MCP session"},"auth_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Id","description":"Auth Settings to use with the monitor"},"token_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Id","description":"Auth Token to use with the monitor"}},"type":"object","title":"UpdateRequest"},"models__browser_call___MetaRepr":{"properties":{"monitor_type":{"type":"string","enum":["api","www","mcp"],"title":"Monitor Type","default":"www"},"name":{"type":"string","title":"Name","description":"Display name for the monitor"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description for the monitor"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Tags to apply to the monitor for grouping or advanced features"},"domain":{"type":"string","title":"Domain","description":"Domain of the target URL for this monitor"},"created":{"type":"string","format":"date-time","title":"Created"},"last_update":{"type":"string","format":"date-time","title":"Last Update"},"owner":{"type":"string","title":"Owner"},"workspace":{"type":"string","title":"Workspace"}},"type":"object","required":["name","domain","created","last_update","owner","workspace"],"title":"_MetaRepr"},"models__browser_call___SetupRepr":{"properties":{"url":{"type":"string","title":"Url","description":"Target URL for this monitor"},"browser_types":{"items":{"type":"string","enum":["chromium","firefox","webkit","camoufox"]},"type":"array","title":"Browser Types","description":"Browsers which this monitor is permitted to run on"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent","default":"User-Agent header value for the monitor"}},"type":"object","required":["url","browser_types"],"title":"_SetupRepr"},"models__call___MetaRepr":{"properties":{"monitor_type":{"type":"string","const":"api","title":"Monitor Type","default":"api"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"domain":{"type":"string","title":"Domain"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"accept":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accept"},"created":{"type":"string","format":"date-time","title":"Created"},"last_update":{"type":"string","format":"date-time","title":"Last Update"},"owner":{"type":"string","title":"Owner"},"workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace"}},"type":"object","required":["name","description","tags","domain","content_type","accept","created","last_update","owner","workspace"],"title":"_MetaRepr"},"models__mcp_test_setup___MetaRepr":{"properties":{"monitor_type":{"type":"string","enum":["api","www","mcp"],"title":"Monitor Type","default":"mcp"},"name":{"type":"string","title":"Name","description":"Display name for the monitor"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description for the monitor"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Tags to apply to the monitor for grouping or advanced features"},"domain":{"type":"string","title":"Domain","description":"Domain of the target URL for this monitor"},"created":{"type":"string","format":"date-time","title":"Created"},"last_update":{"type":"string","format":"date-time","title":"Last Update"},"owner":{"type":"string","title":"Owner"},"workspace":{"type":"string","title":"Workspace"}},"type":"object","required":["name","tags","domain","created","last_update","owner","workspace"],"title":"_MetaRepr"},"models__mcp_test_setup___SetupRepr":{"properties":{"url":{"type":"string","title":"Url","description":"Target URL for this monitor"},"overall_timeout_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Overall Timeout Ms","description":"Session timeout for the monitor (milliseconds)"},"steps":{"items":{"oneOf":[{"$ref":"#/components/schemas/McpListToolsStepRepr"},{"$ref":"#/components/schemas/McpCallToolStepRepr"},{"$ref":"#/components/schemas/McpListResourcesStepRepr"},{"$ref":"#/components/schemas/McpListResourceTemplatesStepRepr"},{"$ref":"#/components/schemas/McpReadResourceStepRepr"},{"$ref":"#/components/schemas/McpListPromptsStepRepr"},{"$ref":"#/components/schemas/McpGetPromptStepRepr"},{"$ref":"#/components/schemas/McpWaitStepRepr"}],"discriminator":{"propertyName":"step_type","mapping":{"call_tool":"#/components/schemas/McpCallToolStepRepr","get_prompt":"#/components/schemas/McpGetPromptStepRepr","list_prompts":"#/components/schemas/McpListPromptsStepRepr","list_resource_templates":"#/components/schemas/McpListResourceTemplatesStepRepr","list_resources":"#/components/schemas/McpListResourcesStepRepr","list_tools":"#/components/schemas/McpListToolsStepRepr","read_resource":"#/components/schemas/McpReadResourceStepRepr","wait":"#/components/schemas/McpWaitStepRepr"}}},"type":"array","minItems":1,"title":"Steps","description":"Steps to execute during MCP session"},"auth_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Id","description":"Auth Settings to use with the monitor"},"token_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Id","description":"Auth Token to use with the monitor"}},"type":"object","required":["url","overall_timeout_ms","steps"],"title":"_SetupRepr"},"KeyStr":{"type":"string","description":"URL-safe base64 Datastore key","minLength":3,"maxLength":400,"pattern":"^[-A-Za-z0-9_]*={0,3}$"},"NullableKeyStr":{"type":"string","minLength":3,"maxLength":400,"pattern":"^[-A-Za-z0-9_]*={0,3}$","nullable":true},"KeyValuePair":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}},"ParameterList":{"oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/KeyValuePair"}},{"type":"object","additionalProperties":{"type":"string"}}]},"CallMeta":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":400},"tags":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"description":{"type":"string","maxLength":1500,"nullable":true},"workspace":{"type":"string","maxLength":100},"project_id":{"$ref":"#/components/schemas/KeyStr"},"domain":{"type":"string","format":"hostname"},"username":{"type":"string"},"created":{"type":"string","format":"date-time","readOnly":true},"last_update":{"type":"string","format":"date-time","readOnly":true},"accept":{"type":"string","nullable":true},"content_type":{"type":"string","nullable":true}}},"CallRequest":{"type":"object","required":["url","method"],"properties":{"method":{"type":"string","enum":["GET","HEAD","POST","PUT","DELETE","PATCH","OPTIONS","get","head","post","put","delete","patch","options"]},"url":{"oneOf":[{"type":"string","format":"uri","maxLength":500},{"type":"object","required":["scheme","hostname"],"properties":{"scheme":{"type":"string","enum":["http","https"]},"hostname":{"type":"string","format":"hostname"},"port":{"type":"integer","minimum":1,"maximum":65535,"nullable":true},"path":{"type":"string"}}}]},"parameters":{"$ref":"#/components/schemas/ParameterList"},"headers":{"$ref":"#/components/schemas/ParameterList"},"body":{"type":"string","nullable":true},"auth_id":{"$ref":"#/components/schemas/NullableKeyStr"},"token_id":{"$ref":"#/components/schemas/NullableKeyStr"},"file_id":{"$ref":"#/components/schemas/NullableKeyStr"}}},"CallInput":{"type":"object","required":["meta","request"],"properties":{"meta":{"$ref":"#/components/schemas/CallMeta"},"request":{"$ref":"#/components/schemas/CallRequest"}}},"CallOutput":{"allOf":[{"$ref":"#/components/schemas/CallInput"},{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/KeyStr"}}}]},"CallRunInput":{"type":"object","properties":{"location_id":{"type":"string"},"run_delay":{"type":"integer","minimum":0,"maximum":86400},"context":{"type":"object","additionalProperties":true}}},"CallRunOutput":{"type":"object","properties":{"call_id":{"$ref":"#/components/schemas/KeyStr"},"result_id":{"$ref":"#/components/schemas/KeyStr"},"location_id":{"type":"string"}}},"ScheduleMeta":{"type":"object","properties":{"name":{"type":"string"},"tags":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"project_id":{"$ref":"#/components/schemas/KeyStr"},"created":{"type":"string","format":"date-time","readOnly":true},"last_update":{"type":"string","format":"date-time","readOnly":true}}},"ScheduleConfig":{"type":"object","properties":{"target_ids":{"type":"array","items":{"$ref":"#/components/schemas/KeyStr"}},"regions":{"type":"array","items":{"type":"string"}},"locations":{"type":"array","items":{"type":"string"}},"frequency":{"type":"integer","description":"Execution interval in seconds (minimum 60)"},"backoff_method":{"type":"string","nullable":true}}},"ScheduleInput":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ScheduleMeta"},"schedule":{"$ref":"#/components/schemas/ScheduleConfig"}}},"ScheduleOutput":{"allOf":[{"$ref":"#/components/schemas/ScheduleInput"},{"type":"object","required":["id","meta"],"properties":{"id":{"$ref":"#/components/schemas/KeyStr"}}}]},"DowntimeConfig":{"type":"object","required":["start_time","end_time"],"properties":{"start_time":{"type":"string","pattern":"\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}","example":"2026-01-15T02:00:00"},"end_time":{"type":"string","pattern":"\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}","example":"2026-01-15T04:00:00"},"zone":{"type":"string","description":"Timezone name (e.g. America/New_York)"},"repeated":{"type":"boolean"},"repeat_days":{"type":"integer"}}},"DowntimeInput":{"type":"object","properties":{"meta":{"type":"object","properties":{"project_id":{"$ref":"#/components/schemas/KeyStr"}}},"downtime":{"$ref":"#/components/schemas/DowntimeConfig"}}},"DowntimeMeta":{"type":"object","properties":{"created":{"type":"string","format":"date-time","readOnly":true},"last_update":{"type":"string","format":"date-time","readOnly":true},"schedule":{"$ref":"#/components/schemas/KeyStr"}}},"DowntimeOutput":{"allOf":[{"$ref":"#/components/schemas/DowntimeInput"},{"type":"object","required":["id","meta","downtime"],"properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"meta":{"$ref":"#/components/schemas/DowntimeMeta"}}}]},"WebhookParameters":{"type":"object","properties":{"api_key":{"type":"string","maxLength":400},"app_key":{"type":"string","maxLength":400},"channel":{"type":"string","maxLength":400},"component_id":{"type":"string","maxLength":400},"data_set_name":{"type":"string","maxLength":400},"email_address":{"type":"string","maxLength":4000},"fails_in_a_row":{"type":"string","maxLength":400,"pattern":"^\\d+$"},"flow_token":{"type":"string","maxLength":400},"http_header_1":{"type":"string","maxLength":4096},"http_header_2":{"type":"string","maxLength":4096},"http_header_3":{"type":"string","maxLength":4096},"integration_key":{"type":"string","maxLength":400},"integration_id":{"type":"string","maxLength":400},"page_id":{"type":"string","maxLength":400},"password":{"type":"string","maxLength":400},"routing_key":{"type":"string","maxLength":400},"severity":{"type":"string","enum":["critical","error","warning","info"]},"source_index":{"type":"string","maxLength":400},"subject_template":{"type":"string","maxLength":400},"text_template":{"type":"string"},"url":{"type":"string","maxLength":400},"user_key":{"type":"string","maxLength":400},"username":{"type":"string","maxLength":400},"workflow_id":{"$ref":"#/components/schemas/NullableKeyStr"},"call_id":{"$ref":"#/components/schemas/NullableKeyStr"},"token_id":{"$ref":"#/components/schemas/NullableKeyStr"}}},"WebhookConfig":{"type":"object","required":["type","enabled","alerts","parameters"],"properties":{"type":{"type":"string","description":"Integration type identifier","example":"slack"},"enabled":{"type":"boolean"},"alerts":{"type":"array","items":{"type":"string","enum":["SLOW","WARNING","FAILED","TIMEOUT","ERROR","PASS","HEADERS","SSL_EXPIRY","AGENT_OFFLINE","AGENT_ONLINE"]}},"parameters":{"$ref":"#/components/schemas/WebhookParameters"}}},"WebhookMeta":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":400},"tags":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"include_tags":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"exclude_tags":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"created":{"type":"string","format":"date-time","readOnly":true},"last_update":{"type":"string","format":"date-time","readOnly":true},"global_settings":{"type":"boolean","readOnly":true}}},"WebhookInput":{"type":"object","required":["meta","webhook"],"properties":{"meta":{"$ref":"#/components/schemas/WebhookMeta"},"webhook":{"$ref":"#/components/schemas/WebhookConfig"}}},"WebhookOutput":{"allOf":[{"$ref":"#/components/schemas/WebhookInput"},{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/KeyStr"}}}]},"WebhookTypeDescription":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"AuthDocumentation":{"type":"object","properties":{"keys":{"type":"string","nullable":true,"maxLength":500},"docs":{"type":"string","nullable":true,"maxLength":500},"apps":{"type":"string","nullable":true,"maxLength":500},"provider":{"type":"string","nullable":true,"maxLength":500}}},"AuthMeta":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":400},"domain":{"type":"string","format":"hostname"},"description":{"type":"string","nullable":true,"maxLength":1500},"tags":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"documentation":{"$ref":"#/components/schemas/AuthDocumentation"},"project_id":{"$ref":"#/components/schemas/KeyStr"},"created":{"type":"string","format":"date-time","readOnly":true},"last_update":{"type":"string","format":"date-time","readOnly":true}}},"AuthSettings":{"type":"object","properties":{"auth_type":{"type":"string","description":"Authentication type identifier","example":"OAUTH2"},"custom_variables":{"type":"object","additionalProperties":true}},"additionalProperties":true},"AuthKeys":{"type":"object","properties":{"client_id":{"type":"string","nullable":true,"maxLength":500},"client_secret":{"type":"string","nullable":true,"maxLength":500}}},"AuthInput":{"type":"object","required":["meta","settings"],"properties":{"meta":{"$ref":"#/components/schemas/AuthMeta"},"settings":{"$ref":"#/components/schemas/AuthSettings"},"keys":{"$ref":"#/components/schemas/AuthKeys"}}},"AuthOutput":{"allOf":[{"$ref":"#/components/schemas/AuthInput"},{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/KeyStr"}}}]},"ResultOutput":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"result":{"type":"string","enum":["PASS","FAIL","WARN","ERROR","TIMEOUT","QUEUED"]},"created":{"type":"string","format":"date-time"},"response_time":{"type":"integer","description":"Total response time in milliseconds"},"http_code":{"type":"integer"},"test":{"$ref":"#/components/schemas/KeyStr"},"location_id":{"type":"string"}}},"StatsOutput":{"type":"object","properties":{"response_time":{"type":"number","description":"Mean response time (ms)"},"latency":{"type":"number"},"pass":{"type":"integer"},"fail":{"type":"integer"},"warn":{"type":"integer"},"error":{"type":"integer"},"total":{"type":"integer"}}},"PassFailStats":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"pass":{"type":"integer"},"fail":{"type":"integer"},"warn":{"type":"integer"},"total":{"type":"integer"}}},"FileMeta":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"project_id":{"$ref":"#/components/schemas/KeyStr"},"created":{"type":"string","format":"date-time","readOnly":true},"last_update":{"type":"string","format":"date-time","readOnly":true},"size":{"type":"integer","readOnly":true},"content_type":{"type":"string","readOnly":true}}},"FileOutput":{"type":"object","required":["id","meta"],"properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"meta":{"$ref":"#/components/schemas/FileMeta"}}},"IncidentOutput":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"meta":{"type":"object","properties":{"name":{"type":"string"},"project_id":{"$ref":"#/components/schemas/KeyStr"},"created":{"type":"string","format":"date-time"},"last_update":{"type":"string","format":"date-time"}}},"incident":{"type":"object","properties":{"start_time":{"type":"string","format":"date-time"},"end_time":{"type":"string","format":"date-time","nullable":true},"state":{"type":"string","enum":["OPEN","RESOLVED"]},"severity":{"type":"string","enum":["CRITICAL","HIGH","MEDIUM","LOW"]}}}}},"IncidentInput":{"type":"object","properties":{"meta":{"type":"object","properties":{"name":{"type":"string"},"project_id":{"$ref":"#/components/schemas/KeyStr"}}},"incident":{"type":"object","properties":{"start_time":{"type":"string","format":"date-time"},"end_time":{"type":"string","format":"date-time","nullable":true},"state":{"type":"string","enum":["OPEN","RESOLVED"]},"severity":{"type":"string","enum":["CRITICAL","HIGH","MEDIUM","LOW"]}}}}},"WorkspaceVariable":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}},"WorkspaceOutput":{"type":"object","properties":{"name":{"type":"string"},"variables":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceVariable"}}}},"ReportOutput":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"meta":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"project_id":{"$ref":"#/components/schemas/KeyStr"},"created":{"type":"string","format":"date-time"},"last_update":{"type":"string","format":"date-time"}}},"report":{"type":"object","additionalProperties":true}}},"ReportInput":{"type":"object","properties":{"meta":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"project_id":{"$ref":"#/components/schemas/KeyStr"}}},"report":{"type":"object","additionalProperties":true}}},"WorkflowOutput":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"meta":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"}},"project_id":{"$ref":"#/components/schemas/KeyStr"},"created":{"type":"string","format":"date-time"},"last_update":{"type":"string","format":"date-time"}}},"workflow":{"type":"object","properties":{"call_ids":{"type":"array","items":{"$ref":"#/components/schemas/KeyStr"}},"stop_on_failure":{"type":"boolean"}}}}},"WorkflowInput":{"type":"object","properties":{"meta":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"}},"project_id":{"$ref":"#/components/schemas/KeyStr"}}},"workflow":{"type":"object","properties":{"call_ids":{"type":"array","items":{"$ref":"#/components/schemas/KeyStr"}},"stop_on_failure":{"type":"boolean"}}}}},"AgentOutput":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"meta":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"project_id":{"$ref":"#/components/schemas/KeyStr"},"created":{"type":"string","format":"date-time"},"last_update":{"type":"string","format":"date-time"}}},"agent":{"type":"object","properties":{"location_id":{"type":"string"},"enabled":{"type":"boolean"},"last_seen":{"type":"string","format":"date-time","nullable":true}}}}},"AuditOutput":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"resource_key":{"$ref":"#/components/schemas/KeyStr"},"action":{"type":"string"},"username":{"type":"string"},"created":{"type":"string","format":"date-time"},"changes":{"type":"object","additionalProperties":true}}},"OrganizationOutput":{"type":"object","properties":{"id":{"type":"string"},"meta":{"type":"object","properties":{"name":{"type":"string"},"created":{"type":"string","format":"date-time"},"last_update":{"type":"string","format":"date-time"}}},"org":{"type":"object","additionalProperties":true}}},"OrganizationInput":{"type":"object","properties":{"meta":{"type":"object","properties":{"name":{"type":"string"}}},"org":{"type":"object","additionalProperties":true}}},"ProjectOutput":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"meta":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"created":{"type":"string","format":"date-time"},"last_update":{"type":"string","format":"date-time"}}}}},"AccountOutput":{"type":"object","properties":{"email":{"type":"string","format":"email"},"display_name":{"type":"string"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/ProjectOutput"}}}},"ApiKeyOutput":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/KeyStr"},"meta":{"type":"object","properties":{"name":{"type":"string"},"created":{"type":"string","format":"date-time"},"last_update":{"type":"string","format":"date-time"}}},"key":{"type":"string","description":"The API key value (only returned on creation)"}}},"ListMeta":{"type":"object","properties":{"next_cursor":{"type":"string","nullable":true},"more":{"type":"boolean"},"project_id":{"$ref":"#/components/schemas/KeyStr"}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}}}}}}},"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"authorizationCode":{"scopes":{"openid":"OpenID Connect identity","profile":"User profile","email":"User email address"},"authorizationUrl":"https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io","tokenUrl":"https://auth.apimetrics.io/oauth/token"}}},"ApiKey":{"type":"apiKey","in":"header","name":"X-Api-Key"},"AzureWebhook":{"type":"http","scheme":"bearer"}},"parameters":{"projectId":{"name":"project_id","in":"query","description":"Project key (required for project-scoped resources)","schema":{"$ref":"#/components/schemas/KeyStr"}},"cursor":{"name":"cursor","in":"query","description":"Pagination cursor returned by a previous list response","schema":{"type":"string"}},"limit":{"name":"limit","in":"query","description":"Maximum number of results (1–100)","schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},"attributes":{"name":"attributes","in":"query","description":"Comma-separated list of fields to include in the response","schema":{"type":"string"}},"callKey":{"name":"test_key_str","in":"path","required":true,"description":"URL-safe Datastore key for an API call","schema":{"$ref":"#/components/schemas/KeyStr"}},"scheduleKey":{"name":"key_str","in":"path","required":true,"description":"URL-safe Datastore key for a schedule","schema":{"$ref":"#/components/schemas/KeyStr"}},"downtimeKey":{"name":"downtime_key_str","in":"path","required":true,"description":"URL-safe Datastore key for a scheduled downtime","schema":{"$ref":"#/components/schemas/KeyStr"}},"webhookKey":{"name":"web_hook_key_str","in":"path","required":true,"description":"URL-safe Datastore key for a webhook","schema":{"$ref":"#/components/schemas/KeyStr"}},"authKey":{"name":"sc_key_str","in":"path","required":true,"description":"URL-safe Datastore key for an auth / service config","schema":{"$ref":"#/components/schemas/KeyStr"}},"fileKey":{"name":"key","in":"path","required":true,"description":"URL-safe Datastore key for a file","schema":{"$ref":"#/components/schemas/KeyStr"}},"incidentId":{"name":"incident_id","in":"path","required":true,"description":"URL-safe Datastore key for an incident","schema":{"$ref":"#/components/schemas/KeyStr"}},"workflowKey":{"name":"run_key","in":"path","required":true,"description":"URL-safe Datastore key for a workflow","schema":{"$ref":"#/components/schemas/KeyStr"}},"agentKey":{"name":"agent_key","in":"path","required":true,"description":"URL-safe Datastore key for a remote agent","schema":{"$ref":"#/components/schemas/KeyStr"}},"reportKey":{"name":"report_key","in":"path","required":true,"description":"URL-safe Datastore key for a report","schema":{"$ref":"#/components/schemas/KeyStr"}},"orgId":{"name":"org_id","in":"path","required":true,"description":"Organisation identifier","schema":{"type":"string"}},"subId":{"name":"sub_id","in":"path","required":true,"description":"Project or organisation subscription ID","schema":{"$ref":"#/components/schemas/KeyStr"}}},"responses":{"BadRequest":{"description":"Invalid request body or parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Missing or invalid authentication","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Insufficient access level for this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"NotFound":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"tags":[{"name":"Browser Monitors","description":"\nManage Browser Monitors.\n\nBrowser Monitors load a target URL in a real browser (Chromium, Firefox, or WebKit) and\nmeasure its availability and performance. Use them to monitor pages that require JavaScript\nrendering or full browser behaviour, complementing the HTTP-level checks provided by\nstandard Monitors.\n"},{"name":"MCP Monitors","description":"\nManage MCP Monitors.\n\nMCP Monitors test MCP servers by running a configurable sequence of steps (e.g. listing tools, calling a tool) against a\ntarget HTTP(S) URL.\n"},{"name":"Monitors","description":"\nList, read, and trigger monitors.\n\nThis resource provides a unified view across all monitor types (API, Browser, MCP, etc.)\nfor a project. Use the type-specific endpoints to create or update monitors.\n"},{"name":"SLOs","description":"\nManage Service Level Objectives (SLOs) for a project, monitor, or workflow.\n\nAn SLO defines\n- **objectives** — metric thresholds that must be met over a rolling period (e.g.\navailability > 99.5% per month)\n- **thresholds** — alerts that fire when a metric degrades by more than a specified delta\ncompared to the previous period. When an objective is breached an incident is opened; use the\nincidents endpoint to query the incident history for a time window.\n\nSLOs can be defined at three different scopes:\n- **project** — the SLO applies to all monitors in the project\n- **workflow** — the SLO applies to all monitors in a workflow\n- **monitor** — the SLO applies only to the specified monitor\n"},{"name":"Calls","description":"API call (test) definitions"},{"name":"Schedules","description":"Recurring execution schedules and downtime windows"},{"name":"Conditions","description":"Post-test assertion conditions"},{"name":"Webhooks","description":"Alert webhook integrations"},{"name":"Auth Settings","description":"Authentication / service configuration"},{"name":"Results","description":"Raw test execution results"},{"name":"Stats","description":"Aggregated performance statistics"},{"name":"Files","description":"File uploads used as request bodies"},{"name":"Incidents","description":"Incident tracking"},{"name":"Notifications","description":"Notification log"},{"name":"Environment","description":"Workspace environment variables"},{"name":"Reports","description":"Custom reports"},{"name":"Workflows","description":"Multi-step workflow (test run) definitions"},{"name":"Agents","description":"Remote monitoring agents"},{"name":"Audits","description":"Audit log"},{"name":"Organizations","description":"Organization management"},{"name":"Projects","description":"Project management"},{"name":"Account","description":"Account and billing management"},{"name":"API Keys","description":"Personal API keys"},{"name":"Users","description":"User management"}]}