Developer Docs

FC API docs for reports, risk, and decision workflows.

Use the console to sign in, review reports, and access the latest FC docs. Production API access is managed through your FC account workflow.

Reports

Search report metadata, fetch report detail, and connect reports into internal workflows.

Risk

Read country risk, action cards, and country guides from the same monitored dataset.

Decisioning

Use agent workflows and the simulator to support review, approvals, and scenario analysis.

Access

Current access model

1. Open Console and sign in.

2. Use the in-app docs and reports library to explore routes and sample responses.

3. Account-based API access is managed through your FC setup workflow.

What to do first

Open Console

Sign in

Open Docs

Review reports endpoints

Connect your workflow

Quickstart

  1. Open the FC console and sign in.
  2. Browse reports in Reports.
  3. Use GET /api/docs/trade to read report metadata.
  4. Use GET /api/country-risk and GET /api/action-cards for monitoring.
  5. Use POST /api/simulator/analyze for scenario analysis.

Reports API

GET

/api/docs/trade

List FC reports with optional query filters.

GET /api/docs/trade
GET /api/docs/trade?q=US
GET /api/docs/trade?country=USA
GET /api/docs/trade?tag=customs
GET

/api/docs/trade/[slug]

Fetch one FC report by slug.

GET /api/docs/trade/mofcom-united-states-trade-guide-en

Risk And Cards

/api/action-cards

Read action cards with filtering by country, severity, and topic.

/api/country-risk

Return country risk rows with expanded top cards and risk scores.

/api/country-guide

Return country-level summary objects for quick operational review.

Decisioning

/api/agent/run

Process one policy record into draft structured outputs and downstream review artifacts.

/api/agent/run-pending

Batch-process pending rows into action cards and connected workflows.

Simulator

POST

/api/simulator/analyze

Run scenario analysis using existing action cards and monitored country data.

{
  "countries": "CHN,USA",
  "hs_codes": "1001,1002",
  "objective": "Reduce customs disruption risk",
  "product": "Wheat imports",
  "current_incoterm": "FOB",
  "analysis_depth": "standard"
}