API by router
Tenant
curl -X GET "https://loading/v1/tenant/agent-persona" \ -H "X-Api-Key: string"{
"is_default": true,
"system_prompt": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Set Persona
AuthorizationBearer <token>
In: header
Header Parameters
X-Api-Key?X-Api-Key
system_promptSystem Prompt
Length
length <= 4000Response Body
curl -X PUT "https://loading/v1/tenant/agent-persona" \ -H "X-Api-Key: string" \ -H "Content-Type: application/json" \ -d '{ "system_prompt": "string" }'{
"is_default": true,
"system_prompt": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}