Skip to content

Upload brand guidelines document

POST
/api/v1/workspaces/{workspace_id}/ai_agents/{id}/brand_guidelines_doc

Uploads a brand guidelines document to the AI agent.

workspace_id
required
integer

Workspace ID

id
required
integer

AI agent ID

object
file
required
string format: binary

Successful

Unauthorized

object
message
required
string
Example
Record not found

Forbidden

object
message
required
string
Example
Record not found

Not Found

object
message
required
string
Example
Record not found

Unprocessable Entity

object
message
required
string
Example
Failed to save
errors
required
object
key
additional properties
Array<string>
Example
{
"errors": {
"username": [
"Username is required.",
"Username must be unique."
],
"email": [
"Invalid email format."
]
}
}