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

# Post research jobs



## OpenAPI

````yaml /openapi.yaml post /research-jobs
openapi: 3.1.0
info:
  title: RISOS API
  version: current
  description: >-
    Current RISOS Products, Projects, ResearchJobs, Living Deliverables, and
    ongoing intelligence.
servers:
  - url: /api/rest
security:
  - bearerAuth: []
tags:
  - name: System
  - name: Products
  - name: Projects
  - name: Research
  - name: Intelligence
  - name: Monitor
  - name: Reports
paths:
  /research-jobs:
    post:
      tags:
        - Research
      operationId: startResearchJob
      parameters:
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            minLength: 8
            maxLength: 500
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartResearchJob'
      responses:
        '201':
          description: Parent ResearchJob
          content:
            application/json:
              schema:
                type: object
                properties:
                  job:
                    $ref: '#/components/schemas/ResearchJob'
                  duplicate:
                    type: boolean
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  schemas:
    StartResearchJob:
      type: object
      required:
        - productId
        - input
      properties:
        productId:
          $ref: '#/components/schemas/ProductId'
        input:
          $ref: '#/components/schemas/ProductInput'
    ResearchJob:
      type: object
      required:
        - id
        - productId
        - state
        - input
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          format: uuid
        productId:
          $ref: '#/components/schemas/ProductId'
        projectId:
          type:
            - string
            - 'null'
          format: uuid
        state:
          type: string
          enum:
            - setup
            - planned
            - queued
            - running
            - partial
            - ready
            - refresh_required
            - refreshing
            - stale
            - blocked
            - failed
            - cancelled
        input:
          $ref: '#/components/schemas/ProductInput'
        livingDeliverableId:
          type:
            - string
            - 'null'
          format: uuid
        reservedCredits:
          type: integer
          minimum: 0
        settledCredits:
          type: integer
          minimum: 0
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    ProductId:
      type: string
      enum:
        - validate_idea
        - find_what_to_build
        - understand_customers
        - find_ideal_customers
        - analyze_competitors
        - evaluate_market
        - price_package
        - position_message
        - build_gtm_strategy
        - build_creative_strategy
    ProductInput:
      type: object
      additionalProperties: false
      required:
        - subject
      properties:
        subject:
          type: string
          minLength: 2
          maxLength: 500
        question:
          type: string
          minLength: 3
          maxLength: 2000
        projectId:
          type: string
          format: uuid
        geography:
          type: array
          items:
            type: string
          maxItems: 20
        audience:
          type: string
          maxLength: 500
        competitors:
          type: array
          items:
            type: string
          maxItems: 25
        objectives:
          type: array
          items:
            type: string
          maxItems: 20
        constraints:
          type: array
          items:
            type: string
          maxItems: 20
        firstPartyDatasetIds:
          type: array
          items:
            type: string
            format: uuid
          maxItems: 50
        context:
          type: string
          maxLength: 8000
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: RISOS API key
      description: >-
        Scopes: research:read, research:write, evidence:read, monitor:read,
        monitor:write, mcp:use

````