genai
prompt

Create a prompt

post/genai/{connection_id}/prompt

Path parameters

connection_idstring required

ID of the connection

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

model_idstring
temperaturenumber
max_tokensnumber
responsesstring[]
tokens_usednumber
mcp_urlstring
mcp_deferred_toolsstring[]
mcp_authorization_tokenstring
rawobject

Response

Successful

model_idstring
temperaturenumber
max_tokensnumber
responsesstring[]
tokens_usednumber
mcp_urlstring
mcp_deferred_toolsstring[]
mcp_authorization_tokenstring
rawobject

Changes

Changed in 1 of the 34 revisions of this API.6

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the enum value answers to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • ○

      added the enum value questions to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added