Beta ProductSQL Proxy is currently in beta. API endpoints may change.
The SQL Proxy Admin API allows you to configure service principal mappings and jobs compute settings.
Base URL
https://sqlproxy.your-company.datafold.com
Authentication
All /admin endpoints require Bearer token authentication:
curl -H "Authorization: Bearer <admin-token>" \
https://sqlproxy.your-company.datafold.com/admin/service-principals
Admin tokens are provisioned during onboarding. Contact your Datafold representative if you need a new token.
Success responses:
{
"data": { ... },
"message": "Optional success message"
}
Error responses:
{
"error_code": "NOT_FOUND",
"message": "Service principal not found"
}
| Error Code | HTTP Status | Description |
|---|
UNAUTHORIZED | 401 | Missing or invalid token |
FORBIDDEN | 403 | Token lacks required permissions |
NOT_FOUND | 404 | Resource not found |
BAD_REQUEST | 400 | Invalid request body |
CONFLICT | 409 | Resource already exists |