Skip to main content
POST
Agent Creation

Authorizations

Authorization
string
header
required

Account API Key from Rei Portal

Body

application/json
agentModel
enum<string>
required

The model to use for the agent

Available options:
google/gemini-2.5-flash
tag
string
required

Tag to identify your unit

behaviourPrompt
string
required

The behaviour prompt for the agent

temperature
integer
Required range: 0 <= x <= 1
maxTokens
integer
Required range: 1 <= x <= 2000000
responseFormat
enum<string>
Available options:
text,
json,
markdown,
html
color
string

Color code in Hex format

Pattern: ^#[0-9A-Fa-f]{6}$
Example:

"#FFFFFF"

Response

Agent created successfully

secretToken
string