v2

latestSwagger 2.02026-07-13323879.9 KB
Consent

Gets a list of consents for the authenticated Speech service resource.

get/consents

Query parameters

skipinteger

The number of result items to skip.

maxpagesizeinteger

The maximum number of items to include in a single response.

filterstring

Filter condition.

  • Supported properties: projectId, createdDateTime, locale, kind
  • Operators:
    • eq, ne are supported for all properties.
    • gt, ge, lt, le are supported for createdDateTime.
  • Example:
    • filter=projectId eq 'Jessica' (filter by project ID)
    • filter=kind eq 'ProfessionalVoice' (filter project by kind)
    • filter=locale eq 'en-US' (filter training set and model by locale)
    • filter=createdDateTime gt 2022-12-30T23:59:59.99Z (filter resource created time after 2023-11-01)
api-versionstring required

The API version to use for this operation.

Response

Success

nextLinkstring uri

Link to next page.

Example response

{
  "value": [
    {
      "locale": "en-US"
    }
  ]
}