Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • PromptId

  • Response

In case of an error, it will return an error message.

...

Upload service - POST request

POST: https://[firewall API address]/firewallApi/v1/upload

Sample URL for BGD10 environment:
https://bgd10-firewall.agatdemo.com/firewallApi/v1/upload

Allows to send file to the AI to be saved in BusinessGPT and receive its ID.

Input parameters - should be sent as form-data:

  • APIKey

  • FileName

  • FileContent - binary

Output - for HTTP status OK (200):

  • ContentId

In case of an error, it will return an error message.

image-20240616-100638.pngImage Added

Attached is the Postman collection with example requests.

...