Legal & Contracts (Lawyer-Backed/Not Legal Advice)

Legal & Contracts (Lawyer-Backed/Not Legal Advice) · GPT アクション

Inhouse API

API for routing users to Inhouse for document generation, legal advice, reviewing of documents and lawyer consultations.

  • POST /gpt/pulsr/generate-documentGenerate a link to continue document generation at Inhouse

    Sends a summary of the conversation to Inhouse so the document generation can continue there.

  • POST /gpt/pulsr/get-lawyer-adviceGenerate a link to continue legal advise or connect with a lawyer at Inhouse

    Sends a summary of the conversation to Inhouse to continue with the process of getting legal advise or connect with a lawyer on Inhouse.

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "Inhouse API",
    "description": "API for routing users to Inhouse for document generation, legal advice, reviewing of documents and lawyer consultations.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.inhouse.app",
      "description": "Inhouse API server"
    }
  ],
  "paths": {
    "/gpt/pulsr/generate-document": {
      "post": {
        "operationId": "generate_document",
        "summary": "Generate a link to continue document generation at Inhouse",
        "description": "Sends a summary of the conversation to Inhouse so the document generation can continue there.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user_requirements": {
                    "type": "string",
                    "description": "A description of user requirements for document generation. Make this as detailed as possible and make sure you add all the details provided by the user"
                  },
                  "document_title": {
                    "type": "string",
                    "description": "A title for the document being generated"
                  },
                  "document_uploaded": {
                    "type": "boolean",
                    "description": "True if the user uploaded a document during the conversation which was not shared on this API call. False if the user did not upload a document."
                  }
                },
                "required": [
                  "user_requirements",
                  "document_title",
                  "document_uploaded"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully generated the url so that the user can cotinue document generation on Inhouse and returned an access URL.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "A URL to continue document generation in Inhouse."
                    }
                  },
                  "required": [
                    "url"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request, invalid input."
          },
          "500": {
            "description": "Internal server error."
          }
        }
      }
    },
    "/gpt/pulsr/get-lawyer-advice": {
      "post": {
        "operationId": "getLawyerAdvice",
        "summary": "Generate a link to continue legal advise or connect with a lawyer at Inhouse",
        "description": "Sends a summary of the conversation to Inhouse to continue with the process of getting legal advise or connect with a lawyer on Inhouse.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user_requirements": {
                    "type": "string",
                    "description": "A description of user requirements for legal review request. Make this as detailed as possible and make sure you add all the details provided by the user."
                  },
                  "document_uploaded": {
                    "type": "boolean",
                    "description": "True if the user uploaded a document during the conversation which was not shared on this API call. False if the user did not upload a document."
                  }
                },
                "required": [
                  "user_requirements",
                  "document_uploaded"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully completed the request to continue on Inhouse and returned an access URL.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "format": "uri",
                      "description": "A URL to continue with Inhouse"
                    }
                  },
                  "required": [
                    "url"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request, invalid input."
          },
          "500": {
            "description": "Internal server error."
          }
        }
      }
    }
  }
}