{
    "info": {
        "name": "Alertedly Intelligence API v1.1.3",
        "description": "Standardized Infrastructure for Competitive Intelligence. 25 Core Endpoints covering Company CRUD, Bulk Reports, 12-Channel Analytics, and Audio Summaries.",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://esbozmiiojxggkalhilg.supabase.co/functions/v1/api-v1"
        },
        {
            "key": "apiKey",
            "value": "aly_live_YOUR_KEY_HERE"
        }
    ],
    "item": [
        {
            "name": "System",
            "item": [
                {
                    "name": "Health Check",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/health"
                    }
                },
                {
                    "name": "Get API Usage Stats",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/usage?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "name": "Companies",
            "item": [
                {
                    "name": "List Tracked Companies",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/companies?status=portfolio&limit=50",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ]
                    }
                },
                {
                    "name": "Get Company Details",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/companies/:id",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ]
                    }
                },
                {
                    "name": "Track New Company",
                    "request": {
                        "method": "POST",
                        "url": "{{baseUrl}}/companies",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"name\": \"Example Inc\",\n  \"website\": \"https://example.com\",\n  \"status\": \"dealflow\"\n}"
                        }
                    }
                },
                {
                    "name": "Update Company",
                    "request": {
                        "method": "PUT",
                        "url": "{{baseUrl}}/companies/:id",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"name\": \"Updated Name\",\n  \"status\": \"portfolio\"\n}"
                        }
                    }
                },
                {
                    "name": "Remove Company",
                    "request": {
                        "method": "DELETE",
                        "url": "{{baseUrl}}/companies/:id",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ]
                    }
                },
                {
                    "name": "Convert Dealflow ↔ Portfolio",
                    "request": {
                        "method": "POST",
                        "url": "{{baseUrl}}/companies/:id/convert",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "name": "Reports",
            "item": [
                {
                    "name": "List All Reports",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/reports?limit=50",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ]
                    }
                },
                {
                    "name": "List Latest Reports (Bulk)",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/reports/latest?scope=all&limit=50",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ]
                    }
                },
                {
                    "name": "Get Specific Report",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/reports/:id",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ]
                    }
                },
                {
                    "name": "Get Latest Report Metadata",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/companies/:id/latest-report",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves only metadata for the most recent report of a company."
                    }
                },
                {
                    "name": "Get Voice Summary URL",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/voice-summary/:report_id",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "name": "Intelligence Channels",
            "item": [
                {
                    "name": "LinkedIn Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/linkedin/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly LinkedIn analysis for a specific company."
                    }
                },
                {
                    "name": "Twitter/X Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/twitter/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly Twitter/X analysis for a specific company."
                    }
                },
                {
                    "name": "Instagram Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/instagram/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly Instagram analysis for a specific company."
                    }
                },
                {
                    "name": "YouTube Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/youtube/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly YouTube analysis for a specific company."
                    }
                },
                {
                    "name": "TikTok Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/tiktok/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly TikTok analysis for a specific company."
                    }
                },
                {
                    "name": "Website Changes Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/website/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly Website Changes analysis for a specific company."
                    }
                },
                {
                    "name": "News & PR Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/news/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly News & PR analysis for a specific company."
                    }
                },
                {
                    "name": "Reddit Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/reddit/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly Reddit analysis for a specific company."
                    }
                },
                {
                    "name": "Careers Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/careers/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly Careers analysis for a specific company."
                    }
                },
                {
                    "name": "Meta Ads Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/meta-ads/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly Meta Ads analysis for a specific company."
                    }
                },
                {
                    "name": "Blog Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/blog/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly Blog analysis for a specific company."
                    }
                },
                {
                    "name": "Changelog Intelligence",
                    "request": {
                        "method": "GET",
                        "url": "{{baseUrl}}/channels/changelog/:company_id?days=30",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "description": "Retrieves weekly Changelog analysis for a specific company."
                    }
                }
            ]
        }
    ]
}