Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Elicit API — Python Examples

Minimal scripts showing how to call the Elicit API from Python.

Prerequisites

pip install requests
export ELICIT_API_KEY="your-api-key"

Examples

1. Search papers

Search for academic papers with a research question.

python 1_search.py

2. Filtered search

Narrow results by study type, publication year, and journal quartile.

python 2_filtered_search.py

3. Create a report

Generate an AI-powered research report. Reports take 5-15 minutes — the script polls until completion.

python 3_create_report.py

Notes

  • These examples use the requests library for readability. For a zero-dependency alternative, see the CLI tool, which uses only urllib from the standard library.
  • Error handling is intentionally minimal to keep the examples readable.

See the API documentation for all available parameters and filters.