List Decisions
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/decisions \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/decisions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/decisions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"theme": "<string>",
"decided_on": "2023-12-25",
"decision": "<string>",
"why": "<string>",
"people": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
],
"source_url": "<string>",
"status": "<string>",
"status_reason": "<string>",
"replaces": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"replaced_by": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"cancels": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"cancelled_by": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"related": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"rules": [
{
"id": "<string>",
"title": "<string>"
}
],
"recorded_by": {
"name": "<string>",
"via": "<string>",
"at": "2023-11-07T05:31:56Z"
},
"version": 123,
"updated_at": "2023-11-07T05:31:56Z",
"object": "decision",
"review_on": "2023-12-25",
"confirmed_by": {
"name": "<string>",
"via": "<string>",
"at": "2023-11-07T05:31:56Z"
}
}
],
"has_more": true,
"total": 123,
"object": "list"
}Decisions
List Decisions
List the company’s decisions, most recently decided first.
Only decisions with the status active are in effect. With search, the best matches come first: the
words typed, and the decisions closest in meaning.
GET
/
api
/
v1
/
decisions
List Decisions
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/decisions \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/decisions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/decisions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"theme": "<string>",
"decided_on": "2023-12-25",
"decision": "<string>",
"why": "<string>",
"people": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
],
"source_url": "<string>",
"status": "<string>",
"status_reason": "<string>",
"replaces": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"replaced_by": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"cancels": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"cancelled_by": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"related": [
{
"id": "<string>",
"reference": "<string>",
"title": "<string>",
"status": "<string>"
}
],
"rules": [
{
"id": "<string>",
"title": "<string>"
}
],
"recorded_by": {
"name": "<string>",
"via": "<string>",
"at": "2023-11-07T05:31:56Z"
},
"version": 123,
"updated_at": "2023-11-07T05:31:56Z",
"object": "decision",
"review_on": "2023-12-25",
"confirmed_by": {
"name": "<string>",
"via": "<string>",
"at": "2023-11-07T05:31:56Z"
}
}
],
"has_more": true,
"total": 123,
"object": "list"
}