API Reference
Self Discovery

Self-Discovery API

Endpoints for self-discovery operations.

Endpoints

GET /discovery/

Get Discovery Overview

Get overview of all discovery endpoints

Responses

200: Successful Response

Examples

curl -X GET "https://api.altsportsdata.com/discovery/" \
  -H "Content-Type: application/json"

GET /discovery/prompts

Get Prompts

Get system prompts with AI-generated summaries

Parameters

NameInTypeRequiredDescription
categoryquerystringNoFilter by prompt category
include_contentquerybooleanNoInclude full prompt content

Responses

200: Successful Response

422: Validation Error

Examples

curl -X GET "https://api.altsportsdata.com/discovery/prompts" \
  -H "Content-Type: application/json"

GET /discovery/prompts/{slug}"}

Get Prompt By Slug

Get full prompt content by slug

Parameters

NameInTypeRequiredDescription
slugpathstringYes-

Responses

200: Successful Response

422: Validation Error

Examples

curl -X GET "https://api.altsportsdata.com/discovery/prompts/{slug}"}" \
  -H "Content-Type: application/json"

GET /discovery/tools

Get Tools

Get available system tools

Parameters

NameInTypeRequiredDescription
categoryquerystringNoFilter by tool category

Responses

200: Successful Response

422: Validation Error

Examples

curl -X GET "https://api.altsportsdata.com/discovery/tools" \
  -H "Content-Type: application/json"

GET /discovery/tools/{tool_name}"}

Get Tool Details

Get detailed information about a specific tool

Parameters

NameInTypeRequiredDescription
tool_namepathstringYes-

Responses

200: Successful Response

422: Validation Error

Examples

curl -X GET "https://api.altsportsdata.com/discovery/tools/{tool_name}"}" \
  -H "Content-Type: application/json"

GET /discovery/output-styles

Get Output Styles

Get output styles and schemas

Parameters

NameInTypeRequiredDescription
style_typequerystringNoFilter by type: 'schema' or 'example'
format_filterquerystringNoFilter by format: 'json', 'xml', etc.

Responses

200: Successful Response

422: Validation Error

Examples

curl -X GET "https://api.altsportsdata.com/discovery/output-styles" \
  -H "Content-Type: application/json"

GET /discovery/output-styles/{style_name}"}

Get Output Style Details

Get detailed information about a specific output style

Parameters

NameInTypeRequiredDescription
style_namepathstringYes-

Responses

200: Successful Response

422: Validation Error

Examples

curl -X GET "https://api.altsportsdata.com/discovery/output-styles/{style_name}"}" \
  -H "Content-Type: application/json"

GET /discovery/resources

Get Resources

Get information about connected databases and resources

Responses

200: Successful Response

Examples

curl -X GET "https://api.altsportsdata.com/discovery/resources" \
  -H "Content-Type: application/json"

GET /discovery/resources/{resource_name}"}

Get Resource Details

Get detailed information about a specific resource

Parameters

NameInTypeRequiredDescription
resource_namepathstringYes-

Responses

200: Successful Response

422: Validation Error

Examples

curl -X GET "https://api.altsportsdata.com/discovery/resources/{resource_name}"}" \
  -H "Content-Type: application/json"

Platform

Documentation

Community

Support

partnership@altsportsdata.comdev@altsportsleagues.ai

2025 Β© AltSportsLeagues.ai. Powered by AI-driven sports business intelligence.

πŸ€– AI-Enhancedβ€’πŸ“Š Data-Drivenβ€’βš‘ Real-Time