- Assistants
- Create Assistant
Assistants
Create Assistant
curl --request POST \
--url https://app.backboard.io/api/assistants \
--header 'X-API-Key: <api-key>' \
--header 'authorization: <authorization>' \
--header 'x_session_token: <x_session_token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"system_prompt": "string",
"tools": [
{
"type": "function",
"function": {
"name": "string",
"description": "string",
"parameters": {
"type": "object",
"properties": {
"additionalProperty": {
"type": "string",
"description": "string",
"enum": [
"string"
],
"properties": {},
"items": {}
}
},
"required": [
"string"
]
}
}
}
],
"tok_k": 10,
"custom_fact_extraction_prompt": "string",
"custom_update_memory_prompt": "string"
}'Create a new AI assistant with specific instructions and capabilities.
Authorizations
Query Parameters
Body
Name of the assistant
1 - 255Optional system prompt (alias for description)
List of tools available to the assistant
Document search top_k for the internal search_documents tool (default 10).
1 <= x <= 100Custom prompt for fact extraction from conversations. If not set, the default prompt is used.
Custom prompt for memory update decisions (add/update/delete). If not set, the default prompt is used.
Response
200
422
Successful Response
Name of the assistant
1 - 255Assistant Id
Created At
Optional system prompt (alias for description)
List of tools available to the assistant
Document search top_k for the internal search_documents tool (default 10).
1 <= x <= 100Embedding provider (openai, google, cohere, etc.)
Embedding model name (e.g., text-embedding-3-large, text-embedding-004)
Embedding dimensions (e.g., 1024 for Cohere, 3072 for OpenAI text-embedding-3-large)
Custom prompt for fact extraction from conversations. If not set, the default prompt is used.
Custom prompt for memory update decisions (add/update/delete). If not set, the default prompt is used.
curl --request POST \
--url https://app.backboard.io/api/assistants \
--header 'X-API-Key: <api-key>' \
--header 'authorization: <authorization>' \
--header 'x_session_token: <x_session_token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"system_prompt": "string",
"tools": [
{
"type": "function",
"function": {
"name": "string",
"description": "string",
"parameters": {
"type": "object",
"properties": {
"additionalProperty": {
"type": "string",
"description": "string",
"enum": [
"string"
],
"properties": {},
"items": {}
}
},
"required": [
"string"
]
}
}
}
],
"tok_k": 10,
"custom_fact_extraction_prompt": "string",
"custom_update_memory_prompt": "string"
}'