Spaces:
Running
Running
File size: 789 Bytes
252669b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
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"
}
```
|