Lists the team’s approvals, newest first. Each is for one class and one subject, valid for an hour and for one use. An independent agent answers a pending one with overlane autonomy approvals answer.
Usage
overlane autonomy approvals list [--status pending|approved|denied|consumed|expired]Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--status |
one of pending, approved, denied, consumed, expired |
no | Only approvals with this status |
Examples
overlane autonomy approvals list
overlane autonomy approvals list --status pending --jsonBehavior
- Effect:
read(changes nothing). - Needs credentials: yes. Uses the network: yes.
- Supports
--dry-run: no. Accepts--force: no. - Machine-readable description:
overlane schema autonomy approvals list.
Result
With --json (the default when stdout is not a terminal) the command prints this JSON Schema’s shape on stdout.
{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"approvals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
"description": "tenant identifier"
},
"id": {
"type": "string",
"minLength": 1
},
"class": {
"type": "string",
"enum": [
"memory_promotion",
"task_policy",
"issue_triage",
"release_promotion",
"bots",
"docs_merge",
"policy_change",
"token_mint",
"deletion",
"spend",
"secrets",
"production_deploy",
"autonomy_change",
"payments",
"legal_terms"
]
},
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
"description": "project identifier"
},
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"summary": {
"type": "string",
"minLength": 1,
"maxLength": 400
},
"actor": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"user",
"agent"
]
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"rootId": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"runId": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"leaseId": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"kind",
"id"
],
"additionalProperties": false
},
"status": {
"type": "string",
"enum": [
"pending",
"approved",
"denied",
"consumed",
"expired"
]
},
"approver": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"user",
"agent"
]
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"rootId": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"runId": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"leaseId": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"kind",
"id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"evidence": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 400
}
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 400
},
{
"type": "null"
}
]
},
"decidedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"consumedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"expiresAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"tenantId",
"id",
"class",
"subject",
"summary",
"actor",
"status",
"approver",
"evidence",
"reason",
"decidedAt",
"consumedAt",
"expiresAt",
"createdAt"
],
"additionalProperties": false
}
},
"next": {
"type": "string"
}
},
"required": [
"tenantId",
"approvals",
"next"
],
"additionalProperties": false
}See exit codes for the status the process returns.