genai
prompt

Create a prompt

post/genai/{connection_id}/prompt

Request

  • Base URL: http://api.unified.to
  • URL: http://api.unified.to/genai/{connection_id}/prompt
  • Auth: API key in header authorization

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

0-1

max_tokensnumber

a float between 0-1

responsesstring[]
tokens_usednumber
mcp_urlstring

Supply a remote MCP URL to send to the LLM API for it to call its tools. Note: Some LLM APIs do not yet support remote MCP URLs.

mcp_deferred_toolsstring[]
mcp_authorization_tokenstring

OAuth Bearer token for MCP servers that require authentication.

skill_idsstring[]

ids of the genai_skill objects (Agent Skills) to make available to the LLM while it answers.

rawunknown

Response

Successful

model_idstring
temperaturenumber

0-1

max_tokensnumber

a float between 0-1

responsesstring[]
tokens_usednumber
mcp_urlstring

Supply a remote MCP URL to send to the LLM API for it to call its tools. Note: Some LLM APIs do not yet support remote MCP URLs.

mcp_deferred_toolsstring[]
mcp_authorization_tokenstring

OAuth Bearer token for MCP servers that require authentication.

skill_idsstring[]

ids of the genai_skill objects (Agent Skills) to make available to the LLM while it answers.

rawunknown

Changes

No recorded changes to this operation across all 1 revision of this API.