Share via


Create REST API actions for custom agents

Important

This content is archived and is not being updated. For the latest documentation, go to What's new in Copilot Studio. For the latest release plans, go to Dynamics 365, Power Platform, and Cloud for Industry release plans.

Enabled for Public preview General availability
Users, automatically Oct 14, 2024 Nov 15, 2024

Business value

Makers will now be able to access data in source systems using REST APIs when using custom agents. This eliminates the time and effort needed to create custom connectors for each data source they wish to enable. These actions can be created natively in the custom agent creation experiences and require no code.

Feature details

This feature will allow the use of the Microsoft Copilot Studio to extend Copilots using REST APIs and provides a no-code approach to accessing data sources that do not have a connector. No action needs to be taken to enable this feature. It will appear automatically in the agent authoring experience in Microsoft Copilot Studio. Select Add action, and in the New action dropdown the option for REST API will be available.

Makers will need to provide an API specification, swagger, or manifest file as an upload, which will then be used to create the action. At this time all created actions will support only REST API 2.0, if a 3.0 API is uploaded, Copilot Studio will attempt to downgrade it to a 2.0. Makers will need to provide authentication details (using Noauth/Auth2.0) which may involve multiple specific configuration and secret values. They can then select the actions they wish to include and publish the action as a part of the agent authoring experience. All created actions will be available for use within the tenant the maker created it in.

Additional authentication methods will be available at a later date

A screenshot showing the REST API option in the Custom Agent creation experience

Additional resources

Extend an agent with REST API actions (preview) (docs)