curl --request POST \
--url https://services.staging.app.dados.rio/eai-agent-gateway/api/v1/agent/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"user_number": "<string>",
"agent_type": "memgpt_v2_agent",
"name": "",
"tags": [
"agentic_search"
],
"system": "You are an AI assistant...",
"memory_blocks": [
{
"label": "human",
"limit": 10000,
"value": ""
},
{
"label": "persona",
"limit": 5000,
"value": ""
}
],
"tools": [
"google_search",
"web_search_surkai"
],
"model": "google_ai/gemini-2.5-flash-lite",
"embedding": "google_ai/text-embedding-004",
"context_window_limit": 30000,
"include_base_tool_rules": true,
"include_base_tools": true,
"timezone": "America/Sao_Paulo"
}'
"<any>"
curl --request POST \
--url https://services.staging.app.dados.rio/eai-agent-gateway/api/v1/agent/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"user_number": "<string>",
"agent_type": "memgpt_v2_agent",
"name": "",
"tags": [
"agentic_search"
],
"system": "You are an AI assistant...",
"memory_blocks": [
{
"label": "human",
"limit": 10000,
"value": ""
},
{
"label": "persona",
"limit": 5000,
"value": ""
}
],
"tools": [
"google_search",
"web_search_surkai"
],
"model": "google_ai/gemini-2.5-flash-lite",
"embedding": "google_ai/text-embedding-004",
"context_window_limit": 30000,
"include_base_tool_rules": true,
"include_base_tools": true,
"timezone": "America/Sao_Paulo"
}'
"<any>"
Insira o token Bearer para autenticação. Exemplo: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Successful Response
The response is of type any
.