What’s included in the specs
Each specification file contains:- Endpoint paths with HTTP methods
- Request body schemas with property types, descriptions, and required fields
- Response schemas with full object structures
- Example payloads for request bodies
- Path and query parameters with types and descriptions
Using specs with AI assistants
Claude Projects
- Create a new Claude Project
- Upload the relevant OpenAPI YAML files to the project knowledge
- Ask Claude to generate API calls, write integration scripts, or explain endpoint behavior
Custom GPTs
- Go to ChatGPT and create a new GPT
- Upload the spec files under Knowledge
- Instruct the GPT to use the Everflow API specs to answer questions and generate code
Cursor / VS Code
The spec files are already integrated into these docs. Use the Open in Cursor or Open in VS Code buttons on any endpoint page to load the spec directly into your editor with AI context.Using specs with agent frameworks
LangChain
Generic HTTP agent
Any framework that supports OpenAPI tool definitions can use the specs directly. The key fields an agent needs:| Field | Location in spec | Example |
|---|---|---|
| Base URL | servers[0].url | https://api.eflow.team/v1 |
| Authentication | security | X-Eflow-API-Key header |
| Endpoints | paths | /networks/reporting/entity/table |
| Request format | requestBody.content.application/json.schema | JSON schema with types |
| Required fields | schema.required | [from, to, timezone_id, currency_id, columns] |
| Examples | requestBody.content.application/json.example | Pre-filled JSON payloads |
Spec files by API
The specifications are organized by resource:Network API
| Resource | Spec file | Key endpoints |
|---|---|---|
| Reporting: Aggregated | reporting-aggregated.yaml | Entity tables, summaries, variance, post-conversions, MTTI |
| Reporting: Clicks | reporting-clicks.yaml | Click details, click stream |
| Reporting: Conversions | reporting-conversions.yaml | Search, create, update, upload conversions |
| Reporting: Dashboard | reporting-dashboard.yaml | Dashboard summary |
| Reporting: Events | reporting-events.yaml | Post-conversion events per transaction |
| Reporting: Impressions | reporting-impressions.yaml | Impression stream, invalid clicks |
| Reporting: On-Hold | reporting-onhold.yaml | On-hold conversion search and management |
| Reporting: Postbacks | reporting-postbacks.yaml | Affiliate and advertiser pixel logs |
| Reporting: Transactions | reporting-transactions.yaml | Transaction overview and flowchart |
| Reporting: Adjustments | reporting-adjustments.yaml | Adjustments and refunds |
| Reporting: Caps | reporting-caps.yaml | Offer, offer group, and custom caps |
| Reporting: Misc | reporting-misc.yaml | Currency rates, referrals |
| Reporting: Exports | reporting-exports.yaml | CSV/JSON exports for reports |
| Offers | offers.yaml | Create, update, list, get offers |
| Offer Extras | offers-extras.yaml | Bulk edit, copy, tracking URLs, payout/revenue config |
| Affiliates | affiliates.yaml | Create, update, list, get affiliates |
| Advertisers | advertisers.yaml | Create, update, list, get advertisers |
| Creatives | creatives.yaml | Create, update, list creatives |
| Smart Links | smart-links.yaml | Create, update, list smart links |
| Offer URLs | offer-urls.yaml | Create, update, list offer URLs |
| Offer Groups | offer-groups.yaml | Create, update, list offer groups |
| Coupon Codes | coupon-codes.yaml | Create, update, list coupon codes |
| Partner Postbacks | partner-postbacks.yaml | Create, update, list postbacks |
| Custom Payout/Revenue | custom-payout-revenue.yaml | Custom partner-level payouts |
| Custom Caps | custom-caps.yaml | Custom partner-level caps |
| Custom Scrub Rates | custom-scrub-rates.yaml | Custom throttle settings |
| Traffic Controls | traffic-controls.yaml | Whitelist/blacklist rules |
| Webhooks | webhooks.yaml | Create and manage webhooks |
Affiliate API
| Resource | Spec file | Key endpoints |
|---|---|---|
| Offers | affiliate-offers.yaml | List offers, generate tracking URLs |
| Reporting | affiliate-reporting.yaml | Aggregated data, conversions, clicks |
| Postbacks | affiliate-postbacks.yaml | Create and manage postbacks |
Advertiser API
| Resource | Spec file | Key endpoints |
|---|---|---|
| Offers | advertiser-offers.yaml | List offers |
| Reporting | advertiser-reporting.yaml | Entity reporting, conversions |
