API Reference
Read the shortest path to authenticate, submit a request, and interpret a response.
Use this bundle to review API access, integration steps, validation evidence, release versions, and the trust pages tied to the product.
Read the shortest path to authenticate, submit a request, and interpret a response.
Start with the SCOP customer shape using use case, context, and metrics. Use the legacy vector example only for advanced direct-runtime integrations.
A minimal server-side request example for EvaluatorDPT. Keep the key out of browser code and send it from a trusted backend.
$headers = @{
"Ocp-Apim-Subscription-Key" = "<YOUR_SUBSCRIPTION_KEY>"
"Content-Type" = "application/json"
}
$body = @{ texts = @("The World is Beautiful") } | ConvertTo-Json -Depth 6
Invoke-RestMethod -Method POST -Uri "https://api.smsquared.ai/v1/predict" -Headers $headers -Body $body