web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How can I create an AP...
Copilot Studio
Unanswered

How can I create an API from the agent?

(0) ShareShare
ReportReport
Posted on by 4
Hi Team,
 
How can i create an API from the existing agent, I would like to integrate this API with my domain for a chatbot. Is this possible?
 
Regards,
Aneesh
I have the same question (0)
  • Artur Stepniak Profile Picture
    1,534 Super User 2025 Season 2 on at
    How can I create an API from the agent?
    Hello,
     
    what do you mean by creating an API from the existing agent? Could you please describe your case more precisely?
     
    Thanks,
     
    Artur Stepniak
  • AK-19110355-0 Profile Picture
    4 on at
    How can I create an API from the agent?
     I have developed a copilot that is integrated with a SharePoint site. Is it possible to retrieve responses from this copilot using Postman?
     
    Thanks 
    Aneesh
  • Suggested answer
    Artur Stepniak Profile Picture
    1,534 Super User 2025 Season 2 on at
    How can I create an API from the agent?
    Hello,
     
    currently there's no option to grab the responses when the bot is created in Copilot Studio. If you need this kind of functionality, I'd suggest you should create a chatbot in Azure AI Foundry (former Azure AI Studio) and then communicate with the model deployed. Here's a doc describing that: https://learn.microsoft.com/en-us/azure/ai-studio/what-is-ai-studio.
     
    In case of any other questions, let me know. If the answer is correct, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
  • AK-19110355-0 Profile Picture
    4 on at
    How can I create an API from the agent?
    Thank you for the update.
    Is it possible to integrate SharePoint with Azure AI Foundry? I don't see that option available.
     
    Regards,
    Aneesh
  • Suggested answer
    Artur Stepniak Profile Picture
    1,534 Super User 2025 Season 2 on at
    How can I create an API from the agent?
    Hello,
     
    the setup is a little bit more complicated, let me break it down:
    1. You need to create Azure AI Search resource and add a connection to it (see here: https://learn.microsoft.com/en-us/azure/ai-studio/how-to/connections-add).
    2. In AI Search, you should use Sharepoint indexer (https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online#limitations-and-considerations) - it's in preview and there's a statement that it's not guaranteed that it'll be GA.
    3. When the files from SP are indexed, the model can access them by using vector search.
     
    Overall, if you'd like to connect to the Sharepoint library, I'd recommend you to use Copilot Studio, even though you cannot use Postman.
     
    In case of any other questions, let me know. If the answer is correct, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 265 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 257 Super User 2025 Season 2

#3
Sam_Fawzi Profile Picture

Sam_Fawzi 84 Super User 2025 Season 2

Last 30 days Overall leaderboard