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

# Sources Table as CSV

> The sources table of the Sources tab as a CSV file, the one the brand analysis Export All holds:
one row per domain, ranked by influence score, with its type, top cited URLs, influence score, ChatGPT and Gemini
scores, and the change of its influence score between the first and the last week of the date range.

**When to use:** User wants the sources table of an analysis as a file, as the Export All gives it.

**Common user queries:**
- "Export the sources table"
- "Download the influential sources as CSV"

**Returns:** A CSV file, with `Accept: text/csv`, `application/json` or none; errors are JSON only when JSON is
accepted. `collection_date__gte` and `collection_date__lte` are
required: the change is measured between their weeks, or between the day before and the day for a one-day range.

Required permission: `read:analysis`.



## OpenAPI

````yaml https://openapi.shareofmodel.ai/swagger.json get /v1/organizations/{organization_id}/workspaces/{workspace_id}/analyses/{analysis_id}/metrics/sources/sources_table
openapi: 3.0.3
info:
  title: Share Of Model API
  version: v1
  description: >-
    ## Model Context Protocol (MCP)


    In addition to this REST API, Share of Model exposes a **Model Context
    Protocol** server that lets AI assistants (Claude Desktop, Claude Code, MCP
    Inspector, custom agents…) call our endpoints directly as tools. Any
    MCP-compatible client can interact with Share of Model without writing
    custom integration code — connect once with your usual login and start
    asking the assistant to query the data for you.


    ### Connecting from Claude Desktop


    Open **Settings → Connectors**, scroll to the bottom and click **Add custom
    connector**, then paste `https://mcp.shareofmodel.ai/mcp/`. A browser window
    opens for you to log in with your Share of Model account (same login as the
    web app), and the assistant gains access to the tools.


    ### Connecting from Claude Code


    ```bash

    claude mcp add --transport http share-of-model
    https://mcp.shareofmodel.ai/mcp/

    ```


    The first time you call a tool, Claude Code opens your browser to complete
    the login.


    ### Connecting from MCP Inspector


    ```bash

    npx @modelcontextprotocol/inspector

    ```


    In the Inspector UI, pick **Streamable HTTP** as transport, paste
    `https://mcp.shareofmodel.ai/mcp/`, and click **Connect**. The first
    connection prompts you to log in.


    ### Available tools


    Every read-only (`GET`) endpoint of this specification and of the Search API
    specification is exposed as an MCP tool, except account administration (API
    keys, platform integrations and accounts, user roles, favourites, SSO and
    SCIM).


    Write endpoints are exposed only when they are marked for agents: creating
    and pricing brand analyses, Search analyses and GEO audits, creating
    personas, and managing asset evaluations. Write tools act with the role of
    the signed-in user, so creating requires the Organization Editor or Owner
    role, or Workspace Editor in the target workspace. Before creating an
    analysis or a GEO audit, the assistant shows the full setup and its cost and
    waits for an explicit confirmation.


    ### Example prompts


    Once connected, try asking your assistant things like:


    - _"List the workspaces I have access to."_

    - _"Show me the latest searches in workspace X."_

    - _"Compare the share of model between brand A and brand B over the last 30
    days."_

    - _"Set up a brand analysis for brand A in France."_


    For more details on the protocol itself, see the [Model Context Protocol
    specification](https://modelcontextprotocol.io/).
servers:
  - description: Production API
    url: https://api.shareofmodel.ai/
  - description: Development API
    url: https://api.dev.shareofmodel.ai/
security: []
tags:
  - name: Auth
    description: Endpoints needed for API authentication.
  - name: Organizations
    description: Endpoints related to organizations, to list all available organizations.
  - name: Workspaces
    description: Endpoints related to workspaces, to list all available workspaces.
  - name: Analyses
    description: Endpoints related to analyses and analyses management.
  - name: Asset Evaluations
    description: Endpoints related to assets and asset evaluations.
  - name: Brand Catalog
    description: Endpoints related to general brand information.
  - name: Content Briefs
    description: Endpoints related to content briefs generation and optimisation.
  - name: Metrics
    description: >+
      Endpoints related to brand metrics.


      **LEXICON**



      **Brand Awareness**: What opinion the LLMs have concerning specific
      brands, related to certain categories.



      **Brand Perception**: The general sentiment of the LLMs towards a brand,

      based on the pros and cons they mention.

paths:
  /v1/organizations/{organization_id}/workspaces/{workspace_id}/analyses/{analysis_id}/metrics/sources/sources_table:
    get:
      tags:
        - Metrics
      summary: Sources Table as CSV
      description: >-
        The sources table of the Sources tab as a CSV file, the one the brand
        analysis Export All holds:

        one row per domain, ranked by influence score, with its type, top cited
        URLs, influence score, ChatGPT and Gemini

        scores, and the change of its influence score between the first and the
        last week of the date range.


        **When to use:** User wants the sources table of an analysis as a file,
        as the Export All gives it.


        **Common user queries:**

        - "Export the sources table"

        - "Download the influential sources as CSV"


        **Returns:** A CSV file, with `Accept: text/csv`, `application/json` or
        none; errors are JSON only when JSON is

        accepted. `collection_date__gte` and `collection_date__lte` are

        required: the change is measured between their weeks, or between the day
        before and the day for a one-day range.


        Required permission: `read:analysis`.
      operationId: sources_table
      parameters:
        - in: path
          name: analysis_id
          schema:
            type: string
            format: uuid
          description: A UUID string identifying the analysis.
          required: true
        - in: query
          name: attribute
          schema:
            type: string
          description: Filter by one specific attribute.
        - in: query
          name: attribute__in
          schema:
            type: string
          description: >-
            Filter by a list of attributes. Values should be comma separated,
            without brackets or spaces
        - in: query
          name: collection_date
          schema:
            type: string
            format: date
          description: >-
            Filter by a collection date being equal to the specified date.
            YYYY-MM-DD format
        - in: query
          name: collection_date__gt
          schema:
            type: string
            format: date
          description: >-
            Filter by a collection date being greater than the specified date.
            YYYY-MM-DD format
        - in: query
          name: collection_date__gte
          schema:
            type: string
            format: date
          description: >-
            Filter by a collection date being greater than or equal the
            specified date. YYYY-MM-DD format
        - in: query
          name: collection_date__lt
          schema:
            type: string
            format: date
          description: >-
            Filter by a collection date being less than the specified date.
            YYYY-MM-DD format
        - in: query
          name: collection_date__lte
          schema:
            type: string
            format: date
          description: >-
            Filter by a collection date being less than or equal the specified
            date. YYYY-MM-DD format
        - in: query
          name: country
          schema:
            type: string
          description: Filter by one specific country.
        - in: query
          name: country__in
          schema:
            type: string
          description: >-
            Filter by a list of countries. Values should be comma separated,
            without brackets or spaces
        - in: query
          name: domain
          schema:
            type: string
          description: Filter by one specific domain.
        - in: query
          name: domain__in
          schema:
            type: string
          description: >-
            Filter by a list of domains. Values should be comma separated,
            without brackets or spaces
        - in: query
          name: exact_date_range
          schema:
            type: boolean
          description: >-
            If true, `collection_date__gte` and `collection_date__lte` are
            applied as they are. Defaults to false: the range is widened to
            whole months covering at least the last 60 days, since sources of an
            analysis were collected every 30 to 60 days.
        - in: query
          name: format
          schema:
            type: string
            enum:
              - csv
              - json
        - in: query
          name: intention
          schema:
            type: string
          description: Filter by one specific intention.
        - in: query
          name: intention__in
          schema:
            type: string
          description: Filter by a list of intentions. Values should be comma separated
        - in: path
          name: organization_id
          schema:
            type: string
            format: uuid
          description: A UUID string identifying the organization.
          required: true
        - in: query
          name: source
          schema:
            type: string
            enum:
              - claude-3-5-sonnet
              - claude-4-5-sonnet
              - claude-4-6-sonnet
              - claude-4-sonnet
              - claude-5-5-opus
              - claude-5-5-sonnet
              - deepseek-chat
              - deepseek-reasoner
              - deepseek-v3.2-maas
              - gemini-1.5-pro
              - gemini-2.0-flash
              - gemini-2.5-flash
              - gemini-2.5-flash-grounded
              - gemini-2.5-flash-lite
              - gemini-3-flash-preview
              - gemini-3.5-flash-lite
              - gemini-4-hydrogen
              - gemini-4-neon
              - google-ai-mode
              - gpt-3.5-turbo
              - gpt-4-turbo
              - gpt-4o
              - gpt-4o-mini-search
              - gpt-5
              - gpt-5.2
              - gpt-5.4-mini
              - gpt-6.2-sol
              - meta-llama-3.1-70B-instruct-turbo
              - meta-llama-3.2-70B-instruct-turbo
              - meta-llama-3.3-70B-instruct-turbo
              - meta-llama-4-maverick
              - mistral-7B-instruct
              - muse-spark-1.2
              - muse-spark-1.3
              - perplexity-sonar
              - rufus
          description: Filter by one specific source.
        - in: query
          name: source__in
          schema:
            type: string
            enum:
              - claude-3-5-sonnet
              - claude-4-5-sonnet
              - claude-4-6-sonnet
              - claude-4-sonnet
              - claude-5-5-opus
              - claude-5-5-sonnet
              - deepseek-chat
              - deepseek-reasoner
              - deepseek-v3.2-maas
              - gemini-1.5-pro
              - gemini-2.0-flash
              - gemini-2.5-flash
              - gemini-2.5-flash-grounded
              - gemini-2.5-flash-lite
              - gemini-3-flash-preview
              - gemini-3.5-flash-lite
              - gemini-4-hydrogen
              - gemini-4-neon
              - google-ai-mode
              - gpt-3.5-turbo
              - gpt-4-turbo
              - gpt-4o
              - gpt-4o-mini-search
              - gpt-5
              - gpt-5.2
              - gpt-5.4-mini
              - gpt-6.2-sol
              - meta-llama-3.1-70B-instruct-turbo
              - meta-llama-3.2-70B-instruct-turbo
              - meta-llama-3.3-70B-instruct-turbo
              - meta-llama-4-maverick
              - mistral-7B-instruct
              - muse-spark-1.2
              - muse-spark-1.3
              - perplexity-sonar
              - rufus
          description: >-
            Filter by a list of sources. Values should be comma separated,
            without brackets or spaces
        - in: query
          name: type
          schema:
            type: string
            enum:
              - Branded Website
              - Community Help Center
              - Comparison Site
              - Government/Academic
              - Influencer/Creator Blog
              - News Media
              - Product Review Site
              - Q&A/Forum
              - Retail/E-Commerce
              - Specialist Blog
              - Wiki/Encyclopedia
          description: Filter by one specific type of source.
        - in: query
          name: type__in
          schema:
            type: string
            enum:
              - Branded Website
              - Community Help Center
              - Comparison Site
              - Government/Academic
              - Influencer/Creator Blog
              - News Media
              - Product Review Site
              - Q&A/Forum
              - Retail/E-Commerce
              - Specialist Blog
              - Wiki/Encyclopedia
          description: >-
            Filter by a list of types of sources. Values should be comma
            separated, without brackets or spaces
        - in: path
          name: workspace_id
          schema:
            type: string
            format: uuid
          description: A UUID string identifying the workspace.
          required: true
      responses:
        '200':
          content:
            text/csv:
              schema:
                type: string
          description: ''
      security:
        - Bearer: []
components:
  securitySchemes:
    Bearer:
      type: apiKey
      in: header
      name: Authorization

````

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