curl --request POST \
--url https://api.dev.opencorpus.ai/assistants/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"name": "<string>",
"system_instruction": "<string>",
"description": "<string>",
"first_message": "Hello! I'm here to help you. How can I assist you today?",
"voice": {
"voice_id": "<string>",
"tts_provider": "cartesia",
"tts_model": "default",
"language": "en"
},
"llm": {
"llm_provider": "google",
"model": "gemini-1.5-flash"
},
"transcriber": {
"stt_provider": "deepgram",
"stt_model": "nova-3",
"language": "en"
},
"knowledge_base": {
"pinecone_index": "<string>",
"pinecone_namespace": "<string>"
},
"transport": {
"sip_config": {}
}
}
EOF{
"name": "<string>",
"system_instruction": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"description": "<string>",
"first_message": "Hello! I'm here to help you. How can I assist you today?",
"voice": {
"voice_id": "<string>",
"tts_provider": "cartesia",
"tts_model": "default",
"language": "en"
},
"llm": {
"llm_provider": "google",
"model": "gemini-1.5-flash"
},
"transcriber": {
"stt_provider": "deepgram",
"stt_model": "nova-3",
"language": "en"
},
"knowledge_base": {
"pinecone_index": "<string>",
"pinecone_namespace": "<string>"
},
"transport": {
"sip_config": {}
},
"attached_knowledge_bases": [
{}
],
"created_at": "<string>",
"updated_at": "<string>"
}curl --request POST \
--url https://api.dev.opencorpus.ai/assistants/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"name": "<string>",
"system_instruction": "<string>",
"description": "<string>",
"first_message": "Hello! I'm here to help you. How can I assist you today?",
"voice": {
"voice_id": "<string>",
"tts_provider": "cartesia",
"tts_model": "default",
"language": "en"
},
"llm": {
"llm_provider": "google",
"model": "gemini-1.5-flash"
},
"transcriber": {
"stt_provider": "deepgram",
"stt_model": "nova-3",
"language": "en"
},
"knowledge_base": {
"pinecone_index": "<string>",
"pinecone_namespace": "<string>"
},
"transport": {
"sip_config": {}
}
}
EOF{
"name": "<string>",
"system_instruction": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"description": "<string>",
"first_message": "Hello! I'm here to help you. How can I assist you today?",
"voice": {
"voice_id": "<string>",
"tts_provider": "cartesia",
"tts_model": "default",
"language": "en"
},
"llm": {
"llm_provider": "google",
"model": "gemini-1.5-flash"
},
"transcriber": {
"stt_provider": "deepgram",
"stt_model": "nova-3",
"language": "en"
},
"knowledge_base": {
"pinecone_index": "<string>",
"pinecone_namespace": "<string>"
},
"transport": {
"sip_config": {}
},
"attached_knowledge_bases": [
{}
],
"created_at": "<string>",
"updated_at": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request model for creating an assistant (excludes ID)
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Successful Response
Response model for an assistant
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes