{"openapi":"3.1.0","info":{"title":"New Relic (BYOK) API","version":"0.1.0","description":"New Relic (BYOK) lets an AI assistant read your own New Relic data through the New Relic API with a key you supply (New Relic user API key (US data center)). Read-only: 7 tools (get_current_user, list_accounts, search_entities, list_apm_applications, list_browser_applications, list_infrastructure_entities, list_entities_with_alert_severity). The BYOK key travels with each request, is used for...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-newrelic.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-newrelic/docs"},"termsOfService":"https://connectorbay.com/byok-newrelic/terms"},"servers":[{"url":"https://byok-newrelic.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-newrelic/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_current_user":{"post":{"operationId":"get_current_user","summary":"Show the New Relic user the API key belongs to: id, name and email. Use for \"Which New Relic user is my API key connecte","description":"Show the New Relic user the API key belongs to: id, name and email. Use for \"Which New Relic user is my API key connected to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_current_userArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_accounts":{"post":{"operationId":"list_accounts","summary":"List the New Relic accounts of the user's organization with name, id and data center region code (us01 or eu01). Needs a","description":"List the New Relic accounts of the user's organization with name, id and data center region code (us01 or eu01). Needs a user type that may view the organization's accounts. Use for \"Which New Relic accounts are in my organization\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_accountsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_entities":{"post":{"operationId":"search_entities","summary":"Search monitored entities with a New Relic entity query such as name like 'checkout' or domain = 'INFRA' and alertSeveri","description":"Search monitored entities with a New Relic entity query such as name like 'checkout' or domain = 'INFRA' and alertSeverity is not null. Returns guid, name, type, domain, reporting flag and alert severity. Use for \"Find the New Relic entities whose name contains checkout\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"entity_query":{"description":"Entity search query, for example \"name like 'checkout' and alertSeverity is not null\" or \"domain = 'INFRA' and tags.aws.awsRegion = 'us-east-1'\". Filterable fields include name, domain, domainType, id, accountId, alertSeverity and reporting.","maxLength":500,"title":"Entity Query","type":"string"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor copied from results.nextCursor of the previous answer to get the next page (at most 200 entities per page); leave empty for the first page.","title":"Cursor"}},"required":["entity_query"],"title":"search_entitiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_apm_applications":{"post":{"operationId":"list_apm_applications","summary":"List applications monitored by New Relic APM with guid, name, reporting flag and alert severity (200 per page). Use for ","description":"List applications monitored by New Relic APM with guid, name, reporting flag and alert severity (200 per page). Use for \"Which APM applications do I monitor in New Relic and are any alerting\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor copied from results.nextCursor of the previous answer to get the next page (at most 200 entities per page); leave empty for the first page.","title":"Cursor"}},"title":"list_apm_applicationsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_browser_applications":{"post":{"operationId":"list_browser_applications","summary":"List New Relic browser monitoring applications with guid, name, reporting flag and alert severity (200 per page). Use fo","description":"List New Relic browser monitoring applications with guid, name, reporting flag and alert severity (200 per page). Use for \"Which browser applications are monitored in New Relic\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor copied from results.nextCursor of the previous answer to get the next page (at most 200 entities per page); leave empty for the first page.","title":"Cursor"}},"title":"list_browser_applicationsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_infrastructure_entities":{"post":{"operationId":"list_infrastructure_entities","summary":"List entities of New Relic infrastructure monitoring (hosts, cloud integrations) with guid, name, type, reporting flag a","description":"List entities of New Relic infrastructure monitoring (hosts, cloud integrations) with guid, name, type, reporting flag and alert severity (200 per page). Use for \"Which infrastructure entities does New Relic monitor for me\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor copied from results.nextCursor of the previous answer to get the next page (at most 200 entities per page); leave empty for the first page.","title":"Cursor"}},"title":"list_infrastructure_entitiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_entities_with_alert_severity":{"post":{"operationId":"list_entities_with_alert_severity","summary":"List entities that have an alert severity (for example CRITICAL, WARNING or NOT_ALERTING) with guid, name, type and doma","description":"List entities that have an alert severity (for example CRITICAL, WARNING or NOT_ALERTING) with guid, name, type and domain (200 per page). Use for \"Which of my New Relic entities have an alert severity right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor copied from results.nextCursor of the previous answer to get the next page (at most 200 entities per page); leave empty for the first page.","title":"Cursor"}},"title":"list_entities_with_alert_severityArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}