@@ -215,3 +215,53 @@ Platform API endpoints used:
215215
216216- [ GET /api/v2/conversations/{conversationId}/recordings] ( https://developer.genesys.cloud/devapps/api-explorer-standalone#get-api-v2-conversations--conversationId--recordings )
217217- [ GET /api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturl] ( https://developer.genesys.cloud/devapps/api-explorer-standalone#get-api-v2-speechandtextanalytics-conversations--conversationId--communications--communicationId--transcripturl )
218+
219+ ## OAuth Clients
220+
221+ ** Tool name:** ` oauth_clients `
222+
223+ Retrieves a list of all OAuth clients, including their associated roles and divisions. This tool is useful for auditing and managing OAuth clients in the Genesys Cloud organization.
224+
225+ [ Source file] ( /src/tools/oauthClients/oauthClients.ts ) .
226+
227+ ### Security
228+
229+ Required Permissions:
230+
231+ - ` oauth:client:view `
232+ - ` authorization:role:view `
233+ - Optional: Used to populate names of roles used by OAuth Client
234+
235+ Platform API endpoints used:
236+
237+ - [ GET /api/v2/oauth/clients] ( https://developer.genesys.cloud/devapps/api-explorer-standalone#get-api-v2-oauth-clients )
238+ - [ GET /api/v2/authorization/divisions] ( https://developer.genesys.cloud/devapps/api-explorer-standalone#get-api-v2-authorization-divisions )
239+ - [ GET /api/v2/authorization/roles] ( https://developer.genesys.cloud/devapps/api-explorer-standalone#get-api-v2-authorization-roles )
240+
241+ ## OAuth Client Usage
242+
243+ ** Tool name:** ` oauth_client_usage `
244+
245+ Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of requests per organization
246+
247+ [ Source file] ( /src/tools/oauthClientUsage/oauthClientUsage.ts ) .
248+
249+ ### Input
250+
251+ - ` oauthClientId `
252+ - The UUID of the OAuth Client to retrieve the usage for (e.g., 00000000-0000-0000-0000-000000000000)
253+ - ` startDate `
254+ - The start date/time in ISO-8601 format (e.g., '2024-01-01T00:00:00Z')
255+ - ` endDate `
256+ - The end date/time in ISO-8601 format (e.g., '2024-01-07T23:59:59Z')
257+
258+ ### Security
259+
260+ Required Permissions:
261+
262+ - ` usage:client:view `
263+
264+ Platform API endpoints used:
265+
266+ - [ POST /api/v2/oauth/clients/{clientId}/usage/query] ( https://developer.genesys.cloud/devapps/api-explorer-standalone#post-api-v2-oauth-clients--clientId--usage-query )
267+ - [ GET /api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}] ( https://developer.genesys.cloud/devapps/api-explorer-standalone#get-api-v2-oauth-clients--clientId--usage-query-results--executionId- )
0 commit comments