Financial Guru · GPT アクション
Superface Hub
POST /api/hub/sessionsuperface_hub_configurationGet link with tools list and configurations
POST /api/hub/perform/google-sheets__add-column__AddColumngoogle-sheets__add-column__AddColumnUpdates next empty column in specified spreadsheet sheet, returns updated sheet
POST /api/hub/perform/google-sheets__add-row__AddRowgoogle-sheets__add-row__AddRowUpdates next empty row in specified spreadsheet sheet, returns updated sheet
POST /api/hub/perform/google-sheets__append-rows__AppendRowsgoogle-sheets__append-rows__AppendRowsUpdates next empty rows in specified spreadsheet sheet.
POST /api/hub/perform/google-sheets__find-rows__FindRowsgoogle-sheets__find-rows__FindRowsFetches the specified sheet rows within spreadsheet, filters the rows by specified column values.
POST /api/hub/perform/google-sheets__get-spreadsheet__RetrieveSpreadsheetgoogle-sheets__get-spreadsheet__RetrieveSpreadsheetFetches the specified spreadsheet, with optional grid data inclusion.
POST /api/hub/perform/google-sheets__post-spreadsheets__CreateSpreadsheetgoogle-sheets__post-spreadsheets__CreateSpreadsheetCreates a new spreadsheet and returns the created spreadsheet.
POST /api/hub/perform/google-sheets__put-spreadsheets__UpdateSpreadsheetgoogle-sheets__put-spreadsheets__UpdateSpreadsheetUpdates specified spreadsheet sheet, returns updated sheet. Use the `get-spreadsheet` usecase to get the current data. Rows and columns are indexed from 0. The data is written to the sheet starting from the cell specified by updatePosition input.
POST /api/hub/perform/stock-market__get-prices__GetEndOfDayPricesstock-market__get-prices__GetEndOfDayPricesRetrieve end-of-day stock prices for specified stock symbols.
元の API スキーマ
{
"openapi": "3.0.3",
"info": {
"version": "1.0.0",
"title": "Superface Hub"
},
"security": [
{
"bearer_token": []
}
],
"paths": {
"/api/hub/session": {
"post": {
"operationId": "superface_hub_configuration",
"description": "Get link with tools list and configurations",
"x-openai-isConsequential": true,
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}
}
},
"responses": {
"default": {
"description": "Tool configuration response"
}
}
}
},
"/api/hub/perform/google-sheets__add-column__AddColumn": {
"post": {
"operationId": "google-sheets__add-column__AddColumn",
"description": "Updates next empty column in specified spreadsheet sheet, returns updated sheet\n",
"x-openai-isConsequential": true,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"spreadsheetId",
"rows"
],
"properties": {
"spreadsheetId": {
"type": "string",
"nullable": false,
"title": "The ID of the spreadsheet to update."
},
"sheetName": {
"type": "string",
"title": "The name of the sheet to update. If not specified, the first sheet will be updated."
},
"rows": {
"items": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string",
"nullable": false
}
]
},
"type": "array",
"nullable": false,
"title": "The values in the column, each item is a value of a cell."
}
},
"nullable": true
}
}
}
},
"responses": {
"default": {
"description": "Tool response"
}
}
}
},
"/api/hub/perform/google-sheets__add-row__AddRow": {
"post": {
"operationId": "google-sheets__add-row__AddRow",
"description": "Updates next empty row in specified spreadsheet sheet, returns updated sheet\n",
"x-openai-isConsequential": true,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"spreadsheetId",
"columns"
],
"properties": {
"spreadsheetId": {
"type": "string",
"nullable": false,
"title": "The ID of the spreadsheet to update."
},
"sheetName": {
"type": "string",
"title": "The name of the sheet to update. If not specified, the first sheet will be updated."
},
"columns": {
"items": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string",
"nullable": false
}
]
},
"type": "array",
"nullable": false,
"title": "The values in the row, each item is a value of a cell."
}
},
"nullable": true
}
}
}
},
"responses": {
"default": {
"description": "Tool response"
}
}
}
},
"/api/hub/perform/google-sheets__append-rows__AppendRows": {
"post": {
"operationId": "google-sheets__append-rows__AppendRows",
"description": "Updates next empty rows in specified spreadsheet sheet.\n",
"x-openai-isConsequential": true,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"spreadsheetId",
"rows"
],
"properties": {
"spreadsheetId": {
"type": "string",
"nullable": false,
"title": "The ID of the spreadsheet to update."
},
"sheetName": {
"type": "string",
"title": "The name of the sheet to update. If not specified, the first sheet will be updated."
},
"rows": {
"items": {
"items": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string",
"nullable": false
}
]
},
"type": "array",
"nullable": false
},
"type": "array",
"nullable": false,
"description": "rows = [\n //First row data\n [\n // First row and first column value\n \"example\",\n // First row and second column value\n 1,\n // First row and third column value\n true\n ]\n //second row data\n []\n]",
"title": "The values in the rows, each item is a list of values in a row. Use it like this:"
}
},
"nullable": true
}
}
}
},
"responses": {
"default": {
"description": "Tool response"
}
}
}
},
"/api/hub/perform/google-sheets__find-rows__FindRows": {
"post": {
"operationId": "google-sheets__find-rows__FindRows",
"description": "Fetches the specified sheet rows within spreadsheet, filters the rows by specified column values.\n",
"x-openai-isConsequential": false,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"spreadsheetId"
],
"properties": {
"spreadsheetId": {
"type": "string",
"nullable": false,
"title": "The spreadsheet."
},
"sheetTitleOrId": {
"type": "string",
"nullable": false,
"title": "The title or ID of the sheet. If not specified, the first sheet will be used."
},
"columnIndexesOrNames": {
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"nullable": false
}
]
},
"type": "array",
"nullable": false,
"title": "Column indexes or names from the header row to match. And operator is used to match all columns."
},
"columnValues": {
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"type": "array",
"nullable": false,
"title": "Column values to match."
},
"maxRows": {
"type": "number",
"nullable": false,
"title": "Maximum number of rows to return. If not specified, all rows will be returned."
},
"headerRowIndex": {
"type": "number",
"nullable": false,
"title": "The row index of the header row. If not specified, the first row will be used."
}
},
"nullable": true
}
}
}
},
"responses": {
"default": {
"description": "Tool response"
}
}
}
},
"/api/hub/perform/google-sheets__get-spreadsheet__RetrieveSpreadsheet": {
"post": {
"operationId": "google-sheets__get-spreadsheet__RetrieveSpreadsheet",
"description": "Fetches the specified spreadsheet, with optional grid data inclusion.\n",
"x-openai-isConsequential": false,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"spreadsheetId"
],
"properties": {
"spreadsheetId": {
"type": "string",
"nullable": false,
"title": "The spreadsheet to request."
}
},
"nullable": true
}
}
}
},
"responses": {
"default": {
"description": "Tool response"
}
}
}
},
"/api/hub/perform/google-sheets__post-spreadsheets__CreateSpreadsheet": {
"post": {
"operationId": "google-sheets__post-spreadsheets__CreateSpreadsheet",
"description": "Creates a new spreadsheet and returns the created spreadsheet.\n",
"x-openai-isConsequential": true,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"spreadsheet"
],
"properties": {
"spreadsheet": {
"type": "object",
"required": [
"title",
"sheets"
],
"properties": {
"title": {
"type": "string",
"nullable": false,
"title": "The title of the spreadsheet."
},
"sheets": {
"items": {
"type": "object",
"required": [
"title"
],
"properties": {
"title": {
"type": "string",
"nullable": false,
"title": "The title of the sheet."
},
"rows": {
"items": {
"type": "object",
"properties": {
"columns": {
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"type": "array",
"nullable": false,
"title": "The values in the column, each item is one value"
}
},
"nullable": false
},
"type": "array",
"nullable": false,
"title": "The values in the row, each item is one row. If you want to add multiple rows you must add multiple items to this list."
}
},
"nullable": false
},
"type": "array",
"nullable": false,
"title": "The sheets in the spreadsheet."
}
},
"nullable": false,
"title": "The spreadsheet to be created."
}
},
"nullable": true
}
}
}
},
"responses": {
"default": {
"description": "Tool response"
}
}
}
},
"/api/hub/perform/google-sheets__put-spreadsheets__UpdateSpreadsheet": {
"post": {
"operationId": "google-sheets__put-spreadsheets__UpdateSpreadsheet",
"description": "Updates specified spreadsheet sheet, returns updated sheet.\nUse the `get-spreadsheet` usecase to get the current data.\nRows and columns are indexed from 0. The data is written to the sheet starting from the cell specified by updatePosition input.",
"x-openai-isConsequential": true,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"spreadsheetId",
"sheetName",
"updatePosition",
"rows"
],
"properties": {
"spreadsheetId": {
"type": "string",
"nullable": false,
"title": "The ID of the spreadsheet to update."
},
"sheetName": {
"type": "string",
"nullable": false,
"title": "The name of the sheet to update."
},
"updatePosition": {
"type": "object",
"required": [
"row",
"column"
],
"properties": {
"row": {
"type": "number",
"nullable": false
},
"column": {
"type": "number",
"nullable": false
}
},
"nullable": false,
"title": "The cell from which to write data."
},
"rows": {
"items": {
"type": "object",
"required": [
"columns"
],
"properties": {
"columns": {
"items": {
"type": "object",
"properties": {
"boolValue": {
"type": "boolean",
"nullable": false,
"title": "Represents a boolean value."
},
"formulaValue": {
"type": "string",
"nullable": false,
"title": "Represents a formula."
},
"numberValue": {
"type": "number",
"nullable": false,
"title": "Represents a double value. Note: Dates, Times and DateTimes are represented as doubles in SERIAL_NUMBER format."
},
"stringValue": {
"type": "string",
"nullable": false,
"title": "Represents a string value. Leading single quotes are not included. For example, if the user typed `'123` into the UI, this would be represented as a `stringValue` of `'123'`."
}
},
"nullable": false
},
"type": "array",
"nullable": false,
"title": "The values in the column, each item is one cell"
}
},
"nullable": false
},
"type": "array",
"nullable": false,
"description": "Rows contains the values in the row, each item is one row. If you want to add multiple rows you must add multiple items to this list.",
"title": "The data to be written to the sheet."
}
},
"nullable": true
}
}
}
},
"responses": {
"default": {
"description": "Tool response"
}
}
}
},
"/api/hub/perform/stock-market__get-prices__GetEndOfDayPrices": {
"post": {
"operationId": "stock-market__get-prices__GetEndOfDayPrices",
"description": "Retrieve end-of-day stock prices for specified stock symbols.\n",
"x-openai-isConsequential": false,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"symbols"
],
"properties": {
"symbols": {
"type": "string",
"nullable": false,
"title": "One or multiple comma-separated stock symbols (tickers) for your request, e.g. AAPL or AAPL,MSFT. Do not use space after comma."
},
"exchange": {
"type": "string",
"nullable": false,
"title": "Filter your results based on a specific stock exchange by specifying the MIC identification of a stock exchange. Example: XNAS"
},
"sort": {
"type": "string",
"nullable": false,
"title": "Specify a sorting order. Available values: DESC (Default), ASC."
},
"date_from": {
"type": "string",
"nullable": false,
"title": "Filter results based on a specific timeframe by passing a from-date in YYYY-MM-DD format or ISO-8601 date format."
},
"date_to": {
"type": "string",
"nullable": false,
"title": "Filter results based on a specific timeframe by passing an end-date in YYYY-MM-DD format or ISO-8601 date format."
},
"limit": {
"type": "number",
"nullable": false,
"title": "Specify a pagination limit (number of results per page) for your API request. Default limit value is 100, maximum allowed limit value is 1000."
},
"offset": {
"type": "number",
"nullable": false,
"title": "Specify a pagination offset value for your API request. Default value is 0, starting with the first available result."
}
},
"nullable": true
}
}
}
},
"responses": {
"default": {
"description": "Tool response"
}
}
}
}
},
"servers": [
{
"url": "https://pod.superface.ai"
}
],
"components": {
"securitySchemes": {
"bearer_token": {
"type": "http",
"scheme": "bearer"
}
},
"schemas": {
"some": {
"type": "string"
}
}
},
"externalDocs": {
"description": "Privacy Policy",
"url": "https://pod.superface.ai/hub/privacy-policy/gpt/gjvq84mnq-"
}
}