Diagnostic Robotics Questions v2 API

Questions resource

Operations 3

GET /v2/visits/{visit_id}/questions/first_unanswered Get questions first unanswered resource #
GET /v2/visits/{visit_id}/questions/{seed} Get question by seed resource #
POST /v2/visits/{visit_id}/questions/{seed}/respond Post question response resource #

Documentation

Specifications

Other Resources

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/diagnostic-robotics-questions-v2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

diagnostic-robotics-questions-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Diagnostic Robotics Questions v2 API
  version: 0.0.1
  description: 'Diagnostic Robotics API Document


    This document describing the API of patient-questionnaire service.


    High level description of the flow:

    1. create a patient

    2. create a visit for the patient

    3. select questionnaire for the visit

    4. get first (or next) question

    5. answer the question

    6. repeat 4-5 until answered all questions

    7. finalize the visit

    8. get visit outcome - triage results


    API key should be included in all requests.'
servers:
- url: https://env-name.diagnosticrobotics.com/api/pq
security:
- apikey: []
tags:
- name: Questions v2
  description: Questions resource
paths:
  /v2/visits/{visit_id}/questions/first_unanswered:
    parameters:
    - name: visit_id
      in: path
      required: true
      schema:
        type: string
    get:
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionIdentifier'
      description: Get first seed
      operationId: get_questions_first_unanswered_resource
      parameters:
      - in: header
        required: true
        description: Patient unique identifier, provided when creating a new patient, must be supplied with any request as Bearer token
        name: Authorization
        schema:
          type: string
      tags:
      - Questions v2
      summary: Get questions first unanswered resource
      x-summary-source: derived
  /v2/visits/{visit_id}/questions/{seed}:
    parameters:
    - name: visit_id
      in: path
      required: true
      schema:
        type: string
    - name: seed
      in: path
      required: true
      schema:
        type: string
    get:
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetQuestionResponse'
      description: Get question details by seed
      operationId: get_question_by_seed_resource
      parameters:
      - in: header
        required: true
        description: Patient unique identifier, provided when creating a new patient, must be supplied with any request as Bearer token
        name: Authorization
        schema:
          type: string
      tags:
      - Questions v2
      summary: Get question by seed resource
      x-summary-source: derived
  /v2/visits/{visit_id}/questions/{seed}/respond:
    parameters:
    - name: visit_id
      in: path
      required: true
      schema:
        type: string
    - name: seed
      in: path
      required: true
      schema:
        type: string
    post:
      responses:
        '201':
          description: Question Answered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnswerQuestionResponse'
        '400':
          description: Invalid seed
      description: Answer a question
      operationId: post_question_response_resource
      parameters:
      - in: header
        required: true
        description: Patient unique identifier, provided when creating a new patient, must be supplied with any request as Bearer token
        name: Authorization
        schema:
          type: string
      tags:
      - Questions v2
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnswerQuestionRequest'
        required: true
      summary: Post question response resource
      x-summary-source: derived
components:
  schemas:
    AnswerQuestionResponse:
      properties:
        seed:
          type: string
          description: a state string saving the current state of the questionnaire
        next_question_seed:
          type: string
          description: the state of the next question, you will recive a new state object for any response sent
      type: object
    QuestionIdentifier:
      properties:
        seed:
          type: string
          example: d94Jv39
      type: object
    Question:
      properties:
        title:
          type: string
        answers:
          type: object
          x-sl-internally-excluded: true
          x-sl-error-message: You do not have permission to view this reference
        type:
          type: string
          example: single answer
          enum:
          - single answer
          - checklist
          - checklist
          - duration
          - open-text
          - attachment
          - polar
          - scale
          - numeric
          - temprature
          - blood-pressure
          - pain-scale
      type: object
    AnswerQuestionRequest:
      properties:
        response:
          type: object
          x-sl-internally-excluded: true
          x-sl-error-message: You do not have permission to view this reference
      type: object
    GetQuestionResponse:
      properties:
        question:
          $ref: '#/components/schemas/Question'
        current_index:
          type: integer
          description: current question index, used for progress indication
        total_questions:
          type: integer
          description: estimated total number of questions, used for progress indication
      type: object
  securitySchemes:
    apikey:
      type: apiKey
      in: header
      name: x-client
      description: Client API key, provided by Diagnostic Robotics, must be supplied with any request