# Generate a Source Citation Table for Evidence

**Use case:** 

Turn submitted evidence excerpts and URLs into deterministic citations, Markdown, source counts, warnings, and digests.

## Input

```json
{
  "schemaVersion": "1.0",
  "rows": [
    {
      "evidenceId": "evidence-001",
      "brandName": "Northstar Coffee",
      "eventType": "price_change",
      "observedAt": "2026-07-31T09:30:00Z",
      "sourceName": "Buyer newsroom note",
      "sourceUrl": "https://example.com/northstar-price-note",
      "excerpt": "The buyer-supplied note says the seasonal blend price changed on July 31."
    },
    {
      "evidenceId": "evidence-002",
      "brandName": "Northstar Coffee",
      "eventType": "product_launch",
      "observedAt": "2026-08-01T12:00:00Z",
      "sourceName": "Buyer product page",
      "sourceUrl": "https://example.com/northstar-seasonal",
      "excerpt": "The buyer-supplied excerpt describes a seasonal blend launch for August."
    },
    {
      "evidenceId": "evidence-003",
      "brandName": "Harbor Supply",
      "eventType": "campaign",
      "observedAt": "2026-08-02T15:45:00Z",
      "sourceName": "Buyer campaign brief",
      "sourceUrl": "https://example.com/harbor-campaign",
      "excerpt": "The buyer-supplied brief names a back-to-school campaign and its stated launch date."
    }
  ]
}
```

## Output

```json
{
  "schemaVersion": {
    "label": "Schema",
    "format": "text"
  },
  "reportType": {
    "label": "Report type",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "entityId": {
    "label": "Stable entity ID",
    "format": "text"
  },
  "observedAt": {
    "label": "Evidence boundary",
    "format": "date"
  },
  "confidenceScore": {
    "label": "Transform confidence",
    "format": "number"
  },
  "confidenceBand": {
    "label": "Confidence band",
    "format": "text"
  },
  "recommendedAction": {
    "label": "Recommended action",
    "format": "text"
  },
  "priority": {
    "label": "Review priority",
    "format": "text"
  },
  "safeToAutomate": {
    "label": "Safe to automate",
    "format": "boolean"
  },
  "summary": {
    "label": "Summary",
    "format": "text"
  },
  "partial": {
    "label": "Partial",
    "format": "boolean"
  },
  "dataGaps": {
    "label": "Data gaps",
    "format": "json"
  },
  "negativeSignals": {
    "label": "Warnings",
    "format": "json"
  },
  "billing": {
    "label": "Billing",
    "format": "json"
  },
  "totalRows": {
    "label": "Rows",
    "format": "number"
  },
  "citations": {
    "label": "Citations",
    "format": "json"
  },
  "citationMarkdown": {
    "label": "Markdown citations",
    "format": "text"
  },
  "hostCounts": {
    "label": "Host counts",
    "format": "json"
  },
  "sourceCounts": {
    "label": "Source counts",
    "format": "json"
  },
  "warnings": {
    "label": "Warnings",
    "format": "json"
  },
  "counts": {
    "label": "Counts",
    "format": "json"
  },
  "inputDigest": {
    "label": "Input SHA-256",
    "format": "text"
  },
  "citationsDigest": {
    "label": "Citations SHA-256",
    "format": "text"
  },
  "hostCountsDigest": {
    "label": "Hosts SHA-256",
    "format": "text"
  },
  "sourceCountsDigest": {
    "label": "Sources SHA-256",
    "format": "text"
  },
  "markdownDigest": {
    "label": "Markdown SHA-256",
    "format": "text"
  },
  "resultDigest": {
    "label": "Result SHA-256",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Source Citation Table Generator for Evidence](https://apify.com/zinin/us-brand-evidence-citation-table) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zinin/us-brand-evidence-citation-table) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zinin/us-brand-evidence-citation-table.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
