tiny.technology
tiny.technology · GPT アクション
TinyAI Plugin API
Interact with TinyAI to create or modify and retrieve information of Tiny AIs.
POST /upsertCreate or Modify a Tiny AIGET /getRetrieve Information of a Tiny
元の API スキーマ
{
"openapi": "3.0.0",
"info": {
"title": "TinyAI Plugin API",
"description": "Interact with TinyAI to create or modify and retrieve information of Tiny AIs.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://plugin.t4y.ai",
"description": "Main TinyAI Plugin server"
}
],
"paths": {
"/upsert": {
"post": {
"operationId": "createOrModifyTiny",
"summary": "Create or Modify a Tiny AI",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"systemPrompt": {
"type": "string"
},
"systemKnowledge": {
"type": "string"
},
"data": {
"type": "string"
},
"key": {
"type": "string",
"description": "Required for purchased Tiny AI IDs"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Tiny created/updated successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"response": {
"type": "string"
},
"paymentLink": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/get": {
"get": {
"operationId": "retrieveTinyInformation",
"summary": "Retrieve Information of a Tiny",
"parameters": [
{
"name": "name",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Details of the requested Tiny",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"response": {
"type": "string"
},
"name": {
"type": "string"
},
"data": {
"type": "string"
},
"systemPrompt": {
"type": "string"
},
"systemKnowledge": {
"type": "string"
},
"active": {
"type": "boolean"
},
"paymentLink": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}