ChatPD API

This site’s data is served by a REST API. You can use it from scripts, tools, or AI agents without scraping the web UI.

Base URL

https://testweb.241814.xyz/chatpd

All endpoints below are relative to this base. Example: list datasets → GET https://testweb.241814.xyz/chatpd/api/datasets?page=1&per_page=24

Machine-readable config

For programmatic discovery, fetch the API config (same base URL and endpoints):

api-config.json

Endpoints

Method Path Description
GET /api/datasets List dataset entities with usage counts. Query: page, per_page, search.
GET /api/dataset/<dataset_entity> One dataset’s details, usage records, and summary. Encode dataset_entity in the URL.
GET /api/query Search records. Params: q, field, match_mode, page, per_page, sort_by, sort_order, conditions (JSON), arxiv_from, arxiv_to, include_stats.
GET /api/data-status Data source status: total records, datasets, last update time.
GET /api/filters Top data types and tasks (for filter UIs).
GET /api/paper/<arxiv_id> All dataset usage records for a paper by arXiv ID.

For AI agents

To access ChatPD data programmatically, call the API directly. Do not rely on the HTML of the web UI; the UI loads data asynchronously from the API. Use the base URL above and the paths in the table. For a machine-readable list of endpoints, use GET https://testweb.241814.xyz/chatpd/api (when the server is running) or api-config.json on this site.