Skip to main content
POST

Authorizations

x-api-key
string
header
required

API key from Rapida credentials.

Headers

x-client-source
enum<string>
default:sdk

Client source identifier. SDK clients send this automatically.

Available options:
sdk
x-auth-id
string

Optional user identifier to propagate with the request.

Body

application/json
assistantProvider
object
required

Provider configuration for the assistant. Provide exactly one of model, agentkit, or websocket.

name
string
required

Assistant name.

Example:

"Support assistant"

assistantKnowledges
object[]
assistantTools
object[]
description
string

Assistant description.

Example:

"Answers customer support questions."

visibility
string

Assistant visibility.

Example:

"private"

language
string

Assistant language code.

Example:

"en"

source
string

Optional source system for imported assistants.

sourceIdentifier
string

Optional source-system identifier.

Pattern: ^[0-9]+$
Example:

"2227823180112723968"

tags
string[]
Example:

Response

Assistant created.

code
integer<int32>
Example:

200

success
boolean
Example:

true

data
object
error
object

Platform error response details. errorCode is a stable platform error code. See PlatformErrorCode for documented code/message mappings.