### GET /api/v2/bot/signal/dex/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/dex/folder ```markdown ### Responses #### 200 - List of user's DEX signal bot folders - Array of DexSignalBotFolder ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/dex/folder" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/llm/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/llm/folder ```markdown ### Responses #### 200 - List of user's LLM reaction folders - Array of LLMReactionFolder ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/llm/folder" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/llm/folder/root Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/llm/folder/root ```markdown ### Responses #### 200 - List of LLM reactions in root folder - Array of LLMReaction ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/llm/folder/root" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/code/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/code/folder ```markdown ### Responses #### 200 - List of user's code reaction folders - Array of CodeReactionFolder ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/code/folder" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/code/folder/root Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/code/folder/root ```markdown ### Responses #### 200 - List of code reactions in root folder - Array of CodeReaction ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/code/folder/root" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/dex/folder/root Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/dex/folder/root ```markdown ### Responses #### 200 - List of DEX signal bots in root folder - Array of DexSignalBot ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/dex/folder/root" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/dex/total Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/dex/total ```markdown ### Responses #### 200 - Total number of DEX signal bots - **total** (number) (example: 10) ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/dex/total" ``` ``` -------------------------------- ### GET /api/v2/api/llm/services Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/api/llm/services ```markdown ### Responses #### 200 - List of enabled services - Array of LLMService ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/api/llm/services" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/llm/total Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/llm/total ```markdown ### Responses #### 200 - Number of LLM Reactions - **total** (number) (example: 10) ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/llm/total" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/code/total Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/code/total ```markdown ### Responses #### 200 - Number of Code Reactions - **total** (number) (example: 10) ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/code/total" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/llm Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/llm ```markdown ### Responses #### 200 - List of user's LLM reactions - Array of LLMReaction ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/llm" ``` ``` -------------------------------- ### GET /api/v2/api/llm Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/api/llm ```markdown ### Responses #### 200 - List of user's API keys - Array of LLMApiKey ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/api/llm" ``` ``` -------------------------------- ### GET /api/v2/strategy/llm-session/folder/root Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/llm-session/folder/root ```markdown ### Responses #### 200 - List - Array of LLMSession ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/llm-session/folder/root" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/cex/folder/root Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/cex/folder/root ```markdown ### Responses #### 200 - List of CEX signal bots in root folder - Array of CexSignalBot ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/cex/folder/root" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/cex/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/cex/folder ```markdown ### Responses #### 200 - List of user's CEX signal bot folders - Array of CexSignalBotFolder ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/cex/folder" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/code/folder/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/code/folder/{id} ```markdown ### Parameters - **id** (string, path, required): Folder ID ### Responses #### 200 - Folder with its items **CodeReactionFolder** #### 400 - Missing id Missing id #### 404 - Folder not found Folder not found ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/code/folder/{id}" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/llm/folder/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/llm/folder/{id} ```markdown ### Parameters - **id** (string, path, required): Folder ID ### Responses #### 200 - Folder with its items **LLMReactionFolder** #### 400 - Missing id Missing id #### 404 - Folder not found Folder not found ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/llm/folder/{id}" ``` ``` -------------------------------- ### GET /api/v2/strategy/code/folder/root Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/code/folder/root ```markdown ### Responses #### 200 - List of code strategies in root folder - Array of CodeStrategy ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/code/folder/root" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/code Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/code ```markdown ### Responses #### 200 - List of user's code reactions - Array of CodeReaction ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/code" ``` ``` -------------------------------- ### GET /api/v2/webhook/bot Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/webhook/bot ```markdown ### Responses #### 200 - List of user's bot webhooks - Array of BotWebhook ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/webhook/bot" ``` ``` -------------------------------- ### GET /api/v2/strategy/code/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/code/folder ```markdown ### Responses #### 200 - List of user's code strategy folders - Array of CodeStrategyFolder ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/code/folder" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/dex Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/dex ```markdown ### Responses #### 200 - List of user's DEX signal bots - Array of DexSignalBot ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/dex" ``` ``` -------------------------------- ### GET /api/v2/strategy/llm-session/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/llm-session/folder ```markdown ### Responses #### 200 - List of user's LLM session folders - Array of LLMSessionFolder ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/llm-session/folder" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/cex/total Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/cex/total ```markdown ### Responses #### 200 - Total number of CEX signal bots - **total** (number) (example: 10) ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/cex/total" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/prediction/folder/root Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/prediction/folder/root ```markdown ### Responses #### 200 - List of prediction signal bots in root folder - Array of PredictionSignalBot ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/prediction/folder/root" ``` ``` -------------------------------- ### GET /api/v2/strategy/llm-session/total Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/llm-session/total ```markdown ### Responses #### 200 - Number of LLM Sessions - **total** (number) (example: 10) ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/llm-session/total" ``` ``` -------------------------------- ### GET /api/v2/strategy/code/total Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/code/total ```markdown ### Responses #### 200 - Number of Code Strategies - **total** (number) (example: 10) ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/code/total" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/llm/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/llm/{id} ```markdown ### Parameters - **id** (string, path, required) ### Responses #### 200 - LLM reaction details **LLMReaction** #### 400 - Missing id **ErrorResponse** - **error** (string) (example: "Error") #### 404 - Reaction not found **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/llm/{id}" ``` ``` -------------------------------- ### GET /api/v2/strategy/reaction/code/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/reaction/code/{id} ```markdown ### Parameters - **id** (string, path, required) ### Responses #### 200 - Code reaction details with storage **CodeReactionWithStorage** #### 400 - Missing id **ErrorResponse** - **error** (string) (example: "Error") #### 404 - Strategy not found **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/reaction/code/{id}" ``` ``` -------------------------------- ### GET /api/v2/exchange/with-exchange-rate Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/exchange/with-exchange-rate ```markdown ### Responses #### 200 - List of enabled exchanges with exchange rates - Array of Exchange #### 500 - Internal server error Internal server error ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/exchange/with-exchange-rate" ``` ``` -------------------------------- ### GET /api/v2/strategy/code/folder/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/code/folder/{id} ```markdown ### Parameters - **id** (string, path, required): Folder ID ### Responses #### 200 - Folder with its items **CodeStrategyFolder** #### 400 - Missing id Missing id #### 404 - Folder not found Folder not found ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/code/folder/{id}" ``` ``` -------------------------------- ### GET /api/v2/strategy/llm-session/folder/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/llm-session/folder/{id} ```markdown ### Parameters - **id** (string, path, required): Folder ID ### Responses #### 200 - Folder with its items **LLMSessionFolder** #### 400 - Missing id Missing id #### 404 - Folder not found Folder not found ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/llm-session/folder/{id}" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/dex/folder/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/dex/folder/{id} ```markdown ### Parameters - **id** (string, path, required): Folder ID ### Responses #### 200 - Folder with its items **DexSignalBotFolder** #### 400 - Missing id Missing id #### 404 - Folder not found Folder not found ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/dex/folder/{id}" ``` ``` -------------------------------- ### GET /api/v2/strategy/llm-session Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/llm-session ```markdown ### Responses #### 200 - List of user's LLM sessions - Array of LLMSession ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/llm-session" ``` ``` -------------------------------- ### GET /api/v2/webhook/data/{id}/code-reactions Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/webhook/data/{id}/code-reactions ```markdown ### Parameters - **id** (string, path, required) - **page** (integer, query, required) - **limit** (integer, query, required) ### Responses #### 200 - Paginated code reactions **PaginatedReactions** #### 400 - Missing webhook id, page, or limit **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/webhook/data/{id}/code-reactions?page=0&limit=0" ``` ``` -------------------------------- ### GET /api/v2/strategy/llm-session/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/llm-session/{id} ```markdown ### Parameters - **id** (string, path, required) ### Responses #### 200 - LLM session details **LLMSession** #### 400 - Missing id **ErrorResponse** - **error** (string) (example: "Error") #### 404 - Session not found **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/llm-session/{id}" ``` ``` -------------------------------- ### GET /api/v2/webhook/data/{id}/llm-reactions Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/webhook/data/{id}/llm-reactions ```markdown ### Parameters - **id** (string, path, required) - **page** (integer, query, required) - **limit** (integer, query, required) ### Responses #### 200 - Paginated LLM reactions **PaginatedReactions** #### 400 - Missing webhook id, page, or limit **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/webhook/data/{id}/llm-reactions?page=0&limit=0" ``` ``` -------------------------------- ### GET /api/v2/strategy/code/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/code/{id} ```markdown ### Parameters - **id** (string, path, required) ### Responses #### 200 - Code strategy details with storage **CodeStrategyWithStorage** #### 400 - Missing id **ErrorResponse** - **error** (string) (example: "Error") #### 404 - Strategy not found **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/code/{id}" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/dex/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/dex/{id} ```markdown ### Parameters - **id** (string, path, required) ### Responses #### 200 - DEX signal bot details **DexSignalBot** #### 400 - Missing bot id **ErrorResponse** - **error** (string) (example: "Error") #### 404 - Bot not found **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/dex/{id}" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/cex/folder/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/cex/folder/{id} ```markdown ### Parameters - **id** (string, path, required): Folder ID ### Responses #### 200 - Folder with its items **CexSignalBotFolder** #### 400 - Missing id Missing id #### 404 - Folder not found Folder not found ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/cex/folder/{id}" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/prediction/market/{slug} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/prediction/market/{slug} ```markdown ### Parameters - **slug** (string, path, required) ### Responses #### 200 - Prediction market data **PredictionMarket** #### 400 - Missing slug or invalid slug **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/prediction/market/{slug}" ``` ``` -------------------------------- ### GET /api/v2/api/prediction Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/api/prediction ```markdown ### Responses #### 200 - List of user's prediction API keys - Array of PredictionApiKey ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/api/prediction" ``` ``` -------------------------------- ### POST /api/v2/strategy/reaction/llm/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for POST /api/v2/strategy/reaction/llm/folder ```markdown ### Request Body **Content-Type:** application/json - **name** (string): Folder name (optional, auto-generated if not provided) ### Responses #### 201 - Folder created successfully **LLMReactionFolder** #### 400 - Invalid name or max folder limit reached Invalid name or max folder limit reached ### Example Usage ```bash curl -X POST "https://api.sigrex.io/api/v2/strategy/reaction/llm/folder" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }' ``` ``` -------------------------------- ### GET /api/v2/exchange/dex/{chain} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/exchange/dex/{chain} ```markdown ### Parameters - **chain** (string, path, required): Blockchain chain ID ### Responses #### 200 - List of DEX exchanges for the specified chain - Array of Exchange #### 400 - Missing chain ID Missing chain ID #### 500 - Internal server error Internal server error ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/exchange/dex/{chain}" ``` ``` -------------------------------- ### GET /api/v2/api/exchange Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/api/exchange ```markdown ### Responses #### 200 - List of user's exchange API keys - Array of ExchangeApiKey ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/api/exchange" ``` ``` -------------------------------- ### GET /api/v2/webhook/data/shared Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/webhook/data/shared ```markdown ### Responses #### 200 - List of shared data webhooks accessible to user - Array of SharedDataWebhook ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/webhook/data/shared" ``` ``` -------------------------------- ### GET /api/v2/webhook/data Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/webhook/data ```markdown ### Responses #### 200 - List of user's data webhooks - Array of DataWebhook ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/webhook/data" ``` ``` -------------------------------- ### GET /api/v2/webhook/bot/shared Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/webhook/bot/shared ```markdown ### Responses #### 200 - List of shared webhooks accessible to user - Array of SharedWebhook ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/webhook/bot/shared" ``` ``` -------------------------------- ### POST /api/v2/strategy/reaction/code/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for POST /api/v2/strategy/reaction/code/folder ```markdown ### Request Body **Content-Type:** application/json - **name** (string): Folder name (optional, auto-generated if not provided) ### Responses #### 201 - Folder created successfully **CodeReactionFolder** #### 400 - Invalid name or max folder limit reached Invalid name or max folder limit reached ### Example Usage ```bash curl -X POST "https://api.sigrex.io/api/v2/strategy/reaction/code/folder" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }' ``` ``` -------------------------------- ### POST /api/v2/bot/signal/dex/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for POST /api/v2/bot/signal/dex/folder ```markdown ### Request Body **Content-Type:** application/json - **name** (string): Folder name (optional, auto-generated if not provided) ### Responses #### 201 - Folder created successfully **DexSignalBotFolder** #### 400 - Invalid name or max folder limit reached Invalid name or max folder limit reached ### Example Usage ```bash curl -X POST "https://api.sigrex.io/api/v2/bot/signal/dex/folder" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }' ``` ``` -------------------------------- ### Schema: CreateFolderRequest Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json Schema definition for CreateFolderRequest ```markdown ## Schema: CreateFolderRequest Schema definition for CreateFolderRequest **Type:** object - **name** (string) (example: "My Folder") ``` -------------------------------- ### GET /api/v2/bot/signal/prediction/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/prediction/folder ```markdown ### Responses #### 200 - List of user's prediction signal bot folders - Array of PredictionSignalBotFolder ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/prediction/folder" ``` ``` -------------------------------- ### GET /api/v2/bot/signal/prediction/total Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/prediction/total ```markdown ### Responses #### 200 - Total number of Prediction signal bots - **total** (number) (example: 10) ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/prediction/total" ``` ``` -------------------------------- ### PUT /api/v2/strategy/reaction/llm/folder/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for PUT /api/v2/strategy/reaction/llm/folder/{id} ```markdown ### Parameters - **id** (string, path, required): Folder ID ### Request Body **Content-Type:** application/json - **name** (string): New folder name (optional, auto-generated if not provided) ### Responses #### 200 - Folder updated successfully - **message** (string) #### 400 - Missing id, invalid name, or folder not found Missing id, invalid name, or folder not found #### 404 - Folder not found Folder not found ### Example Usage ```bash curl -X PUT "https://api.sigrex.io/api/v2/strategy/reaction/llm/folder/{id}" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }' ``` ``` -------------------------------- ### GET /api/v2/bot/signal/prediction Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/prediction ```markdown ### Responses #### 200 - List of user's prediction signal bots - Array of PredictionSignalBot ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/prediction" ``` ``` -------------------------------- ### POST /api/v2/strategy/reaction/llm Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for POST /api/v2/strategy/reaction/llm ```markdown ### Request Body **Content-Type:** application/json - **name** (string): The name of the strategy max 255 characters (example: "My strategy") - **folder_id** (number): The folder id of the reaction (example: 12) - **webhook_id** (number): The id of the bot hook where signal will be sent (required if send_signal is true) (example: 12) - **data_webhook_id** (number) (required): The id of the data hook witch will be used to get data (example: 13) - **llm_api_id** (number) (required): The main LLM Api key id used for the strategy (example: 14) - **fallback_api_id** (number): The fallback LLM Api key id used for the strategy if main is not available (example: 15) - **prompt** (string) (required): The prompt used for the strategy (example: "Analyze the incoming data and give me a signal") - **send_signal** (boolean): Set true if you want to send a signal to the bot hook (example: true) - **signal_symbol** (string): The signal symbol or symbols of the strategy separated by comma (example: "BTCUSDT,ETHUSDT") - **send_email** (boolean): Set true if you want to send the LLM response to the user email (example: true) ### Responses #### 201 - LLM reaction created successfully **LLMReaction** #### 400 - Missing required fields, invalid prompt, or reaction limit reached **ErrorResponse** - **error** (string) (example: "Error") #### 402 - Reaction limit reached **ErrorResponse** - **error** (string) (example: "Error") #### 404 - Data webhook, bot webhook, or LLM API not found **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X POST "https://api.sigrex.io/api/v2/strategy/reaction/llm" \ -H "Content-Type: application/json" \ -d '{ "name": "My strategy", "folder_id": 12, "webhook_id": 12, "data_webhook_id": 13, "llm_api_id": 14, "fallback_api_id": 15, "prompt": "Analyze the incoming data and give me a signal", "send_signal": true, "signal_symbol": "BTCUSDT,ETHUSDT", "send_email": true }' ``` ``` -------------------------------- ### PUT /api/v2/strategy/reaction/code/folder/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for PUT /api/v2/strategy/reaction/code/folder/{id} ```markdown ### Parameters - **id** (string, path, required): Folder ID ### Request Body **Content-Type:** application/json - **name** (string): New folder name (optional, auto-generated if not provided) ### Responses #### 200 - Folder updated successfully - **message** (string) #### 400 - Missing id, invalid name, or folder not found Missing id, invalid name, or folder not found #### 404 - Folder not found Folder not found ### Example Usage ```bash curl -X PUT "https://api.sigrex.io/api/v2/strategy/reaction/code/folder/{id}" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }' ``` ``` -------------------------------- ### POST /api/v2/strategy/llm-session/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for POST /api/v2/strategy/llm-session/folder ```markdown ### Request Body **Content-Type:** application/json - **name** (string): Folder name (optional, auto-generated if not provided) ### Responses #### 201 - Folder created successfully **LLMSessionFolder** #### 400 - Invalid name or max folder limit reached Invalid name or max folder limit reached ### Example Usage ```bash curl -X POST "https://api.sigrex.io/api/v2/strategy/llm-session/folder" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }' ``` ``` -------------------------------- ### GET /api/v2/bot/signal/cex Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/bot/signal/cex ```markdown ### Responses #### 200 - List of user's CEX signal bots - Array of CexSignalBot ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/bot/signal/cex" ``` ``` -------------------------------- ### Schema: CreateBotWebhookRequest Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json Schema definition for CreateBotWebhookRequest ```markdown ## Schema: CreateBotWebhookRequest Schema definition for CreateBotWebhookRequest **Type:** object - **name** (string): The name of the bot hook max 255 characters (example: "My bot hook") - **description** (string): The description of the bot hook max 255 characters (example: "My bot hook description") - **is_safe** (boolean): Set it true if want to set hash key (example: false) - **has_key** (string): The key of the bot hook (example: "23n9c22c2vjk2cjn2opv8l2vhi") ``` -------------------------------- ### GET /api/v2/strategy/code Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/strategy/code ```markdown ### Responses #### 200 - List of user's code strategies - Array of CodeStrategy ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/strategy/code" ``` ``` -------------------------------- ### POST /api/v2/bot/signal/cex/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for POST /api/v2/bot/signal/cex/folder ```markdown ### Request Body **Content-Type:** application/json - **name** (string): Folder name (optional, auto-generated if not provided) ### Responses #### 201 - Folder created successfully **CexSignalBotFolder** #### 400 - Invalid name or max folder limit reached Invalid name or max folder limit reached ### Example Usage ```bash curl -X POST "https://api.sigrex.io/api/v2/bot/signal/cex/folder" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }' ``` ``` -------------------------------- ### POST /api/v2/strategy/reaction/llm/duplicate Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for POST /api/v2/strategy/reaction/llm/duplicate ```markdown ### Request Body **Content-Type:** application/json - **id** (string) (required): Reaction ID to duplicate ### Responses #### 201 - LLM reaction duplicated successfully **LLMReaction** #### 400 - Missing id or reaction limit reached **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X POST "https://api.sigrex.io/api/v2/strategy/reaction/llm/duplicate" \ -H "Content-Type: application/json" \ -d '{ "id": "string" }' ``` ``` -------------------------------- ### POST /api/v2/strategy/code/folder Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for POST /api/v2/strategy/code/folder ```markdown ### Request Body **Content-Type:** application/json - **name** (string): Folder name (optional, auto-generated if not provided) ### Responses #### 201 - Folder created successfully **CodeStrategyFolder** #### 400 - Invalid name or max folder limit reached Invalid name or max folder limit reached ### Example Usage ```bash curl -X POST "https://api.sigrex.io/api/v2/strategy/code/folder" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }' ``` ``` -------------------------------- ### GET /api/v2/exchange/prediction Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/exchange/prediction ```markdown ### Responses #### 200 - List of prediction exchanges - Array of Exchange #### 500 - Internal server error Internal server error ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/exchange/prediction" ``` ``` -------------------------------- ### PUT /api/v2/strategy/llm-session/folder/{id} Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for PUT /api/v2/strategy/llm-session/folder/{id} ```markdown ### Parameters - **id** (string, path, required): Folder ID ### Request Body **Content-Type:** application/json - **name** (string): New folder name (optional, auto-generated if not provided) ### Responses #### 200 - Folder updated successfully - **message** (string) #### 400 - Missing id, invalid name, or folder not found Missing id, invalid name, or folder not found #### 404 - Folder not found Folder not found ### Example Usage ```bash curl -X PUT "https://api.sigrex.io/api/v2/strategy/llm-session/folder/{id}" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }' ``` ``` -------------------------------- ### GET /api/v2/exchange/cex Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/exchange/cex ```markdown ### Responses #### 200 - List of enabled CEX exchanges - Array of Exchange #### 500 - Internal server error Internal server error ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/exchange/cex" ``` ``` -------------------------------- ### GET /api/v2/exchange Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for GET /api/v2/exchange ```markdown ### Parameters - **enabled** (boolean, query, optional): Filter by enabled status - **chainId** (string, query, optional): Filter by blockchain chain ID ### Responses #### 200 - List of exchanges - Array of Exchange #### 500 - Internal server error Internal server error ### Example Usage ```bash curl -X GET "https://api.sigrex.io/api/v2/exchange?enabled=true&chainId=string" ``` ``` -------------------------------- ### POST /api/v2/strategy/reaction/code Source: https://openapi.gitbook.com/o/94OqYL7lMNLq5r1FKRM0/spec/sigrex.json API endpoint for POST /api/v2/strategy/reaction/code ```markdown ### Request Body **Content-Type:** application/json - **name** (string): The name of the strategy max 255 characters (example: "My strategy") - **folder_id** (number): The folder id of the reaction (example: 12) - **webhook_id** (number) (required): The id of the bot hook where signal will be sent (example: 12) - **data_webhook_id** (number) (required): The id of the data hook witch will be used to get data (example: 13) - **symbol** (string) (required): The signal symbol or symbols of the strategy separated by comma (example: "BTCUSDT,ETHUSDT") - **code** (string) (required): The JavaScript code of the strategy (example: "(()=>{ $.Strategy.action($.Action.LONG); })();") - **use_price** (boolean): Set true if you want to use price ($.Price) in code (example: true) - **exchange_id** (number): The id of the exchange where the price is fetched (required exchange with hasExchangeRate set to true) (example: 12) - **price_symbol** (string): The symbol of the price (required if use_price is true) (example: "BTCUSDT") ### Responses #### 201 - Code reaction created successfully **CodeReaction** #### 400 - Missing required fields, invalid code, or reaction limit reached **ErrorResponse** - **error** (string) (example: "Error") #### 404 - Exchange, webhook, or data hook not found **ErrorResponse** - **error** (string) (example: "Error") ### Example Usage ```bash curl -X POST "https://api.sigrex.io/api/v2/strategy/reaction/code" \ -H "Content-Type: application/json" \ -d '{ "name": "My strategy", "folder_id": 12, "webhook_id": 12, "data_webhook_id": 13, "symbol": "BTCUSDT,ETHUSDT", "code": "(()=>{ $.Strategy.action($.Action.LONG); })();", "use_price": true, "exchange_id": 12, "price_symbol": "BTCUSDT" }' ``` ```