{
    "$schema": "./provider-rules.schema.json",
    "id": "transport",
    "transport": {
        "anthropic": {
            "auth": {
                "scheme": "header",
                "header": "x-api-key",
                "clear": ["authorization"]
            }
        },
        "azure": { "auth": { "scheme": "header", "header": "api-key" } },
        "cloudflare-clef": {
            "defaultBaseURL": "https://api.cloudflare.com/client/v4",
            "auth": { "scheme": "bearer" }
        },
        "cohere": {
            "defaultBaseURL": "https://api.cohere.com/compatibility/v1",
            "auth": { "scheme": "bearer" }
        },
        "ideogram": { "defaultBaseURL": "https://api.ideogram.ai" },
        "jina": {
            "defaultBaseURL": "https://api.jina.ai/v1",
            "auth": { "scheme": "bearer" }
        },
        "litellm": {
            "defaultBaseURL": "http://localhost:4000",
            "auth": { "scheme": "bearer" }
        },
        "llamacpp": { "defaultBaseURL": "http://localhost:8080/v1" },
        "lm-studio": {
            "defaultBaseURL": "http://localhost:1234/v1",
            "auth": { "scheme": "bearer" }
        },
        "nvidia-nim": { "defaultBaseURL": "https://integrate.api.nvidia.com/v1" },
        "ollama": { "defaultBaseURL": "http://localhost:11434/v1" },
        "openai": {
            "defaultBaseURL": "https://api.openai.com/v1",
            "auth": { "scheme": "bearer" }
        },
        "openai-compatible": { "auth": { "scheme": "bearer" } },
        "openrouter": { "defaultBaseURL": "https://openrouter.ai/api/v1" },
        "perplexity-decider": {
            "defaultBaseURL": "https://api.perplexity.ai",
            "auth": { "scheme": "bearer" }
        },
        "recraft": {
            "defaultBaseURL": "https://external.api.recraft.ai/v1",
            "auth": { "scheme": "bearer" }
        },
        "stability": {
            "defaultBaseURL": "https://api.stability.ai",
            "auth": { "scheme": "bearer" }
        },
        "typesafe": {
            "defaultBaseURL": "https://api.typesafe.ai",
            "auth": { "scheme": "bearer" }
        },
        "voyage": {
            "defaultBaseURL": "https://api.voyageai.com/v1",
            "auth": { "scheme": "bearer" }
        }
    },
    "vertexHosts": {
        "global": "https://aiplatform.googleapis.com",
        "regional": "https://{location}-aiplatform.googleapis.com"
    },
    "topicNotes": {
        "transport": "Where each provider sends requests when no base URL is configured, and how it presents its key. bearer sends Authorization: Bearer <key>; header sends the key in the named header, and clear sends those headers as null so an SDK default (Anthropic's Authorization) is dropped. openai-compatible covers every OpenAI-wire subclass and catalog provider. Ideogram, llama.cpp, NIM, Ollama and OpenRouter have no auth entry because their key goes through a client or header that is built elsewhere.",
        "vertexHosts": "The Vertex AI REST host: global has no region prefix; any other location is prefixed onto the host. The Google access token sent with it stays code (named hook vertex.googleAccessToken): it is fetched from Google auth at request time."
    }
}
