curl --request POST \
--url https://api.sandbox.nevermined.dev/api/v1/protocol/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Legal Assistant",
"description": "AI-powered legal document analysis",
"tags": [
"legal",
"ai"
],
"endpoints": [
{
"POST": "https://your-api.com/query"
}
],
"agentDefinitionUrl": "https://your-api.com/openapi.json"
}
'