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

# List columns needed to trace a row

> Billing columns to fill in order to trace one row, with the entry keys the mappings list. `draft` is null when there are no drafts. Org admin only.



## OpenAPI

````yaml GET /enrichments/trace-inputs
openapi: 3.0.0
info:
  title: Costory
  version: '1.0'
  description: API Documentation
servers:
  - url: ''
    description: Production server
security: []
paths:
  /enrichments/trace-inputs:
    get:
      tags:
        - Enrichments
      summary: List columns needed to trace a row
      description: >-
        Billing columns to fill in order to trace one row, with the entry keys
        the mappings list. `draft` is null when there are no drafts. Org admin
        only.
      operationId: getEnrichmentTraceInputs
      responses:
        '200':
          description: Trace inputs for the published set and, when present, the draft
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnrichmentTraceInputs'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
        '403':
          description: Org admin required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DimensionsAdminRequired'
      security:
        - bearerAuth: []
components:
  schemas:
    EnrichmentTraceInputs:
      type: object
      properties:
        published:
          type: array
          items:
            type: object
            properties:
              column:
                type: string
              keys:
                type: array
                items:
                  type: string
                description: >-
                  Entry keys of the mappings keyed on this column. Empty for a
                  condition column.
            required:
              - column
              - keys
        draft:
          type: array
          nullable: true
          items:
            type: object
            properties:
              column:
                type: string
              keys:
                type: array
                items:
                  type: string
                description: >-
                  Entry keys of the mappings keyed on this column. Empty for a
                  condition column.
            required:
              - column
              - keys
          description: Null when there are no drafts.
      required:
        - published
        - draft
    Unauthorized:
      type: object
      properties:
        error:
          type: string
          description: Unauthorized error message
      required:
        - error
    DimensionsAdminRequired:
      type: object
      properties:
        error:
          type: string
          enum:
            - ADMIN_REQUIRED
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or Clerk ak_* API key
      description: >-
        Send `Authorization: Bearer <credential>` using either a Clerk session
        JWT or a Clerk API key (`ak_*`). API keys may identify a user (`user_*`)
        or organization (`org_*`) principal and are generated in the Clerk
        Dashboard under API keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.