Patsnap Chemical and Bio Data API

Chemical and Bio Data APIs.

OpenAPI Specification

patsnap-chemical-and-bio-data-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Patsnap Open Platform AI Translation Chemical and Bio Data API
  version: 1.0.0
  description: OpenAPI specification for Patsnap Open Platform APIs, including patent search, analytics, and Eureka AI capabilities.
servers:
- url: https://connect.patsnap.com
  description: Patsnap Open Platform API gateway
tags:
- name: Chemical and Bio Data
  description: Chemical and Bio Data APIs.
paths:
  /eurekals/open/ocsr/task/submit:
    post:
      operationId: b067-1TaskSubmit
      summary: B067-1 Submit OCSR Task
      description: Only supports PDF file upload (max 15MB) and image (jpg,png,jepg) upload, recognize chemical structure in the document
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b067-1 submit ocsr task response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B067-1TaskSubmitResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/eurekals/open/ocsr/task/submit
      parameters:
      - name: X-PatSnap-From
        in: header
        required: true
        description: 请求来源
        schema:
          type: string
          example: swagger-ui
          description: 请求来源
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/B067-1TaskSubmitRequest'
  /eurekals/open/ocsr/task:
    get:
      operationId: b067-2OcsrTask
      summary: B067-2 Get OCSR Task Status And Results
      description: Query OCSR task execution status and results by task ID
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b067-2 get ocsr task status and results response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B067-2OcsrTaskResponse'
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/eurekals/open/ocsr/task
      parameters:
      - name: task_id
        in: query
        required: true
        description: Task ID
        schema:
          type: string
          example: 4d45db3044545336319d0d4424641d7f
          description: Task ID
      - name: X-PatSnap-From
        in: header
        required: true
        description: 请求来源
        schema:
          type: string
          example: swagger-ui
          description: 请求来源
  /eureka/material/docAnalyzer/getExtractMaterial:
    post:
      operationId: b068-2DocanalyzerGetextractmaterial
      summary: B068-2 Query the triplet task results.
      description: Retrieve extracted triplet results using jobId
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b068-2 query the triplet task results. response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B068-2DocanalyzerGetextractmaterialResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/eureka/material/docAnalyzer/getExtractMaterial
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B068-2DocanalyzerGetextractmaterialRequest'
  /eureka/material/docAnalyzer/submitPDF:
    post:
      operationId: b068-1DocanalyzerSubmitpdf
      summary: B068-1 Create a triplet recognition task
      description: After uploading the document, a jobId will be generated. Use the jobId to retrieve the extracted triplet results.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b068-1 create a triplet recognition task response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B068-1DocanalyzerSubmitpdfResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/eureka/material/docAnalyzer/submitPDF
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/B068-1DocanalyzerSubmitpdfRequest'
  /chemical-openapi/compound:
    post:
      operationId: b001ChemicalOpenapiCompound
      summary: B001 Chemical Structure Search
      description: Search chemical structures base on key information (structure name, formula, InChIKey, SMILES, search type), return number of structures, InchiKey, similarity, number of patents and literature related to each structure.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b001 chemical structure search response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B001ChemicalOpenapiCompoundResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/chemical-openapi/compound
      requestBody:
        required: true
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/B001ChemicalOpenapiCompoundRequest'
  /bio-openapi/sequence/job/result:
    post:
      operationId: b0034JobResult
      summary: '[B003/4-1]Get Sequence Search Results'
      description: Get Sequence Search Results By Job ID.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful [b003/4-1]get sequence search results response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B0034JobResultResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/bio-openapi/sequence/job/result
      requestBody:
        required: true
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/B0034JobResultRequest'
  /bio-openapi/sequence/motif/job:
    post:
      operationId: b003MotifJob
      summary: B003 Motif Sequence Search
      description: Search sequences with motif expression.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b003 motif sequence search response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B003MotifJobResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/bio-openapi/sequence/motif/job
      requestBody:
        required: true
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/B003MotifJobRequest'
  /chemical-openapi/compound/patents:
    get:
      operationId: b002CompoundPatents
      summary: B002 Patent search for individual chemical structures
      description: Get all patents of single chemical structure by InchiKey.<p> Patent bibliography data can be obtained by calling [P012]Biblio API using the returned patent ID.</p>
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b002 patent search for individual chemical structures response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B002CompoundPatentsResponse'
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/chemical-openapi/compound/patents
      parameters:
      - name: inchi_key
        in: query
        required: true
        description: Structure InchiKey
        schema:
          type: string
          example: BSYNRYMUTXBXSQ-UHFFFAOYSA-N
          description: Structure InchiKey
      - name: page
        in: query
        required: true
        description: Page number. Current page number, start from 1.
        schema:
          type: integer
          format: int32
          example: '1'
          description: Page number. Current page number, start from 1.
      - name: rows
        in: query
        required: true
        description: Page Size. Current page result size, support maximum 100.
        schema:
          type: integer
          format: int32
          example: '10'
          description: Page Size. Current page result size, support maximum 100.
  /bio-openapi/sequence/job:
    post:
      operationId: b004SequenceJob
      summary: B004 Normal Sequence Search
      description: Search sequences with key information.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b004 normal sequence search response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B004SequenceJobResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/bio-openapi/sequence/job
      requestBody:
        required: true
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/B004SequenceJobRequest'
  /chemical-openapi/compound/detail:
    get:
      operationId: b014CompoundDetail
      summary: B014 Chemical Structure Details
      description: Get chemical structures details by InchiKey
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b014 chemical structure details response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B014CompoundDetailResponse'
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/chemical-openapi/compound/detail
      parameters:
      - name: inchi_key
        in: query
        required: true
        description: Structure InchiKey
        schema:
          type: string
          example: BSYNRYMUTXBXSQ-UHFFFAOYSA-N
          description: Structure InchiKey
  /bio-openapi/sequence/patent:
    post:
      operationId: b005SequencePatent
      summary: B005 Single Sequence All Patent List
      description: Get all patents of single sequence by seq_id.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b005 single sequence all patent list response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B005SequencePatentResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/bio-openapi/sequence/patent
      requestBody:
        required: true
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/B005SequencePatentRequest'
  /bio-openapi/sequence/job/status:
    get:
      operationId: b0034JobStatus
      summary: '[B003/4-0]Backend Search Job Status'
      description: Check Backend Search Job Status.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful [b003/4-0]backend search job status response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B0034JobStatusResponse'
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/bio-openapi/sequence/job/status
      parameters:
      - name: job_id
        in: query
        required: true
        description: ID of the search job in backend, use this ID for subsequent API calls
        schema:
          type: string
          example: 953a406a18d84dc8b13f0b923e406a43
          description: ID of the search job in backend, use this ID for subsequent API calls
  /bio-openapi/patent/extract/multi:
    post:
      operationId: b063ExtractMulti
      summary: B063 Extract Multiple Patent Sequence
      description: Extract all sequences from a single patent and provide the total count, sequence numbers, sequence codes, and sequence details. Present the information in a paginated format.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b063 extract multiple patent sequence response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B063ExtractMultiResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/bio-openapi/patent/extract/multi
      requestBody:
        required: true
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/B063ExtractMultiRequest'
  /bio-openapi/patent/extract/single:
    post:
      operationId: b062ExtractSingle
      summary: B062 Extract Single Patent Sequence
      description: Extract all sequences from a single patent and provide the total count, sequence numbers, sequence codes, and sequence details. Present the information in a paginated format.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b062 extract single patent sequence response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B062ExtractSingleResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/bio-openapi/patent/extract/single
      requestBody:
        required: true
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/B062ExtractSingleRequest'
  /bio/sequence/info:
    post:
      operationId: b016SequenceInfo
      summary: B016 Sequence Infomation
      description: This interface provides Sequence information, including Sequence ID, sequence, sequence length, sequence type (nucleotide or protein), SEQ ID NO, sequence claim position, species
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b016 sequence infomation response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B016SequenceInfoResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/bio/sequence/info
      parameters:
      - name: sequence_id
        in: query
        required: false
        description: sequence_id
        schema:
          type: integer
          format: int64
          example: '524284411'
          description: sequence_id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B016SequenceInfoRequest'
  /synapse/patent/chemical/getSingleData:
    post:
      operationId: b071ChemicalGetsingledata
      summary: B071 Extract chemical structures from a single patent
      description: Extract chemical structures (compounds) mentioned in a single patent and their related information through patent ID, including compound names, InChI Keys, SMILES, molecular weights, mention counts in different sections, etc.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b071 extract chemical structures from a single patent response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B071ChemicalGetsingledataResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/synapse/patent/chemical/getSingleData
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B071ChemicalGetsingledataRequest'
  /synapse/patent/chemical/submitTask:
    post:
      operationId: b072-1ChemicalSubmittask
      summary: B072-1 Extract chemical structures from multiple patents-create
      description: Submit a chemical structure search task based on patent IDs or patent numbers, source, molecular weight range, etc., and return a task ID for querying results later
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b072-1 extract chemical structures from multiple patents-create response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B072-1ChemicalSubmittaskResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/synapse/patent/chemical/submitTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B072-1ChemicalSubmittaskRequest'
  /synapse/patent/chemical/getTaskResult:
    get:
      operationId: b072-2ChemicalGettaskresult
      summary: B072-2 Extract chemical structures from multiple patents-query
      description: Query the execution result of a chemical structure search task by task ID, returning a list of compounds and their detailed information, including InChI, SMILES, molecular weight, synonyms, patent count, paper count, etc.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b072-2 extract chemical structures from multiple patents-query response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B072-2ChemicalGettaskresultResponse'
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/synapse/patent/chemical/getTaskResult
      parameters:
      - name: task_id
        in: query
        required: true
        description: taskId
        schema:
          type: string
          example: 27d6e66b503549ce92842cfdb3345349
          description: taskId
  /synapse/drug/compound-physicochemical-props:
    get:
      operationId: b015DrugCompoundPhysicochemicalProps
      summary: B015 Compound Physicochemical Properties
      description: Retrieve physicochemical properties of a single chemical structure (such as molecular weight, compound lipophilicity parameter, number of hydrogen bond donors, Topological Polar Surface Area (TPSA), isotopic mass, acidity/basicity, etc.) by inputting Structure ID, InChIKey, or SMILES (returns based on physicochemical properties displayed on the product side)
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b015 compound physicochemical properties response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B015DrugCompoundPhysicochemicalPropsResponse'
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/synapse/drug/compound-physicochemical-props
      parameters:
      - name: inchi_key
        in: query
        required: true
        description: Chemical Structure InChIKey
        schema:
          type: string
          example: BSYNRYMUTXBXSQ-UHFFFAOYSA-N
          description: Chemical Structure InChIKey
  /synapse/chemical/paper/search:
    post:
      operationId: b042PaperSearch
      summary: B042 Single Chemical Structure Literature Search
      description: Search related papers through InChI Key ID, including title, abstract, author, institution, publication, publication date, etc.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b042 single chemical structure literature search response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B042PaperSearchResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/synapse/chemical/paper/search
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B042PaperSearchRequest'
  /chemical-business/keyword/search:
    post:
      operationId: b073KeywordSearch
      summary: B073 Compound Keyword Search
      description: Search compound info by keyword, returns InChI Key, SMILES, compound name and structure image. Supports CAS number, generic name (Chinese, Japanese, English), synonym, abbreviation, molecular formula, SMILES, InChI Key.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b073 compound keyword search response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B073KeywordSearchResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/chemical-business/keyword/search
      parameters:
      - name: keyword
        in: query
        required: true
        description: Compound keyword, supports CAS number, generic name (Chinese, Japanese, English), synonym, abbreviation, molecular formula, SMILES, InChI Key
        schema:
          type: string
          example: SIMVASTATIN
          description: Compound keyword, supports CAS number, generic name (Chinese, Japanese, English), synonym, abbreviation, molecular formula, SMILES, InChI Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B073KeywordSearchRequest'
  /synapse/chemical/reaction/route:
    post:
      operationId: b075ReactionRoute
      summary: B075 Compound reaction routes
      description: Query patent reaction routes by compound InChI Key, returning reactants, products, and SMILES grouped by patent numbers.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b075 compound reaction routes response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B075ReactionRouteResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/synapse/chemical/reaction/route
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B075ReactionRouteRequest'
  /ocsr_wrapper/v1/ocsr:
    post:
      operationId: b076V1Ocsr
      summary: B076 Hiro-OCSR
      description: Upload one or more images to recognize chemical structures, returning the SMILES and structure classification for each image in input order.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b076 hiro-ocsr response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B076V1OcsrResponse'
        '201':
          description: Created.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
        '404':
          description: Not Found.
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/ocsr_wrapper/v1/ocsr
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/B076V1OcsrRequest'
  /chat/pcc-molecule-task:
    post:
      operationId: b068-1ChatPccMoleculeTask
      summary: B068-1 PCC Molecule Structure Prediction-Create Task
      description: 'This interface is used to create a PCC molecule structure prediction task. Input a patent number and receive a job ID. Usage flow: first call this interface to get jobId, then use the jobId to call the result interface.'
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b068-1 pcc molecule structure prediction-create task response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B068-1ChatPccMoleculeTaskResponse'
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/chat/pcc-molecule-task
      requestBody:
        required: true
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/B068-1ChatPccMoleculeTaskRequest'
  /chat/pcc-molecule-result:
    post:
      operationId: b068-2ChatPccMoleculeResult
      summary: B068-2 PCC Molecule Structure Prediction-Get Result
      description: This interface is used to get the result of a PCC molecule structure prediction task. Input a job ID and receive the optimal molecule recommendation list and Markush structure. When the task status is completed, the extracted structured result is returned.
      tags:
      - Chemical and Bio Data
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Successful b068-2 pcc molecule structure prediction-get result response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B068-2ChatPccMoleculeResultResponse'
      externalDocs:
        description: API Reference documentation
        url: https://open.patsnap.com/devportal/api-reference/chat/pcc-molecule-result
      requestBody:
        required: true
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/B068-2ChatPccMoleculeResultRequest'
components:
  schemas:
    B014CompoundDetail_OpenCompoundCrossDTO:
      type: object
      properties:
        zinc:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        chebi:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        mcule:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        comptox:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        fda_srs:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        nih_cli:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        drugbank:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        pharmgkb:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        pub_chem:
          type: array
          example: 'Please check the form: ValueUrlDTO'
          description: PubChem
          items:
            $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        bindingdb:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'
        emolecules:
          $ref: '#/components/schemas/B014CompoundDetail_ValueUrlDTO'


# --- truncated at 32 KB (125 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/patsnap/refs/heads/main/openapi/patsnap-chemical-and-bio-data-api-openapi.yml