API Endpoints
Get outcomes
Extracts outcomes from a PubMed article based on its ID.
Args: request (PubMedRequest): An object containing the PubMed ID.
Returns: dict: A dictionary containing the extracted outcomes.
Raises: HTTPException: If the PubMed ID is invalid or the article is not found.
POST
Body
application/json
Response
200
application/json
Outcomes retrieved successfully
The response is of type any
.