Skip to content

ActionSearchSource.type is claimed to be always be 'url', but can be 'api' #2636

Closed as duplicate

Description

@DouweM

The API docs and source code both claim that ActionSearchSource.type will always be 'url', but in fact it can be 'api' as well:

      - action:
          query: 'weather: Mexico, Mexico City'
          sources:
          - name: oai-weather
            type: api
          type: search
        id: ws_08313d91a201f39c0068c4ab69d5bc81958a568c6c8fa3b010
        status: completed
        type: web_search_call

Activity

  1. nightcityblade commented on May 21, 2026

    @nightcityblade
    Contributor

    Hi, I'd like to work on this. I'll submit a PR shortly.

  2. marcuswood-oai commented on Sep 15, 2026

    @marcuswood-oai
    Contributor

    Thanks for providing the response example. The released source type still assumes a URL source, leaving the reported type="api" / name shape unrepresented. The web-search guide also describes these specialized sources.

    We’re closing this as a duplicate of #2736, which tracks the complete field mismatch and links the proposed fix. Please follow that issue for progress; the shared schema correction is tracked in OpenAPI #573. The bug remains open there, and no released fix is being claimed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions