curl --request GET \
--url https://api.platform.dakota.xyz/mandates/{mandate_id}/versions \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.platform.dakota.xyz/mandates/{mandate_id}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.platform.dakota.xyz/mandates/{mandate_id}/versions"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.dakota.xyz/mandates/{mandate_id}/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"version": 1,
"rule": {
"target_type": "recipient",
"targets": [
"2vWxRecipient000000000000000"
],
"asset": "USDC",
"window": "MONTHLY",
"max_amount_in_window": "10000"
},
"approved_by_signer_id": "2vWxApprover0000000000000000",
"approved_at": 1750000000,
"created_at": 1749990000
},
{
"version": 2,
"rule": {
"target_type": "recipient",
"targets": [
"2vWxRecipient000000000000000",
"2vWxRecipient111111111111111"
],
"asset": "USDC",
"window": "MONTHLY",
"max_amount_in_window": "20000"
},
"approved_by_signer_id": "2vWxApprover0000000000000000",
"approved_at": 1752000000,
"created_at": 1752000000
}
]{
"type": "https://docs.dakota.xyz/api-reference/errors#invalid-request",
"title": "Invalid Request",
"status": 400,
"detail": "invalid mandate id"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Not Found",
"status": 404,
"detail": "mandate not found"
}List a mandate's versions (BETA)
Beta — early access.
The mandate’s append-only version history, oldest first — every rule that was ever in force under it and the §8 signer that put each one there. Versions are immutable: a rule listed here never changes.
This is what makes an executed scheduled payment’s audit stamp legible. The payment records mandate_id and mandate_version; what that version’s caps actually were is only knowable from here.
curl --request GET \
--url https://api.platform.dakota.xyz/mandates/{mandate_id}/versions \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.platform.dakota.xyz/mandates/{mandate_id}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.platform.dakota.xyz/mandates/{mandate_id}/versions"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.dakota.xyz/mandates/{mandate_id}/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"version": 1,
"rule": {
"target_type": "recipient",
"targets": [
"2vWxRecipient000000000000000"
],
"asset": "USDC",
"window": "MONTHLY",
"max_amount_in_window": "10000"
},
"approved_by_signer_id": "2vWxApprover0000000000000000",
"approved_at": 1750000000,
"created_at": 1749990000
},
{
"version": 2,
"rule": {
"target_type": "recipient",
"targets": [
"2vWxRecipient000000000000000",
"2vWxRecipient111111111111111"
],
"asset": "USDC",
"window": "MONTHLY",
"max_amount_in_window": "20000"
},
"approved_by_signer_id": "2vWxApprover0000000000000000",
"approved_at": 1752000000,
"created_at": 1752000000
}
]{
"type": "https://docs.dakota.xyz/api-reference/errors#invalid-request",
"title": "Invalid Request",
"status": 400,
"detail": "invalid mandate id"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Not Found",
"status": 404,
"detail": "mandate not found"
}Authorizations
Path Parameters
Response
The version history, oldest first.
1-based. Version 1 is the rule the mandate was created and approved with.
Show child attributes
Show child attributes
The §8 signer that signed this version into force — for v1 the approver, for later versions the amender. Absent while a v1 is still pending approval.
Unix time this version was signed into force; absent until then.
Was this page helpful?

