{"openapi":"3.0.1","info":{"title":"API V0","version":"v0","description":"Quicknode Admin API V0","contact":{"name":"Quicknode"}},"paths":{"/v0/account/info":{"get":{"summary":"Retrieves account info for the authenticated API key","tags":["Account"],"description":"Returns non-sensitive identifying info for the account the API key belongs to","operationId":"accountInfo","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"billing_version":{"type":"string"},"subscription":{"type":"object","properties":{"plan_name":{"type":"string","nullable":true},"status":{"type":"string"},"interval":{"type":"string"}}}}},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/activity_logs":{"get":{"summary":"List activity log entries","tags":["Activity Logs"],"security":[{"bearerAuth":[]}],"description":"Who changed what on the account, newest first. Filter values for actor and type come from /v0/activity_logs/filters.","operationId":"listActivityLogs","parameters":[{"name":"q","in":"query","required":false,"description":"Search descriptions, endpoint subdomains, and team names","schema":{"type":"string"}},{"name":"actor","in":"query","required":false,"description":"User uuid or API key uuid, as listed by /v0/activity_logs/filters","schema":{"type":"string"}},{"name":"endpoint_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["endpoint","team","member","role","billing","add_on","api_key"]}},{"name":"from","in":"query","required":false,"schema":{"type":"string"},"description":"ISO 8601 date or date-time; a bare date means the start of that day (UTC)"},{"name":"to","in":"query","required":false,"schema":{"type":"string"},"description":"ISO 8601 date or date-time; a bare date means the end of that day (UTC)"},{"name":"limit","in":"query","required":false,"description":"Page size, up to 100. Defaults to 20.","schema":{"type":"integer"}},{"name":"offset","in":"query","required":false,"description":"Number of entries to skip. New entries shift pages while you walk, so pin `to` to the time you started when exporting.","schema":{"type":"integer"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/activity_log_entry"}},"pagination":{"type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"required":["total","limit","offset"]},"error":{"type":"string","nullable":true}},"required":["data","pagination","error"]}}}}}}},"/v0/activity_logs/filters":{"get":{"summary":"List activity log filter values","tags":["Activity Logs"],"security":[{"bearerAuth":[]}],"description":"Actors and target types accepted by the list filters","operationId":"listActivityLogFilters","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"actors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"type":{"type":"string","enum":["user","api_key"]}}}},"types":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}}}}},"required":["actors","types"]},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}}}},"/v0/activity_logs/{id}":{"parameters":[{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"required":true}],"get":{"summary":"Get an activity log entry","tags":["Activity Logs"],"security":[{"bearerAuth":[]}],"operationId":"getActivityLog","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/activity_log_entry"},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}}}},"/v0/api-credits/{chain}":{"get":{"summary":"Fetch API credits for a chain","tags":["Chains"],"description":"Fetch the API credit cost of every method available on a chain, priced for the calling account's billing configuration. Accepts the chain slugs returned by /v0/chains.","operationId":"apiCredits","parameters":[{"name":"chain","in":"path","description":"Chain slug as returned by /v0/chains","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/api_credit"}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"404":{"description":"chain not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"nullable":true},"error":{"type":"string"}}}}}}}}},"/v0/billing/invoices":{"get":{"summary":"Retrieves list of invoices","tags":["Billing"],"description":"Retrieve list of invoices","operationId":"invoices","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"invoices":{"type":"array","items":{"$ref":"#/components/schemas/invoice"}}}},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/billing/payments":{"get":{"summary":"Retrieves list of payments","tags":["Billing"],"description":"Retrieve list of payments","operationId":"payments","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"payments":{"type":"array","items":{"$ref":"#/components/schemas/payment"}}}},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/chains":{"get":{"summary":"Fetch list of chains","tags":["Chains"],"description":"Fetch a list of chains","operationId":"chains","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/chain"}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}}}},"/v0/endpoints/{id}/logs":{"get":{"summary":"Gets endpoint logs","tags":["Endpoint Logs"],"description":"Retrieves logs for a specific endpoint","operationId":"getEndpointLogs","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_details","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"next_at","in":"query","required":false,"schema":{"type":"string"}},{"name":"from","in":"query","required":true,"schema":{"type":"string"}},{"name":"to","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"logs retrieved successfully","content":{"application/json":{"examples":{"logs_response":{"value":{"data":[{"timestamp":"2025-04-29T12:39:25.543Z","method":"eth_sendRawTransaction","network":"xdai","http_method":"POST","status":200,"error_code":null,"url":"/","request_id":"fbecafc8-24f6-11f0-b300-484b1a416a3f","details":{"request":"{\"jsonrpc\": \"2.0\", \"method\": \"eth_sendRawTransaction\", \"params\": [\"0x02f9051364824553843b9aca0084ee6b2800839896809469c0669f3b5df0f2e2644f01098b4465f565210180b904a46a761202000000000000000000000000a238cbeb142c10ef7ad8442c6d1f9e89e07e776100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000001e48d80ff0a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000019200552cea7bc33cbbeb9f1d90c1d11d2c6daeffd053000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c44954bbf142be1354a90d0ca1804fa5a595bd660dcee74cd6544b21759a1f5f0f8937efc20000000000000000000000000000000000000000000000000000000000000080000000000000000000000000998defafd094817ef329f6dc79c703f1cf18bc9000000000000000000000000000000000000000000000000000000000000003cf000000000000000000000000000000000000000000000000000000000000002034d4c8c2a0dd1cf3a4e0f93ccf8bd133a5551858eb631c2ffdb498a21b064d3c00694e62bdf7ff510a4ee66662cf4866a961a31653000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000245b34eba00e61d8e891e53169dd53017bf27e85e0e72418fa8bc0198eeb31990dc5d155ec00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001047f3797395663a7e45089db42caf92bb87fc5667dba0720559eb436fb90f946ce55632dbc31613ff37e376\"]","response":"{\"jsonrpc\":\"2.0\",\"result\":\"0x346465fe1518d3a2dc0a45fe51ca3052097397708f242c063c256c13182cf214\",\"id\":0}"}},{"timestamp":"2025-04-29T12:39:15.627Z","method":"eth_call","network":"xdai","http_method":"POST","status":200,"error_code":-32015,"url":"/","request_id":"f6038dca-24f6-11f0-b2d8-484b1a416a3f","details":{"request":"{\"jsonrpc\": \"2.0\", \"method\": \"eth_call\", \"params\": [{\"to\": \"0xE49CB081e8d96920C38aA7AB90cb0294ab4Bc8EA\", \"data\": \"0x02a8ca100000000000000000000000000000000000000000000000000000000000000000\"}, \"latest\"], \"id\": 1}","response":"{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32015,\"message\":\"VM execution error.\",\"data\":\"\\u000E\\u0797Y\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\"},\"id\":1}"}}],"next_at":"MTc0NTkzMDM1NTYwOTAwMDAwMHxmNjAwZDgxZS0yNGY2LTExZjAtYjJkNy03OTQwZmE2MDc2NWM="}}}}}},"400":{"description":"invalid parameters"},"404":{"description":"endpoint not found"}}}},"/v0/endpoints/{id}/log_details":{"get":{"summary":"Gets log details","tags":["Endpoint Logs"],"description":"Retrieves detailed information for a specific log entry","operationId":"getLogDetails","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"request_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"log details retrieved successfully","content":{"application/json":{"examples":{"log_details_response":{"value":{"data":{"request":"{\"jsonrpc\": \"2.0\", \"method\": \"eth_call\", \"params\": [{\"to\": \"0x62cCf8eE8756a7c6022C10Cb6Ee167F420d87A25\", \"from\": \"0xcb2434A1732Ed962E0c4232953c13eEe6719fff3\", \"value\": \"0x0\", \"data\": \"0x6a761202000000000000000000000000a238cbeb142c10ef7ad8442c6d1f9e89e07e7761000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000c48d80ff0a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000007900694e62bdf7ff510a4ee66662cf4866a961a31653000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000245b34eba0fcdeea0990fd076f3cca9061bfebc302e4febc1a6aeb9cc7e10b735424c8bcb50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010426a6e1e913784ae25ea661d0dcb4ce13bbd990693c3ebadb0a8e866afb8b1dd52152d784372b9320a76fa6fdb50f6101072f1f05a788eb4ce71bc90a712552e41ce1b52eb77fb8b95efbeb2511299534e92bd891f9694dc41d669be446411294fd72d8c2056c4f71065d9d9abc0f613eae8f5c36e3df73f1a8d838fb917bd5d39d1b5b2330dd098dd48b43df57dbdb1a8cb4228274062e91e6d4efc51ed2d5d26aaf1f00872cfc79b630ec5adb943fe34491a67bc88b41baf1e7667cc8a49a0acc1d1c97394f2ac9bc249d35e093111f3906f229e57937ce21a4be147f5fe39f2964e05d6d0de3294c642d459cd9aa2cd8e54fe81ae396aaa9c4222c83d6545877c7271c00000000000000000000000000000000000000000000000000000000\"}, \"0x25f68d6\"], \"id\": 321}","response":"{\"jsonrpc\":\"2.0\",\"id\":321,\"error\":{\"code\":3,\"message\":\"execution reverted: GS026\",\"data\":\"0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000054753303236000000000000000000000000000000000000000000000000000000\"}}\\n"}}}}}}},"400":{"description":"hermes rejects non-time-based UUID"},"404":{"description":"endpoint not found"}}}},"/v0/endpoints/{id}/method-rate-limits":{"get":{"summary":"Gets method rate limits","tags":["Endpoint Rate Limits"],"description":"Gets method rate limits","operationId":"getMethodRateLimits","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"endpoints fetched","content":{"application/json":{"examples":{"rate_limiters_list":{"value":{"data":{"rate_limiters":[{"id":"a1b2c3d4-e5f6-4a5b-9c8d-7e6f5a4b3c2d","interval":"second","methods":["example_method"],"limit_by_ip":false,"rate":10,"status":"enabled","created":"2024-01-01T12:00:00.000000Z"}]},"error":null}}}}}},"404":{"description":"returns empty when endpoint does not exist"}}},"post":{"summary":"Creates a method rate limit","tags":["Endpoint Rate Limits"],"description":"Creates a method rate limit","operationId":"createMethodRateLimit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"method rate limit created","content":{"application/json":{"examples":{"example_key":{"value":{"data":{"created":"2024-01-01T12:00:00.000000Z","id":"a1b2c3d4-e5f6-4a5b-9c8d-7e6f5a4b3c2d","interval":"second","methods":["example_method"],"limit_by_ip":true,"rate":10,"status":"enabled"},"error":null}}}}}},"400":{"description":"invalid parameters"},"404":{"description":"endpoint not found"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"interval":{"type":"string","enum":["second","minute","day"]},"methods":{"type":"array","items":{"type":"string"}},"rate":{"type":"integer"},"limit_by_ip":{"type":"boolean","description":"Apply the rate to each client IP instead of the endpoint as a whole. Defaults to false."}},"required":["interval","methods","rate"]}}}}}},"/v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id}":{"patch":{"summary":"Updates a method rate limit","tags":["Endpoint Rate Limits"],"description":"Updates a method rate limit","operationId":"updateMethodRateLimit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"method_rate_limit_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"method rate limit updated","content":{"application/json":{"examples":{"single_rate_limiter":{"value":{"data":{"created":"2024-01-01T12:00:00.000000Z","id":"a1b2c3d4-e5f6-4a5b-9c8d-7e6f5a4b3c2d","interval":"day","methods":["example_method_1","example_method_2"],"limit_by_ip":false,"rate":30,"status":"enabled"},"error":null}}}}}},"400":{"description":"invalid request"},"404":{"description":"rate limit not found"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"methods":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["enabled","disabled"]},"rate":{"type":"integer"},"limit_by_ip":{"type":"boolean","description":"Apply the rate to each client IP instead of the endpoint as a whole"}}}}}}},"delete":{"summary":"Deletes a method rate limit","tags":["Endpoint Rate Limits"],"description":"Deletes a method rate limit","operationId":"deleteMethodRateLimit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"method_rate_limit_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"method rate limit deleted","content":{"application/json":{"examples":{"rate_limiter_deletion":{"value":{"data":"Rate limit deleted successfully","error":null}}}}}},"404":{"description":"method rate limit not found"}}}},"/v0/endpoints/{id}/metrics":{"get":{"summary":"Fetch single metric","tags":["Endpoint Metrics"],"description":"Fetches a single metric for an endpoint","operationId":"fetchEndpointMetric","parameters":[{"name":"id","in":"path","required":true,"description":"Endpoint ID","schema":{"type":"string"}},{"name":"period","in":"query","schema":{"type":"string","enum":["hour","day","week","month"]},"required":true,"description":"hour, day, week, month"},{"name":"metric","in":"query","schema":{"type":"string","enum":["method_calls_over_time","metered_endpoint_data_over_time","metered_endpoint_credits_over_time","credits_over_time","response_status_over_time","response_status_breakdown","response_time_over_time","method_response_time_max","request_errors_over_time","total_request_errors_over_time"]},"required":true,"description":"method_calls_over_time, metered_endpoint_data_over_time, metered_endpoint_credits_over_time, credits_over_time, response_status_over_time, response_status_breakdown, response_time_over_time, method_response_time_max, request_errors_over_time, total_request_errors_over_time"}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_metric"}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}}}},"/v0/endpoints/{id}/rate-limits":{"get":{"summary":"List endpoint rate limits","tags":["Endpoint Rate Limits"],"description":"Returns the rate limits currently enforced on the endpoint, with the source of each value.","operationId":"getRateLimits","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Rate limits returned"},"404":{"description":"Endpoint not found"}}},"patch":{"summary":"Update endpoint rate limits (partial)","tags":["Endpoint Rate Limits"],"description":"Partial update of endpoint-level rate-limit overrides (RPS/RPM/RPD). Only buckets included in the request body are modified — omitted buckets are left unchanged. There is no clear-by-omission behavior. PUT is also accepted as a legacy alias of this operation.","operationId":"updateRateLimits","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Rate limits updated"},"400":{"description":"Bad Request"},"404":{"description":"Endpoint not found"},"500":{"description":"Internal Server Error"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","minProperties":1,"properties":{"limit_by_ip":{"type":"boolean","description":"Apply the endpoint rate limits to each client IP instead of the endpoint as a whole. Omit to leave unchanged."},"rate_limits":{"type":"object","properties":{"rps":{"type":"integer","minimum":1,"description":"Maximum requests per second. Capped by the account's plan tier."},"rpm":{"type":"integer","minimum":1,"description":"Maximum requests per minute. Capped by the account's plan tier."},"rpd":{"type":"integer","minimum":1,"description":"Maximum requests per day. Capped by the account's plan tier."}},"minProperties":1}}}}}}},"put":{"summary":"Update endpoint rate limits (legacy PUT alias)","tags":["Endpoint Rate Limits"],"description":"Deprecated — kept for backwards compatibility with existing API clients. Use PATCH /v0/endpoints/{id}/rate-limits instead.","operationId":"updateRateLimitsLegacyPut","deprecated":true,"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Rate limits updated"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","minProperties":1,"properties":{"limit_by_ip":{"type":"boolean","description":"Apply the endpoint rate limits to each client IP instead of the endpoint as a whole. Omit to leave unchanged."},"rate_limits":{"type":"object","properties":{"rps":{"type":"integer","minimum":1,"description":"Maximum requests per second. Capped by the account's plan tier."},"rpm":{"type":"integer","minimum":1,"description":"Maximum requests per minute. Capped by the account's plan tier."},"rpd":{"type":"integer","minimum":1,"description":"Maximum requests per day. Capped by the account's plan tier."}},"minProperties":1}}}}}}}},"/v0/endpoints/{id}/rate-limits/{override_id}":{"delete":{"summary":"Delete a user-set rate-limit override","tags":["Endpoint Rate Limits"],"description":"Delete the user-set rate-limit override identified by its UUID. The override id is exposed on the GET rate-limits response for user_override rows. Returns 404 if the id does not match a user-set override on this endpoint — plan defaults are not deletable.","operationId":"deleteRateLimitOverride","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"override_id","in":"path","description":"The UUID of the user-set rate-limit override, as returned by the GET rate-limits response.","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Override not found"}}}},"/v0/endpoints/{id}/security_options":{"get":{"summary":"Gets security options","tags":["Endpoint Security"],"description":"Gets security options for an endpoint","operationId":"getSecurityOptions","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"security options fetched","content":{"application/json":{"examples":{"security_options_list":{"value":{"data":[{"option":"tokens","status":"enabled"},{"option":"referrers","status":"enabled"},{"option":"jwts","status":"enabled"},{"option":"ips","status":"enabled"},{"option":"domainMasks","status":"enabled"},{"option":"hsts","status":"enabled"},{"option":"cors","status":"enabled"},{"option":"requestFilters","status":"enabled"},{"option":"ipCustomHeader","status":"enabled","value":"CF-Connecting-IP"}],"error":null}}}}}},"404":{"description":"endpoint not found"}}},"patch":{"summary":"Updates security options","tags":["Endpoint Security"],"description":"Updates security options for an endpoint","operationId":"updateSecurityOptions","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"security options updated","content":{"application/json":{"examples":{"updated_security_options":{"value":{"data":[{"option":"tokens","status":"enabled"},{"option":"referrers","status":"enabled"},{"option":"jwts","status":"enabled"},{"option":"ips","status":"enabled"},{"option":"domainMasks","status":"enabled"},{"option":"hsts","status":"enabled"},{"option":"cors","status":"enabled"},{"option":"requestFilters","status":"enabled"},{"option":"ipCustomHeader","status":"enabled","value":"CF-Connecting-IP"}],"error":null}}}}}},"400":{"description":"invalid request"},"404":{"description":"endpoint not found"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"options":{"type":"object","properties":{"tokens":{"type":"string","enum":["enabled","disabled"]},"referrers":{"type":"string","enum":["enabled","disabled"]},"jwts":{"type":"string","enum":["enabled","disabled"]},"ips":{"type":"string","enum":["enabled","disabled"]},"domainMasks":{"type":"string","enum":["enabled","disabled"]},"hsts":{"type":"string","enum":["enabled","disabled"]},"cors":{"type":"string","enum":["enabled","disabled"]},"requestFilters":{"type":"string","enum":["enabled","disabled"]},"ipCustomHeader":{"type":"string","enum":["enabled","disabled"]}},"additionalProperties":false}},"required":["options"]}}}}}},"/v0/endpoints/{id}/security/referrers":{"post":{"summary":"Creates a new endpoint referrer","description":"Create an endpoint referrer","operationId":"createReferrer","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"referrer created"},"400":{"description":"referrer is missing"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"referrer":{"type":"string"}}}}},"required":true}}},"/v0/endpoints/{id}/security/request_filters":{"get":{"summary":"Lists the request filters for an endpoint","description":"Lists the method whitelist and any custom Quamina request filters. A request is allowed if it matches at least one of them.","operationId":"listRequestFilters","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"pattern":{"type":"object","additionalProperties":true},"method_whitelist":{"type":"boolean"}},"required":["id","pattern","method_whitelist"]}},"error":{"type":"string","nullable":true}}}}}}}},"post":{"summary":"Creates a new endpoint request filter","description":"Create an endpoint request filter","operationId":"createRequestFilter","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"method is missing","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"method":{"type":"array","items":{"type":"string"},"description":"Array of method names for whitelisting"},"pattern":{"type":"object","additionalProperties":true,"description":"Quamina pattern for a custom request filter, matched against the JSON-RPC request body. Send this or method, not both."}}}}},"required":true}}},"/v0/endpoints/{id}/security/request_filters/{request_filter_id}":{"put":{"summary":"Updates an existing endpoint request filter","description":"Update an endpoint request filter","operationId":"updateRequestFilter","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"request_filter_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"success - no content"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"method":{"type":"array","items":{"type":"string"},"description":"Array of method names for whitelisting"},"pattern":{"type":"object","additionalProperties":true,"description":"Quamina pattern for a custom request filter, matched against the JSON-RPC request body. Send this or method, not both."}}}}},"required":true}},"delete":{"summary":"Deletes an existing endpoint request filter","description":"Deletes an existing endpoint request filter","operationId":"deleteRequestFilter","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"request_filter_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"success - no content"}}}},"/v0/endpoints/{id}/security/tokens":{"post":{"summary":"Creates a new endpoint authentication token","description":"Create an endpoint authentication token","operationId":"createAuthenticationToken","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success"}}}},"/v0/endpoints/{id}/security/ips":{"post":{"summary":"Creates a new endpoint ip","description":"Create an endpoint ip","operationId":"createIp","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success"},"400":{"description":"ip is missing"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ip":{"type":"string"}}}}},"required":true}}},"/v0/endpoints/{id}/security/domain_masks":{"post":{"summary":"Creates a new endpoint domain_mask","description":"Create an endpoint domain_mask","operationId":"createDomainMask","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"domain_mask":{"type":"string"}}}}},"required":true}}},"/v0/endpoints/{id}/security/jwts":{"post":{"summary":"Creates a new endpoint jwt","description":"Create an endpoint jwt","operationId":"createJwt","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success"},"400":{"description":"name is missing"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"public_key":{"type":"string"},"kid":{"type":"string"},"name":{"type":"string"}}}}},"required":true}}},"/v0/endpoints/{id}/security/jwts/{jwt_id}":{"delete":{"summary":"Deletes an existing endpoint jwt","description":"Deletes an existing endpoint jwt","operationId":"deleteJwt","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"jwt_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success"}}}},"/v0/endpoints/{id}/security/domain_masks/{domain_mask_id}":{"delete":{"summary":"Deletes an existing endpoint domain_mask","description":"Deletes an existing endpoint domain mask","operationId":"deleteDomainMask","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_mask_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success"}}}},"/v0/endpoints/{id}/security/referrers/{referrer_id}":{"delete":{"summary":"Deletes an existing endpoint referrer","description":"Deletes an existing endpoint referrer","operationId":"deleteReferrer","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"referrer_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"boolean"},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/endpoints/{id}/security/ips/{ip_id}":{"delete":{"summary":"Deletes an existing endpoint ip","description":"Deletes an existing endpoint ip","operationId":"deleteIp","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"ip_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"boolean"},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/endpoints/{id}/security/tokens/{token_id}":{"delete":{"summary":"Deletes an existing endpoint token","description":"Deletes an existing endpoint token","operationId":"deleteToken","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"token_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"boolean"},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/endpoints/{id}/enable_multichain":{"post":{"summary":"Enable multichain for endpoint","description":"Enables multichain","operationId":"enableMultichain","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success"}}}},"/v0/endpoints/{id}/disable_multichain":{"post":{"summary":"Disable multichain for endpoint","description":"Disables multichain","operationId":"disableMultichain","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success"}}}},"/v0/endpoints/{id}/ip_custom_header":{"patch":{"summary":"Updates or creates an IP custom header","description":"Create or update an IP custom header","operationId":"createOrUpdateIpCustomHeader","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"header_name":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"header_name":{"type":"string","description":"IP custom header name"}},"required":["header_name"]}}},"required":true}},"delete":{"summary":"Deletes the IP custom header","description":"Delete the IP custom header","operationId":"deleteIpCustomHeader","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"boolean"},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/endpoints/{id}/security/client_certs":{"get":{"summary":"Lists the mTLS client certificates for an endpoint","description":"Lists the client certificates an endpoint accepts and whether mTLS is enabled. Enterprise only.","operationId":"listClientCerts","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"certs":{"type":"array","items":{"type":"object","properties":{"fingerprint":{"type":"string"},"subject":{"type":"string"},"issuer":{"type":"string"},"expires_at":{"type":"string"}},"required":["fingerprint","subject","issuer","expires_at"]}}},"required":["enabled","certs"]},"error":{"type":"string","nullable":true}}}}}},"403":{"description":"not an enterprise account","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","nullable":true},"error":{"type":"string"}}}}}}}},"post":{"summary":"Adds an mTLS client certificate to an endpoint","description":"Adds a PEM-encoded X.509 certificate to the list an endpoint accepts. Enterprise only.","operationId":"createClientCert","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"certs":{"type":"array","items":{"type":"object","properties":{"fingerprint":{"type":"string"},"subject":{"type":"string"},"issuer":{"type":"string"},"expires_at":{"type":"string"}},"required":["fingerprint","subject","issuer","expires_at"]}}},"required":["enabled","certs"]},"error":{"type":"string","nullable":true}}}}}},"422":{"description":"invalid certificate","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","nullable":true},"error":{"type":"string"}}}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"certificate":{"type":"string","description":"PEM-encoded X.509 certificate"}},"required":["certificate"]}}},"required":true}},"patch":{"summary":"Enables or disables mTLS for an endpoint","description":"Turns mTLS on or off. Enabling requires at least one client certificate. Enterprise only.","operationId":"updateClientCerts","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"certs":{"type":"array","items":{"type":"object","properties":{"fingerprint":{"type":"string"},"subject":{"type":"string"},"issuer":{"type":"string"},"expires_at":{"type":"string"}},"required":["fingerprint","subject","issuer","expires_at"]}}},"required":["enabled","certs"]},"error":{"type":"string","nullable":true}}}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}},"required":true}}},"/v0/endpoints/{id}/security/client_certs/{fingerprint}":{"delete":{"summary":"Removes an mTLS client certificate from an endpoint","description":"Removes the certificate with the given SHA-256 fingerprint. Removing the last certificate disables mTLS. Enterprise only.","operationId":"deleteClientCert","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"fingerprint","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"certs":{"type":"array","items":{"type":"object"}}}},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/endpoints/{id}/security/method_blacklist":{"get":{"summary":"Lists the blocked methods for an endpoint","description":"Lists the RPC methods this endpoint rejects. A blocked method is rejected even when it is on the method whitelist.","operationId":"listMethodBlacklist","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"methods":{"type":"array","items":{"type":"string"}}},"required":["methods"]},"error":{"type":"string","nullable":true}}}}}}}},"put":{"summary":"Replaces the blocked methods for an endpoint","description":"Replaces the full list of blocked methods. Send an empty list to clear it.","operationId":"updateMethodBlacklist","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"methods":{"type":"array","items":{"type":"string"}}},"required":["methods"]},"error":{"type":"string","nullable":true}}}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"methods":{"type":"array","items":{"type":"string"}}},"required":["methods"]}}},"required":true}}},"/v0/endpoints/{id}/security/range_limits":{"get":{"summary":"Lists the per-method block range limits for an endpoint","description":"Lists the maximum block range per method, for methods like eth_getLogs, and the methods that can take a limit on this chain. A limit only lowers the plan default range; it never raises it.","operationId":"listRangeLimits","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"integer"}},"supported_methods":{"type":"array","items":{"type":"string"},"description":"Methods that can take a range limit on this endpoint's chain. Empty when the chain has none."}},"required":["limits","supported_methods"]},"error":{"type":"string","nullable":true}}}}}}}},"put":{"summary":"Replaces the per-method block range limits for an endpoint","description":"Replaces the full map of method name to maximum block range. Send an empty map to clear it.","operationId":"updateRangeLimits","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"integer"}},"supported_methods":{"type":"array","items":{"type":"string"},"description":"Methods that can take a range limit on this endpoint's chain. Empty when the chain has none."}},"required":["limits","supported_methods"]},"error":{"type":"string","nullable":true}}}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"integer"}}},"required":["limits"]}}},"required":true}}},"/v0/endpoints/{id}/security/blocked_ips":{"get":{"summary":"Lists the blocked IPs and CIDR ranges for an endpoint","description":"Lists the IP addresses and CIDR ranges this endpoint rejects, even when they are on the IP whitelist. Blocking is enforced while the ips security option is enabled.","operationId":"listBlockedIps","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"ip":{"type":"string"}},"required":["id","ip"]}},"error":{"type":"string","nullable":true}}}}}}}},"post":{"summary":"Blocks an IP address or CIDR range","description":"Blocks an IP address or CIDR range on this endpoint.","operationId":"createBlockedIp","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string"},"ip":{"type":"string"}},"required":["id","ip"]},"error":{"type":"string","nullable":true}}}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ip":{"type":"string","description":"IP address or CIDR range"}},"required":["ip"]}}},"required":true}}},"/v0/endpoints/{id}/security/blocked_ips/{ip_id}":{"delete":{"summary":"Unblocks an IP address or CIDR range","description":"Removes an entry from the blocked IP list.","operationId":"deleteBlockedIp","tags":["Endpoint Security"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"ip_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success"}}}},"/v0/endpoints/{id}/tags":{"post":{"summary":"Creates endpoint tag","tags":["Endpoint Tags"],"description":"Create tag on an endpoint","operationId":"createTag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Tag created"},"400":{"description":"Bad Request"},"404":{"description":"Endpoint not found"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string"}}}}},"required":true}}},"/v0/endpoints/{id}/tags/{tag_id}":{"delete":{"summary":"Deletes endpoint tag","tags":["Endpoint Tags"],"description":"Delete tag from an endpoint","operationId":"deleteTag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"tag_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Tag deleted"},"404":{"description":"Endpoint not found"}}}},"/v0/endpoints":{"post":{"summary":"Creates a new endpoint","tags":["Endpoints"],"parameters":[],"description":"Create a single endpoint","operationId":"createEndpoint","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/single_endpoint"},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string"},"network":{"type":"string"}}}}},"required":true}},"get":{"summary":"Retrieves endpoints list","tags":["Endpoints"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"}},{"name":"search","in":"query","required":false,"description":"Search by subdomain or label","schema":{"type":"string"}},{"name":"sort_by","in":"query","required":false,"description":"Sort field","schema":{"type":"string","enum":["name","status","network","label","tags","usage","created_at"]}},{"name":"sort_direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"name":"networks","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Filter by network name(s)"},{"name":"statuses","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["active","paused"]}},"description":"Filter by status"},{"name":"labels","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Filter by label(s)"},{"name":"dedicated","in":"query","required":false,"description":"Filter dedicated endpoints","schema":{"type":"boolean"}},{"name":"is_flat_rate","in":"query","required":false,"description":"Filter flat rate endpoints","schema":{"type":"boolean"}},{"name":"tag_ids","in":"query","required":false,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"tag_labels","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"description":"Retrieve endpoints list. tag_ids and tag_labels are mutually exclusive.","operationId":"listEndpoints","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/endpoint"},"nullable":true},"pagination":{"type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"required":["total","limit","offset"]},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}}}},"/v0/endpoints/bulk/status":{"post":{"summary":"Bulk update endpoint status","tags":["Endpoints"],"description":"Pause or unpause multiple endpoints in a single call. Admin-only.","operationId":"bulkUpdateEndpointStatus","parameters":[],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer"},"updated_count":{"type":"integer"},"failed_count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"success":{"type":"boolean"}},"required":["id","success"]}}},"required":["total","updated_count","failed_count","results"]}},"required":["data"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"},"description":"Endpoint IDs"},"status":{"type":"string","enum":["active","paused"]}},"required":["ids","status"]}}}}}},"/v0/endpoints/bulk/tags":{"post":{"summary":"Bulk add tag to endpoints","tags":["Endpoints"],"description":"Add a tag to multiple endpoints in a single call. Admin-only.","operationId":"bulkAddTag","parameters":[],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer"},"updated_count":{"type":"integer"},"failed_count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"success":{"type":"boolean"}},"required":["id","success"]}},"tag":{"type":"object","properties":{"tag_id":{"type":"integer"},"label":{"type":"string"}}}},"required":["total","updated_count","failed_count","results","tag"]}},"required":["data"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"},"description":"Endpoint IDs"},"label":{"type":"string","description":"Tag label to add"}},"required":["ids","label"]}}}}},"delete":{"summary":"Bulk remove tag from endpoints","tags":["Endpoints"],"description":"Remove a tag from multiple endpoints in a single call. Admin-only.","operationId":"bulkRemoveTag","parameters":[],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer"},"updated_count":{"type":"integer"},"failed_count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"success":{"type":"boolean"}},"required":["id","success"]}}},"required":["total","updated_count","failed_count","results"]}},"required":["data"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"},"description":"Endpoint IDs"},"tag_id":{"type":"integer","description":"Tag ID to remove"}},"required":["ids","tag_id"]}}}}}},"/v0/endpoints/{id}/security":{"get":{"summary":"Get endpoint security state","tags":["Endpoints"],"description":"Returns full security state (tokens, JWTs, IPs, referrers, domain masks, request filters, options) without fetching the full endpoint.","operationId":"getEndpointSecurity","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/endpoint_security"},"error":{"type":"string","nullable":true}}}}}},"404":{"description":"endpoint not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"nullable":true},"error":{"type":"string"}}}}}}}}},"/v0/endpoints/{id}":{"get":{"summary":"Show single endpoint","tags":["Endpoints"],"description":"Returns a single endpoint","operationId":"showEndpoint","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/single_endpoint"},"error":{"type":"string","nullable":true}}}}}}}},"patch":{"summary":"Update endpoint","tags":["Endpoints"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"description":"Update label for a single endpoint","operationId":"UpdateEndpoint","responses":{"200":{"description":"success"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string"}}}}}}},"delete":{"summary":"Delete endpoint","tags":["Endpoints"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"description":"Delete a single endpoint","operationId":"archiveEndpoint","responses":{"200":{"description":"success"}}}},"/v0/endpoints/{id}/status":{"patch":{"summary":"Update endpoint status","tags":["Endpoints"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"description":"Pause or activate an endpoint","operationId":"UpdateEndpointStatus","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"400":{"description":"validation error","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"boolean","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["active","paused"]}},"required":["status"]}}}}}},"/v0/endpoints/{id}/urls":{"get":{"summary":"Get endpoint URLs","tags":["Endpoints"],"description":"Returns the http/wss URLs for the endpoint, plus multichain_urls for multichain endpoints.","operationId":"showEndpointUrls","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/endpoint_urls"},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/metrics":{"get":{"summary":"Fetch account-level metrics","tags":["Account Metrics"],"description":"Fetches metrics aggregated across all endpoints for an account","operationId":"fetchAccountMetrics","parameters":[{"name":"period","in":"query","schema":{"type":"string","enum":["hour","day","week","month"]},"required":true,"description":"hour, day, week, month"},{"name":"metric","in":"query","schema":{"type":"string","enum":["method_calls_over_time","metered_endpoint_data_over_time","metered_endpoint_credits_over_time","credits_over_time"]},"required":true,"description":"method_calls_over_time, metered_endpoint_data_over_time, metered_endpoint_credits_over_time, credits_over_time"},{"name":"percentile","in":"query","required":false,"description":"Percentile for response time metrics","schema":{"type":"string"}}],"responses":{"200":{"description":"credits_over_time metric","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_metric"}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}}}},"/v0/usage/credits/summary":{"get":{"summary":"Retrieves usage/credits summary","tags":["Observability"],"operationId":"usage_creditsSummary","description":"Requires an enterprise account or an active Enterprise or Enterprise PoC subscription. Provide last or ISO8601 from/to within the 90-day retention window. Breakdowns use joint groups and cursor pagination; totals cover the entire window. Errors expose separate RPC and HTTP counts as numbers, which may be fractional. Method errors require kind=rpc. Summary from/to report the expanded billing bucket window: minutes up to 61 minutes, hours up to 25 hours, and days for longer requested durations. Credits preserves from and rounds to up to the next hour. Explicit future inputs and expanded starts outside retention return 400. The rounded end may be in the future; the current bucket is incomplete and can change.","parameters":[{"name":"last","in":"query","schema":{"type":"string","example":"1h"},"required":false},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"maximum":1000},"required":false}],"responses":{"200":{"description":"Summary","content":{"application/json":{"schema":{"type":"object","required":["data","error"],"properties":{"data":{"type":"object","required":["from","to","totals"],"properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"totals":{"type":"object","required":["credits"],"properties":{"credits":{"type":"number"}}},"breakdown":{"type":"array","items":{"type":"object","required":["credits"],"properties":{"credits":{"type":"number"}}}},"next_cursor":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"Invalid range, grouping, filters, or cursor"}}}},"/v0/usage/rpc/summary":{"get":{"summary":"Retrieves usage/rpc summary","tags":["Observability"],"operationId":"usage_rpcSummary","description":"Requires an enterprise account or an active Enterprise or Enterprise PoC subscription. Provide last or ISO8601 from/to within the 90-day retention window. Breakdowns use joint groups and cursor pagination; totals cover the entire window. Errors expose separate RPC and HTTP counts as numbers, which may be fractional. Method errors require kind=rpc. Summary from/to report the expanded billing bucket window: minutes up to 61 minutes, hours up to 25 hours, and days for longer requested durations. Credits preserves from and rounds to up to the next hour. Explicit future inputs and expanded starts outside retention return 400. The rounded end may be in the future; the current bucket is incomplete and can change.","parameters":[{"name":"last","in":"query","schema":{"type":"string","example":"1h"},"required":false},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"maximum":1000},"required":false},{"name":"group_by[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["method","endpoint","chain","network"]}}},{"name":"endpoint_names[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"chains[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"networks[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"methods[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"tag_ids[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"addon_ids[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Summary","content":{"application/json":{"schema":{"type":"object","required":["data","error"],"properties":{"data":{"type":"object","required":["from","to","totals"],"properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"totals":{"type":"object","required":["requests","bytes","rpc_credits","data_credits","credits"],"properties":{"requests":{"type":"number","description":"Counts requests using the dashboard Traffic pricing rules. Excludes usage where request billing does not apply."},"bytes":{"type":"number"},"rpc_credits":{"type":"number"},"data_credits":{"type":"number"},"credits":{"type":"number"}}},"breakdown":{"type":"array","items":{"type":"object","required":["requests","bytes","rpc_credits","data_credits","credits"],"properties":{"requests":{"type":"number","nullable":true,"description":"Request count, or null when no request counts apply to this group, including data-only usage."},"bytes":{"type":"number"},"rpc_credits":{"type":"number"},"data_credits":{"type":"number"},"credits":{"type":"number"},"method":{"type":"string","nullable":true},"endpoint":{"type":"integer","nullable":true},"chain":{"type":"string","nullable":true},"network":{"type":"string","nullable":true}}}},"next_cursor":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"Invalid range, grouping, filters, or cursor"}}}},"/v0/usage/streams/summary":{"get":{"summary":"Retrieves usage/streams summary","tags":["Observability"],"operationId":"usage_streamsSummary","description":"Requires an enterprise account or an active Enterprise or Enterprise PoC subscription. Provide last or ISO8601 from/to within the 90-day retention window. Breakdowns use joint groups and cursor pagination; totals cover the entire window. Errors expose separate RPC and HTTP counts as numbers, which may be fractional. Method errors require kind=rpc. Summary from/to report the expanded billing bucket window: minutes up to 61 minutes, hours up to 25 hours, and days for longer requested durations. Credits preserves from and rounds to up to the next hour. Explicit future inputs and expanded starts outside retention return 400. The rounded end may be in the future; the current bucket is incomplete and can change.","parameters":[{"name":"last","in":"query","schema":{"type":"string","example":"1h"},"required":false},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"maximum":1000},"required":false},{"name":"group_by[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["stream"]}}},{"name":"stream_id","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Summary","content":{"application/json":{"schema":{"type":"object","required":["data","error"],"properties":{"data":{"type":"object","required":["from","to","totals"],"properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"totals":{"type":"object","required":["blocks","bytes","block_credits"],"properties":{"blocks":{"type":"number"},"bytes":{"type":"number"},"block_credits":{"type":"number"}}},"breakdown":{"type":"array","items":{"type":"object","required":["blocks","bytes","block_credits"],"properties":{"blocks":{"type":"number"},"bytes":{"type":"number"},"block_credits":{"type":"number"},"stream":{"type":"string","nullable":true}}}},"next_cursor":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"Invalid range, grouping, filters, or cursor"}}}},"/v0/usage/webhooks/summary":{"get":{"summary":"Retrieves usage/webhooks summary","tags":["Observability"],"operationId":"usage_webhooksSummary","description":"Requires an enterprise account or an active Enterprise or Enterprise PoC subscription. Provide last or ISO8601 from/to within the 90-day retention window. Breakdowns use joint groups and cursor pagination; totals cover the entire window. Errors expose separate RPC and HTTP counts as numbers, which may be fractional. Method errors require kind=rpc. Summary from/to report the expanded billing bucket window: minutes up to 61 minutes, hours up to 25 hours, and days for longer requested durations. Credits preserves from and rounds to up to the next hour. Explicit future inputs and expanded starts outside retention return 400. The rounded end may be in the future; the current bucket is incomplete and can change.","parameters":[{"name":"last","in":"query","schema":{"type":"string","example":"1h"},"required":false},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"maximum":1000},"required":false},{"name":"group_by[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["webhook"]}}},{"name":"webhook_id","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Summary","content":{"application/json":{"schema":{"type":"object","required":["data","error"],"properties":{"data":{"type":"object","required":["from","to","totals"],"properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"totals":{"type":"object","required":["deliveries","credits"],"properties":{"deliveries":{"type":"number"},"credits":{"type":"number"}}},"breakdown":{"type":"array","items":{"type":"object","required":["deliveries","credits"],"properties":{"deliveries":{"type":"number"},"credits":{"type":"number"},"webhook":{"type":"string","nullable":true}}}},"next_cursor":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"Invalid range, grouping, filters, or cursor"}}}},"/v0/metrics/traffic/summary":{"get":{"summary":"Retrieves metrics/traffic summary","tags":["Observability"],"operationId":"metrics_trafficSummary","description":"Requires an enterprise account or an active Enterprise or Enterprise PoC subscription. Provide last or ISO8601 from/to within the 90-day retention window. Breakdowns use joint groups and cursor pagination; totals cover the entire window. Errors expose separate RPC and HTTP counts as numbers, which may be fractional. Method errors require kind=rpc. Summary from/to report the expanded billing bucket window: minutes up to 61 minutes, hours up to 25 hours, and days for longer requested durations. Credits preserves from and rounds to up to the next hour. Explicit future inputs and expanded starts outside retention return 400. The rounded end may be in the future; the current bucket is incomplete and can change.","parameters":[{"name":"last","in":"query","schema":{"type":"string","example":"1h"},"required":false},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"maximum":1000},"required":false},{"name":"group_by[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["method","endpoint"]}}},{"name":"endpoint_names[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"chains[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"networks[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"methods[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"tag_ids[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"addon_ids[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Summary","content":{"application/json":{"schema":{"type":"object","required":["data","error"],"properties":{"data":{"type":"object","required":["from","to","totals"],"properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"totals":{"type":"object","required":["successful_requests","bytes","request_credits","bytes_credits","credits","active_methods"],"properties":{"successful_requests":{"type":"number","description":"Counts requests using the dashboard Traffic pricing rules. Excludes usage where request billing does not apply."},"bytes":{"type":"number"},"request_credits":{"type":"number"},"bytes_credits":{"type":"number"},"credits":{"type":"number"},"active_methods":{"type":"number"}}},"breakdown":{"type":"array","items":{"type":"object","required":["successful_requests","bytes","request_credits","bytes_credits","credits","active_methods"],"properties":{"successful_requests":{"type":"number","nullable":true,"description":"Request count, or null when no request counts apply to this group, including data-only usage."},"bytes":{"type":"number"},"request_credits":{"type":"number"},"bytes_credits":{"type":"number"},"credits":{"type":"number"},"active_methods":{"type":"number"},"method":{"type":"string","nullable":true},"endpoint":{"type":"integer","nullable":true}}}},"next_cursor":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"Invalid range, grouping, filters, or cursor"}}}},"/v0/metrics/errors/summary":{"get":{"summary":"Retrieves metrics/errors summary","tags":["Observability"],"operationId":"metrics_errorsSummary","description":"Requires an enterprise account or an active Enterprise or Enterprise PoC subscription. Provide last or ISO8601 from/to within the 90-day retention window. Breakdowns use joint groups and cursor pagination; totals cover the entire window. Errors expose separate RPC and HTTP counts as numbers, which may be fractional. Method errors require kind=rpc. Summary from/to report the expanded billing bucket window: minutes up to 61 minutes, hours up to 25 hours, and days for longer requested durations. Credits preserves from and rounds to up to the next hour. Explicit future inputs and expanded starts outside retention return 400. The rounded end may be in the future; the current bucket is incomplete and can change.","parameters":[{"name":"last","in":"query","schema":{"type":"string","example":"1h"},"required":false},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"maximum":1000},"required":false},{"name":"group_by[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["code","endpoint","network","method"]}}},{"name":"endpoints[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"networks[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"methods[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"codes[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"status_codes[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"kind","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Summary","content":{"application/json":{"schema":{"type":"object","required":["data","error"],"properties":{"data":{"type":"object","required":["from","to","totals"],"properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"totals":{"type":"object","required":["rpc_errors","http_errors"],"properties":{"rpc_errors":{"type":"number"},"http_errors":{"type":"number"}}},"breakdown":{"type":"array","items":{"type":"object","required":["kind","count"],"properties":{"kind":{"type":"string","enum":["rpc","http"]},"count":{"type":"number"},"code":{"type":"string","nullable":true},"endpoint":{"type":"integer","nullable":true},"network":{"type":"string","nullable":true},"method":{"type":"string","nullable":true}}}},"next_cursor":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"Invalid range, grouping, filters, or cursor"}}}},"/v0/endpoints/{id}/metrics/errors/summary":{"get":{"summary":"Retrieves endpoints/{id}/metrics/errors summary","tags":["Observability"],"operationId":"endpoints__id__metrics_errorsSummary","description":"Requires an enterprise account or an active Enterprise or Enterprise PoC subscription. Provide last or ISO8601 from/to within the 90-day retention window. Breakdowns use joint groups and cursor pagination; totals cover the entire window. Errors expose separate RPC and HTTP counts as numbers, which may be fractional. Method errors require kind=rpc. Summary from/to report the expanded billing bucket window: minutes up to 61 minutes, hours up to 25 hours, and days for longer requested durations. Credits preserves from and rounds to up to the next hour. Explicit future inputs and expanded starts outside retention return 400. The rounded end may be in the future; the current bucket is incomplete and can change.","parameters":[{"name":"last","in":"query","schema":{"type":"string","example":"1h"},"required":false},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"maximum":1000},"required":false},{"name":"group_by[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["code","network","method"]}}},{"name":"networks[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"methods[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"codes[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"status_codes[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"kind","in":"query","required":false,"schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"integer"},"required":true}],"responses":{"200":{"description":"Summary","content":{"application/json":{"schema":{"type":"object","required":["data","error"],"properties":{"data":{"type":"object","required":["from","to","totals"],"properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"totals":{"type":"object","required":["rpc_errors","http_errors"],"properties":{"rpc_errors":{"type":"number"},"http_errors":{"type":"number"}}},"breakdown":{"type":"array","items":{"type":"object","required":["kind","count"],"properties":{"kind":{"type":"string","enum":["rpc","http"]},"count":{"type":"number"},"code":{"type":"string","nullable":true},"network":{"type":"string","nullable":true},"method":{"type":"string","nullable":true}}}},"next_cursor":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"Invalid range, grouping, filters, or cursor"}}}},"/v0/transactions":{"get":{"summary":"Lists retained transactions","tags":["Observability"],"operationId":"observabilityTransactions","description":"Requires an enterprise account or an active Enterprise or Enterprise PoC subscription. Transactions are newest first. Cursors preserve the resolved window.","parameters":[{"name":"last","in":"query","required":false,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","required":false,"schema":{"type":"string"}},{"name":"network","in":"query","required":false,"schema":{"type":"string"}},{"name":"method","in":"query","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"transaction_hash","in":"query","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"endpoints[]","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"maximum":1000}}],"responses":{"200":{"description":"Transactions","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"transactions":{"type":"array","items":{"type":"object","required":["network","transaction_hash","first_submitted_at","last_submitted_at","attempt_count","endpoint_ids","methods","archive","height","state"],"properties":{"network":{"type":"string"},"transaction_hash":{"type":"string"},"first_submitted_at":{"type":"string","format":"date-time"},"last_submitted_at":{"type":"string","format":"date-time"},"attempt_count":{"type":"integer","minimum":0},"endpoint_ids":{"type":"array","items":{"type":"integer","nullable":true}},"methods":{"type":"array","items":{"type":"string"}},"archive":{"type":"boolean"},"height":{"type":"string","nullable":true,"pattern":"^-?[0-9]+$","description":"Decimal string to preserve precision"},"state":{"type":"string","enum":["submitted","succeeded","failed"]}}}},"next_cursor":{"type":"string"}}},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/transactions/{network}/{hash}":{"get":{"summary":"Retrieves retained transaction attempts","tags":["Observability"],"operationId":"observabilityTransaction","description":"Requires an enterprise account or an active Enterprise or Enterprise PoC subscription. Only attempts and optional payloads within the 90-day retention window are returned.","parameters":[{"name":"network","in":"path","required":true,"schema":{"type":"string"}},{"name":"hash","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_payloads","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Transaction detail (exists=false if absent)","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["exists","data"],"properties":{"exists":{"type":"boolean"},"data":{"type":"object","nullable":true,"required":["network","transaction_hash","first_submitted_at","last_submitted_at","state","attempts"],"properties":{"network":{"type":"string"},"transaction_hash":{"type":"string"},"first_submitted_at":{"type":"string","format":"date-time"},"last_submitted_at":{"type":"string","format":"date-time"},"attempt_count":{"type":"integer","minimum":0},"endpoint_ids":{"type":"array","items":{"type":"integer","nullable":true}},"methods":{"type":"array","items":{"type":"string"}},"archive":{"type":"boolean"},"height":{"type":"string","nullable":true,"pattern":"^-?[0-9]+$","description":"Decimal string to preserve precision"},"state":{"type":"string","enum":["submitted","succeeded","failed"]},"attempts":{"type":"array","items":{"type":"object","required":["submitted_at","endpoint_id","method","request_id"],"properties":{"submitted_at":{"type":"string","format":"date-time"},"endpoint_id":{"type":"integer"},"method":{"type":"string"},"request_id":{"type":"string","format":"uuid"},"payloads":{"type":"object","description":"Present only when include_payloads=true and payloads are available","properties":{"request":{"type":"string","nullable":true},"response":{"type":"string","nullable":true}}}}}}}}}},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/endpoints/tags":{"get":{"summary":"List account tags","tags":["Tags"],"description":"Returns all account-level tags including those with zero endpoints. Gated at Build/Growth+.","operationId":"listTags","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"label":{"type":"string"},"usage_count":{"type":"integer","description":"Number of endpoints using this tag"}},"required":["id","label","usage_count"]}}}},"error":{"type":"string","nullable":true}}}}}}}}},"/v0/endpoints/tags/{id}":{"patch":{"summary":"Rename a tag","tags":["Tags"],"description":"Renames an account tag. Because the Tag is shared across endpoints, all associated endpoints reflect the new label immediately. Admin-only.","operationId":"renameTag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer"},"label":{"type":"string"},"usage_count":{"type":"integer"}}},"error":{"type":"string","nullable":true}}}}}},"404":{"description":"tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"nullable":true},"error":{"type":"string"}}}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string"}},"required":["label"]}}}}},"delete":{"summary":"Delete a tag","tags":["Tags"],"description":"Deletes an account tag. Hard-fails if the tag is still assigned to any endpoints — remove it from all endpoints first. Admin-only.","operationId":"deleteTag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"success":{"type":"boolean"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"tag still in use","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"nullable":true},"error":{"type":"string"}}}}}},"404":{"description":"tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"nullable":true},"error":{"type":"string"}}}}}}}}},"/v0/teams/{id}/endpoints":{"parameters":[{"name":"id","in":"path","description":"Team ID","required":true,"schema":{"type":"integer"}}],"get":{"summary":"List endpoints accessible to this team","tags":["Teams"],"security":[{"bearerAuth":[]}],"description":"Retrieve endpoints assigned to this team plus unassigned endpoints (accessible to everyone)","operationId":"listTeamEndpoints","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"subdomain":{"type":"string"},"chain":{"type":"string","nullable":true},"network":{"type":"string","nullable":true}}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"404":{"description":"team not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}}}},"patch":{"summary":"Update endpoints assigned to a team","tags":["Teams"],"security":[{"bearerAuth":[]}],"description":"Update which endpoints are assigned to this team","operationId":"updateTeamEndpoints","parameters":[],"responses":{"200":{"description":"assignments updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"success":{"type":"boolean"}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"404":{"description":"team not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"endpoint_ids":{"type":"array","items":{"type":"string"}}},"required":["endpoint_ids"]}}}}}},"/v0/teams/{id}/members":{"parameters":[{"name":"id","in":"path","description":"Team ID","required":true,"schema":{"type":"integer"}}],"post":{"summary":"Invite a user to a team","tags":["Teams"],"security":[{"bearerAuth":[]}],"description":"Invite a new user or add an existing user to a team. For new users, full_name and role are required. For existing users, only email is needed.","operationId":"inviteTeamMember","parameters":[],"responses":{"200":{"description":"existing user added to team","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer"},"full_name":{"type":"string"},"email":{"type":"string"},"role":{"type":"string","nullable":true},"status":{"type":"string"}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"400":{"description":"maximum users reached","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}},"404":{"description":"team not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"full_name":{"type":"string"},"email":{"type":"string"},"role":{"type":"string","enum":["admin","viewer","billing"]}},"required":["email"]}}}}}},"/v0/teams/{id}/members/{user_id}":{"parameters":[{"name":"id","in":"path","description":"Team ID","required":true,"schema":{"type":"integer"}},{"name":"user_id","in":"path","description":"User ID","required":true,"schema":{"type":"integer"}}],"delete":{"summary":"Remove a user from a team","tags":["Teams"],"security":[{"bearerAuth":[]}],"description":"Remove a user from a team or delete the user from the account","operationId":"removeTeamMember","parameters":[],"responses":{"200":{"description":"user removed successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"message":{"type":"string"}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"400":{"description":"cannot remove primary user","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}},"404":{"description":"user not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"destroy_user":{"type":"boolean","default":false}}}}}}}},"/v0/teams/{id}/members/{user_id}/resend_invite":{"parameters":[{"name":"id","in":"path","description":"Team ID","required":true,"schema":{"type":"integer"}},{"name":"user_id","in":"path","description":"User ID","required":true,"schema":{"type":"integer"}}],"post":{"summary":"Resend invitation to a pending user","tags":["Teams"],"security":[{"bearerAuth":[]}],"description":"Resend an invitation email to a user with pending status","operationId":"resendTeamInvite","responses":{"200":{"description":"invite resent successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"message":{"type":"string"}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"400":{"description":"user not pending in team","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}},"404":{"description":"team not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}}}}},"/v0/teams":{"get":{"summary":"List all teams","tags":["Teams"],"security":[{"bearerAuth":[]}],"description":"Retrieve a list of all teams for the account","operationId":"listTeams","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"members_count":{"type":"integer"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"full_name":{"type":"string"},"email":{"type":"string"},"role":{"type":"string","nullable":true},"created_at":{"type":"string"},"status":{"type":"string"},"photo_url":{"type":"string"}}}}}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}}},"post":{"summary":"Create a new team","tags":["Teams"],"security":[{"bearerAuth":[]}],"description":"Create a new team for the account","operationId":"createTeam","parameters":[],"responses":{"200":{"description":"team created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"default_role":{"type":"string"},"members_count":{"type":"integer"}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"400":{"description":"bad request - invalid team name","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":4}},"required":["name"]}}}}}},"/v0/teams/{id}":{"parameters":[{"name":"id","in":"path","description":"Team ID","required":true,"schema":{"type":"integer"}}],"get":{"summary":"Show team details","tags":["Teams"],"security":[{"bearerAuth":[]}],"description":"Retrieve detailed information about a specific team","operationId":"getTeam","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"default_role":{"type":"string"},"members_count":{"type":"integer"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"full_name":{"type":"string"},"email":{"type":"string"},"created_at":{"type":"string"},"role":{"type":"string","nullable":true},"status":{"type":"string"},"photo_url":{"type":"string"},"account_primary_user":{"type":"boolean"}}}},"pending_invites":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"full_name":{"type":"string"},"email":{"type":"string"},"created_at":{"type":"string"},"role":{"type":"string","nullable":true},"status":{"type":"string"},"photo_url":{"type":"string"},"account_primary_user":{"type":"boolean"}}}}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"404":{"description":"team not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}}}},"delete":{"summary":"Delete an empty team","tags":["Teams"],"security":[{"bearerAuth":[]}],"description":"Delete a team that has no members","operationId":"deleteTeam","responses":{"200":{"description":"team deleted successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"message":{"type":"string"}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"400":{"description":"team has members","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}},"404":{"description":"team not found","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","nullable":true},"error":{"type":"string"}},"required":["data","error"]}}}}}}},"/v0/tooling-access":{"get":{"summary":"Fetch Tooling Access status","tags":["Tooling Access"],"description":"Returns whether Tooling Access is enabled for the account.","operationId":"toolingAccessShow","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"endpoint_id":{"type":"integer","nullable":true},"endpoint_url":{"type":"string","nullable":true},"enabled_at":{"type":"string","nullable":true}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}}},"patch":{"summary":"Enable or disable Tooling Access","tags":["Tooling Access"],"description":"Enable (provision/reactivate) or disable Tooling Access for the account.","operationId":"toolingAccessUpdate","parameters":[],"responses":{"200":{"description":"enabled","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"endpoint_url":{"type":"string","nullable":true}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}}}}},"/v0/tooling-access/token":{"post":{"summary":"Mint a short-lived session JWT","tags":["Tooling Access"],"description":"Mints a short-lived ES256 JWT for authenticating data-plane RPC calls.","operationId":"toolingAccessToken","responses":{"200":{"description":"token minted","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"endpoint_url":{"type":"string"},"token":{"type":"string"},"expires_at":{"type":"string"}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}}}}},"/v0/usage/rpc":{"get":{"summary":"Retrieves usage total for specified time range","tags":["Usage"],"description":"If neither start_time nor end_time are provided, current billing period is used and remaining credits for the period are returned. If one bound is omitted, the supplied bound is honored: missing start_time defaults to the current period start, and missing end_time defaults to the current time.","operationId":"usage","parameters":[{"name":"start_time","in":"query","description":"Start time","required":false,"schema":{"type":"integer"}},{"name":"end_time","in":"query","description":"End time","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"credits_used":{"type":"integer"},"credits_remaining":{"type":"integer","nullable":true},"limit":{"type":"integer","nullable":true},"overages":{"type":"integer","nullable":true},"start_time":{"type":"integer","format":"timestamp"},"end_time":{"type":"integer","format":"timestamp"}},"required":["credits_used","start_time","end_time"]},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"invalid time range"}}}},"/v0/usage/rpc/by-tag":{"get":{"summary":"Retrieves usage data grouped by tag","tags":["Usage"],"description":"Rolls up credits and requests per account tag. Includes an \"untagged\" bucket for endpoints with no tags.","operationId":"usageByTag","parameters":[{"name":"start_time","in":"query","description":"Start time (unix timestamp)","required":false,"schema":{"type":"integer"}},{"name":"end_time","in":"query","description":"End time (unix timestamp)","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"tag_id":{"type":"integer","nullable":true,"description":"null for the untagged bucket"},"label":{"type":"string"},"credits_used":{"type":"integer"},"rpc_credits":{"type":"integer"},"data_credits":{"type":"integer"},"bytes":{"type":"integer"},"requests":{"type":"integer"}},"required":["tag_id","label","credits_used","requests"]}},"start_time":{"type":"integer","format":"timestamp"},"end_time":{"type":"integer","format":"timestamp"}},"required":["tags","start_time","end_time"]},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"invalid time range"}}}},"/v0/usage/rpc/by-endpoint":{"get":{"summary":"Retrieves usage data by endpoint","tags":["Usage"],"description":"Retrieves usage data by endpoint","operationId":"usageByEndpoint","parameters":[{"name":"start_time","in":"query","description":"Start time","required":false,"schema":{"type":"integer"}},{"name":"end_time","in":"query","description":"End time","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"endpoints":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_usage"}},"start_time":{"type":"integer","format":"timestamp"},"end_time":{"type":"integer","format":"timestamp"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"invalid time range"}}}},"/v0/usage/rpc/by-method":{"get":{"summary":"Retrieves usage data grouped by method","tags":["Usage"],"description":"Retrieves usage data grouped by method","operationId":"usageByMethod","parameters":[{"name":"start_time","in":"query","description":"Start time","required":false,"schema":{"type":"integer"}},{"name":"end_time","in":"query","description":"End time","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"methods":{"type":"array","items":{"$ref":"#/components/schemas/method_usage_by_method"}},"start_time":{"type":"integer","format":"timestamp"},"end_time":{"type":"integer","format":"timestamp"}}},"error":{"type":"string","nullable":true}}}}}},"400":{"description":"invalid time range"}}}},"/v0/usage/rpc/by-chain":{"get":{"summary":"Retrieves usage data by chain","tags":["Usage"],"description":"Retrieves usage data by chain","operationId":"usageByChain","parameters":[{"name":"start_time","in":"query","description":"Start time","required":false,"schema":{"type":"integer"}},{"name":"end_time","in":"query","description":"End time","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"chains":{"type":"array","items":{"$ref":"#/components/schemas/chain_usage"}},"start_time":{"type":"integer","format":"timestamp"},"end_time":{"type":"integer","format":"timestamp"}}},"error":{"type":"string","nullable":true}},"required":["data","error"]}}}},"400":{"description":"invalid time range"}}}}},"servers":[{"url":"https://api.quicknode.com"}],"tags":[{"name":"Usage"},{"name":"Endpoints"},{"name":"Chains"},{"name":"Endpoint Security"},{"name":"Billing"},{"name":"Endpoint Rate Limits"},{"name":"Endpoint Metrics"},{"name":"Activity Logs"}],"components":{"securitySchemes":{"bearer_auth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"api_key":{"type":"apiKey","name":"x-api-key","in":"header"}},"schemas":{"chain":{"type":"object","properties":{"slug":{"type":"string"},"networks":{"type":"array","items":{"$ref":"#/components/schemas/network"}},"is_select_chain":{"type":"boolean"}}},"activity_log_entry":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"occurred_at":{"type":"string","format":"date-time"},"action":{"type":"string","example":"created"},"description":{"type":"string","nullable":true},"target":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","nullable":true,"example":"endpoint"},"label":{"type":"string"},"name":{"type":"string","nullable":true}},"required":["id","kind","label","name"]},"actor":{"type":"object","properties":{"id":{"type":"string","nullable":true,"description":"User uuid or API key uuid; null for Quicknode and deleted users"},"type":{"type":"string","enum":["user","api_key","quicknode","deleted_user"]},"name":{"type":"string","nullable":true,"description":"Member name or Quicknode; null for API keys"},"email":{"type":"string","nullable":true}},"required":["id","type","name","email"]}},"required":["id","occurred_at","action","description","target","actor"]},"api_credit":{"type":"object","properties":{"method":{"type":"string"},"credits":{"type":"integer"}},"required":["method","credits"]},"network":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"chain_id":{"type":"integer","nullable":true}}},"chain_usage":{"type":"object","properties":{"name":{"type":"string"},"credits_used":{"type":"integer"},"rpc_credits":{"type":"integer"},"data_credits":{"type":"integer"},"bytes":{"type":"integer"}}},"endpoint_usage":{"type":"object","properties":{"name":{"type":"string"},"chain":{"type":"string"},"network":{"type":"string"},"status":{"type":"string"},"credits_used":{"type":"integer"},"rpc_credits":{"type":"integer"},"data_credits":{"type":"integer"},"bytes":{"type":"integer"},"label":{"type":"string","nullable":true},"methods_breakdown":{"type":"array","items":{"$ref":"#/components/schemas/method_usage"}},"requests":{"type":"integer"}}},"method_usage":{"type":"object","properties":{"method_name":{"type":"string"},"credits_used":{"type":"integer"},"bytes":{"type":"integer"},"archive":{"type":"boolean","nullable":true},"network":{"type":"string","nullable":true},"chain":{"type":"string","nullable":true}}},"method_usage_by_method":{"type":"object","properties":{"method_name":{"type":"string"},"credits_used":{"type":"integer"},"archive":{"type":"boolean"},"bytes":{"type":"integer"}}},"endpoint":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","description":"endpoint subdomain"},"label":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","paused"]},"chain":{"type":"string","example":"eth","description":"chain slug"},"network":{"type":"string","example":"mainnet","description":"network slug"},"is_dedicated":{"type":"boolean"},"is_flat_rate":{"type":"boolean"},"http_url":{"type":"string"},"wss_url":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"object","properties":{"tag_id":{"type":"integer","nullable":false},"label":{"type":"string","nullable":false}}}},"is_multichain":{"type":"boolean"}},"required":["id","name","status","chain","network","is_dedicated","is_flat_rate","http_url","is_multichain"]},"single_endpoint":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string","nullable":true},"status":{"type":"string"},"chain":{"type":"string","example":"eth","description":"chain slug"},"network":{"type":"string","example":"mainnet","description":"network slug"},"http_url":{"type":"string"},"wss_url":{"type":"string","nullable":true},"security":{"$ref":"#/components/schemas/endpoint_security"},"rate_limits":{"$ref":"#/components/schemas/endpoint_rate_limits"},"tags":{"type":"array","items":{"type":"object","properties":{"tag_id":{"type":"integer","nullable":false},"label":{"type":"string","nullable":false}}}},"is_multichain":{"type":"boolean"}},"required":["id","chain","network","http_url","security","is_multichain"]},"endpoint_urls":{"type":"object","properties":{"http_url":{"type":"string"},"wss_url":{"type":"string","nullable":true},"multichain_urls":{"type":"object","nullable":true,"description":"Map of network name → { http_url, wss_url } for multichain endpoints; null otherwise.","additionalProperties":{"type":"object","properties":{"http_url":{"type":"string"},"wss_url":{"type":"string","nullable":true}},"required":["http_url","wss_url"]}}},"required":["http_url","wss_url","multichain_urls"]},"endpoint_rate_limits":{"type":"object","properties":{"rate_limit_by_ip":{"type":"boolean","nullable":true},"account":{"type":"integer","nullable":true},"rps":{"type":"integer","nullable":true},"rpm":{"type":"integer","nullable":true},"rpd":{"type":"integer","nullable":true}}},"endpoint_security":{"type":"object","properties":{"options":{"type":"object","properties":{"tokens":{"type":"boolean","nullable":true},"jwts":{"type":"boolean","nullable":true},"domainMasks":{"type":"boolean","nullable":true},"ips":{"type":"boolean","nullable":true},"referrers":{"type":"boolean","nullable":true},"requestFilters":{"type":"boolean","nullable":true},"ipCustomHeader":{"type":"object","properties":{"value":{"type":"string","nullable":true}}}}},"tokens":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_token"}},"jwts":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_jwt"}},"referrers":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_referrer"}},"domain_masks":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_domain_mask"}},"ips":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_ip"}},"blocked_ips":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_ip"}},"request_filters":{"type":"array","items":{"$ref":"#/components/schemas/endpoint_request_filter"}}}},"endpoint_jwt":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"kid":{"type":"string"},"name":{"type":"string"}}},"endpoint_token":{"type":"object","properties":{"id":{"type":"string"},"token":{"type":"string"}}},"endpoint_referrer":{"type":"object","properties":{"id":{"type":"string"},"referrer":{"type":"string"}}},"endpoint_domain_mask":{"type":"object","properties":{"id":{"type":"string"},"domain":{"type":"string"}}},"endpoint_ip":{"type":"object","properties":{"id":{"type":"string"},"ip":{"type":"string"}}},"endpoint_request_filter":{"type":"object","properties":{"id":{"type":"string"},"method":{"type":"array","items":{"type":"string"}},"params":{"type":"object"}}},"invoice":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"billing_reason":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"amount":{"type":"integer"}}}},"amount_due":{"type":"integer"},"amount_paid":{"type":"integer"},"period_start":{"type":"integer"},"period_end":{"type":"integer"},"created":{"type":"integer"},"subtotal":{"type":"integer"}}},"payment":{"type":"object","properties":{"amount":{"type":"string"},"card_last_4":{"type":"string","nullable":true},"created_at":{"type":"string"},"currency":{"type":"string"},"status":{"type":"string"},"marketplace_amount":{"type":"integer","nullable":true}}},"endpoint_metric":{"type":"object","properties":{"data":{"type":"array","items":{"type":"array","items":{"type":"integer"}}},"tag":{"type":"string"}}}}},"security":[{"bearer_auth":[]},{"api_key":[]}],"host":"www.quicknode.com"}