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

# Get Record Tokens

> Get expected tokens for a record without loading heavy data.

This endpoint is optimized for batch token calculation scenarios.
Returns only pricing information, not full record data.

Performance: ~1-2 seconds (vs 25+ seconds for full detailed record)



## OpenAPI

````yaml /api-reference/openapi-filtered.json get /insight/{rec_id}/tokens
openapi: 3.1.0
info:
  title: Aseed Insight API
  version: 0.1.0
servers:
  - url: https://app.aseed.ai/custdev
security: []
tags:
  - name: insight
    description: 'Core insight endpoints: records, transcripts, generation, and chat.'
    x-displayName: Insight
  - name: insight_public
    description: Public insight endpoints for shared/public access.
    x-displayName: Insight Public
  - name: projects
    description: Project management endpoints.
    x-displayName: Projects
  - name: project_reports
    description: Project report generation and management endpoints.
    x-displayName: Project Reports
  - name: project_reports_public
    description: Public project report endpoints.
    x-displayName: Project Reports Public
  - name: prompts
    description: Custom prompts management endpoints.
    x-displayName: Prompts
  - name: presets
    description: Presets and templates endpoints.
    x-displayName: Presets
  - name: agent
    description: AI agent threads and chat endpoints.
    x-displayName: Agent
  - name: interviews
    description: AI interviewer room and session endpoints.
    x-displayName: Interviews
  - name: webhooks
    description: Incoming webhook endpoints.
    x-displayName: Webhooks
paths:
  /insight/{rec_id}/tokens:
    get:
      tags:
        - insight
      summary: Get Record Tokens
      description: |-
        Get expected tokens for a record without loading heavy data.

        This endpoint is optimized for batch token calculation scenarios.
        Returns only pricing information, not full record data.

        Performance: ~1-2 seconds (vs 25+ seconds for full detailed record)
      operationId: get_record_tokens_insight__rec_id__tokens_get
      parameters:
        - name: rec_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Rec Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokensResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TokensResponse:
      properties:
        expected_tokens:
          $ref: '#/components/schemas/Costs'
      type: object
      required:
        - expected_tokens
      title: TokensResponse
      description: Response model for lightweight tokens endpoint.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Costs:
      properties:
        price_with_transcript:
          type: number
          title: Price With Transcript
        price_with_report:
          type: number
          title: Price With Report
      type: object
      required:
        - price_with_transcript
        - price_with_report
      title: Costs
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````