Skip to content

OpenRouter - How to specify app title and referer #2902

@raphael-ignifai

Description

@raphael-ignifai

Question

Hello,

Is there a way to specify openrouter app title and referer for tracking purposes ?
It looks like this :
"extra_headers": {"HTTP-Referer": "https://my.domain.dev", "X-Title": "some_title"}

Thanks

Additional Context

pydantic-ai==1.0.5
Python 3.12.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions