Create an assistant
POST/ai/assistants
Create a new AI Assistant.
Request
- application/json
Body
required
Array [
]
name Name (string)required
model Model (string)required
description Description (string)
instructions Instructions (string)required
tools
object[]
type Type (string)required
Possible values: [retrieval
, function
]
name Name (string)
description Description (string)
function
object
name Name (string)required
description Description (string)
parameters
object
type Type (string)required
properties
object
required
property name*
ParameterProperties
type Type (string)required
description Description (string)
enum string[]
required string[]required
retrieval
object
bucket_ids string[]required
Responses
200: Successful Response
- application/json
422: Validation Error
- application/json
Loading...