Assistant
Create an assistant with attachments
Create an assistant via multipart form, with optional knowledge-file uploads.
post/assistants/submit
Query parameters
cookie_namestring nullable
Response
Successful Response
Example response
{
"state": "NEW",
"state_reason": "Processing failed: timeout",
"state_changed_at": "2026-01-16T08:00:00Z",
"id": 1,
"tenant_id": 1,
"created_at": "2026-06-23T12:00:00Z",
"updated_at": "2026-06-23T12:00:00Z",
"creator_user_id": 1,
"name": "Research Assistant",
"avatar": "https://cdn.example.com/avatar.png",
"description": "Helps research and summarize documents",
"predefined_prompts": [
"Summarize this",
"List key points"
],
"instructions": "You are a concise research assistant.",
"llm_catalog_id": 1,
"temperature": 0.7,
"similarity_top_k": 5,
"input_type": "PROMPT",
"form_fields": [
{
"key": "topic",
"label": "Topic",
"type": "text"
}
]
}