Agents
Create Agent Key
Authentication
Connections
AWS
Guard Rails
Server Management
Jira
Organization Management
Reports
User Management
Sessions
Agents
Create Agent Key
Create an agent key in a DSN format: grpc(s)://<name>:<key>@<grpc-host>:<grpc-port>?mode=standard|embedded
.
This key is used to deploy agents and expose internal resources from your infra-structure
POST
/
agents
curl --request POST \
--url https://use.hoop.dev/api/agents \
--header 'Content-Type: application/json' \
--data '{
"mode": "standard",
"name": "default"
}'
{
"token": "grpc://default:xagt-zKQQA9PAjCVJ4O8VlE2QZScNEbfmFisg_OerkI21NEg@127.0.0.1:8010?mode=standard"
}
Body
application/json
The request body resource
The body is of type object
.
Response
201
application/json
Created
The response is of type object
.
curl --request POST \
--url https://use.hoop.dev/api/agents \
--header 'Content-Type: application/json' \
--data '{
"mode": "standard",
"name": "default"
}'
{
"token": "grpc://default:xagt-zKQQA9PAjCVJ4O8VlE2QZScNEbfmFisg_OerkI21NEg@127.0.0.1:8010?mode=standard"
}