Skip to content

List decisions with filters

GET
/api/v1/decisions
curl --request GET \
--url 'https://api.ultimateteam.ai/api/v1/decisions?limit=50&offset=0' \
--header 'X-API-Key: <X-API-Key>'

Returns decisions for the authenticated tenant with optional filters for agent role, status, confidence range, and date range.

agent_role
Any of:
string

Filter by agent role (e.g. ‘cro’, ‘cfo’)

action_type
Any of:
string

Filter by action type

status
Any of:
string

Filter by decision status (e.g. ‘pending’, ‘approved’, ‘rejected’)

confidence_min
Any of:
number
<= 1

Minimum confidence score

confidence_max
Any of:
number
<= 1

Maximum confidence score

has_outcome
Any of:
boolean

Filter by whether an outcome has been measured

date_from
Any of:
string format: date-time

Start of date range (ISO 8601)

date_to
Any of:
string format: date-time

End of date range (ISO 8601)

limit
Limit

Maximum number of decisions to return

integer
default: 50 >= 1 <= 200

Maximum number of decisions to return

offset
Offset

Number of decisions to skip

integer
0

Number of decisions to skip

Successful Response

Media typeapplication/json
DecisionListResponse

Response for GET /api/v1/decisions.

Attributes: decisions: List of decision summaries. total: Total matching decisions for pagination. limit: Requested page size. offset: Requested offset.

object
decisions
required
Decisions
Array<object>
DecisionListItem

Summary of a single decision for list views.

Attributes: id: Decision UUID. agent_role: The agent that made this decision. action_type: Category of action. description: Brief description of the decision. confidence_score: Agent confidence (0.0-1.0). outcome_quality: Outcome match score, if measured. status: Current decision status. created_at: When the decision was recorded.

object
action_type
required
Action Type
string
agent_role
required
Agent Role
string
confidence_score
required
Any of:
number
created_at
required
Created At
string format: date-time
description
required
Description
string
id
required
Id
string
outcome_quality
required
Any of:
number
status
required
Status
string
limit
required
Limit
integer
offset
required
Offset
integer
total
required
Total
integer
Examplegenerated
{
"decisions": [
{
"action_type": "example",
"agent_role": "example",
"confidence_score": 1,
"created_at": "2026-04-15T12:00:00Z",
"description": "example",
"id": "example",
"outcome_quality": 1,
"status": "example"
}
],
"limit": 1,
"offset": 1,
"total": 1
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}