Sentry · Capability

Sentry Projects API — Filters

Sentry Projects API — Filters. 2 operations. Lead operation: Sentry List a project's data filters. Self-contained Naftiko capability covering one Sentry System business surface.

Run with Naftiko Sentry SystemFilters

What You Can Do

GET
Listprojectfilters — Sentry List a project's data filters
/v1/projects/{organization-id-or-slug}/{project-id-or-slug}/filters
PUT
Updateprojectfilter — Sentry Update an inbound data filter
/v1/projects/{organization-id-or-slug}/{project-id-or-slug}/filters/{filter-id}

MCP Tools

sentry-list-project-s-data-filters

Sentry List a project's data filters

read-only idempotent
sentry-update-inbound-data-filter

Sentry Update an inbound data filter

idempotent

Capability Spec

sentry-projects-filters.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sentry Projects API — Filters
  description: 'Sentry Projects API — Filters. 2 operations. Lead operation: Sentry List a project''s data filters. Self-contained
    Naftiko capability covering one Sentry System business surface.'
  tags:
  - Sentry System
  - Filters
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SENTRY_SYSTEM_API_KEY: SENTRY_SYSTEM_API_KEY
capability:
  consumes:
  - type: http
    namespace: sentry-projects-filters
    baseUri: https://sentry.io/api/0
    description: Sentry Projects API — Filters business capability. Self-contained, no shared references.
    resources:
    - name: projects-organization_id_or_slug-project_id_or_slug-filters
      path: /projects/{organization_id_or_slug}/{project_id_or_slug}/filters/
      operations:
      - name: listprojectfilters
        method: GET
        description: Sentry List a project's data filters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-organization_id_or_slug-project_id_or_slug-filters-filter_id
      path: /projects/{organization_id_or_slug}/{project_id_or_slug}/filters/{filter_id}/
      operations:
      - name: updateprojectfilter
        method: PUT
        description: Sentry Update an inbound data filter
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter_id
          in: path
          type: string
          description: The ID of the filter to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SENTRY_SYSTEM_API_KEY}}'
  exposes:
  - type: rest
    namespace: sentry-projects-filters-rest
    port: 8080
    description: REST adapter for Sentry Projects API — Filters. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/projects/{organization-id-or-slug}/{project-id-or-slug}/filters
      name: projects-organization-id-or-slug-project-id-or-slug-filters
      description: REST surface for projects-organization_id_or_slug-project_id_or_slug-filters.
      operations:
      - method: GET
        name: listprojectfilters
        description: Sentry List a project's data filters
        call: sentry-projects-filters.listprojectfilters
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{organization-id-or-slug}/{project-id-or-slug}/filters/{filter-id}
      name: projects-organization-id-or-slug-project-id-or-slug-filters-filter-id
      description: REST surface for projects-organization_id_or_slug-project_id_or_slug-filters-filter_id.
      operations:
      - method: PUT
        name: updateprojectfilter
        description: Sentry Update an inbound data filter
        call: sentry-projects-filters.updateprojectfilter
        with:
          filter_id: rest.filter_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sentry-projects-filters-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sentry Projects API — Filters. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: sentry-list-project-s-data-filters
      description: Sentry List a project's data filters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sentry-projects-filters.listprojectfilters
      outputParameters:
      - type: object
        mapping: $.
    - name: sentry-update-inbound-data-filter
      description: Sentry Update an inbound data filter
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sentry-projects-filters.updateprojectfilter
      with:
        filter_id: tools.filter_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.