Fill PDF Forms by Instafill.ai
Fill PDF Forms by Instafill.ai · GPT アクション
AaronFillPDFForms
GET /files/create-upload-linkProvides a files upload link for the user.GET /files/check-statusChecks the status of the uploaded files.GET /files/filled-pdfGets the download link for the filled PDF. Call this endpoint again if timeout occured.
元の API スキーマ
{
"openapi": "3.0.1",
"info": {
"title": "AaronFillPDFForms",
"version": "v1"
},
"servers": [
{
"url": "https://api.copilot.us/run/654d23dc80b7a5ccae50e700/65786cb0956caf0360799198"
}
],
"paths": {
"/files/create-upload-link": {
"get": {
"summary": "Provides a files upload link for the user.",
"operationId": "UploadFiles",
"responses": {
"200": {
"description": "Successful response with the upload link.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResponseBody"
}
}
}
}
}
}
},
"/files/check-status": {
"get": {
"summary": "Checks the status of the uploaded files.",
"operationId": "CheckStatusOfFiles",
"responses": {
"200": {
"description": "Returns the status of the uploaded files",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StatusBody"
}
}
}
}
}
}
},
"/files/filled-pdf": {
"get": {
"summary": "Gets the download link for the filled PDF. Call this endpoint again if timeout occured.",
"operationId": "GetFilledPdfLink",
"responses": {
"200": {
"description": "Returns the download link for the filled PDF.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResponseBody"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"ResponseBody": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"responseInstructions": {
"type": "string"
},
"errorMessage": {
"type": "string"
},
"response": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
}
},
"StatusBody": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Returns one of the values: running, success, fail, waiting."
},
"responseInstructions": {
"type": "string",
"description": "Set of actions to inform the user about."
}
}
}
}
}
}