API Reference
All backend endpoints are prefixed with /data/.
The OpenAPI / Swagger UI is available (in local deployments) at:
Authentication
If Keycloak authentication is enabled, most endpoints require:
Authorization: Bearer <user_jwt>
Ownership is enforced for operations such as list/download/delete, job status, and schedules.
Files and metadata
| Method | Path | Description |
|---|---|---|
POST |
|
Upload a file to object storage and record metadata + job |
POST |
|
One-off HTTP ingest (JSON or raw file) |
POST |
|
One-off DB ingest (PostgreSQL / MySQL) |
GET |
|
Check if a file exists for the current user |
GET |
|
Download a file (ownership enforced) |
GET |
|
List files for the current user |
DELETE |
|
Delete a file and its metadata (and DDE entry if configured) |
POST |
|
Insert/update metadata row for current user |
GET |
|
List metadata rows for current user |
Jobs and schedules
| Method | Path | Description |
|---|---|---|
GET |
|
Job status/progress (ownership enforced) |
GET |
|
List recent jobs for current user |
POST |
|
Schedule recurring API ingests |
POST |
|
Schedule recurring DB ingests |
GET |
|
List schedules for current user |
DELETE |
|
Cancel a schedule (ownership enforced) |
Debug endpoints (development only)
A debug endpoint exists for service token exchange flows:
-
GET /data/debug_service_token
This is expected to be enabled only in non-production contexts.
Example usage (illustrative)
curl -X GET \
"http://localhost:5002/data/list_files" \
-H "Authorization: Bearer <user_jwt>"