Create and configure Sentry projects across staging/production environments via REST API. Use when user needs to onboard a new service to Sentry, create Sentry projects, or set up error monitoring for a new application.
Create and configure Sentry projects across multiple environments via REST API.
Before using this skill, configure your Sentry instances:
# Add your Sentry instances here
SENTRY_INSTANCES:
- name: staging
url: https://sentry-staging.example.com
token_env: SENTRY_STAGING_TOKEN
org: your-org
- name: prod
url: https://sentry.example.com
token_env: SENTRY_PROD_TOKEN
org: your-org
Ask the user for:
payment-service)java-spring-bootpython-django / python-fastapijavascript-nextjs / javascript-reactgoandroidapple-ioscurl -s -H "Authorization: Bearer $TOKEN" "$SENTRY_URL/api/0/organizations/$ORG/teams/" | jq '.[].slug'
If 401 → token expired, guide user to regenerate.
curl -s -H "Authorization: Bearer $TOKEN" "$SENTRY_URL/api/0/organizations/$ORG/teams/" | jq '.[] | {slug, name}'
curl -s -X POST \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "<service-name>", "platform": "<platform>"}' \
"$SENTRY_URL/api/0/teams/$ORG/<team-slug>/projects/"
curl -s -H "Authorization: Bearer $TOKEN" \
"$SENTRY_URL/api/0/projects/$ORG/<project-slug>/keys/" | jq '.[0].dsn.public'
Based on platform, generate the SDK initialization code with the DSN.
java-spring-boot not java)