---
name: strata-api-diagnostics
description: "Diagnose STRATA API access, data, and integration failures."
version: 2.0.0
author: Hermes Agent (rebuild)
license: Proprietary site content
platforms: [linux, macos, windows]
metadata:
  hermes:
    tags: [STRATA, Cross-Platform, Operations, Verification]
    related_skills: []
---

# STRATA API Diagnostics

Use for diagnosing STRATA API issues across Eleven, AEInbox, SBMS, OneStrata, and VIEW programs.

## Core Resources

- **API Documentation:** https://api-docs.freewheel.tv/
- **Knowledge Hub:** https://hub.freewheel.tv/
- **SDK Docs:** https://hub.freewheel.tv/display/MUG/AdManager+SDK+API+Documentation

## Program API Areas

- **Eleven API:** Order management, schedule export, status tracking
- **AEInbox API:** Order receipt, redirecting, rejection, .scx/.xml export
- **SBMS API:** Scheduling modules (SPOT, Network, Print/Outdoor, Digital), Media Billing
- **OneStrata API:** Unified platform data, cross-media components
- **VIEW API:** Programmatic inventory, deal management, partner connectivity
- **Strata API:** Orders, vendor invoices, bills (cross-platform)

## Diagnostic Workflow

1. **Identify the program:** Eleven, AEInbox, SBMS, OneStrata, VIEW
2. **Identify the API component:** orders, schedules, billing, inventory, deals
3. **Check the request:**
   - Authentication (OneLogin, API keys, OAuth)
   - Request parameters and payload format
   - Endpoint URL and method
4. **Check response:**
   - HTTP status codes and error messages
   - Data structure mismatches
   - Rate limiting or throttling
5. **Cross-reference SDK docs** for correct payload formats
6. **Verify data integrity** in STRATA platform if API returns unexpected results

## Common API Issues by Program

- **Eleven:** Schedule export format, Hiatus Week/Day data transmission, order status sync
- **AEInbox:** Order redirect (AEInbox ↔ OneCONNECT), .scx/.xml save format errors
- **SBMS SPOT:** Station schedule export, Send to Eleven data format
- **SBMS Network:** Network-level schedule data, cross-market sync
- **SBMS Print/Outdoor:** OOH inventory data format, schedule export
- **SBMS Digital:** Digital rate data, inventory allocation
- **SBMS Media Billing:** Invoice format setup, client billing data, save draft
- **OneStrata:** Module navigation, unified data retrieval, cross-media sync
- **VIEW:** Inventory availability queries, deal activation API, partner API auth

## Output

Provide: program identified, API component analysis, root cause, remediation steps, and corrected request template if applicable.

## Inputs and Boundaries

- Require the account, environment, platform scope, identifiers, date range, requested operation, and source-system definitions.
- Establish the authoritative source, schema, timezone, currency, attribution window, and aggregation grain before comparison.
- Default to read-only inspection. Require explicit approval before changing campaign state, billing records, identities, routing, or integrations.
- Protect credentials, client data, audience data, financial data, and partner information.

## Failure Handling

- Record target, operation, timestamp, response status, error, source, and correlation ID when available.
- Distinguish authentication, permission, schema, identity, stale-data, dependency, timeout, and platform failures.
- Do not retry mutations blindly. Check current state and partial completion before retrying.
- Escalate critical incidents with customer impact, revenue risk, privacy risk, owner, and safe fallback.

## Verification

- Confirm every requested platform, record, period, and reconciliation dimension was checked.
- Preserve source totals and compare them with normalized or corrected totals.
- Read back approved changes from the authoritative system and verify downstream propagation.
- Report status, evidence, exceptions, assumptions, confidence, approvals, unresolved risks, and next actions.
