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

# Score a product (Product Assessment framework)

> Crawl a URL and produce a Product Assessment across 27 dimensions.
Evaluates how deeply intelligence is embedded in a product, covering
integration depth, personalization, automation, and intelligent workflows.
Costs 10 credits. Subject to plan-based monthly quotas.

**Permission:** `score:create` (all authenticated users)




## OpenAPI

````yaml post /api/score/product
openapi: 3.1.0
info:
  title: Dacard.ai API
  description: >
    Decision intelligence platform for AI-native product teams.

    Score, connect, and compound your product maturity across two original
    frameworks.
  version: 0.1.0
  contact:
    name: Darren Card
    email: darren@darrencard.com
    url: https://darrencard.com
  license:
    name: Proprietary
servers:
  - url: https://app.dacard.ai
    description: Production
  - url: http://localhost:3001
    description: Local development
security: []
tags:
  - name: Scoring
    description: AI maturity scoring engine
  - name: Lifecycle
    description: Development Lifecycle assessment
  - name: Products
    description: Product management and analytics
  - name: Dashboard
    description: Dashboard and suite analytics
  - name: Account
    description: Account and team management
  - name: Billing
    description: Stripe billing integration
  - name: User
    description: User profile, onboarding, and preferences
  - name: System
    description: Health checks and diagnostics
  - name: Internal
    description: Internal and admin endpoints (PQL tracking, demo data management)
  - name: Agents
    description: Agent Studio - autonomous AI agents, triggers, and artifacts
  - name: Intelligence
    description: Alerts, coaching context, and score timeline
  - name: Anomalies
    description: Signal anomaly detection, acknowledgment, and sensitivity overrides
  - name: Outcomes
    description: Longitudinal outcome observations for validation study (E2.2)
  - name: Settings
    description: User and account notification preferences
  - name: Webhooks
    description: Outbound webhook management
  - name: API Keys
    description: API key management (Team and Enterprise plans)
paths:
  /api/score/product:
    post:
      tags:
        - Scoring
      summary: Score a product (Product Assessment framework)
      description: >
        Crawl a URL and produce a Product Assessment across 27 dimensions.

        Evaluates how deeply intelligence is embedded in a product, covering

        integration depth, personalization, automation, and intelligent
        workflows.

        Costs 10 credits. Subject to plan-based monthly quotas.


        **Permission:** `score:create` (all authenticated users)
      operationId: scoreProduct
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - url
              properties:
                url:
                  type: string
                  format: uri
                  description: The product URL to assess
                  example: https://linear.app
                context:
                  type: string
                  description: Additional context to improve assessment accuracy
                  example: Linear is a project management tool for software teams
      responses:
        '200':
          description: Product Assessment result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/F3ScoringResult'
        '400':
          description: Invalid URL or crawl failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: Onboarding not completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Monthly quota or rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - clerkAuth: []
        - bearerAuth: []
components:
  schemas:
    F3ScoringResult:
      type: object
      required:
        - id
        - url
        - totalScore
        - stageName
        - dimensions
        - createdAt
      properties:
        id:
          type: string
          format: uuid
          description: Unique Product Assessment result ID
        url:
          type: string
          format: uri
          description: URL that was assessed
        companyName:
          type: string
          description: Extracted or user-provided company name
        totalScore:
          type: integer
          description: Sum of all Product Assessment dimension scores
        stageName:
          type: string
          description: Overall Product Assessment maturity tier
        dimensions:
          type: array
          items:
            type: object
            properties:
              dimensionId:
                type: string
              dimensionName:
                type: string
              score:
                type: integer
                minimum: 1
                maximum: 4
              evidence:
                type: string
              confidence:
                type: string
                enum:
                  - high
                  - medium
                  - low
              reasoning:
                type: string
          description: All Product Assessment dimension scores
        strengths:
          type: array
          items:
            type: string
          description: Top dimension IDs
        gaps:
          type: array
          items:
            type: string
          description: Bottom dimension IDs
        productId:
          type: string
          format: uuid
          nullable: true
        createdAt:
          type: string
          format: date-time
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Machine-readable error message
        code:
          type: string
          description: Error code
          enum:
            - AUTH_REQUIRED
            - FORBIDDEN
            - NOT_FOUND
            - INVALID_URL
            - CRAWL_FAILED
            - SCORE_FAILED
            - QUOTA_EXCEEDED
            - ANON_RATE_LIMIT
            - SIGNAL_RATE_LIMITED
            - SIGNAL_VALIDATION_FAILED
            - SERVER_ERROR
        message:
          type: string
          description: Human-readable message
        details:
          description: Additional context
  responses:
    Unauthorized:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Authentication required
            code: AUTH_REQUIRED
  securitySchemes:
    clerkAuth:
      type: apiKey
      in: cookie
      name: __session
      description: |
        Clerk session cookie. Authentication is handled by Clerk.
        Sign in at https://app.dacard.ai/sign-in to obtain a session.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        Clerk JWT session token. Obtain via Clerk's frontend SDK
        using `getToken()` or via the Clerk Backend API.

````