Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions apps/aidbase/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "AIDBASE",
"display_name": "AIDBASE",
"logo": "https://raw.githubusercontent.com/aipotheosis-labs/aipolabs-icons/refs/heads/main/apps/aidbase.svg",
"provider": "Aidbase, Inc.",
"version": "aipolabs_0.0.1",
"description": "Integration with Aidbase API to manage resources and workflows.",
"security_schemes": {
"api_key": {
"location": "header",
"name": "Authorization",
"prefix": "Bearer"
}
},
"default_security_credentials_by_scheme": {},
"categories": [
"chat",
"integration",
"workflow"
],
"visibility": "public",
"active": true
}
329 changes: 329 additions & 0 deletions apps/aidbase/functions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,329 @@
[
{
"name": "AIDBASE__GET_ALL_CHATBOTS",
"description": "Get all chatbots associated with the user.",
"tags": ["chatbot", "list"],
"visibility": "public",
"active": true,
"protocol": "rest",
"protocol_data": {
"method": "GET",
"path": "/v1/chatbots",
"server_url": "https://api.aidbase.ai"
},
"parameters": {
"type": "object",
"properties": {
"header": {
"type": "object",
"description": "header parameters",
"properties": {
"Accept": {
"type": "string",
"description": "The supported media type",
"default": "application/json"
}
},
"required": [],
"visible": [],
"additionalProperties": false
}
},
"required": [],
"visible": [],
"additionalProperties": false
}
},
{
"name": "AIDBASE__GET_CHATBOT_BY_ID",
"description": "Get a specific chatbot by ID.",
"tags": ["chatbot", "details"],
"visibility": "public",
"active": true,
"protocol": "rest",
"protocol_data": {
"method": "GET",
"path": "/v1/chatbot/{id}",
"server_url": "https://api.aidbase.ai"
},
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "object",
"description": "Path parameters.",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the chatbot",
"example": "p-8KP033W9GT8xZMEULqa"
}
},
"required": ["id"],
"visible": ["id"],
"additionalProperties": false
},
"header": {
"type": "object",
"description": "header parameters",
"properties": {
"Accept": {
"type": "string",
"description": "The supported media type",
"default": "application/json"
}
},
"required": [],
"visible": [],
"additionalProperties": false
}
},
"required": ["path"],
"visible": ["path"],
"additionalProperties": false
}
},
{
"name": "AIDBASE__POST_CHATBOT_REPLY",
"description": "Get an AI reply from a chatbot.",
"tags": ["chatbot", "reply"],
"visibility": "public",
"active": true,
"protocol": "rest",
"protocol_data": {
"method": "POST",
"path": "/v1/chatbot/{id}/reply",
"server_url": "https://api.aidbase.ai"
},
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "object",
"description": "Path parameters.",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the chatbot.",
"example": "odguL9hXiB413s3g9ZO3z"
}
},
"required": ["id"],
"visible": ["id"],
"additionalProperties": false
},
"header": {
"type": "object",
"description": "header parameters",
"properties": {
"Accept": {
"type": "string",
"description": "The supported media type",
"default": "application/json"
}
},
"required": [],
"visible": [],
"additionalProperties": false
},
"body": {
"type": "object",
"description": "Reply payload.",
"properties": {
"message": {
"type": "string",
"description": "The reply message to send.",
"example": "How can I get started with Aidbase API?"
},
"session_id": {
"type": "string",
"description": "Optional session identifier for the chatbot.",
"example": "tAp_XW4qvRzKw"
}
},
"required": ["message"],
"visible": ["message", "session_id"],
"additionalProperties": false
}
},
"required": ["path", "body"],
"visible": ["path", "body"],
"additionalProperties": false
}
},
{
"name": "AIDBASE__GET_CHATBOT_KNOWLEDGE",
"description": "Get all knowledge items associated with a chatbot.",
"tags": ["chatbot", "knowledge", "get"],
"visibility": "public",
"active": true,
"protocol": "rest",
"protocol_data": {
"method": "GET",
"path": "/v1/chatbot/{id}/knowledge",
"server_url": "https://api.aidbase.ai"
},
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "object",
"description": "Path parameters.",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the chatbot.",
"example": "odguL9hXiB413s3g9ZO3z"
}
},
"required": ["id"],
"visible": ["id"],
"additionalProperties": false
},
"header": {
"type": "object",
"description": "header parameters",
"properties": {
"Accept": {
"type": "string",
"description": "The supported media type",
"default": "application/json"
}
},
"required": [],
"visible": [],
"additionalProperties": false
}
},
"required": ["path"],
"visible": ["path"],
"additionalProperties": false
}
},
{
"name": "AIDBASE__PUT_CHATBOT_KNOWLEDGE",
"description": "Add a new knowledge item to a chatbot.",
"tags": ["chatbot", "knowledge", "update"],
"visibility": "public",
"active": true,
"protocol": "rest",
"protocol_data": {
"method": "PUT",
"path": "/v1/chatbot/{id}/knowledge",
"server_url": "https://api.aidbase.ai"
},
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "object",
"description": "Path parameters.",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the chatbot.",
"example": "odguL9hXiB413s3g9ZO3z"
}
},
"required": ["id"],
"visible": ["id"],
"additionalProperties": false
},
"header": {
"type": "object",
"description": "header parameters",
"properties": {
"Accept": {
"type": "string",
"description": "The supported media type",
"default": "application/json"
}
},
"required": [],
"visible": [],
"additionalProperties": false
},
"body": {
"type": "object",
"description": "Knowledge update payload.",
"properties": {
"knowledge_id": {
"type": "string",
"description": "Unique identifier for the knowledge item to update.",
"example": "cd2faf2c-464b-421f-a7b1-b856860551f8"
}
},
"required": ["knowledge_id"],
"visible": ["knowledge_id"],
"additionalProperties": false
}
},
"required": ["path", "body"],
"visible": ["path", "body"],
"additionalProperties": false
}
},
{
"name": "AIDBASE__REMOVE_CHATBOT_KNOWLEDGE",
"description": "Remove a knowledge item from a chatbot.",
"tags": ["chatbot", "knowledge", "delete"],
"visibility": "public",
"active": true,
"protocol": "rest",
"protocol_data": {
"method": "DELETE",
"path": "/v1/chatbot/{id}/knowledge",
"server_url": "https://api.aidbase.ai"
},
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "object",
"description": "Path parameters.",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the chatbot.",
"example": "odguL9hXiB413s3g9ZO3z"
}
},
"required": ["id"],
"visible": ["id"],
"additionalProperties": false
},
"header": {
"type": "object",
"description": "header parameters",
"properties": {
"Accept": {
"type": "string",
"description": "The supported media type",
"default": "application/json"
}
},
"required": [],
"visible": [],
"additionalProperties": false
},
"body": {
"type": "object",
"description": "Knowledge delete payload.",
"properties": {
"knowledge_id": {
"type": "string",
"description": "Unique identifier for the knowledge item to delete.",
"example": "cd2faf2c-464b-421f-a7b1-b856860551f8"
}
},
"required": ["knowledge_id"],
"visible": ["knowledge_id"],
"additionalProperties": false
}
},
"required": ["path", "body"],
"visible": ["path", "body"],
"additionalProperties": false
}
}
]