curl --request POST \
--url https://api.swarmd.ai/registry/v1/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentCardUrl": "<string>",
"healthCheckUrl": "<string>"
}
'{
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clientSecret": "<string>"
}Security Requirements
| Auth Types | Entities | Permissions | Required Roles |
|---|---|---|---|
| USER | REGISTRY | WRITE | REGISTRY:WRITE |
curl --request POST \
--url https://api.swarmd.ai/registry/v1/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentCardUrl": "<string>",
"healthCheckUrl": "<string>"
}
'{
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clientSecret": "<string>"
}