ModernLoop Internal API
Apisentry

Call any Sentry REST endpoint under /api/0

Forwards a provider-relative path, Sentry HTTP verb, query parameters, JSON body, and safe request headers. Returns the native upstream status, body, Link cursor pagination, location, retry, and X-Sentry-* headers.

Write operation: mutates state in the upstream service.

curl -X POST "https://api.modernloop.dev/rest/v1/sentry/api" \  -H "Authorization: Bearer $MLOOP_INTERNAL_MCP_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "method": "GET",    "path": "string"  }'
"string"
"string"
"string"
"string"
"string"

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

method*string

HTTP method to use against the Sentry REST API (/api/0)

Value in

  • "GET"
  • "POST"
  • "PUT"
  • "PATCH"
  • "DELETE"
  • "OPTIONS"
  • "HEAD"
path*string

Provider-relative path under /api/0 (must start with /, e.g. /organizations/{org}/projects/)

Length1 <= length
query?

Query string parameters forwarded to Sentry

headers?

Conditional and content-negotiation headers. Authorization, Host, Cookie, and other headers are discarded.

body?||||array<unknown>|

JSON request body for write methods (POST, PUT, PATCH)

Response Body

application/json

application/json

application/json

application/json

application/json