List outcomes: a fixed sequence of capability steps under one business name
curl --request GET \
--url https://api.pramaan.dev/v1/outcomes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pramaan.dev/v1/outcomes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pramaan.dev/v1/outcomes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"description": "<string>",
"version": 123,
"effect_class": "<string>",
"mode": "sync",
"price_max_micro": 123,
"personal_data": true,
"available": true,
"read_only_key": true,
"requires_approval": true,
"capability_ids": [
"<string>"
]
}
]
}{
"error": {
"code": "addendum_required",
"message": "<string>",
"next": "<string>",
"request_id": "<string>",
"retryable": true,
"effect": "none",
"slot": "<string>",
"required_micro": 123,
"reason": "balance",
"plan": "<string>",
"needs": [
{
"kind": "approval",
"detail": "<string>",
"step": "<string>"
}
]
}
}outcomes
List outcomes: a fixed sequence of capability steps under one business name
GET
/
v1
/
outcomes
List outcomes: a fixed sequence of capability steps under one business name
curl --request GET \
--url https://api.pramaan.dev/v1/outcomes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pramaan.dev/v1/outcomes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pramaan.dev/v1/outcomes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"description": "<string>",
"version": 123,
"effect_class": "<string>",
"mode": "sync",
"price_max_micro": 123,
"personal_data": true,
"available": true,
"read_only_key": true,
"requires_approval": true,
"capability_ids": [
"<string>"
]
}
]
}{
"error": {
"code": "addendum_required",
"message": "<string>",
"next": "<string>",
"request_id": "<string>",
"retryable": true,
"effect": "none",
"slot": "<string>",
"required_micro": 123,
"reason": "balance",
"plan": "<string>",
"needs": [
{
"kind": "approval",
"detail": "<string>",
"step": "<string>"
}
]
}
}