{
    "info": {
        "name": "VORTEX Check API",
        "description": "Coleção oficial da API VORTEX Check. Sistema de Defesa Cognitiva contra desinformação: fake news, imagens, vídeos, áudios, links e arquivos.\n\nGere sua API key em https://vortexcheck.ai/dashboard/api\n\nDocs: https://api.vortexcheck.ai/docs",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "_postman_id": "vortex-check-api-v1"
    },
    "auth": {
        "type": "bearer",
        "bearer": [
            { "key": "token", "value": "{{api_key}}", "type": "string" }
        ]
    },
    "variable": [
        { "key": "base_url", "value": "https://api.vortexcheck.ai", "type": "string" },
        { "key": "api_key", "value": "vx_live_xxx", "type": "string", "description": "Sua API key — gere em vortexcheck.ai/dashboard/api" }
    ],
    "item": [
        {
            "name": "Sistema",
            "item": [
                {
                    "name": "Health",
                    "request": {
                        "method": "GET",
                        "url": { "raw": "{{base_url}}/health", "host": ["{{base_url}}"], "path": ["health"] },
                        "auth": { "type": "noauth" }
                    }
                },
                {
                    "name": "Status (circuit breakers)",
                    "request": {
                        "method": "GET",
                        "url": { "raw": "{{base_url}}/api/status", "host": ["{{base_url}}"], "path": ["api", "status"] },
                        "auth": { "type": "noauth" }
                    }
                }
            ]
        },
        {
            "name": "Fake News",
            "item": [
                {
                    "name": "Verificar texto",
                    "request": {
                        "method": "POST",
                        "header": [{ "key": "Content-Type", "value": "application/json" }],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"claim\": \"Vacina contra COVID-19 altera o DNA humano.\"\n}"
                        },
                        "url": { "raw": "{{base_url}}/api/verify", "host": ["{{base_url}}"], "path": ["api", "verify"] }
                    }
                },
                {
                    "name": "Verificar URL",
                    "request": {
                        "method": "POST",
                        "header": [{ "key": "Content-Type", "value": "application/json" }],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"url\": \"https://g1.globo.com/exemplo-noticia\"\n}"
                        },
                        "url": { "raw": "{{base_url}}/api/verify-url", "host": ["{{base_url}}"], "path": ["api", "verify-url"] }
                    }
                },
                {
                    "name": "Histórico de verificações",
                    "request": {
                        "method": "GET",
                        "url": {
                            "raw": "{{base_url}}/api/history?limit=20&offset=0",
                            "host": ["{{base_url}}"],
                            "path": ["api", "history"],
                            "query": [
                                { "key": "limit", "value": "20" },
                                { "key": "offset", "value": "0" }
                            ]
                        }
                    }
                }
            ]
        },
        {
            "name": "Imagens",
            "item": [
                {
                    "name": "Analisar imagem (multipart)",
                    "request": {
                        "method": "POST",
                        "header": [],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                { "key": "file", "type": "file", "src": [] }
                            ]
                        },
                        "url": { "raw": "{{base_url}}/api/image/analyze", "host": ["{{base_url}}"], "path": ["api", "image", "analyze"] }
                    }
                },
                {
                    "name": "Analisar imagem (URL via JSON)",
                    "request": {
                        "method": "POST",
                        "header": [{ "key": "Content-Type", "value": "application/json" }],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"url\": \"https://exemplo.com/imagem.jpg\"\n}"
                        },
                        "url": { "raw": "{{base_url}}/api/image/analyze-json", "host": ["{{base_url}}"], "path": ["api", "image", "analyze-json"] }
                    }
                },
                {
                    "name": "Analisar imagem (base64 via JSON)",
                    "request": {
                        "method": "POST",
                        "header": [{ "key": "Content-Type", "value": "application/json" }],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"base64\": \"data:image/jpeg;base64,/9j/4AAQSkZJRgABA...\",\n  \"filename\": \"foto.jpg\"\n}"
                        },
                        "url": { "raw": "{{base_url}}/api/image/analyze-json", "host": ["{{base_url}}"], "path": ["api", "image", "analyze-json"] }
                    }
                },
                {
                    "name": "Histórico de imagens",
                    "request": {
                        "method": "GET",
                        "url": { "raw": "{{base_url}}/api/image/history?limit=20", "host": ["{{base_url}}"], "path": ["api", "image", "history"], "query": [{ "key": "limit", "value": "20" }] }
                    }
                }
            ]
        },
        {
            "name": "Vídeos",
            "item": [
                {
                    "name": "Analisar vídeo (multipart)",
                    "request": {
                        "method": "POST",
                        "body": {
                            "mode": "formdata",
                            "formdata": [{ "key": "file", "type": "file", "src": [] }]
                        },
                        "url": { "raw": "{{base_url}}/api/video/analyze", "host": ["{{base_url}}"], "path": ["api", "video", "analyze"] }
                    }
                },
                {
                    "name": "Analisar vídeo (URL via JSON)",
                    "request": {
                        "method": "POST",
                        "header": [{ "key": "Content-Type", "value": "application/json" }],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"url\": \"https://exemplo.com/video.mp4\"\n}"
                        },
                        "url": { "raw": "{{base_url}}/api/video/analyze-json", "host": ["{{base_url}}"], "path": ["api", "video", "analyze-json"] }
                    }
                }
            ]
        },
        {
            "name": "Áudios",
            "item": [
                {
                    "name": "Analisar áudio (multipart)",
                    "request": {
                        "method": "POST",
                        "body": {
                            "mode": "formdata",
                            "formdata": [{ "key": "file", "type": "file", "src": [] }]
                        },
                        "url": { "raw": "{{base_url}}/api/audio/analyze", "host": ["{{base_url}}"], "path": ["api", "audio", "analyze"] }
                    }
                },
                {
                    "name": "Analisar áudio (URL via JSON)",
                    "request": {
                        "method": "POST",
                        "header": [{ "key": "Content-Type", "value": "application/json" }],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"url\": \"https://exemplo.com/audio.mp3\"\n}"
                        },
                        "url": { "raw": "{{base_url}}/api/audio/analyze-json", "host": ["{{base_url}}"], "path": ["api", "audio", "analyze-json"] }
                    }
                }
            ]
        },
        {
            "name": "Links",
            "item": [
                {
                    "name": "Analisar link",
                    "request": {
                        "method": "POST",
                        "header": [{ "key": "Content-Type", "value": "application/json" }],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"url\": \"https://exemplo-suspeito.com\"\n}"
                        },
                        "url": { "raw": "{{base_url}}/api/link/analyze", "host": ["{{base_url}}"], "path": ["api", "link", "analyze"] }
                    }
                }
            ]
        },
        {
            "name": "Arquivos",
            "item": [
                {
                    "name": "Analisar arquivo (multipart)",
                    "request": {
                        "method": "POST",
                        "body": {
                            "mode": "formdata",
                            "formdata": [{ "key": "file", "type": "file", "src": [] }]
                        },
                        "url": { "raw": "{{base_url}}/api/file/analyze", "host": ["{{base_url}}"], "path": ["api", "file", "analyze"] }
                    }
                },
                {
                    "name": "Analisar arquivo (URL via JSON)",
                    "request": {
                        "method": "POST",
                        "header": [{ "key": "Content-Type", "value": "application/json" }],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"url\": \"https://exemplo.com/documento.pdf\"\n}"
                        },
                        "url": { "raw": "{{base_url}}/api/file/analyze-json", "host": ["{{base_url}}"], "path": ["api", "file", "analyze-json"] }
                    }
                }
            ]
        }
    ]
}
