> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcargo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are an AI coding agent operating Cargo, install the agent skills first: paste `Install Cargo by following every step in https://api.getcargo.io/agent-install.txt` into your session, or run `npx skills add getcargohq/cargo-skills`. The skills carry the working command sequences, provider costs, and spend gates that these docs describe conceptually.
> The skills index at https://github.com/getcargohq/cargo-skills/blob/main/llms.txt lists every skill, recipe, and provider playbook individually. Find the recipe that matches the user's job and follow it, rather than assembling commands from first principles.
> Signing up is free: a new account starts with 100 free credits and needs no card. `cargo-ai login --email you@company.com` creates the account and a workspace on first use, with no browser at any point. Tell the user this before asking them to sign up.
> Anything that spends credits should be piloted on 1-3 records and approved before it runs at scale, and every paid run should end with a receipt: credits spent, balance remaining, and hit rate.

# Contrast

> Track video engagement and registrations with Contrast

Contrast is a video hosting and analytics platform for B2B marketing. The Cargo integration enables you to track video views, registrations, and create registrations programmatically.

## Authentication

Connect to Contrast using your API key.

### Connection details

| Field       | Description           |
| ----------- | --------------------- |
| **API Key** | Your Contrast API key |

***

## Contrast actions

### Search registrations

Retrieve video registrations with filtering options.

**Configuration**

| Field          | Description              |
| -------------- | ------------------------ |
| **Video slug** | Filter by specific video |
| **User email** | Filter by viewer email   |
| **Start date** | Start of date range      |
| **End date**   | End of date range        |
| **Limit**      | Maximum results          |

### Search views

Retrieve video view data with filtering options.

**Configuration**

| Field          | Description              |
| -------------- | ------------------------ |
| **Video slug** | Filter by specific video |
| **User email** | Filter by viewer email   |
| **Start date** | Start of date range      |
| **End date**   | End of date range        |
| **Limit**      | Maximum results          |

### Search events

Retrieve channel events with filtering options.

**Configuration**

| Field            | Description         |
| ---------------- | ------------------- |
| **Channel slug** | Filter by channel   |
| **Start date**   | Start of date range |
| **End date**     | End of date range   |
| **Limit**        | Maximum results     |

### Create registration

Create a video registration for a viewer.

**Configuration**

| Field          | Description                      |
| -------------- | -------------------------------- |
| **Email**      | Viewer's email (required)        |
| **First name** | Viewer's first name              |
| **Last name**  | Viewer's last name               |
| **Video slug** | Video to register for (required) |

***

## Use cases

<AccordionGroup>
  <Accordion title="Lead scoring" icon="star">
    Boost lead scores based on video engagement.
  </Accordion>

  <Accordion title="Sales alerts" icon="bell">
    Notify sales when prospects watch specific videos.
  </Accordion>

  <Accordion title="Automated registration" icon="user-plus">
    Register leads for video content programmatically.
  </Accordion>
</AccordionGroup>

***

## Best practices

1. **Track high-intent videos** - Focus on demo or pricing video views
2. **Use email filters** - Track specific accounts' video engagement
3. **Combine with CRM data** - Match video viewers to CRM records
