Hagbard — CryptoGPT
Hagbard — CryptoGPT · GPT Actions
Crypto Knowledge API
API for interacting with Crypto Knowledge's GPT-based question-answering service.
POST /askWithPayloadaskGPTWithPayloadGet an answer to a crypto-related question using GPT with question in payload
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "Crypto Knowledge API",
"description": "API for interacting with Crypto Knowledge's GPT-based question-answering service.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://hagbard.cryptoknowledge.tech"
}
],
"paths": {
"/askWithPayload": {
"post": {
"description": "Get an answer to a crypto-related question using GPT with question in payload",
"operationId": "askGPTWithPayload",
"requestBody": {
"description": "The question to be processed",
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"question": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"answer": {
"type": "string"
}
}
}
}
}
},
"400": {
"description": "Bad Request - Question not provided in payload"
},
"500": {
"description": "Internal Server Error"
}
}
}
}
}
}