TickerTrac Theme Interviews API

The theme-interviews API from TickerTrac — 8 operation(s) for theme-interviews.

GitHub OpenAPI

Operations 9

GET /theme-interviews/capability Get Theme Interview Capability #
POST /theme-interviews Create Theme Interview #
GET /theme-interviews/{session_id} Get Theme Interview #
DELETE /theme-interviews/{session_id} Discard Theme Interview #
POST /theme-interviews/{session_id}/companies Add Company To Theme Interview #
PATCH /theme-interviews/{session_id}/companies/{company_id} Update Theme Interview Company #
POST /theme-interviews/{session_id}/messages Submit Theme Interview Message #
POST /theme-interviews/{session_id}/approval Approve Theme Interview #
POST /theme-interviews/{session_id}/abandon Abandon Theme Interview #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tickertrac-com:tickertrac-com-theme-interviews-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tickertrac-com-theme-interviews-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TickerRAG Theme Interviews API
  version: 0.1.0
tags:
- name: theme-interviews
paths:
  /theme-interviews/capability:
    get:
      tags:
      - theme-interviews
      summary: Get Theme Interview Capability
      operationId: get_theme_interview_capability_theme_interviews_capability_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeInterviewCapabilityOut'
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /theme-interviews:
    post:
      tags:
      - theme-interviews
      summary: Create Theme Interview
      operationId: create_theme_interview_theme_interviews_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThemeInterviewStartIn'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeInterviewSessionOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /theme-interviews/{session_id}:
    get:
      tags:
      - theme-interviews
      summary: Get Theme Interview
      operationId: get_theme_interview_theme_interviews__session_id__get
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeInterviewSessionOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - theme-interviews
      summary: Discard Theme Interview
      operationId: discard_theme_interview_theme_interviews__session_id__delete
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /theme-interviews/{session_id}/companies:
    post:
      tags:
      - theme-interviews
      summary: Add Company To Theme Interview
      operationId: add_company_to_theme_interview_theme_interviews__session_id__companies_post
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThemeInterviewCompanyIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeInterviewSessionOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /theme-interviews/{session_id}/companies/{company_id}:
    patch:
      tags:
      - theme-interviews
      summary: Update Theme Interview Company
      operationId: update_theme_interview_company_theme_interviews__session_id__companies__company_id__patch
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: company_id
        in: path
        required: true
        schema:
          type: integer
          title: Company Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThemeInterviewCompanyStatusIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeInterviewSessionOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /theme-interviews/{session_id}/messages:
    post:
      tags:
      - theme-interviews
      summary: Submit Theme Interview Message
      operationId: submit_theme_interview_message_theme_interviews__session_id__messages_post
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThemeInterviewMessageIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeInterviewSessionOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /theme-interviews/{session_id}/approval:
    post:
      tags:
      - theme-interviews
      summary: Approve Theme Interview
      operationId: approve_theme_interview_theme_interviews__session_id__approval_post
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThemeInterviewApprovalIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeInterviewApprovalOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /theme-interviews/{session_id}/abandon:
    post:
      tags:
      - theme-interviews
      summary: Abandon Theme Interview
      operationId: abandon_theme_interview_theme_interviews__session_id__abandon_post
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeInterviewSessionOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ApprovedThemeRelationshipIn:
      properties:
        relationship_id:
          type: string
          maxLength: 64
          minLength: 1
          title: Relationship Id
        company_id:
          type: integer
          title: Company Id
        effect:
          type: string
          enum:
          - tailwind
          - headwind
          - mixed
          - uncertain
          title: Effect
        rationale:
          anyOf:
          - type: string
            maxLength: 1000
          - type: 'null'
          title: Rationale
      additionalProperties: false
      type: object
      required:
      - relationship_id
      - company_id
      - effect
      title: ApprovedThemeRelationshipIn
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ThemeInterviewRelationshipOut:
      properties:
        relationship_id:
          type: string
          title: Relationship Id
        company_id:
          type: integer
          title: Company Id
        effect:
          type: string
          enum:
          - tailwind
          - headwind
          - mixed
          - uncertain
          title: Effect
        rationale:
          type: string
          title: Rationale
        is_paraphrase:
          type: boolean
          title: Is Paraphrase
        quotes:
          items:
            type: string
          type: array
          title: Quotes
      type: object
      required:
      - relationship_id
      - company_id
      - effect
      - rationale
      - is_paraphrase
      - quotes
      title: ThemeInterviewRelationshipOut
    ThemeInterviewTurnOut:
      properties:
        role:
          type: string
          enum:
          - user
          - assistant
          title: Role
        text:
          type: string
          title: Text
        company_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Company Id
      type: object
      required:
      - role
      - text
      title: ThemeInterviewTurnOut
      description: 'One stored message, so a resumed interview can show what was already said.


        ``company_id`` carries the child this turn belonged to (``None`` for the overall

        theme) because the panel interleaves both and a bare transcript would not say which

        company an answer was about.'
    ThemeInterviewAmbiguityOut:
      properties:
        ambiguity_id:
          type: string
          title: Ambiguity Id
        target:
          $ref: '#/components/schemas/ThemeInterviewTarget'
        question:
          type: string
          title: Question
      type: object
      required:
      - ambiguity_id
      - target
      - question
      title: ThemeInterviewAmbiguityOut
    ThemeInterviewApprovalOut:
      properties:
        session_id:
          type: integer
          title: Session Id
        shared_thesis_id:
          type: integer
          title: Shared Thesis Id
        shared_thesis_version_id:
          type: integer
          title: Shared Thesis Version Id
        shared_thesis_version_number:
          type: integer
          title: Shared Thesis Version Number
        component_count:
          type: integer
          title: Component Count
        link_count:
          type: integer
          title: Link Count
        deferred_company_count:
          type: integer
          title: Deferred Company Count
        muted_link_count:
          type: integer
          title: Muted Link Count
        is_active:
          type: boolean
          title: Is Active
      type: object
      required:
      - session_id
      - shared_thesis_id
      - shared_thesis_version_id
      - shared_thesis_version_number
      - component_count
      - link_count
      - deferred_company_count
      - muted_link_count
      - is_active
      title: ThemeInterviewApprovalOut
    ThemeInterviewCompanyIn:
      properties:
        ticker:
          type: string
          maxLength: 10
          minLength: 1
          title: Ticker
      additionalProperties: false
      type: object
      required:
      - ticker
      title: ThemeInterviewCompanyIn
    ThemeInterviewTarget:
      properties:
        kind:
          type: string
          enum:
          - theme
          - company
          title: Kind
        company_id:
          anyOf:
          - type: integer
            minimum: 1.0
          - type: 'null'
          title: Company Id
      additionalProperties: false
      type: object
      required:
      - kind
      title: ThemeInterviewTarget
    ThemeInterviewCompanyOut:
      properties:
        company_id:
          type: integer
          title: Company Id
        security_id:
          type: integer
          title: Security Id
        ticker:
          type: string
          title: Ticker
        company_name:
          type: string
          title: Company Name
        status:
          type: string
          title: Status
        model_turns_used:
          type: integer
          title: Model Turns Used
        max_model_turns:
          type: integer
          title: Max Model Turns
        relationship:
          anyOf:
          - $ref: '#/components/schemas/ThemeInterviewRelationshipOut'
          - type: 'null'
      type: object
      required:
      - company_id
      - security_id
      - ticker
      - company_name
      - status
      - model_turns_used
      - max_model_turns
      title: ThemeInterviewCompanyOut
    ThemeInterviewStatementOut:
      properties:
        statement_id:
          type: string
          title: Statement Id
        kind:
          type: string
          title: Kind
        text:
          type: string
          title: Text
        is_paraphrase:
          type: boolean
          title: Is Paraphrase
        quotes:
          items:
            type: string
          type: array
          title: Quotes
      type: object
      required:
      - statement_id
      - kind
      - text
      - is_paraphrase
      - quotes
      title: ThemeInterviewStatementOut
    ThemeInterviewCompanyStatusIn:
      properties:
        status:
          type: string
          enum:
          - active
          - deferred
          - removed
          title: Status
      additionalProperties: false
      type: object
      required:
      - status
      title: ThemeInterviewCompanyStatusIn
    ApprovedThemeStatementIn:
      properties:
        statement_id:
          type: string
          maxLength: 64
          minLength: 1
          title: Statement Id
        kind:
          type: string
          enum:
          - narrative
          - claim
          - expectation
          - invalidation
          title: Kind
        text:
          type: string
          maxLength: 1000
          minLength: 3
          title: Text
      additionalProperties: false
      type: object
      required:
      - statement_id
      - kind
      - text
      title: ApprovedThemeStatementIn
    ThemeInterviewApprovalIn:
      properties:
        narrative:
          type: string
          maxLength: 20000
          minLength: 3
          title: Narrative
        statements:
          items:
            $ref: '#/components/schemas/ApprovedThemeStatementIn'
          type: array
          maxItems: 24
          title: Statements
          default: []
        relationships:
          items:
            $ref: '#/components/schemas/ApprovedThemeRelationshipIn'
          type: array
          maxItems: 12
          title: Relationships
          default: []
      additionalProperties: false
      type: object
      required:
      - narrative
      title: ThemeInterviewApprovalIn
    ThemeInterviewSessionOut:
      properties:
        session_id:
          type: integer
          title: Session Id
        watchlist_id:
          type: integer
          title: Watchlist Id
        title:
          type: string
          title: Title
        status:
          type: string
          title: Status
        model_turns_used:
          type: integer
          title: Model Turns Used
        max_model_turns:
          type: integer
          title: Max Model Turns
        summary:
          type: string
          title: Summary
        next_target:
          anyOf:
          - $ref: '#/components/schemas/ThemeInterviewTarget'
          - type: 'null'
        next_question:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Question
        ready_for_review:
          type: boolean
          title: Ready For Review
        statements:
          items:
            $ref: '#/components/schemas/ThemeInterviewStatementOut'
          type: array
          title: Statements
        companies:
          items:
            $ref: '#/components/schemas/ThemeInterviewCompanyOut'
          type: array
          title: Companies
        ambiguities:
          items:
            $ref: '#/components/schemas/ThemeInterviewAmbiguityOut'
          type: array
          title: Ambiguities
        turns:
          items:
            $ref: '#/components/schemas/ThemeInterviewTurnOut'
          type: array
          title: Turns
          default: []
        last_rejection_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Rejection Code
      type: object
      required:
      - session_id
      - watchlist_id
      - title
      - status
      - model_turns_used
      - max_model_turns
      - summary
      - next_target
      - next_question
      - ready_for_review
      - statements
      - companies
      - ambiguities
      title: ThemeInterviewSessionOut
    ThemeInterviewCapabilityOut:
      properties:
        available:
          type: boolean
          title: Available
        voice_available:
          type: boolean
          title: Voice Available
          default: false
        allowance:
          anyOf:
          - additionalProperties:
              anyOf:
              - type: integer
              - type: string
              - type: 'null'
            type: object
          - type: 'null'
          title: Allowance
        current_session:
          anyOf:
          - $ref: '#/components/schemas/ThemeInterviewSessionOut'
          - type: 'null'
      type: object
      required:
      - available
      title: ThemeInterviewCapabilityOut
    ThemeInterviewStartIn:
      properties:
        watchlist_id:
          type: integer
          title: Watchlist Id
        title:
          type: string
          maxLength: 160
          minLength: 3
          title: Title
      additionalProperties: false
      type: object
      required:
      - watchlist_id
      - title
      title: ThemeInterviewStartIn
    ThemeInterviewMessageIn:
      properties:
        content:
          type: string
          maxLength: 4000
          minLength: 1
          title: Content
        turn_key:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          title: Turn Key
      additionalProperties: false
      type: object
      required:
      - content
      title: ThemeInterviewMessageIn
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key