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

# Get a provenance row

GET https://api.aventure.vc/v1/provenance/{provenanceId}

Returns one field-level provenance row by its surrogate id, in the same shape the provenance history list returns.

Reference: https://docs.aventure.vc/api-reference/data-provenance/get-provenance

## Authentication

- `Authorization` header (bearer token, required) — User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key
- `X-API-Key` header (required) — Admin API key for system-to-system write operations
- `X-Client-Secret` header (required) — Client secret for read-only service-to-service access (no writes)

## Request

### Path parameters

- `provenanceId` (long, required) — Provenance row surrogate id

## Response

### 200

OK

- `changes` (list of object, required)
  - `fieldName` (string, required)
  - `newPresent` (boolean, required)
  - `oldPresent` (boolean, required)
  - `newValue` (string, optional, nullable)
  - `oldValue` (string, optional, nullable)
- `effectiveAt` (datetime, required)
- `eventId` (string, required)
- `id` (long, required)
- `operation` (enum, required) — Write operation captured by a provenance event row
  - Allowed values: `insert`, `update`, `delete`
- `recordId` (string, required)
- `source` (object, required) — Write provenance supplied on mutation query parameters.
  - `sourceDetail` (string, required) — Source detail or reviewer reference for the write.
  - `sourceType` (enum, required) — Write provenance source type.
    - Allowed values: `requestChangeForm`, `newsArticle`, `blogArticle`, `firstPartyWebsite`, `relatedPartyWebsite`, `thirdPartyWebsite`, `llm`, `aventureStaff`, `api`, `manual`, `import`
  - `actorType` (enum, optional) — Actor type; inferred as agent when agentChassis and agentModel are supplied, or as employee from an authenticated user JWT session.
    - Allowed values: `agent`, `employee`
  - `agentChassis` (string, optional, nullable) — Agent chassis token for agent-authored writes.
  - `agentModel` (string, optional, nullable) — Agent model id for agent-authored writes.
  - `sourceProvider` (string, optional, nullable) — Provider name for provider-native IDs or slugs.
  - `sourceProviderId` (string, optional, nullable) — Provider-native source ID.
  - `sourceProviderSlug` (string, optional, nullable) — Provider-native source slug.
- `status` (enum, required) — Confidence and dispute state of a field-level provenance row
  - Allowed values: `unconfirmed`, `confirmed`, `disputedFirstParty`, `disputedRelatedParty`, `disputedThirdParty`, `disputedAnonymous`
- `tableName` (enum, required) — Domain resource whose field-level provenance is tracked
  - Allowed values: `entity`, `person`, `newsArticle`, `entityPersonJoin`, `newsArticleEntityJoin`, `newsArticlePersonJoin`, `entityRelationship`, `entityTypeJoin`, `entityAddressJoin`, `entityClassificationJoin`, `entityDetail`, `entityResearchSnippets`, `personAddressJoin`, `fundraiseTransaction`, `fundraiseTransactionInvestorJoin`, `text`, `urlLink`, `deployTarget`
- `actor` (object, optional, nullable) — Authenticated actor that authored a provenance write event
  - `displayName` (string, required)
  - `type` (enum, required) — Actor boundary for a provenance write event
    - Allowed values: `agent`, `employee`
  - `agent` (object, optional, nullable) — Validated automated-agent attribution for a write request. Travels on agentChassis and agentModel query parameters; actorType is not required at the OpenAPI/HTTP layer only because the web boundary infers actorType=agent from this complete pair before the domain factory and persistence write lane enforce actor context. Chassis is a CLI/SDK token, modelFamily is the derived LLM family prefix, and model is the full model identifier.
    - `chassis` (string, required) — Wire token from app.contracts.agent-provenance.chassis keys.
    - `model` (string, required) — Full agent model identifier with the family prefix preserved.
    - `modelFamily` (string, required) — Model family derived from the leading token of the model identifier.
  - `employeeDisplayName` (string, optional, nullable)
  - `employeeUserId` (string, optional, nullable)
- `changedBy` (string, optional, nullable)
- `entityId` (string, optional, nullable)
- `personId` (string, optional, nullable)

## Examples

**Response**

```json
{
  "changes": [
    {
      "fieldName": "string",
      "newPresent": true,
      "oldPresent": true,
      "newValue": "string",
      "oldValue": "string"
    }
  ],
  "effectiveAt": "2024-01-15T09:30:00Z",
  "eventId": "string",
  "id": 1,
  "operation": "insert",
  "recordId": "string",
  "source": {
    "sourceDetail": "aventure.vc",
    "sourceType": "aventureStaff",
    "actorType": "agent",
    "agentChassis": "codex-cli",
    "agentModel": "string",
    "sourceProvider": "TechCrunch",
    "sourceProviderId": "tc-2026-05-20-example-round",
    "sourceProviderSlug": "example-round"
  },
  "status": "unconfirmed",
  "tableName": "entity",
  "actor": {
    "displayName": "string",
    "type": "agent",
    "agent": {
      "chassis": "claude-code",
      "model": "string",
      "modelFamily": "claude"
    },
    "employeeDisplayName": "string",
    "employeeUserId": "string"
  },
  "changedBy": "string",
  "entityId": "string",
  "personId": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.aventure.vc/v1/provenance/42"

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

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

print(response.json())
```

```javascript
const url = 'https://api.aventure.vc/v1/provenance/42';
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.aventure.vc/v1/provenance/42"

	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.aventure.vc/v1/provenance/42")

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.aventure.vc/v1/provenance/42")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.aventure.vc/v1/provenance/42', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.aventure.vc/v1/provenance/42");
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.aventure.vc/v1/provenance/42")! 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()
```