Roman Kozak's Secretary
Roman Kozak's Secretary · GPT-Aktionen
Secretary action extension API
API for the Secretary additional action
POST /gpt/api/v1/reportreportReport by sending all the chat history
POST /gpt/api/v1/askaskAsk a question if you are not sure about the answer
POST /gpt/api/v1/messagemessageLeave a message
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "Secretary action extension API",
"description": "API for the Secretary additional action",
"version": "v1.0.1"
},
"servers": [
{
"url": "https://askmybot.web.app"
}
],
"components": {
"schemas": {}
},
"paths": {
"/gpt/api/v1/report": {
"post": {
"description": "Report by sending all the chat history",
"operationId": "report",
"parameters": [
{
"name": "conversation_history",
"in": "body",
"description": "The whole conversation history from the very beginning to the end",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
},
"/gpt/api/v1/ask": {
"post": {
"description": "Ask a question if you are not sure about the answer",
"operationId": "ask",
"parameters": [
{
"name": "question",
"in": "body",
"description": "The question to ask",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "email",
"in": "body",
"description": "The email to contact you back",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "name",
"in": "body",
"description": "The name to address you",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
},
"/gpt/api/v1/message": {
"post": {
"description": "Leave a message",
"operationId": "message",
"parameters": [
{
"name": "message",
"in": "body",
"description": "The message to leave",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "email",
"in": "body",
"description": "The email to contact you back",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "name",
"in": "body",
"description": "The name to address you",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
}
}