Self-Discovery API
Endpoints for self-discovery operations.
Endpoints
- GET /discovery/
- GET /discovery/prompts
- GET /discovery/prompts/slug"}
- GET /discovery/tools
- GET /discovery/tools/tool_name"}
- GET /discovery/output-styles
- GET /discovery/output-styles/style_name"}
- GET /discovery/resources
- GET /discovery/resources/resource_name"}
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
category | query | string | No | Filter by prompt category |
include_content | query | boolean | No | Include 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
slug | path | string | Yes | - |
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
category | query | string | No | Filter 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tool_name | path | string | Yes | - |
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
style_type | query | string | No | Filter by type: 'schema' or 'example' |
format_filter | query | string | No | Filter 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
style_name | path | string | Yes | - |
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
resource_name | path | string | Yes | - |
Responses
200: Successful Response
422: Validation Error
Examples
curl -X GET "https://api.altsportsdata.com/discovery/resources/{resource_name}"}" \
-H "Content-Type: application/json"