PostHog error_tracking API

The error_tracking API from PostHog — 56 operation(s) for error_tracking.

OpenAPI Specification

posthog-error-tracking-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: PostHog actions error_tracking API
  version: 1.0.0
  description: ''
tags:
- name: error_tracking
paths:
  /api/environments/{environment_id}/error_tracking/releases/:
    get:
      operationId: environments_error_tracking_releases_list
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedErrorTrackingReleaseList'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
    post:
      operationId: environments_error_tracking_releases_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingRelease'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ErrorTrackingRelease'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ErrorTrackingRelease'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingRelease'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/releases/{id}/:
    get:
      operationId: environments_error_tracking_releases_retrieve
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking release.
        required: true
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingRelease'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
    put:
      operationId: environments_error_tracking_releases_update
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking release.
        required: true
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingRelease'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ErrorTrackingRelease'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ErrorTrackingRelease'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingRelease'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
    patch:
      operationId: environments_error_tracking_releases_partial_update
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking release.
        required: true
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingRelease'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingRelease'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingRelease'
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingRelease'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
    delete:
      operationId: environments_error_tracking_releases_destroy
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking release.
        required: true
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '204':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/releases/hash/{hash_id}/:
    get:
      operationId: environments_error_tracking_releases_hash_retrieve
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: hash_id
        schema:
          type: string
        required: true
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/symbol_sets/:
    get:
      operationId: environments_error_tracking_symbol_sets_list
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedErrorTrackingSymbolSetList'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
    post:
      operationId: environments_error_tracking_symbol_sets_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
          '*/*':
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingSymbolSet'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/symbol_sets/{id}/:
    get:
      operationId: environments_error_tracking_symbol_sets_retrieve
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking symbol set.
        required: true
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingSymbolSet'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
    put:
      operationId: environments_error_tracking_symbol_sets_update
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking symbol set.
        required: true
      tags:
      - error_tracking
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
          '*/*':
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingSymbolSet'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
    patch:
      operationId: environments_error_tracking_symbol_sets_partial_update
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking symbol set.
        required: true
      tags:
      - error_tracking
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingSymbolSet'
          '*/*':
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingSymbolSet'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingSymbolSet'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
    delete:
      operationId: environments_error_tracking_symbol_sets_destroy
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking symbol set.
        required: true
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '204':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/symbol_sets/{id}/download/:
    get:
      operationId: environments_error_tracking_symbol_sets_download_retrieve
      description: Return a presigned URL for downloading the symbol set's source map.
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking symbol set.
        required: true
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/_SymbolSetDownloadResponse'
          description: ''
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/symbol_sets/{id}/finish_upload/:
    put:
      operationId: environments_error_tracking_symbol_sets_finish_upload_update
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking symbol set.
        required: true
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '200':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/symbol_sets/bulk_delete/:
    post:
      operationId: environments_error_tracking_symbol_sets_bulk_delete_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '200':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/symbol_sets/bulk_finish_upload/:
    post:
      operationId: environments_error_tracking_symbol_sets_bulk_finish_upload_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '200':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/symbol_sets/bulk_start_upload/:
    post:
      operationId: environments_error_tracking_symbol_sets_bulk_start_upload_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '200':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{environment_id}/error_tracking/symbol_sets/start_upload/:
    post:
      operationId: environments_error_tracking_symbol_sets_start_upload_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
          '*/*':
            schema:
              $ref: '#/components/schemas/ErrorTrackingSymbolSet'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '200':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - error_tracking
  /api/environments/{project_id}/error_tracking/assignment_rules/:
    get:
      operationId: error_tracking_assignment_rules_list
      parameters:
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedErrorTrackingAssignmentRuleList'
          description: ''
      x-explicit-tags:
      - error_tracking
    post:
      operationId: error_tracking_assignment_rules_create
      parameters:
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingAssignmentRuleCreateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ErrorTrackingAssignmentRuleCreateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ErrorTrackingAssignmentRuleCreateRequest'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingAssignmentRule'
          description: ''
      x-explicit-tags:
      - error_tracking
  /api/environments/{project_id}/error_tracking/assignment_rules/{id}/:
    get:
      operationId: error_tracking_assignment_rules_retrieve
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking assignment rule.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingAssignmentRule'
          description: ''
      x-explicit-tags: []
    put:
      operationId: error_tracking_assignment_rules_update
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking assignment rule.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingAssignmentRuleUpdateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ErrorTrackingAssignmentRuleUpdateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ErrorTrackingAssignmentRuleUpdateRequest'
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '204':
          description: No response body
      x-explicit-tags: []
    patch:
      operationId: error_tracking_assignment_rules_partial_update
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking assignment rule.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingAssignmentRuleUpdateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingAssignmentRuleUpdateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingAssignmentRuleUpdateRequest'
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '204':
          description: No response body
      x-explicit-tags: []
    delete:
      operationId: error_tracking_assignment_rules_destroy
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking assignment rule.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '204':
          description: No response body
      x-explicit-tags: []
  /api/environments/{project_id}/error_tracking/assignment_rules/reorder/:
    patch:
      operationId: error_tracking_assignment_rules_reorder_partial_update
      parameters:
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingAssignmentRule'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingAssignmentRule'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingAssignmentRule'
      responses:
        '200':
          description: No response body
      x-explicit-tags:
      - error_tracking
  /api/environments/{project_id}/error_tracking/fingerprints/:
    get:
      operationId: error_tracking_fingerprints_list
      parameters:
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedErrorTrackingFingerprintList'
          description: ''
      x-explicit-tags:
      - error_tracking
  /api/environments/{project_id}/error_tracking/fingerprints/{id}/:
    get:
      operationId: error_tracking_fingerprints_retrieve
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: Fingerprint ID.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingFingerprint'
          description: ''
      x-explicit-tags:
      - error_tracking
    delete:
      operationId: error_tracking_fingerprints_destroy
      description: Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      responses:
        '405':
          description: No response body
      x-explicit-tags:
      - error_tracking
  /api/environments/{project_id}/error_tracking/git-provider-file-links/resolve_github/:
    get:
      operationId: error_tracking_git_provider_file_links_resolve_github_retrieve
      parameters:
      - in: query
        name: code_sample
        schema:
          type: string
          minLength: 1
        description: Code snippet to search for in repository files.
        required: true
      - in: query
        name: file_name
        schema:
          type: string
          minLength: 1
        description: File name to match in search results.
        required: true
      - in: query
        name: owner
        schema:
          type: string
          minLength: 1
        description: Repository owner or namespace.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      - in: query
        name: repository
        schema:
          type: string
          minLength: 1
        description: Repository name.
        required: true
      tags:
      - error_tracking
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GitProviderFileLinkResolveResponse'
          description: ''
      x-explicit-tags:
      - error_tracking
  /api/environments/{project_id}/error_tracking/git-provider-file-links/resolve_gitlab/:
    get:
      operationId: error_tracking_git_provider_file_links_resolve_gitlab_retrieve
      parameters:
      - in: query
        name: code_sample
        schema:
          type: string
          minLength: 1
        description: Code snippet to search for in repository files.
        required: true
      - in: query
        name: file_name
        schema:
          type: string
          minLength: 1
        description: File name to match in search results.
        required: true
      - in: query
        name: owner
        schema:
          type: string
          minLength: 1
        description: Repository owner or namespace.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      - in: query
        name: repository
        schema:
          type: string
          minLength: 1
        description: Repository name.
        required: true
      tags:
      - error_tracking
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GitProviderFileLinkResolveResponse'
          description: ''
      x-explicit-tags:
      - error_tracking
  /api/environments/{project_id}/error_tracking/grouping_rules/:
    get:
      operationId: error_tracking_grouping_rules_list
      parameters:
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingGroupingRuleListResponse'
          description: ''
      x-explicit-tags:
      - error_tracking
    post:
      operationId: error_tracking_grouping_rules_create
      parameters:
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingGroupingRuleCreateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ErrorTrackingGroupingRuleCreateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ErrorTrackingGroupingRuleCreateRequest'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingGroupingRule'
          description: ''
      x-explicit-tags:
      - error_tracking
  /api/environments/{project_id}/error_tracking/grouping_rules/{id}/:
    get:
      operationId: error_tracking_grouping_rules_retrieve
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking grouping rule.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingGroupingRule'
          description: ''
      x-explicit-tags: []
    put:
      operationId: error_tracking_grouping_rules_update
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking grouping rule.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ErrorTrackingGroupingRule'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ErrorTrackingGroupingRule'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ErrorTrackingGroupingRule'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingGroupingRule'
          description: ''
      x-explicit-tags: []
    patch:
      operationId: error_tracking_grouping_rules_partial_update
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking grouping rule.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingGroupingRule'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingGroupingRule'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingGroupingRule'
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorTrackingGroupingRule'
          description: ''
      x-explicit-tags: []
    delete:
      operationId: error_tracking_grouping_rules_destroy
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this error tracking grouping rule.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      security:
      - PersonalAPIKeyAuth:
        - error_tracking:write
      responses:
        '204':
          description: No response body
      x-explicit-tags: []
  /api/environments/{project_id}/error_tracking/grouping_rules/reorder/:
    patch:
      operationId: error_tracking_grouping_rules_reorder_partial_update
      parameters:
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - error_tracking
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingGroupingRule'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingGroupingRule'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedErrorTrackingGroupingRule'
      responses:
        '200':
          description: No response body
      x-explicit-tags:
      - error_tracking
  /api/environments/{project_id}/error_tracking/issues/:
    get:
      operationId: error_tracking_issues_list
      parameters:
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from wh

# --- truncated at 32 KB (124 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/posthog/refs/heads/main/openapi/posthog-error-tracking-api-openapi.yml