Pilot Mentor · Actions GPT
Aviation API
Interact with the aviation API to retrieve information useful for aeronautical knowledge and real life weather data.
POST /multiple-stations-metarGet the latest Metar from multiple stationsThis API returns the details of the latest Metar for the specific weather stations the user inputs. Use this endpoint when the user requests the weather for multiple stations. Give the user the raw version as well.
POST /metar-with-tafGet the latest Metar including TAF.This API returns the details of the latest Metar including TAF for the specific weather stations the user inputs. Use this endpoint when the user requests the weather with TAF, it can be one or more stations. Give the user the raw version as well.
POST /get-pireps-standardGet pireps within 200 sm of the stationThis API returns the pireps reported within 200 sm from the station given by the user. Use this endpoint when the user asks for pireps without specifing a radius. Tell the user these are pireps reported within 200 sm from the station.
POST /get-pireps-within-rangeGet pireps within a range specified by the userThis API returns the pireps reported the range from the station given by the user. Use this endpoint when the user specifies a distance from the station.
POST /airport-dataGet airpot data based on a cityThis API returns the details of airports present in the city gave by the user. Only take the name of the city, this endpoint does not accept states or regions and returns all the airports matching city.
POST /get-sigmet-airmetGet the active airmets and sigmetsThis API returns the decoded active sigmets and airmets.
POST /get-winds-aloftGet the winds aloftThis API returns winds aloft in the 12 hour forecast
POST /forecast-discussionGet the forecast discussion for an area.This API returns the forecast discussion for an area specified by the user. Convert the area name ot its forecast discussion code if the user didn't specify a code.
POST /advisory_circulars_listGet access to a complete list of Advisory CiscularsThis API gives access to an assistant with the full list of Advisory Circulars. Format the question from the user to ask the assistant, which will be able to give you which ACs match the topic the user is looking for. Example, 'Is there an ac about icing?''.
POST /ask_airplane_flying_handbookGet access to the updated FAA Airplane Flying HandbookThis API gives access to an assistant with full access to an updated version of the FAA Airplane Flying Handbook. Format the question from the user to ask the assistant. Assume you always need to use this endpoint for aviation related questions unless is a specific helicopter, IFR, or CFI topic.'.
Schéma original API
{
"openapi": "3.0.0",
"info": {
"title": "Aviation API",
"description": "Interact with the aviation API to retrieve information useful for aeronautical knowledge and real life weather data.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://10cd9f79cc75eed0c4197e59cee2ea9a.preview.pluginlab.ai/"
}
],
"paths": {
"/multiple-stations-metar": {
"post": {
"summary": "Get the latest Metar from multiple stations",
"operationId": "multipleStationsMetar",
"description": "This API returns the details of the latest Metar for the specific weather stations the user inputs. Use this endpoint when the user requests the weather for multiple stations. Give the user the raw version as well.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"stations": {
"type": "array",
"items": {
"type": "string"
},
"description": "The stations to get the latest metar from"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"decoded": {
"type": "array",
"items": {
"type": "object"
},
"description": "The decoded metar details"
},
"raw": {
"type": "array",
"items": {
"type": "object"
},
"description": "The metar details"
}
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/metar-with-taf": {
"post": {
"summary": "Get the latest Metar including TAF.",
"operationId": "metarWithTaf",
"description": "This API returns the details of the latest Metar including TAF for the specific weather stations the user inputs. Use this endpoint when the user requests the weather with TAF, it can be one or more stations. Give the user the raw version as well.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"stations": {
"type": "array",
"items": {
"type": "string"
},
"description": "The stations to get the latest metar from"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"decoded": {
"type": "array",
"items": {
"type": "object"
},
"description": "The decoded metar details with TAF"
},
"raw": {
"type": "array",
"items": {
"type": "object"
},
"description": "The metar details"
}
}
}
}
}
}
}
}
},
"/get-pireps-standard": {
"post": {
"summary": "Get pireps within 200 sm of the station",
"operationId": "getPireps",
"description": "This API returns the pireps reported within 200 sm from the station given by the user. Use this endpoint when the user asks for pireps without specifing a radius. Tell the user these are pireps reported within 200 sm from the station.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"station": {
"type": "string",
"description": "The station to get pireps for"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The pireps"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/get-pireps-within-range": {
"post": {
"summary": "Get pireps within a range specified by the user",
"operationId": "getPirepsWithRange",
"description": "This API returns the pireps reported the range from the station given by the user. Use this endpoint when the user specifies a distance from the station.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"station": {
"type": "string",
"description": "The station to get pireps for"
},
"range": {
"type": "string",
"description": "The range to get pireps from the station"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The pireps"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/airport-data": {
"post": {
"summary": "Get airpot data based on a city",
"operationId": "airportData",
"description": "This API returns the details of airports present in the city gave by the user. Only take the name of the city, this endpoint does not accept states or regions and returns all the airports matching city.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city to find airports at"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The airports details"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/get-sigmet-airmet": {
"post": {
"summary": "Get the active airmets and sigmets",
"operationId": "getSigmetsAirmets",
"description": "This API returns the decoded active sigmets and airmets.",
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The decoded active sigmets and airmets"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/get-winds-aloft": {
"post": {
"summary": "Get the winds aloft",
"operationId": "getWinds",
"description": "This API returns winds aloft in the 12 hour forecast",
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The winds aloft."
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/forecast-discussion": {
"post": {
"summary": "Get the forecast discussion for an area.",
"operationId": "forecastDiscussion",
"description": "This API returns the forecast discussion for an area specified by the user. Convert the area name ot its forecast discussion code if the user didn't specify a code.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The code of the area to get the forecast discussion."
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The forecast discussion"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/advisory_circulars_list": {
"post": {
"summary": "Get access to a complete list of Advisory Cisculars",
"operationId": "ACList",
"description": "This API gives access to an assistant with the full list of Advisory Circulars. Format the question from the user to ask the assistant, which will be able to give you which ACs match the topic the user is looking for. Example, 'Is there an ac about icing?''.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The question to ask to find an AC matching the topics the user is looking for."
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "The result from the assistant."
}
}
}
}
}
},
"500": {
"description": "Server error"
}
}
}
},
"/ask_airplane_flying_handbook": {
"post": {
"summary": "Get access to the updated FAA Airplane Flying Handbook",
"operationId": "Airplane",
"description": "This API gives access to an assistant with full access to an updated version of the FAA Airplane Flying Handbook. Format the question from the user to ask the assistant. Assume you always need to use this endpoint for aviation related questions unless is a specific helicopter, IFR, or CFI topic.'.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The question to ask to the FAA Airplane FLying Handbook."
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "The result from the assistant."
}
}
}
}
}
},
"500": {
"description": "Server error"
}
}
}
}
}
}Aviation API
Interact with the aviation API to retrieve information useful for aeronautical knowledge and real life weather data.
POST /multiple-stations-metarGet the latest Metar from multiple stationsThis API returns the details of the latest Metar for the specific weather stations the user inputs. Use this endpoint when the user requests the weather for multiple stations. Give the user the raw version as well.
POST /metar-with-tafGet the latest Metar including TAF.This API returns the details of the latest Metar including TAF for the specific weather stations the user inputs. Use this endpoint when the user requests the weather with TAF, it can be one or more stations. Give the user the raw version as well.
POST /get-pireps-standardGet pireps within 200 sm of the stationThis API returns the pireps reported within 200 sm from the station given by the user. Use this endpoint when the user asks for pireps without specifing a radius. Tell the user these are pireps reported within 200 sm from the station.
POST /get-pireps-within-rangeGet pireps within a range specified by the userThis API returns the pireps reported the range from the station given by the user. Use this endpoint when the user specifies a distance from the station.
POST /airport-dataGet airpot data based on a cityThis API returns the details of airports present in the city gave by the user. Only take the name of the city, this endpoint does not accept states or regions and returns all the airports matching city.
POST /get-sigmet-airmetGet the active airmets and sigmetsThis API returns the decoded active sigmets and airmets.
POST /get-winds-aloftGet the winds aloftThis API returns winds aloft in the 12 hour forecast
POST /forecast-discussionGet the forecast discussion for an area.This API returns the forecast discussion for an area specified by the user. Convert the area name ot its forecast discussion code if the user didn't specify a code.
POST /advisory_circulars_listGet access to a complete list of Advisory CiscularsThis API gives access to an assistant with the full list of Advisory Circulars. Format the question from the user to ask the assistant, which will be able to give you which ACs match the topic the user is looking for. Example, 'Is there an ac about icing?''.
POST /ask_airplane_flying_handbookGet access to the updated FAA Airplane Flying HandbookThis API gives access to an assistant with full access to an updated version of the FAA Airplane Flying Handbook. Format the question from the user to ask the assistant. Assume you always need to use this endpoint for aviation related questions unless is a specific helicopter, IFR, or CFI topic.'.
Schéma original API
{
"openapi": "3.0.0",
"info": {
"title": "Aviation API",
"description": "Interact with the aviation API to retrieve information useful for aeronautical knowledge and real life weather data.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://10cd9f79cc75eed0c4197e59cee2ea9a.preview.pluginlab.ai/"
}
],
"paths": {
"/multiple-stations-metar": {
"post": {
"summary": "Get the latest Metar from multiple stations",
"operationId": "multipleStationsMetar",
"description": "This API returns the details of the latest Metar for the specific weather stations the user inputs. Use this endpoint when the user requests the weather for multiple stations. Give the user the raw version as well.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"stations": {
"type": "array",
"items": {
"type": "string"
},
"description": "The stations to get the latest metar from"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"decoded": {
"type": "array",
"items": {
"type": "object"
},
"description": "The decoded metar details"
},
"raw": {
"type": "array",
"items": {
"type": "object"
},
"description": "The metar details"
}
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/metar-with-taf": {
"post": {
"summary": "Get the latest Metar including TAF.",
"operationId": "metarWithTaf",
"description": "This API returns the details of the latest Metar including TAF for the specific weather stations the user inputs. Use this endpoint when the user requests the weather with TAF, it can be one or more stations. Give the user the raw version as well.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"stations": {
"type": "array",
"items": {
"type": "string"
},
"description": "The stations to get the latest metar from"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"decoded": {
"type": "array",
"items": {
"type": "object"
},
"description": "The decoded metar details with TAF"
},
"raw": {
"type": "array",
"items": {
"type": "object"
},
"description": "The metar details"
}
}
}
}
}
}
}
}
},
"/get-pireps-standard": {
"post": {
"summary": "Get pireps within 200 sm of the station",
"operationId": "getPireps",
"description": "This API returns the pireps reported within 200 sm from the station given by the user. Use this endpoint when the user asks for pireps without specifing a radius. Tell the user these are pireps reported within 200 sm from the station.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"station": {
"type": "string",
"description": "The station to get pireps for"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The pireps"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/get-pireps-within-range": {
"post": {
"summary": "Get pireps within a range specified by the user",
"operationId": "getPirepsWithRange",
"description": "This API returns the pireps reported the range from the station given by the user. Use this endpoint when the user specifies a distance from the station.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"station": {
"type": "string",
"description": "The station to get pireps for"
},
"range": {
"type": "string",
"description": "The range to get pireps from the station"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The pireps"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/airport-data": {
"post": {
"summary": "Get airpot data based on a city",
"operationId": "airportData",
"description": "This API returns the details of airports present in the city gave by the user. Only take the name of the city, this endpoint does not accept states or regions and returns all the airports matching city.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city to find airports at"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The airports details"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/get-sigmet-airmet": {
"post": {
"summary": "Get the active airmets and sigmets",
"operationId": "getSigmetsAirmets",
"description": "This API returns the decoded active sigmets and airmets.",
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The decoded active sigmets and airmets"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/get-winds-aloft": {
"post": {
"summary": "Get the winds aloft",
"operationId": "getWinds",
"description": "This API returns winds aloft in the 12 hour forecast",
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The winds aloft."
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/forecast-discussion": {
"post": {
"summary": "Get the forecast discussion for an area.",
"operationId": "forecastDiscussion",
"description": "This API returns the forecast discussion for an area specified by the user. Convert the area name ot its forecast discussion code if the user didn't specify a code.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The code of the area to get the forecast discussion."
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"description": "The forecast discussion"
}
}
}
}
},
"404": {
"description": "Not found"
},
"500": {
"description": "Server error"
}
}
}
},
"/advisory_circulars_list": {
"post": {
"summary": "Get access to a complete list of Advisory Cisculars",
"operationId": "ACList",
"description": "This API gives access to an assistant with the full list of Advisory Circulars. Format the question from the user to ask the assistant, which will be able to give you which ACs match the topic the user is looking for. Example, 'Is there an ac about icing?''.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The question to ask to find an AC matching the topics the user is looking for."
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "The result from the assistant."
}
}
}
}
}
},
"500": {
"description": "Server error"
}
}
}
},
"/ask_airplane_flying_handbook": {
"post": {
"summary": "Get access to the updated FAA Airplane Flying Handbook",
"operationId": "Airplane",
"description": "This API gives access to an assistant with full access to an updated version of the FAA Airplane Flying Handbook. Format the question from the user to ask the assistant. Assume you always need to use this endpoint for aviation related questions unless is a specific helicopter, IFR, or CFI topic.'.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The question to ask to the FAA Airplane FLying Handbook."
}
}
}
}
}
},
"responses": {
"200": {
"description": "Request successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "The result from the assistant."
}
}
}
}
}
},
"500": {
"description": "Server error"
}
}
}
}
}
}