myTomorrows V1 API

The V1 API from myTomorrows — 38 operation(s) for v1.

OpenAPI Specification

mytomorrows-v1-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Enterprise Search Legacy GraphQL Proxy V1 API
  version: 0.1.0
tags:
- name: V1
paths:
  /es/api/v01/docs:
    get:
      tags:
      - V1
      summary: Api Docs
      operationId: api_docs_es_api_v01_docs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /es/api/v01/anno/to_annotate:
    post:
      tags:
      - V1
      summary: Get Annotations Endpoint
      operationId: get_annotations_endpoint_es_api_v01_anno_to_annotate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/llm/llm_tsr_generate:
    post:
      tags:
      - V1
      summary: Llm Tsr Generate Endpoint
      operationId: llm_tsr_generate_endpoint_es_api_v01_llm_llm_tsr_generate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/document/transcribe_documents:
    post:
      tags:
      - V1
      summary: Document Transcription Endpoint
      description: Lambda function to transcribe documents using OCR and return the text
      operationId: document_transcription_endpoint_es_api_v01_document_transcribe_documents_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/anno/process:
    post:
      tags:
      - V1
      summary: Process Annotations Endpoint
      operationId: process_annotations_endpoint_es_api_v01_anno_process_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/search/request_tsr:
    post:
      tags:
      - V1
      summary: Request Tsr Endpoint
      operationId: request_tsr_endpoint_es_api_v01_search_request_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/search/generate_tsr:
    post:
      tags:
      - V1
      summary: Generate Tsr Endpoint
      operationId: generate_tsr_endpoint_es_api_v01_search_generate_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/search/questionnaire:
    post:
      tags:
      - V1
      summary: Questionnaire Endpoint
      operationId: questionnaire_endpoint_es_api_v01_search_questionnaire_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/llm/email_tsr:
    post:
      tags:
      - V1
      summary: Emailtsr Endpoint
      operationId: emailTSR_endpoint_es_api_v01_llm_email_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/llm/request_tsr:
    post:
      tags:
      - V1
      summary: Llm Tsr Request Endpoint
      operationId: llm_tsr_request_endpoint_es_api_v01_llm_request_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/llm/autocomplete_country:
    post:
      tags:
      - V1
      summary: Autocomplete Country Endpoint
      operationId: autocomplete_country_endpoint_es_api_v01_llm_autocomplete_country_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/llm/autocomplete_aliases:
    post:
      tags:
      - V1
      summary: Autocomplete Aliases Endpoint
      operationId: autocomplete_aliases_endpoint_es_api_v01_llm_autocomplete_aliases_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/llm/review_tsr:
    post:
      tags:
      - V1
      summary: Llm Tsr Review Endpoint
      operationId: llm_tsr_review_endpoint_es_api_v01_llm_review_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/autocomplete/autocomplete_aliases_graph:
    post:
      tags:
      - V1
      summary: Autocomplete Aliases Graph Endpoint
      operationId: autocomplete_aliases_graph_endpoint_es_api_v01_autocomplete_autocomplete_aliases_graph_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/llm/autocomplete_conditions_synonyms:
    post:
      tags:
      - V1
      summary: Autocomplete Conditions Endpoint
      operationId: autocomplete_conditions_endpoint_es_api_v01_llm_autocomplete_conditions_synonyms_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/llm/autocomplete_trial_id:
    post:
      tags:
      - V1
      summary: Autocomplete Trial Id Endpoint
      operationId: autocomplete_trial_id_endpoint_es_api_v01_llm_autocomplete_trial_id_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/mdt/request_pdf:
    post:
      tags:
      - V1
      summary: Mdt Request Pdf Endpoint
      operationId: mdt_request_pdf_endpoint_es_api_v01_mdt_request_pdf_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /es/api/v01/wrapper/autocomplete:
    get:
      tags:
      - V1
      summary: Autocomplete Wrapper Endpoint
      operationId: autocomplete_wrapper_endpoint_es_api_v01_wrapper_autocomplete_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /es/api/v01/wrapper/study/search/counts:
    get:
      tags:
      - V1
      summary: Count Wrapper Endpoint
      operationId: count_wrapper_endpoint_es_api_v01_wrapper_study_search_counts_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v01/docs:
    get:
      tags:
      - V1
      summary: Api Docs
      operationId: api_docs_v01_docs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v01/anno/to_annotate:
    post:
      tags:
      - V1
      summary: Get Annotations Endpoint
      operationId: get_annotations_endpoint_v01_anno_to_annotate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/llm/llm_tsr_generate:
    post:
      tags:
      - V1
      summary: Llm Tsr Generate Endpoint
      operationId: llm_tsr_generate_endpoint_v01_llm_llm_tsr_generate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/document/transcribe_documents:
    post:
      tags:
      - V1
      summary: Document Transcription Endpoint
      description: Lambda function to transcribe documents using OCR and return the text
      operationId: document_transcription_endpoint_v01_document_transcribe_documents_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/anno/process:
    post:
      tags:
      - V1
      summary: Process Annotations Endpoint
      operationId: process_annotations_endpoint_v01_anno_process_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/search/request_tsr:
    post:
      tags:
      - V1
      summary: Request Tsr Endpoint
      operationId: request_tsr_endpoint_v01_search_request_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/search/generate_tsr:
    post:
      tags:
      - V1
      summary: Generate Tsr Endpoint
      operationId: generate_tsr_endpoint_v01_search_generate_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/search/questionnaire:
    post:
      tags:
      - V1
      summary: Questionnaire Endpoint
      operationId: questionnaire_endpoint_v01_search_questionnaire_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/llm/email_tsr:
    post:
      tags:
      - V1
      summary: Emailtsr Endpoint
      operationId: emailTSR_endpoint_v01_llm_email_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/llm/request_tsr:
    post:
      tags:
      - V1
      summary: Llm Tsr Request Endpoint
      operationId: llm_tsr_request_endpoint_v01_llm_request_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/llm/autocomplete_country:
    post:
      tags:
      - V1
      summary: Autocomplete Country Endpoint
      operationId: autocomplete_country_endpoint_v01_llm_autocomplete_country_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/llm/autocomplete_aliases:
    post:
      tags:
      - V1
      summary: Autocomplete Aliases Endpoint
      operationId: autocomplete_aliases_endpoint_v01_llm_autocomplete_aliases_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/llm/review_tsr:
    post:
      tags:
      - V1
      summary: Llm Tsr Review Endpoint
      operationId: llm_tsr_review_endpoint_v01_llm_review_tsr_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/autocomplete/autocomplete_aliases_graph:
    post:
      tags:
      - V1
      summary: Autocomplete Aliases Graph Endpoint
      operationId: autocomplete_aliases_graph_endpoint_v01_autocomplete_autocomplete_aliases_graph_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/llm/autocomplete_conditions_synonyms:
    post:
      tags:
      - V1
      summary: Autocomplete Conditions Endpoint
      operationId: autocomplete_conditions_endpoint_v01_llm_autocomplete_conditions_synonyms_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/llm/autocomplete_trial_id:
    post:
      tags:
      - V1
      summary: Autocomplete Trial Id Endpoint
      operationId: autocomplete_trial_id_endpoint_v01_llm_autocomplete_trial_id_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/mdt/request_pdf:
    post:
      tags:
      - V1
      summary: Mdt Request Pdf Endpoint
      operationId: mdt_request_pdf_endpoint_v01_mdt_request_pdf_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v01/wrapper/autocomplete:
    get:
      tags:
      - V1
      summary: Autocomplete Wrapper Endpoint
      operationId: autocomplete_wrapper_endpoint_v01_wrapper_autocomplete_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v01/wrapper/study/search/counts:
    get:
      tags:
      - V1
      summary: Count Wrapper Endpoint
      operationId: count_wrapper_endpoint_v01_wrapper_study_search_counts_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    JsonRequest:
      properties: {}
      additionalProperties: true
      type: object
      title: JsonRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError