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

# Get latest audience movement summary

> Compares the latest completed run against the prior completed run and returns compact counts for people added, people removed, intent movement, topic movement, and website visits.



## OpenAPI

````yaml https://api.aws53.cloud/openapi-intent.json get /v1/intent/audiences/{id}/dashboard
openapi: 3.1.0
info:
  title: Orbit API
  version: 1.0.0
  description: >-
    Orbit Audience Intent API: topic discovery, site analysis, curated ICP
    filters, saved audiences, materialization runs, stats, and CSV export.
    Discovery endpoints are public; audience management accepts either Bearer
    JWT or X-API-Key auth.
servers:
  - url: https://api.aws53.cloud
    description: Production
security: []
tags:
  - name: Topic Discovery
    description: Browse, search, and analyze available intent topics
  - name: Site Analysis
    description: Analyze a website URL to find matching intent topics
  - name: Site Topics
    description: Recent organization site-topic analyses
  - name: Audience Builder
    description: >-
      Curated filters, preview, saved audiences, runs, exports, webhooks, and
      managed destinations
paths:
  /v1/intent/audiences/{id}/dashboard:
    get:
      tags:
        - Audience Builder
      summary: Get latest audience movement summary
      description: >-
        Compares the latest completed run against the prior completed run and
        returns compact counts for people added, people removed, intent
        movement, topic movement, and website visits.
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
      responses:
        '200':
          description: >-
            Audience movement summary with people added, people removed, intent
            changes, topic changes, and website visits
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/IntentAudienceDashboard'
                  meta:
                    $ref: '#/components/schemas/ApiMeta'
                required:
                  - data
                  - meta
        '404':
          description: Audience not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    IntentAudienceDashboard:
      type: object
      properties:
        audience:
          $ref: '#/components/schemas/IntentAudience'
        latestRun:
          anyOf:
            - $ref: '#/components/schemas/IntentAudienceRun'
            - type: 'null'
        previousRun:
          anyOf:
            - $ref: '#/components/schemas/IntentAudienceRun'
            - type: 'null'
        state:
          type: string
          enum:
            - ready
            - no_completed_runs
        summary:
          anyOf:
            - $ref: '#/components/schemas/IntentAudienceDashboardSummary'
            - type: 'null'
    ApiMeta:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        request_id:
          type: string
      required:
        - timestamp
        - request_id
    ApiErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
        meta:
          $ref: '#/components/schemas/ApiMeta'
      required:
        - error
        - meta
    IntentAudience:
      type: object
      properties:
        id:
          type: string
          format: uuid
        organizationId:
          type: string
          format: uuid
        name:
          type: string
        status:
          type: string
          enum:
            - draft
            - active
            - paused
        config:
          $ref: '#/components/schemas/IntentAudienceConfig'
        accessType:
          type: string
          enum:
            - paid
            - free_one_shot
        dailyRefreshEnabled:
          type: boolean
        audienceSize:
          type: integer
        createdBy:
          type:
            - string
            - 'null'
          format: uuid
        lastRefreshedAt:
          type:
            - string
            - 'null'
          format: date-time
        createdAt:
          type:
            - string
            - 'null'
          format: date-time
        updatedAt:
          type:
            - string
            - 'null'
          format: date-time
        pausedAt:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - id
        - organizationId
        - name
        - status
        - config
        - accessType
        - dailyRefreshEnabled
        - audienceSize
    IntentAudienceRun:
      type: object
      properties:
        id:
          type: string
          format: uuid
        audienceId:
          type: string
          format: uuid
        organizationId:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - queued
            - running
            - completed
            - failed
            - cancelled
        runType:
          type: string
          enum:
            - manual
            - daily
            - preview
        configHash:
          type: string
        dataDate:
          type: string
          format: date
        resultKey:
          type: string
        candidateCount:
          type: integer
        resultCount:
          type: integer
        attempts:
          type: integer
        nextAttemptAt:
          type:
            - string
            - 'null'
          format: date-time
        idempotencyKey:
          type:
            - string
            - 'null'
        errorCode:
          type:
            - string
            - 'null'
        errorMessage:
          type:
            - string
            - 'null'
        startedAt:
          type:
            - string
            - 'null'
          format: date-time
        completedAt:
          type:
            - string
            - 'null'
          format: date-time
        cancelledAt:
          type:
            - string
            - 'null'
          format: date-time
        readyEmailSentAt:
          type:
            - string
            - 'null'
          format: date-time
        readyEmailExportId:
          type:
            - string
            - 'null'
          format: uuid
        readyEmailError:
          type:
            - string
            - 'null'
        createdAt:
          type:
            - string
            - 'null'
          format: date-time
        updatedAt:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - id
        - audienceId
        - organizationId
        - status
        - runType
        - configHash
        - dataDate
        - resultKey
        - candidateCount
        - resultCount
        - attempts
    IntentAudienceDashboardSummary:
      type: object
      properties:
        hasPreviousRun:
          type: boolean
        totalPeople:
          type: integer
        previousPeople:
          type: integer
        newPeopleAdded:
          type: integer
        removedPeople:
          type: integer
        retainedPeople:
          type: integer
        intentIncreasedPeople:
          type: integer
        intentDecreasedPeople:
          type: integer
        intentUnchangedPeople:
          type: integer
        highIntentEnteredPeople:
          type: integer
        highIntentExitedPeople:
          type: integer
        topicOverlapIncreasedPeople:
          type: integer
        topicOverlapDecreasedPeople:
          type: integer
        topicOverlapUnchangedPeople:
          type: integer
        websiteVisits:
          type: object
          properties:
            people:
              type: integer
            sessions:
              type: integer
            pageviews:
              type: integer
    ApiError:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details: {}
      required:
        - code
        - message
    IntentAudienceConfig:
      type: object
      properties:
        topicIds:
          type: array
          items:
            type: integer
          minItems: 1
          maxItems: 250
        minScore:
          type: integer
          minimum: 0
          maximum: 99
          description: Accepted below 50, normalized/clamped to 50 by the backend.
        maxScore:
          type: integer
          minimum: 50
          maximum: 99
          default: 99
        minTopicOverlap:
          type: integer
          minimum: 1
          maximum: 250
          default: 1
        filters:
          type: object
          additionalProperties: true
        sourceUrl:
          type: string
          format: uri
        topics:
          type: array
          items:
            $ref: '#/components/schemas/IntentMatchedTopic'
          description: >-
            Hydrated topic metadata for display. Present on audience responses;
            write requests should continue sending topicIds.
      required:
        - topicIds
    IntentMatchedTopic:
      type: object
      properties:
        topicId:
          type: integer
        topicName:
          type: string
        type:
          type:
            - string
            - 'null'
        industry:
          type:
            - string
            - 'null'
        category:
          type:
            - string
            - 'null'
      required:
        - topicId
        - topicName
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Dashboard access token. Send as Authorization: Bearer <token>.'
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Organization API key (sk_...). Send as X-API-Key: <key>.'

````