Skip to main content
POST
/
api
/
llms
Create LLM
curl --request POST \
  --url https://api.upon-ai.com/api/llms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": 42,
  "display_name": "Concierge with cold transfer",
  "model": "gpt-4o-mini",
  "general_prompt": "You are the voice of UponAI. Help callers and transfer them when needed.",
  "begin_message": "Hi there! Thanks for calling.",
  "responsiveness": "fast",
  "general_tools": [
    {
      "type": "transfer_call",
      "name": "transfer_to_support",
      "description": "Transfer the caller to support when they ask for a human.",
      "transfer_destination": {
        "type": "predefined",
        "number": "+18885551212"
      },
      "transfer_option": {
        "type": "cold_transfer",
        "cold_transfer_mode": "sip_invite",
        "show_transferee_as_caller": false
      }
    }
  ]
}
'
{
  "llm_id": "llm_1ab234cde567fgh",
  "display_name": "Concierge v2",
  "version": 1,
  "model": "gpt-4o-mini",
  "general_prompt": "You are the voice of UponAI...",
  "begin_message": "Hi there! Thanks for calling UponAI.",
  "updated_at": "2025-02-08T17:21:34.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://documentation.uponai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Generate tokens from your profile settings at app.uponai.com.

Body

application/json
workspaceId
integer
required
display_name
string
required
model
string
general_prompt
string
begin_message
string | null
responsiveness
string
general_tools
object[]

Response

201 - application/json

Newly created LLM configuration.

llm_id
string
required
display_name
string
required
version
integer
required
model
string
general_prompt
string | null
begin_message
string | null
responsiveness
string | null
general_tools
object[]
updated_at
string<date-time> | null