> ## 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.

# Create An Analysis Thematic

> Create an empty thematic in the analysis. Requires write access to the workspace.



## OpenAPI

````yaml https://openapi.shareofmodel.ai/swagger-sos.json post /v1/organizations/{organization_id}/workspaces/{workspace_id}/search/analyses/{project_id}/thematics
openapi: 3.0.3
info:
  title: Share Of Model API
  version: v1
  description: >-
    ## Search



    The Share of Search API provides visibility, presence, and ranking metrics
    for tracked

    search and AI engine sources. Use it to analyse how a project performs
    across keywords,

    thematics, competitors, and ranked URLs over time.


    For the previous version of the API, see the [v1
    documentation](https://api.shareofsearch.jplus.io/docs/v1).
servers:
  - description: Search - Production API
    url: https://api.shareofsearch.jplus.io/
security: []
tags:
  - name: Projects
    description: >-
      Manage analyses (projects) within a workspace. Create new analyses and
      list existing ones.
  - name: Collects
    description: >-
      Access data collection runs and their raw results. List collect runs for
      an analysis, or retrieve the raw data captured during each run: domain
      rankings, brand mentions, keyword insights, and LLM/SERP responses.
  - name: Overview Metrics
    description: >-
      High-level, aggregated metrics that summarise the overall performance of
      an analysis. Use these endpoints to get a quick picture of visibility,
      presence, andranking across all keywords and sources.
  - name: Metrics
    description: >-
      Detailed, per-entity metrics for deep-diving into specific aspects of an
      analysis. Break down performance by domain, brand, keyword, URL, or
      competitor.
  - name: Insights
    description: >-
      Cross-project KPIs aggregated at the workspace or organization level.
      These endpoints consolidate metrics from all live and paused projects
      within a workspace, or across every workspace of an organization, to
      provide a unified view of visibility, mentions, citations, sentiment, and
      ranking.
  - name: Shopping
    description: >-
      Shopping-specific metrics for analyses that track product listings in
      shopping engines. Measure product visibility, pricing, merchant coverage,
      and share of shelf across all tracked keywords and sources.
  - name: Ads
    description: >-
      Sponsored-ad performance across tracked prompts and engines, including
      coverage, advertiser diversity, brand presence, and share of ad voice.
  - name: Creators
    description: >-
      YouTube creators cited as sources in AI-engine search results, enriched
      with channel metrics and an Influence Score. Browse creators across every
      project in a workspace, narrowed by country, engine, brand, category,
      analysis, and persona filters.
  - name: Video Analyses
    description: >-
      On-demand LLM analysis of an already-cited YouTube video: why it works as
      a citation source, the brands it treats, and an internal creator
      pre-brief. Price a selection before committing to it, trigger the
      analyses, and read the results.
  - name: Creator Briefs
    description: >-
      Partnership briefs written for shortlisted YouTube creators: a markdown
      document with its brand context, saved and edited by the user, with one
      version recorded per save and the diff into each version stored at write
      time.
  - name: CSV Export
    description: >-
      Generic CSV export gateway shared across features. `export_type` selects
      which dataset to export; each feature registers its own export types and
      usecases in the same exporter registry. Brand Mentions and Visibility Gap
      retain their browser-compatible CSV layouts.
paths:
  /v1/organizations/{organization_id}/workspaces/{workspace_id}/search/analyses/{project_id}/thematics:
    post:
      tags:
        - Projects
      summary: Create An Analysis Thematic
      description: >-
        Create an empty thematic in the analysis. Requires write access to the
        workspace.
      operationId: create_search_visibility_analysis_thematic
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            title: Project Id
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            title: Organization Id
        - name: workspace_id
          in: path
          required: true
          schema:
            type: string
            title: Workspace Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateThematicRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StructureThematicResponse'
        '403':
          description: Workspace write access denied.
        '404':
          description: Analysis not found or project editing is disabled.
        '409':
          description: A thematic in this analysis already has this name.
        '422':
          description: Invalid request, thematic name, or thematic color.
      security:
        - HTTPBearer: []
components:
  schemas:
    CreateThematicRequest:
      properties:
        name:
          type: string
          title: Name
          description: Display name, unique among the thematics in this analysis.
        color:
          type: string
          nullable: true
          title: Color
          description: Hex color (#RRGGBB). Omit it to use the next palette color.
      type: object
      required:
        - name
      title: CreateThematicRequest
    StructureThematicResponse:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier of the thematic.
        name:
          type: string
          title: Name
          description: Display name of the thematic.
        color:
          type: string
          title: Color
          description: 'Hex color of the thematic. Missing colors are returned as #2563EB.'
        being_deleted:
          type: boolean
          title: Being Deleted
          description: Whether deletion has been requested for this thematic.
        topics:
          items:
            $ref: '#/components/schemas/StructureTopicResponse'
          type: array
          title: Topics
          description: Topics assigned to this thematic.
        unassigned_keywords:
          items:
            $ref: '#/components/schemas/StructureKeywordResponse'
          type: array
          title: Unassigned Keywords
          description: Prompts in this thematic without a valid topic in it.
      type: object
      required:
        - id
        - name
        - color
        - being_deleted
        - topics
        - unassigned_keywords
      title: StructureThematicResponse
    StructureTopicResponse:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier of the topic.
        thematic_id:
          type: string
          title: Thematic Id
          description: ID of the thematic that contains this topic.
        text:
          type: string
          title: Text
          description: Display name of the topic.
        being_deleted:
          type: boolean
          title: Being Deleted
          description: Whether this topic or its thematic is being deleted.
        keywords:
          items:
            $ref: '#/components/schemas/StructureKeywordResponse'
          type: array
          title: Keywords
          description: Prompts assigned to this topic.
      type: object
      required:
        - id
        - thematic_id
        - text
        - being_deleted
        - keywords
      title: StructureTopicResponse
    StructureKeywordResponse:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier of the keyword.
        text:
          type: string
          title: Text
          description: Keyword text as it is tracked and queried.
        brand_type:
          type: string
          nullable: true
          title: Brand Type
          description: >-
            Brand when the keyword names the brand or one of its products,
            Generic otherwise. Null if unclassified.
        funnel_stage:
          allOf:
            - $ref: '#/components/schemas/FunnelStage'
          nullable: true
          description: 'Funnel stage of the keyword: ToFu, MoFu or BoFu. Null if not set.'
        persona_id:
          type: string
          nullable: true
          title: Persona Id
          description: >-
            Id of the persona asking this keyword in the workspace's persona
            library (list_personas), the persona_id of one of the analysis's
            personas. Null if the keyword has no persona or its persona is not
            linked to the library.
        strength_id:
          type: string
          nullable: true
          title: Strength Id
          description: Id of the strength in perceptions this keyword probes. Null if none.
        weakness_id:
          type: string
          nullable: true
          title: Weakness Id
          description: Id of the weakness in perceptions this keyword probes. Null if none.
        being_deleted:
          type: boolean
          title: Being Deleted
          description: >-
            Whether this prompt, its topic, or a parent thematic is being
            deleted.
      type: object
      required:
        - id
        - text
        - being_deleted
      title: StructureKeywordResponse
    FunnelStage:
      type: string
      enum:
        - ToFu
        - MoFu
        - BoFu
      title: FunnelStage
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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