apx-sentry
Sentry for Action Platform: the access provider the core's access engine drives, and two read-only tools over issues. apx- is the prefix every Action Platform extension carries.
action-platform plugin install sentry
export AP_SENTRY_ORG=… AP_SENTRY_TOKEN=… # or Plugins → Sentry → Configure on the platform
action-platform sentry release-issues web web@1.4.0
action-platform sentry latest-errors web 2026-11-24T14:30:00Z
Access
With org set, the core's access tools (access_audit, access_who, access_sync, access_grant, access_revoke, access_offboard) read and change Sentry next to the other services. Accounts are member emails.
| Resource | Levels, lowest first |
|---|---|
org |
member, billing, admin, manager, owner |
team/<slug> |
contributor, admin |
- A member's organization role comes from
orgRole; a team member's role fromteamRole(a team member without one is acontributor). - Adding a member sends Sentry's invitation email; the member counts as granted while the invitation is pending.
- The last owner of the organization is never removed or demoted.
- Reads follow Sentry's
Link: rel="next"paging through every page of members, teams and team members. - Changes are dry runs until the core's tools are told to apply.
Tools
Read-only. MCP tools are sentry_<name>; each is also action-platform sentry <name> with dashes. Both return, per issue: id, short_id, title, culprit, level, status, count (events), users, first_seen, last_seen, permalink, project.
| Tool | Does |
|---|---|
sentry_release_issues(project, release, period="30d", limit=25) |
Issues first seen in a release of a project, newest first (firstRelease:"<release>" on the organization's issues, sorted by first seen). period is how far back Sentry looks. |
sentry_latest_errors(project, since, limit=25) |
Unresolved issues of a project with events from since (ISO 8601, e.g. the deploy's time) until now, most recently seen first. |
project is the project's slug; limit is at most 100. A since with an offset is converted to UTC.
Options
An organization fills them in under Plugins → Sentry → Configure; on a machine the tools read AP_SENTRY_<KEY> first, then the plugin's options file. Access reads the options only.
| Option | |
|---|---|
org |
Organization slug. Access is off while it is empty. |
token |
Secret. A personal or internal integration token. |
url |
Only for a self-hosted Sentry; empty means https://sentry.io. |
Token scopes
| For | Scopes |
|---|---|
| Reading access | member:read, team:read, org:read |
| Changing access | member:admin, team:write, org:read |
| The issue tools | project:read, event:read |
Develop
pip install -e ".[dev]"
ruff check . && ruff format --check . && pytest -q
Tests run without a network against tests/fake.py, which answers only the routes and fields Sentry's API reference documents. tests/live/ reads a real Sentry and changes nothing:
AP_SENTRY_LIVE=1 AP_SENTRY_ORG=… AP_SENTRY_TOKEN=… AP_SENTRY_PROJECT=<slug> AP_SENTRY_RELEASE=<version> pytest tests/live
Metadata
Release files for apx-sentry 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apx_sentry-0.1.0.tar.gz | 16.5 kB | With provenance | Details for apx_sentry-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apx_sentry-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for apx_sentry-0.1.0-py3-none-any.whl |
Total release size: 30.5 kB
Release files / apx_sentry-0.1.0.tar.gz
| Download URL | apx_sentry-0.1.0.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78b7ebb0d98558c7a0d2d36f6d892673c3d4f0698f053f4c991a22b604230152
|
|
BLAKE2b-256 checksum How to use checksums |
87ad51930d9cba1b125d54c2a8d1de3fb5091717a031a2f3730dd97e15da1a5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / apx_sentry-0.1.0-py3-none-any.whl
| Download URL | apx_sentry-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac3257798a4eb4544bb23c50e62616f50092071e57556f93ffa5df454e2790bc
|
|
BLAKE2b-256 checksum How to use checksums |
62200772cd3a337ca1978b358174181f57ade02d185e65abc9e7091d1f07d014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for apx-sentry 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for apx_sentry-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.