> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tensorpro.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dashboard Provenance

> Provenance composition drill-down, optionally restricted to one project.

``project_id`` only ever narrows the caller's OWN records: the helper
filters by ``user_id`` first, so passing another tenant's project id can at
most return an empty map, never that tenant's data.

# IDOR AUDIT PASS - scoped to auth.user_id; project_id is an intra-user filter.



## OpenAPI

````yaml get /api/v1/dashboard/provenance
openapi: 3.1.0
info:
  title: EDN Memory Engine
  version: 0.1.0
servers:
  - description: EDN evaluation endpoint
    url: https://api.tensorpro.ai
security:
  - EDNApiKey: []
paths:
  /api/v1/dashboard/provenance:
    get:
      summary: Dashboard Provenance
      description: >-
        Provenance composition drill-down, optionally restricted to one project.


        ``project_id`` only ever narrows the caller's OWN records: the helper

        filters by ``user_id`` first, so passing another tenant's project id can
        at

        most return an empty map, never that tenant's data.


        # IDOR AUDIT PASS - scoped to auth.user_id; project_id is an intra-user
        filter.
      operationId: dashboard_provenance_api_v1_dashboard_provenance_get
      parameters:
        - in: query
          name: project_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Project Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProvenanceSection'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    ProvenanceSection:
      properties:
        provenance:
          additionalProperties:
            type: integer
          title: Provenance
          type: object
      required:
        - provenance
      title: ProvenanceSection
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    EDNApiKey:
      description: >-
        EDN API key presented as 'Bearer <key>' in the Authorization header.
        Create and manage keys from the Console.
      in: header
      name: Authorization
      type: apiKey

````