POST
/
copilot
{
  "name": "<string>",
  "system_prompt": "<string>",
  "initial_message": "<string>",
  "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "sample_prompts": "<string>",
  "chat_history_length": 123,
  "rag_copilot": true,
  "demo": true,
  "orchestrator_model": "<string>",
  "add_file_actions": true,
  "auth": "<string>",
  "max_iterations": 123,
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "full_name": "<any>"
  },
  "company": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>"
  }
}

Headers

user-id
string

Body

application/json
name
string
required
system_prompt
string
required
initial_message
string
required
company_id
string | null
required
status
string | null
required
sample_prompts
string | null
required
chat_history_length
integer | null
required
rag_copilot
boolean | null
required
demo
boolean | null
required
orchestrator_model
string | null
required
add_file_actions
boolean | null
required
auth
string | null
required
max_iterations
integer | null
required

Response

201
application/json
Successful Response
name
string
required
system_prompt
string
required
initial_message
string
required
company_id
string | null
required
status
string
required
sample_prompts
string | null
required
chat_history_length
integer | null
required
rag_copilot
boolean | null
required
demo
boolean | null
required
orchestrator_model
string | null
required
add_file_actions
boolean | null
required
auth
string | null
required
max_iterations
integer | null
required
user_id
string
required
uuid
string
required
user
object | null
required
company
object | null
required