Lists all payment plans associated with an agent.
cURL
curl --request GET \ --url https://api.sandbox.nevermined.dev/api/v1/protocol/agents/{agentId}/plans \ --header 'Authorization: Bearer <token>'
{ "plans": [ { "planId": "<string>", "name": "<string>", "description": "<string>", "priceConfig": { "priceType": "FIXED_PRICE", "tokenAddress": "<string>", "amounts": [ 123 ], "receivers": [ "<string>" ] }, "creditsConfig": { "creditsType": "FIXED", "amount": 123, "minAmount": 123, "durationOfThePlan": 123 }, "isListed": true, "owner": "<string>" } ], "totalCount": 123, "page": 123, "offset": 123 }
Your Nevermined API Key (starts with 'nvm:'). Get one at nevermined.app under Settings > API Keys.
The agent's unique identifier
List of plans
Show child attributes