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

# Get Campaign Metrics

> Returns the campaign's report: creator funnel, content performance, and spend. Pass `group_by` to additionally break performance down by task or platform. Spend is reported only at the campaign level (and per creator via List Creators) — creator payouts are not attributable to a single platform, so groups carry no spend.



## OpenAPI

````yaml GET /campaigns/{campaign_id}/metrics
openapi: 3.1.0
info:
  title: Launchpoint Buyer API
  description: The API Launchpoint brands and agencies can use to manage their campaigns
  license:
    name: MIT
    identifier: MIT
  version: 2026-07
servers:
  - url: https://api.launchpoint.sh/2026-07
security:
  - bearerAuth: []
tags:
  - name: Campaigns
    description: >-
      Create and manage campaigns, review creators and content, and read
      performance data
paths:
  /campaigns/{campaign_id}/metrics:
    get:
      tags:
        - Campaigns
      summary: Get campaign metrics
      description: >-
        Returns the campaign's report: creator funnel, content performance, and
        spend. Pass `group_by` to additionally break performance down by task or
        platform. Spend is reported only at the campaign level (and per creator
        via List Creators) — creator payouts are not attributable to a single
        platform, so groups carry no spend.
      operationId: getCampaignMetrics
      parameters:
        - $ref: '#/components/parameters/CampaignId'
        - name: group_by
          in: query
          description: Break metrics down by task or platform
          required: false
          schema:
            type: string
            enum:
              - task
              - platform
      responses:
        '200':
          description: The campaign metrics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignMetrics'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    CampaignId:
      name: campaign_id
      in: path
      description: The campaign ID
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    CampaignMetrics:
      type: object
      description: >-
        The campaign report: pipeline health (funnel), content performance, and
        spend
      properties:
        campaign_id:
          type: string
          format: uuid
        funnel:
          type: object
          properties:
            creators_applied:
              type: integer
              example: 30
            creators_approved:
              type: integer
              example: 12
            submissions_in_review:
              type: integer
              example: 3
            submissions_approved:
              type: integer
              example: 28
            posts:
              type: integer
              example: 31
        performance:
          type: object
          properties:
            views:
              type: integer
              example: 410000
            likes:
              type: integer
              example: 22000
            comments:
              type: integer
              example: 900
            shares:
              type: integer
              example: 300
            saves:
              type: integer
              example: 800
            engagement_rate:
              type: number
              description: >-
                (likes + comments + shares + saves) / views. 0 when the campaign
                has no views.
              example: 0.057
        spend:
          type: object
          properties:
            spent_cents:
              type: integer
              example: 123400
            effective_cpm_cents:
              type:
                - integer
                - 'null'
              description: spent_cents / views × 1000. Null until the campaign has views.
              example: 301
        groups:
          type: array
          description: >-
            Present when `group_by` is set: the same performance block broken
            down per task or per platform. Spend is not broken down per group.
          items:
            $ref: '#/components/schemas/CampaignMetricsGroup'
        as_of:
          type: string
          format: date-time
          description: When this report was computed
    CampaignMetricsGroup:
      type: object
      properties:
        group_key:
          type: string
          description: The task ID or platform name this row aggregates
          example: tiktok
        group_label:
          type: string
          description: Human-readable name — the task title or platform name
          example: TikTok
        posts:
          type: integer
          example: 14
        performance:
          $ref: '#/components/schemas/EngagementMetrics'
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
          description: The HTTP status code
        message:
          type: string
          description: >-
            Human-readable explanation, naming the offending field where
            applicable
        code:
          type: string
          description: >-
            Machine-readable error code, e.g. `invalid_state_transition`,
            `missing_scope`, `already_reviewed`
          example: invalid_state_transition
    EngagementMetrics:
      type: object
      description: Engagement totals across posts
      properties:
        views:
          type: integer
          example: 32000
        likes:
          type: integer
          example: 2100
        comments:
          type: integer
          example: 90
        shares:
          type: integer
          example: 25
        saves:
          type: integer
          example: 40
  responses:
    BadRequest:
      description: >-
        The request is malformed — invalid JSON, unknown parameter value, or bad
        cursor (`invalid_request`)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: The API key is missing, unknown, or revoked (`unauthenticated`)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: >-
        The resource does not exist or is not visible to this API key
        (`not_found`)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    TooManyRequests:
      description: >-
        The rate limit was exceeded (`rate_limited`). Wait for the number of
        seconds in the `Retry-After` header before retrying.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
        X-RateLimit-Limit:
          description: Requests allowed per minute for this key.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: Requests remaining in the current window.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````