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

# Get published content and its AI citations

> Posts published for the project in the window (or first cited in it): when an AI answer first listed each post's URL as a source, which engine did, and, for posts whose GEO brief targeted a tracked prompt, how that prompt's visibility moved against all other prompts in the 14 days before vs after publishing. Pass `days` for a rolling window, or `from`/`to` for an explicit one.



## OpenAPI

````yaml https://api.usenotra.com/openapi.json get /v1/projects/{projectId}/geo/visibility/content-citations
openapi: 3.1.1
info:
  title: Notra API
  version: 1.0.0
  description: >-
    OpenAPI schema for Notra content endpoints. Use GET /v1/status for public
    reachability. Error responses include recovery guidance. Breaking changes
    ship under a new major path; deprecated operations send Deprecation and
    Sunset headers at least 90 days before removal.
servers:
  - url: https://api.usenotra.com
    description: Production
  - url: https://demo-api.usenotra.com
    description: >-
      Sandbox with sample data. Get a free sandbox key at demo.usenotra.com, no
      signup needed
security:
  - BearerAuth: []
tags:
  - name: Webhooks
    description: Manage outbound webhook subscriptions and delivery history.
  - name: Discovery
    description: >-
      Public API status, keyless pricing quotes and authenticated workspace
      discovery.
  - name: Content
    description: >-
      Manage posts, brand identities, and GitHub or Linear integrations, and
      queue content generation. Organization is inferred from the API key
      (identity.externalId).
  - name: Autopilot
    description: >-
      Inspect Autopilot for a workspace, or start and stop runs as a workspace
      owner or admin.
  - name: Schedules
    description: >-
      Manage scheduled content generation. Organization is inferred from the API
      key (identity.externalId).
  - name: Event Triggers
    description: >-
      Manage event-based content generation triggered by GitHub webhooks.
      Organization is inferred from the API key (identity.externalId).
  - name: Chats
    description: >-
      Manage chat sessions. Organization is inferred from the API key
      (identity.externalId).
  - name: Skills
    description: >-
      Manage reusable writing skills. Organization is inferred from the API key
      (identity.externalId).
  - name: Feedback
    description: >-
      Collect and triage feedback submitted by AI agents. Agents post to the
      organization's feedback URL without credentials; reading and triage
      require an API key with feedback.read or feedback.write.
  - name: GEO
    description: >-
      Manage generative engine optimization: projects, tracking settings,
      prompts, prompt sequences, competitors, scans, visibility reads, content
      gaps and briefs, agent readiness and AI traffic. GET and DELETE require
      the appropriate scope but no GEO plan. POST, PUT and PATCH require GEO
      entitlement in addition to the API's usual scope and subscription checks.
      This includes issuing and rotating organization-level traffic ingest
      tokens (traffic.write). Starting an agent readiness scan is exempt from
      the billing checks but still requires agent-readiness.write.
  - name: Sites
    description: >-
      Notra Sites are hosted blogs and changelogs built from a GitHub
      repository. Read Sites and their deployments, start builds, preview posts
      on a Site, open pull requests that publish posts to it, and manage
      blog.json authors and the author page through staged Design changes.
      Domains, settings, rollbacks and deletion stay in the dashboard.
externalDocs:
  description: Notra API versioning and deprecation policy
  url: https://www.usenotra.com/docs/api/versioning
paths:
  /v1/projects/{projectId}/geo/visibility/content-citations:
    get:
      tags:
        - GEO
      summary: Get published content and its AI citations
      description: >-
        Posts published for the project in the window (or first cited in it):
        when an AI answer first listed each post's URL as a source, which engine
        did, and, for posts whose GEO brief targeted a tracked prompt, how that
        prompt's visibility moved against all other prompts in the 14 days
        before vs after publishing. Pass `days` for a rolling window, or
        `from`/`to` for an explicit one.
      operationId: getGeoContentCitations
      parameters:
        - schema:
            type: string
            minLength: 1
            pattern: ^[A-Za-z0-9_-]{1,100}$
            example: b1f2c3d4-0000-4000-8000-000000000000
          required: true
          name: projectId
          in: path
        - schema:
            type: integer
            minimum: 1
            maximum: 365
            description: >-
              Rolling window size in days. Ignored when `from` is set. Defaults
              to 30 days.
          required: false
          description: >-
            Rolling window size in days. Ignored when `from` is set. Defaults to
            30 days.
          name: days
          in: query
        - schema:
            type: string
            format: date
            example: '2026-01-31'
            description: >-
              First UTC day to include (YYYY-MM-DD). Replaces `days`. Without
              `to`, the window runs through today.
          required: false
          description: >-
            First UTC day to include (YYYY-MM-DD). Replaces `days`. Without
            `to`, the window runs through today.
          name: from
          in: query
        - schema:
            type: string
            format: date
            example: '2026-01-31'
            description: >-
              Last UTC day to include (YYYY-MM-DD). Only used together with
              `from`; ignored when `from` is not set.
          required: false
          description: >-
            Last UTC day to include (YYYY-MM-DD). Only used together with
            `from`; ignored when `from` is not set.
          name: to
          in: query
      responses:
        '200':
          description: Content citations fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeoVisibilityContentCitationsResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: GEO plan or available AI credits required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Organization, project or resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Authentication or billing service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    GeoVisibilityContentCitationsResponse:
      type: object
      properties:
        configured:
          type: boolean
          description: >-
            Always true for visibility data, which is read from Notra's own
            database.
        from:
          type: string
          description: First UTC day of the range.
        to:
          type: string
          description: Last UTC day of the range.
        published:
          type: integer
          description: Posts published for the project in the range.
        cited:
          type: integer
          description: Of those, the ones an AI answer has cited since.
        medianDaysToFirstCitation:
          type:
            - integer
            - 'null'
          description: Median days to the first citation of the cited ones.
        impactMinAnswers:
          type: integer
          description: >-
            Answers the targeted prompt needs on each side of the publish time
            for an impact read.
        posts:
          type: array
          items:
            type: object
            properties:
              postId:
                type: string
                description: Post ID.
              title:
                type: string
                description: Post title.
              url:
                type:
                  - string
                  - 'null'
                description: >-
                  The live URL citations are matched against, or null when the
                  post isn't live.
              publishedDay:
                type: string
                description: UTC day it was published.
              firstCitedDay:
                type:
                  - string
                  - 'null'
                description: >-
                  UTC day an AI answer first listed its URL as a source after
                  publishing, or null.
              daysToFirstCitation:
                type:
                  - integer
                  - 'null'
                description: Whole UTC days from publishing to that first citation.
              firstCitedBy:
                type:
                  - string
                  - 'null'
                description: Engine of the first answer that cited it.
              impact:
                $ref: '#/components/schemas/GeoContentImpact'
            required:
              - postId
              - title
              - url
              - publishedDay
              - firstCitedDay
              - daysToFirstCitation
              - firstCitedBy
              - impact
          description: >-
            Posts published in the range or first cited in it, newest first. A
            post belongs to the project through its GEO brief, its Site or its
            collection, else through its domain.
        organization:
          type: object
          properties:
            id:
              type: string
              description: >-
                Workspace ID. Account API keys can send it, or the slug, as
                X-Notra-Organization-Id.
            slug:
              type: string
              description: URL-safe workspace handle, unique across Notra.
            name:
              type: string
              description: Workspace display name.
            logo:
              type:
                - string
                - 'null'
              description: Workspace logo image URL. Null when none is set.
          required:
            - id
            - slug
            - name
            - logo
          description: Workspace the request ran in.
      required:
        - configured
        - from
        - to
        - published
        - cited
        - medianDaysToFirstCitation
        - impactMinAnswers
        - posts
        - organization
      description: >-
        Content published for the project and whether AI answers cite it: the
        green dots on the visibility chart.
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        recovery:
          type: string
      required:
        - error
    GeoContentImpact:
      type:
        - object
        - 'null'
      properties:
        status:
          type: string
          enum:
            - ok
            - not_enough_data
          description: >-
            `not_enough_data` when the targeted prompt had fewer than
            `impactMinAnswers` answers on either side, or the other prompts had
            none; then only the answer counts are set.
        windowDays:
          type: integer
          description: Days compared on each side of the publish time.
        answersBefore:
          type: integer
          description: Answers to the targeted prompt before publishing.
        answersAfter:
          type: integer
          description: Answers to the targeted prompt after publishing.
        targetedBefore:
          type:
            - number
            - 'null'
          description: >-
            Visibility rate of the targeted prompt before publishing, from 0 to
            1: answers that mentioned the brand or cited its site.
        targetedAfter:
          type:
            - number
            - 'null'
          description: >-
            Visibility rate of the targeted prompt after publishing, from 0 to
            1.
        otherBefore:
          type:
            - number
            - 'null'
          description: >-
            Visibility rate of every other prompt before publishing, from 0 to
            1.
        otherAfter:
          type:
            - number
            - 'null'
          description: Visibility rate of every other prompt after publishing, from 0 to 1.
        liftPts:
          type:
            - number
            - 'null'
          description: >-
            Change on the targeted prompt minus the change on all other prompts,
            in percentage points. Positive means the targeted prompt rose more
            than the rest.
      required:
        - status
        - windowDays
        - answersBefore
        - answersAfter
        - targetedBefore
        - targetedAfter
        - otherBefore
        - otherAfter
        - liftPts
      description: >-
        How the prompt its GEO brief targeted moved against all other prompts,
        before vs after publishing. Null when the brief targeted no tracked
        prompt or the post hasn't been cited.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Send your API key in the Authorization header as Bearer API_KEY. Account
        API keys work in every workspace you belong to: send
        X-Notra-Organization-Id with the workspace id or slug to choose one.
        Workspace endpoints require it when you belong to more than one
        workspace; GET /v1/me/workspaces works without it. Organization keys
        only accept their own workspace there.

````

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