> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.athenaintel.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.athenaintel.com/_mcp/server.

# List approvals

GET https://api.athenaintel.com/api/v0/approvals

The caller's approval inbox across subject kinds: the approvals of the caller's workspace that name the caller as an approver, newest first, each with its decisions and deliveries. Session interrupts projected onto the object appear read-only; decide them in the session. Keyset-paginated: pass the previous page's next_before and next_before_id to continue. `workspace_id` reads the inbox of another workspace the caller is a member of instead of the caller's current one.

Reference: https://docs.athenaintel.com/api-reference/approvals/list

## Authentication

- `X-API-KEY` header (required) — API Key authentication via header

## Request

### Query parameters

- `subject_kind` (list of string, optional, nullable) — Only these subject kinds (repeat the parameter or separate with commas): automation_step, session_interrupt, publish, proposal
- `state` (string, optional, nullable) — Only approvals in this state: pending, escalated, decided, expired or invalidated
- `limit` (integer, optional, default: 50) — Page size (1 to 200)
- `before` (datetime, optional, nullable) — The previous page's next_before; omit for the first page
- `before_id` (string, optional, nullable) — The previous page's next_before_id, sent together with before
- `workspace_id` (string, optional, nullable) — Workspace whose inbox to read; the caller's current workspace when omitted. The caller must be a member

## Response

### 200

One page of the caller's approvals

- `has_more` (boolean, required)
- `items` (list of ApprovalOut, required)
- `next_before` (datetime, required, nullable) — Pass as `before` for the next page; null when there is none
- `next_before_id` (string, required, nullable) — Pass as `before_id` together with `before`

## Errors

### 400 Bad Request Error

Unknown subject_kind or state

- `map from string to any`

### 403 Forbidden Error

The Automations gate denied, or the caller is not a member of the named workspace

- `detail` (AutomationsDenialDetailOut, required) — ``detail`` of the 403 the Automations gate returns.

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### ApprovalOut

An approval of any subject kind, with its decisions and deliveries.

- `allow_self_approval` (boolean, required)
- `approver_refs` (list of string, required)
- `approver_selectors` (list of any, required, nullable)
- `automation_asset_id` (string, required, nullable)
- `batch_id` (string, required, nullable)
- `channels` (list of string, required)
- `created_at` (datetime, required)
- `decided_at` (datetime, required, nullable)
- `decisions` (list of ApprovalDecisionOut, required)
- `deliveries` (list of ApprovalDeliveryOut, required)
- `editable_schema` (map from string to any, required, nullable)
- `escalated_at` (datetime, required, nullable)
- `escalation` (map from string to any, required, nullable)
- `id` (string, required)
- `input_fingerprint` (string, required, nullable)
- `invalidate_on_input_change` (boolean, required)
- `invalidated_at` (datetime, required, nullable)
- `mode` (string, required) — any, all or n_of_m
- `mode_n` (integer, required, nullable)
- `options` (list of ApprovalOptionOut, required)
- `outcome` (string, required, nullable) — approved, rejected, custom:\<option id>, skipped or proceeded once settled
- `payload` (map from string to any, required, nullable) — What is being approved, inline; null when stored by reference
- `payload_ref` (string, required, nullable)
- `reminded_count` (integer, required)
- `request` (map from string to any, required) — `{title, summary}`
- `requester_ref` (string, required)
- `run_id` (string, required, nullable)
- `scope_id` (string, required, nullable)
- `self_refs` (list of string, required)
- `separation_of_duties` (string, required)
- `standing_grant` (map from string to any, required, nullable)
- `state` (string, required) — pending, escalated (active) or decided, expired, invalidated
- `step_id` (string, required, nullable)
- `subject` (map from string to any, required)
- `subject_kind` (string, required) — automation_step, session_interrupt, publish or proposal
- `thread_id` (string, required, nullable)
- `timeout_at` (datetime, required, nullable)
- `tool_call_id` (string, required, nullable)
- `trust_level` (string, required, nullable)

### AutomationsDenialDetailOut

``detail`` of the 403 the Automations gate returns.

- `hint` (string, required) — The next step that lifts the denial
- `message` (string, required) — Human-readable denial
- `reason` (enum, required) — Which of the gate's three checks failed: the deployment has Automations off, the caller is not a member of the workspace, or the workspace is not enrolled
  - Allowed values: `not_provisioned`, `not_permitted`, `workspace_not_enrolled`
- `code` ("AUTOMATIONS_UNAVAILABLE", optional, default: AUTOMATIONS_UNAVAILABLE) — Stable code for a denial by the Automations gate

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `ctx` (ValidationErrorCtx, optional)
- `input` (any, optional)

### ApprovalDecisionOut

One decider's recorded decision (an approval_decisions row).

- `by_ref` (string, required) — Principal ref of the decider
- `decided_at` (datetime, required)
- `edited_payload` (map from string to any, required, nullable)
- `grant_id` (string, required, nullable) — The approval grant written with the settling decision, when one was
- `id` (string, required)
- `note` (string, required, nullable)
- `option` (string, required)
- `surface` (string, required, nullable) — web, public_api, mobile_app, mobile_notification, slack_dm, agent or session

### ApprovalDeliveryOut

One delivery attempt (an approval_deliveries row); never the token.

- `attempt` (integer, required)
- `channel` (string, required)
- `created_at` (datetime, required)
- `detail` (string, required, nullable)
- `id` (string, required)
- `kind` (string, required) — initial, reminder:\<n> or escalation:\<n>
- `provider_ref` (string, required, nullable)
- `recipient_ref` (string, required)
- `state` (string, required) — claimed, delivered, undeliverable, unavailable, suppressed or failed
- `updated_at` (datetime, required)

### ApprovalOptionOut

One option an approval offers, with the effect a decision on it has.

- `effect` (string, required) — approve, reject or custom
- `id` (string, required) — The option id a decision names

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**Response**

```json
{
  "has_more": true,
  "items": [
    {
      "allow_self_approval": true,
      "approver_refs": [
        "string"
      ],
      "approver_selectors": [
        null
      ],
      "automation_asset_id": "string",
      "batch_id": "string",
      "channels": [
        "string"
      ],
      "created_at": "2024-01-15T09:30:00Z",
      "decided_at": "2024-01-15T09:30:00Z",
      "decisions": [
        {
          "by_ref": "string",
          "decided_at": "2024-01-15T09:30:00Z",
          "edited_payload": {},
          "grant_id": "string",
          "id": "string",
          "note": "string",
          "option": "string",
          "surface": "string"
        }
      ],
      "deliveries": [
        {
          "attempt": 1,
          "channel": "string",
          "created_at": "2024-01-15T09:30:00Z",
          "detail": "string",
          "id": "string",
          "kind": "string",
          "provider_ref": "string",
          "recipient_ref": "string",
          "state": "string",
          "updated_at": "2024-01-15T09:30:00Z"
        }
      ],
      "editable_schema": {},
      "escalated_at": "2024-01-15T09:30:00Z",
      "escalation": {},
      "id": "string",
      "input_fingerprint": "string",
      "invalidate_on_input_change": true,
      "invalidated_at": "2024-01-15T09:30:00Z",
      "mode": "string",
      "mode_n": 1,
      "options": [
        {
          "effect": "string",
          "id": "string"
        }
      ],
      "outcome": "string",
      "payload": {},
      "payload_ref": "string",
      "reminded_count": 1,
      "request": {},
      "requester_ref": "string",
      "run_id": "string",
      "scope_id": "string",
      "self_refs": [
        "string"
      ],
      "separation_of_duties": "string",
      "standing_grant": {},
      "state": "string",
      "step_id": "string",
      "subject": {},
      "subject_kind": "string",
      "thread_id": "string",
      "timeout_at": "2024-01-15T09:30:00Z",
      "tool_call_id": "string",
      "trust_level": "string"
    }
  ],
  "next_before": "2024-01-15T09:30:00Z",
  "next_before_id": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.athenaintel.com/api/v0/approvals"

headers = {"X-API-KEY": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.athenaintel.com/api/v0/approvals';
const options = {method: 'GET', headers: {'X-API-KEY': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.athenaintel.com/api/v0/approvals"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-KEY", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.athenaintel.com/api/v0/approvals")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.athenaintel.com/api/v0/approvals")
  .header("X-API-KEY", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.athenaintel.com/api/v0/approvals', [
  'headers' => [
    'X-API-KEY' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.athenaintel.com/api/v0/approvals");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-KEY", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-KEY": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.athenaintel.com/api/v0/approvals")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```