feedback-api / README.md
cgeorgiaw's picture
cgeorgiaw HF Staff
Initial feedback API
252669b
---
title: Hugging Science Feedback API
emoji: πŸ’¬
colorFrom: gray
colorTo: gray
sdk: docker
pinned: false
---
# Hugging Science Feedback API
Minimal FastAPI service that accepts feedback submissions from huggingscience.co
and appends them to the [hugging-science/feedback](https://huggingface.co/datasets/hugging-science/feedback) dataset.
## Setup
Add a Space secret named `HF_TOKEN` with a write-scoped token for the `hugging-science` org.
## Endpoints
- `GET /` β€” health check
- `POST /submit` β€” submit a feedback entry
## Payload
```json
{
"type": "dataset | model | challenge | feedback",
"title": "Optional name or link",
"description": "Required β€” what should be added and why?",
"submitted_at": "2026-04-13T10:00:00Z",
"source": "huggingscience.co"
}
```