List all delegations for the authenticated user
curl --request GET \
--url https://api.sandbox.nevermined.app/api/v1/delegation \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.nevermined.app/api/v1/delegation"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.nevermined.app/api/v1/delegation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.nevermined.app/api/v1/delegation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.nevermined.app/api/v1/delegation"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.nevermined.app/api/v1/delegation")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.nevermined.app/api/v1/delegation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"totalResults": 123,
"page": 123,
"offset": 123,
"delegations": [
{
"delegationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"provider": "stripe",
"providerPaymentMethodId": "pm_1Abc2Def3Ghi4Jkl",
"status": "Active",
"spendingLimitCents": "10000",
"amountSpentCents": "2500",
"remainingBudgetCents": "7500",
"currency": "usd",
"transactionCount": 12,
"expiresAt": "2026-02-20T00:00:00Z",
"createdAt": "2026-02-13T10:30:00Z",
"apiKeyId": "sk-abc123"
}
]
}Delegation
List Delegations
Returns a paginated list of the authenticated user’s spending delegations. Use accessible=true to return only delegations the requesting API key may spend against. Requires a Nevermined API key.
GET
/
delegation
List all delegations for the authenticated user
curl --request GET \
--url https://api.sandbox.nevermined.app/api/v1/delegation \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.nevermined.app/api/v1/delegation"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.nevermined.app/api/v1/delegation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.nevermined.app/api/v1/delegation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.nevermined.app/api/v1/delegation"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.nevermined.app/api/v1/delegation")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.nevermined.app/api/v1/delegation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"totalResults": 123,
"page": 123,
"offset": 123,
"delegations": [
{
"delegationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"provider": "stripe",
"providerPaymentMethodId": "pm_1Abc2Def3Ghi4Jkl",
"status": "Active",
"spendingLimitCents": "10000",
"amountSpentCents": "2500",
"remainingBudgetCents": "7500",
"currency": "usd",
"transactionCount": 12,
"expiresAt": "2026-02-20T00:00:00Z",
"createdAt": "2026-02-13T10:30:00Z",
"apiKeyId": "sk-abc123"
}
]
}Authorizations
Your Nevermined API Key (starts with 'nvm:'). Get one at nevermined.app under Settings > API Keys.
Query Parameters
Page number (1-based). Defaults to 1.
Number of items per page. Defaults to 10.
When "true", return only delegations accessible to the requesting API key (filters by apiKeyId, Active status, expiry, and remaining budget)
Available options:
true, false Was this page helpful?