elmir
elmir

Reputation: 97

Is it possible to create agents via the API?

So I've been reviewing the DialogFlow documentation and wondering if it's possible to use the API fully programmatically and create agents via the API as well? A sample use case being the user on my platform being to able to create their own bot. I'm not able to find the functionality listed in their docs and wanted to double check with the community here.

Upvotes: 4

Views: 2018

Answers (2)

Anthony V
Anthony V

Reputation: 2227

You can now create and update agents with the API. See the REST and RPC documentation.

Upvotes: 3

Robert Levy
Robert Levy

Reputation: 29073

You can’t create an agent through the API but once it’s been created in the UI it can be edited through the API. Users will need to grant your service account the dialogflow editor IAM role and then tell you their project ID.

Upvotes: 2

Related Questions