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

# List an organisation's restore points

GET https://api.finput.com.au/api/v1/rate-card-versions

Metadata only, never the stored payload. Each row records who changed the card and how the change arrived — through the app, an API token, or a connected AI assistant, and if an assistant, which one.

Reads the caller's own organisation's history, and works with an API token.

Reference: https://docs.finput.com.au/api/endpoints/rate-card-versions/list-rate-card-versions

## Authentication

- `Authorization` header (bearer token, required) — JWT access token obtained from `POST /api/v1/auth/login`, or a `finput_sk_...` API token

## Request

### Query parameters

- `resource` (enum, optional) — Which series. Defaults to `rate_card`. An unrecognised value is refused rather than answered with an empty history.
  - Allowed values: `rate_card`, `asset_mapping`

## Response

### 200

The history, newest first.

- `organisation` (RateCardVersionListOrganisation, optional)
- `resource` (enum, optional) — Echoed back so a caller can tell an empty history from a `resource` this endpoint ignored.
  - Allowed values: `rate_card`, `asset_mapping`
- `versions` (list of RateCardVersion, optional)

## Errors

### 400 Bad Request Error

No organisation to show a history for, or an unsupported `resource`.

- `error` (string, optional)
- `errors` (map from string to list of string, optional)

### 403 Forbidden Error

Not permitted to read this organisation's history.

- `error` (string, optional)
- `errors` (map from string to list of string, optional)

## Types

### RateCardVersionListOrganisation

- `id` (integer, optional)
- `name` (string, optional)

### RateCardVersion

One restore point. Metadata only — never the payload.

- `id` (integer, optional)
- `organisation_id` (integer, optional, nullable)
- `resource` (enum, optional)
  - Allowed values: `rate_card`, `asset_mapping`
- `created_at` (datetime, optional)
- `reason` (string, optional)
- `pinned` (boolean, optional)
- `label` (string, optional)
- `parts_present` (list of string, optional)
- `actor_email` (string, optional)
- `origin` (string, optional) — How the change arrived — the app, an API token, or a connected AI assistant.
- `connection` (RateCardVersionConnection, optional, nullable) — Which assistant, when `origin` says one made the change.

### RateCardVersionConnection

Which assistant, when `origin` says one made the change.

- `id` (integer, optional)
- `client_name` (string, optional)

## Examples

**Response**

```json
{
  "organisation": {
    "id": 1,
    "name": "string"
  },
  "resource": "rate_card",
  "versions": [
    {
      "id": 1,
      "organisation_id": 1,
      "resource": "rate_card",
      "created_at": "2024-01-15T09:30:00Z",
      "reason": "string",
      "pinned": true,
      "label": "string",
      "parts_present": [
        "string"
      ],
      "actor_email": "string",
      "origin": "string",
      "connection": {
        "id": 1,
        "client_name": "string"
      }
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.finput.com.au/api/v1/rate-card-versions"

headers = {"Authorization": "Bearer <token>"}

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

print(response.json())
```

```javascript
const url = 'https://api.finput.com.au/api/v1/rate-card-versions';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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.finput.com.au/api/v1/rate-card-versions"

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

	req.Header.Add("Authorization", "Bearer <token>")

	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.finput.com.au/api/v1/rate-card-versions")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

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.finput.com.au/api/v1/rate-card-versions")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.finput.com.au/api/v1/rate-card-versions', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.finput.com.au/api/v1/rate-card-versions");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.finput.com.au/api/v1/rate-card-versions")! 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()
```