Generated by API Evangelist
Written by API Evangelist tooling for Microsoft Azure AI Foundry's API. It is a proposal applied on top of the contract, not a document Microsoft Azure AI Foundry publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Azure AI Face DetectLiveness Sessions API
version: 1.0.0
extends: openapi/azure-ai-foundry-detectliveness-sessions-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/detectLiveness-sessions'].post
update:
x-apievangelist-phrasing:
intent: Create a detect-liveness session for a device
effect: write
questions:
- How do I let a client device run liveness detection without full access?
- Can I set a custom lifetime for a detect-liveness session token?
instructions:
- text: Create a detect-liveness session in mode {mode}.
slots:
mode: requestBody.livenessOperationMode
- text: Create a detect-liveness session with a lifetime of {ttl} seconds.
slots:
ttl: requestBody.authTokenTimeToLiveInSeconds
method: generated
generated: '2026-11-18'
- target: $.paths['/detectLiveness-sessions/{sessionId}'].get
update:
x-apievangelist-phrasing:
intent: Get the result of a detect-liveness session
effect: read
questions:
- Did the liveness check pass for a session?
- Where do I read the result of a detect-liveness call?
instructions:
- text: Get the result of detect-liveness session {session}.
slots:
session: path.sessionId
- text: Show whether session {session} passed liveness.
slots:
session: path.sessionId
method: generated
generated: '2026-11-18'
- target: $.paths['/detectLiveness-sessions/{sessionId}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a detect-liveness session
effect: destructive
questions:
- How do I revoke a client's detect-liveness session?
- Does deleting a session block future requests with its token?
instructions:
- text: Delete detect-liveness session {session}.
slots:
session: path.sessionId
- text: Revoke the session auth token for {session}.
slots:
session: path.sessionId
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.