You can use the GET /{environmentId}/saml20/metadata/{applicationId} operation to retrieve SAML metadata for the application specified by its ID in the request URL.