Skip to main content

Overview

Endpoint composition, service addresses, and calling conventions of the Flow Agent API

The Flow Agent API covers application invocation and Flow Agent component endpoints:
  • Application Invocation: call published agent and workflow applications through the DashScope application gateway. The base URL is https://{workspaceId}.cn-beijing.maas.aliyuncs.com, authenticated with an API Key bearer token.
  • Prompt templates, legacy long-term memory, and other components: belong to Bailian OpenAPI (service address bailian.{regionId}.aliyuncs.com), called with workspace-scoped paths and authenticated with AccessKey signatures.
The two endpoint families use different authentication methods; see Authentication for details. For error handling, see Error Codes.