POST
/
api
/
v1
/
unified-save
Save Unified Changes
curl --request POST \
  --url https://services.staging.app.dados.rio/eai-agent/api/v1/unified-save \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_type": "<string>",
  "prompt_content": "<string>",
  "memory_blocks": [
    {}
  ],
  "tools": [
    "<string>"
  ],
  "model_name": "<string>",
  "embedding_name": "<string>",
  "update_agents": false,
  "author": "<string>",
  "reason": "<string>"
}'
{
  "success": true,
  "unified_version_number": 123,
  "version_display": "<string>",
  "change_type": "<string>",
  "prompt_id": "<string>",
  "config_id": "<string>",
  "agents_updated": {},
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Schema para salvar alterações unificadas.

Response

200
application/json

Successful Response

Schema para resposta do save unificado.