Skip to content

Update invocations_ws endpoints to GA path-based routing #9076

Description

@yulin-li
  • Make sure you've installed the latest version using instructions

Output from azd version
N/A — this tracks an endpoint format update in the azure.ai.agents extension.

Describe the bug
azd deploy registers, and azd ai agent show displays, the preview invocations_ws dispatcher URL with project_name and agent_name query parameters. The Foundry GA contract uses path-based routing instead.

To Reproduce

  1. Deploy a hosted agent that declares the invocations_ws protocol.
  2. Run azd ai agent show.
  3. Observe Endpoint (invocations_ws) using /api/projects/agents/endpoint/protocols/invocations_ws?project_name=...&agent_name=....

Expected behavior
The endpoint uses the GA route:

wss://<account>.services.ai.azure.com/api/projects/<project>/agents/<agent>/endpoint/protocols/invocations_ws?api-version=v1

Environment
N/A

Additional context
Foundry API specification: https://github.com/coreai-microsoft/foundrysdk_specs/pull/221

The preview dispatcher route currently remains active in at least one live environment, but it is not part of the GA contract and callers should migrate to the path-based URL.

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