API referenceAsk (playground)
Sport Data API
Ask the warehouse a question in plain English
Plan one read-only query, run it, and ground the answer in its rows.
Authorization
ApiKey AuthorizationBearer <token>
Your API key: Authorization: Bearer asd_live_… (or asd_test_…).
In: header
Request Body
application/json
[key: string]?any
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://platform-api.altsportsleagues.ai/v1/playground/chat" \ -H "Content-Type: application/json" \ -d '{}'null{
"object": "error",
"code": "invalid_request",
"message": "One human sentence describing what went wrong.",
"request_id": "req_0123456789abcdef01234567"
}{
"object": "error",
"code": "unauthorized",
"message": "One human sentence describing what went wrong.",
"request_id": "req_0123456789abcdef01234567"
}{
"object": "error",
"code": "payment_required",
"message": "One human sentence describing what went wrong.",
"request_id": "req_0123456789abcdef01234567"
}{
"object": "error",
"code": "forbidden_plan",
"message": "One human sentence describing what went wrong.",
"request_id": "req_0123456789abcdef01234567"
}{
"object": "error",
"code": "not_found",
"message": "One human sentence describing what went wrong.",
"request_id": "req_0123456789abcdef01234567"
}{
"object": "error",
"code": "rate_limited",
"message": "One human sentence describing what went wrong.",
"request_id": "req_0123456789abcdef01234567"
}{
"object": "error",
"code": "internal_error",
"message": "One human sentence describing what went wrong.",
"request_id": "req_0123456789abcdef01234567"
}{
"object": "error",
"code": "upstream_unavailable",
"message": "One human sentence describing what went wrong.",
"request_id": "req_0123456789abcdef01234567"
}{
"object": "error",
"code": "upstream_timeout",
"message": "One human sentence describing what went wrong.",
"request_id": "req_0123456789abcdef01234567"
}