Skip to content

Commit e9ff189

Browse files
authored
updating hidden agent information (#6867)
Signed-off-by: Dhrubo Saha <[email protected]>
1 parent 9ff5db3 commit e9ff189

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_ml-commons-plugin/agents-tools/agents-tools-tutorial.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,11 @@ Only superadmin users can register a hidden agent. To register a hidden agent, y
365365
curl -k --cert ./kirk.pem --key ./kirk-key.pem -XGET 'https://localhost:9200/.opendistro_security/_search'
366366
```
367367

368-
All agents created by a superadmin user are automatically registered as hidden. To register a hidden agent, send a request to the `_register` endpoint:
368+
All agents created by a superadmin user are automatically registered as hidden. Only the superadmin user can view hidden agent details and delete hidden agents.
369+
To register a hidden agent, send a request to the `_register` endpoint:
369370

370371
```bash
371-
curl -k --cert ./kirk.pem --key ./kirk-key.pem -X POST 'https://localhost:9200/_plugins/_ml/models/_register' -H 'Content-Type: application/json' -d '
372+
curl -k --cert ./kirk.pem --key ./kirk-key.pem -X POST 'https://localhost:9200/_plugins/_ml/agents/_register' -H 'Content-Type: application/json' -d '
372373
{
373374
"name": "Test_Agent_For_RAG",
374375
"type": "flow",

0 commit comments

Comments
 (0)