Skip to main content
POST
/
protocol
/
agents
/
initialize
/
{agentId}
Initialize Agent Request
curl --request POST \
  --url https://api.sandbox.nevermined.dev/api/v1/protocol/agents/initialize/{agentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accessToken": "<string>",
  "requestData": {}
}
'
{
  "requestId": "<string>",
  "isValid": true,
  "balance": {
    "isSubscriber": true,
    "total": 123,
    "used": 123,
    "remaining": 123,
    "expiresAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Your Nevermined API Key (starts with 'nvm:'). Get one at nevermined.app under Settings > API Keys.

Path Parameters

agentId
string
required

The agent's unique identifier

Body

application/json

Request initialization data

accessToken
string
requestData
object

Response

Request initialized

requestId
string
isValid
boolean
balance
object