userintuition-ai Public Research Search API

The public-research-search API from userintuition-ai, for public-research-search.

GitHub OpenAPI

Operations 2

POST /api/public/v1/research/search/ Search Research #
POST /api/public/v1/research/answer/ Answer Research #

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/userintuition-ai:userintuition-ai-public-research-search-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

userintuition-ai-public-research-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: User Intuition Public Public Research Search API
  description: '## Public Integration API


    Programmatic access to User Intuition for external integrators: manage studies, participants, interviews, reports, and panels.


    ### Authentication


    All endpoints require a Bearer token — either an API key (prefixed `ui_sk_`, created in the dashboard) or a dashboard JWT:


    ```

    Authorization: Bearer

    ```


    ### Base URLs


    - **Production:** `https://api.userintuition.ai`

    - **Staging:** `https://staging.userintuition.ai`


    ### Support


    For API support, contact support@userintuition.ai'
  version: 1.0.0
  contact:
    name: User Intuition Support
    email: support@userintuition.ai
servers:
- url: https://api.userintuition.ai
  description: Production
- url: https://staging.userintuition.ai
  description: Staging
security:
- BearerAuth: []
tags:
- name: public-research-search
paths:
  /api/public/v1/research/search/:
    post:
      tags:
      - public-research-search
      summary: Search Research
      description: Rank candidate content, then return canonical stored JSON.
      operationId: searchResearch
      parameters:
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicResearchSearchRequest'
            examples:
              Find pricing evidence:
                summary: Find pricing evidence
                description: Search one indexed study and return canonical finding/response JSON. Pass next_cursor back with the same query, filters, and limit to continue.
                value:
                  query: What makes people think The Ribbon is too expensive?
                  filters:
                    study_ids:
                    - 11111111-2222-3333-4444-555555555555
                    content_types:
                    - study_finding
                    - participant_response
                    research_date_from: '2026-01-01'
                    research_date_to: '2026-09-16'
                  limit: 10
                  cursor: null
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicResearchSearchResponse'
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
  /api/public/v1/research/answer/:
    post:
      tags:
      - public-research-search
      summary: Answer Research
      description: Answer from accessible indexed research with validated source citations.
      operationId: answerResearch
      parameters:
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicResearchAnswerRequest'
            examples:
              Answer from study evidence:
                summary: Ask a question across indexed studies
                description: Returns generated statements with numbered citations to accessible canonical research records.
                value:
                  question: What concerns did participants raise about pricing?
                  filters:
                    study_ids:
                    - 11111111-2222-3333-4444-555555555555
                    content_types:
                    - study_finding
                    - participant_response
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicResearchAnswerResponse'
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
components:
  schemas:
    PublicParticipantLearningGoalResponse:
      properties:
        learning_goal_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Learning Goal Id
        learning_goal_index:
          anyOf:
          - type: integer
          - type: 'null'
          title: Learning Goal Index
        learning_goal:
          anyOf:
          - type: string
          - type: 'null'
          title: Learning Goal
        assessment_state:
          anyOf:
          - type: string
          - type: 'null'
          title: Assessment State
        unavailability_reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Unavailability Reason
        explored:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Explored
        answered:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Answered
        summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Summary
        quote:
          anyOf:
          - type: string
          - type: 'null'
          title: Quote
      type: object
      title: PublicParticipantLearningGoalResponse
    PublicSearchStudyFinding:
      properties:
        heading:
          type: string
          title: Heading
        content:
          type: string
          title: Content
          default: ''
        reference_ids:
          items:
            type: string
          type: array
          title: Reference Ids
          description: Citation IDs that resolve through the report's references array
        finding_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Finding Id
        learning_goal_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Learning Goal Id
      type: object
      required:
      - heading
      title: PublicSearchStudyFinding
    PublicResearchPeriod:
      properties:
        start:
          type: string
          format: date-time
          title: Start
        end:
          type: string
          format: date-time
          title: End
      type: object
      required:
      - start
      - end
      title: PublicResearchPeriod
    PublicLearningGoal:
      properties:
        id:
          type: string
          title: Id
        question:
          type: string
          title: Question
        evidence_needed:
          anyOf:
          - type: string
          - type: 'null'
          title: Evidence Needed
          description: Evidence requirements; null for legacy plans that did not record them.
      type: object
      required:
      - id
      - question
      title: PublicLearningGoal
    PublicResearchAnswerStudyStatus:
      properties:
        study_id:
          type: string
          title: Study Id
        index_status:
          type: string
          enum:
          - ready
          - updating
          - not_indexed
          title: Index Status
        latest_report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Latest Report Id
        indexed_report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Indexed Report Id
      type: object
      required:
      - study_id
      - index_status
      title: PublicResearchAnswerStudyStatus
    PublicResearchSearchResponse:
      properties:
        studies:
          items:
            $ref: '#/components/schemas/PublicResearchStudyResults'
          type: array
          title: Studies
        next_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Cursor
        generated_content_returned:
          type: boolean
          const: false
          title: Generated Content Returned
          default: false
      type: object
      title: PublicResearchSearchResponse
    PublicParticipantProfileAnswer:
      properties:
        answer:
          type: string
          title: Answer
        participants:
          type: integer
          minimum: 0.0
          title: Participants
        percentage:
          type: integer
          maximum: 100.0
          minimum: 0.0
          title: Percentage
      type: object
      required:
      - answer
      - participants
      - percentage
      title: PublicParticipantProfileAnswer
    PublicParticipantResponse:
      properties:
        interview_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Interview Id
          description: Public interview record ID
        overall_takeaways:
          items:
            type: string
          type: array
          title: Overall Takeaways
        learning_goal_responses:
          items:
            $ref: '#/components/schemas/PublicParticipantLearningGoalResponse'
          type: array
          title: Learning Goal Responses
      type: object
      title: PublicParticipantResponse
    PublicStudyPlanSearchResult:
      properties:
        content_id:
          type: string
          title: Content Id
        report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Report Id
        report_generated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Report Generated At
        research_period:
          anyOf:
          - $ref: '#/components/schemas/PublicResearchPeriod'
          - type: 'null'
          description: Start and end timestamps of interviews included in the indexed report; null for legacy or undated evidence
        content_type:
          type: string
          const: study_plan
          title: Content Type
        content:
          $ref: '#/components/schemas/PublicStudyPlanOut'
      type: object
      required:
      - content_id
      - content_type
      - content
      title: PublicStudyPlanSearchResult
    PublicResearchAnswerRequest:
      properties:
        question:
          type: string
          maxLength: 2000
          minLength: 1
          title: Question
        filters:
          $ref: '#/components/schemas/PublicResearchSearchFilters'
      type: object
      required:
      - question
      - filters
      title: PublicResearchAnswerRequest
    PublicRecommendedNextStep:
      properties:
        gap_ids:
          items:
            type: string
          type: array
          title: Gap Ids
        action:
          type: string
          title: Action
        study_slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Study Slug
        title:
          type: string
          title: Title
        rationale:
          type: string
          title: Rationale
        context:
          anyOf:
          - type: string
          - type: 'null'
          title: Context
      type: object
      required:
      - action
      - title
      - rationale
      title: PublicRecommendedNextStep
    PublicApiErrorResponse:
      type: object
      required:
      - detail
      - error
      properties:
        detail:
          description: Legacy error detail; may be a string, list, or object.
        error:
          $ref: '#/components/schemas/PublicApiError'
    PublicApiError:
      type: object
      required:
      - code
      - message
      - field
      - request_id
      - outcome
      - recovery_action
      - docs_url
      properties:
        code:
          type: string
        message:
          type: string
        field:
          anyOf:
          - type: string
          - type: 'null'
        request_id:
          type: string
          format: uuid
        outcome:
          type: string
          enum:
          - not_started
          - failed
          - unknown
        recovery_action:
          type: string
        docs_url:
          type: string
          format: uri
    PublicResearchAnswerResponse:
      properties:
        answer:
          type: string
          title: Answer
        citations:
          items:
            $ref: '#/components/schemas/PublicResearchAnswerCitation'
          type: array
          title: Citations
        insufficient_evidence:
          type: boolean
          title: Insufficient Evidence
        studies:
          items:
            $ref: '#/components/schemas/PublicResearchAnswerStudyStatus'
          type: array
          title: Studies
      type: object
      required:
      - answer
      - insufficient_evidence
      title: PublicResearchAnswerResponse
    PublicParticipantProfileSection:
      properties:
        heading:
          type: string
          title: Heading
        content:
          items:
            $ref: '#/components/schemas/PublicParticipantProfileAnswer'
          type: array
          title: Content
        reference_ids:
          items:
            type: string
          type: array
          title: Reference Ids
      type: object
      required:
      - heading
      title: PublicParticipantProfileSection
    PublicStudyPlanOut:
      properties:
        objectives:
          anyOf:
          - type: string
          - type: 'null'
          title: Objectives
        conversation_flow:
          anyOf:
          - type: string
          - type: 'null'
          title: Conversation Flow
        background:
          anyOf:
          - type: string
          - type: 'null'
          title: Background
        learning_goals:
          anyOf:
          - type: string
          - type: 'null'
          title: Learning Goals
        learning_goals_structured:
          anyOf:
          - items:
              $ref: '#/components/schemas/PublicLearningGoal'
            type: array
          - type: 'null'
          title: Learning Goals Structured
          description: Stable goals whose IDs match report learning_goal_id values. Older plans also return goal IDs; evidence_needed is null if no requirements were recorded.
        study_specific_rules:
          anyOf:
          - type: string
          - type: 'null'
          title: Study Specific Rules
        study_improvements:
          anyOf:
          - type: string
          - type: 'null'
          title: Study Improvements
      type: object
      title: PublicStudyPlanOut
      description: 'Response variant — all sections optional (a study''s stored prompt may not

        contain every section).'
    PublicResearchSearchRequest:
      properties:
        query:
          type: string
          maxLength: 2000
          minLength: 1
          title: Query
        filters:
          $ref: '#/components/schemas/PublicResearchSearchFilters'
        limit:
          type: integer
          maximum: 50.0
          minimum: 1.0
          title: Limit
          default: 10
        cursor:
          anyOf:
          - type: string
            maxLength: 32768
            minLength: 1
          - type: 'null'
          title: Cursor
          description: Opaque next_cursor from a previous search with the same query, filters and limit.
      type: object
      required:
      - query
      - filters
      title: PublicResearchSearchRequest
    PublicResearchStudyResults:
      properties:
        study_id:
          type: string
          title: Study Id
        index_status:
          type: string
          enum:
          - ready
          - updating
          - not_indexed
          title: Index Status
        latest_report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Latest Report Id
        indexed_report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Indexed Report Id
        results:
          items:
            anyOf:
            - $ref: '#/components/schemas/PublicStudyPlanSearchResult'
            - $ref: '#/components/schemas/PublicStudyFindingSearchResult'
            - $ref: '#/components/schemas/PublicParticipantProfileSearchResult'
            - $ref: '#/components/schemas/PublicParticipantResponseSearchResult'
            - $ref: '#/components/schemas/PublicRecommendedNextStepSearchResult'
          type: array
          title: Results
      type: object
      required:
      - study_id
      - index_status
      title: PublicResearchStudyResults
    PublicParticipantProfileSearchResult:
      properties:
        content_id:
          type: string
          title: Content Id
        report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Report Id
        report_generated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Report Generated At
        research_period:
          anyOf:
          - $ref: '#/components/schemas/PublicResearchPeriod'
          - type: 'null'
          description: Start and end timestamps of interviews included in the indexed report; null for legacy or undated evidence
        content_type:
          type: string
          const: participant_profile
          title: Content Type
        content:
          $ref: '#/components/schemas/PublicParticipantProfileSection'
      type: object
      required:
      - content_id
      - content_type
      - content
      title: PublicParticipantProfileSearchResult
    PublicResearchAnswerCitation:
      properties:
        number:
          type: integer
          title: Number
        content_id:
          type: string
          title: Content Id
        study_id:
          type: string
          title: Study Id
        content_type:
          type: string
          enum:
          - study_plan
          - study_finding
          - participant_profile
          - participant_response
          - recommended_next_step
          title: Content Type
        report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Report Id
        interview_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Interview Id
      type: object
      required:
      - number
      - content_id
      - study_id
      - content_type
      title: PublicResearchAnswerCitation
    PublicStudyFindingSearchResult:
      properties:
        content_id:
          type: string
          title: Content Id
        report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Report Id
        report_generated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Report Generated At
        research_period:
          anyOf:
          - $ref: '#/components/schemas/PublicResearchPeriod'
          - type: 'null'
          description: Start and end timestamps of interviews included in the indexed report; null for legacy or undated evidence
        content_type:
          type: string
          const: study_finding
          title: Content Type
        content:
          $ref: '#/components/schemas/PublicSearchStudyFinding'
      type: object
      required:
      - content_id
      - content_type
      - content
      title: PublicStudyFindingSearchResult
    PublicResearchSearchFilters:
      properties:
        study_ids:
          items:
            type: string
          type: array
          maxItems: 20
          minItems: 1
          title: Study Ids
        content_types:
          anyOf:
          - items:
              type: string
              enum:
              - study_plan
              - study_finding
              - participant_profile
              - participant_response
              - recommended_next_step
            type: array
          - type: 'null'
          title: Content Types
        research_date_from:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Research Date From
          description: Include research whose interview period overlaps this UTC date or later; legacy undated records are excluded
        research_date_to:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Research Date To
          description: Include research whose interview period overlaps this UTC date or earlier; legacy undated records are excluded
      type: object
      required:
      - study_ids
      title: PublicResearchSearchFilters
    PublicRecommendedNextStepSearchResult:
      properties:
        content_id:
          type: string
          title: Content Id
        report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Report Id
        report_generated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Report Generated At
        research_period:
          anyOf:
          - $ref: '#/components/schemas/PublicResearchPeriod'
          - type: 'null'
          description: Start and end timestamps of interviews included in the indexed report; null for legacy or undated evidence
        content_type:
          type: string
          const: recommended_next_step
          title: Content Type
        content:
          $ref: '#/components/schemas/PublicRecommendedNextStep'
      type: object
      required:
      - content_id
      - content_type
      - content
      title: PublicRecommendedNextStepSearchResult
    PublicParticipantResponseSearchResult:
      properties:
        content_id:
          type: string
          title: Content Id
        report_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Report Id
        report_generated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Report Generated At
        research_period:
          anyOf:
          - $ref: '#/components/schemas/PublicResearchPeriod'
          - type: 'null'
          description: Start and end timestamps of interviews included in the indexed report; null for legacy or undated evidence
        content_type:
          type: string
          const: participant_response
          title: Content Type
        interview_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Interview Id
          description: Public interview ID to use with get_interview
        content:
          $ref: '#/components/schemas/PublicParticipantResponse'
      type: object
      required:
      - content_id
      - content_type
      - content
      title: PublicParticipantResponseSearchResult
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authenticate with an API key (prefixed `ui_sk_`) or a JWT token from the dashboard.