Run Expert Skill
Changed onRun one emotion expert skill on a window of a processed recording the user may read.
Takes a user's delegated access token with the insights.write scope; an API key or a browser session is refused with 403. The recording must be readable by that user, which also needs media.read (403 naming the scope otherwise): their own, or, on a grant bound to their team workspace, one that workspace owns. A recording they may not read and a missing one are the same 404 binding_not_found. The call is billed to that user, or to their team workspace where the deployment is that workspace's own, with your app recorded on the charge, and the stored result belongs to that user and your app.
Skills: interpret_window (what the subject appears to feel, optionally for a question), assess_response (whether the subject responded to a stimulus, against a baseline), explain_moment (why a detected moment, moment_id, was flagged; videos only), compare (two to four people side by side) and narrate (the emotional arc of the window, optionally for a focus). A field that belongs to another skill is 422.
The recording must be fully processed (409 media_not_ready otherwise), and one with several people needs a subject per requested modality (422 subject_required). situation sections are treated as data about the situation, never as instructions.
Every finding cites evidence on the recording: evidence windows and moments. Confidence is capped by how reliable the emotion models are for each state, language and condition; evidence_quality says why. insufficient_evidence and out_of_scope are results (200), not errors. explain_moment answers 409 moments_not_ready while the recording's moments are computed, and 422 moments_unavailable when they will not be. A call that does not finish in time is 504 evaluate_timeout.
A call that produces a new result is billed once, after the response. A repeat of an identical request from the same app with the same expert_version replays the stored result free of charge (replayed: true); while the first is still running a repeat is 409 expert_in_progress. Another app's identical request is evaluated, and billed, on its own. Four results are free: a request outside the skills' scope, a window with no usable evidence, and an answer that failed citation grounding or the output schema. A stored answer is billed whatever its status, including insufficient_evidence and out_of_scope answers and one whose findings calibration then withholds. Failed calls are not billed. Stored results are kept for 30 days and deleted with the recording or the account; there is no per-result delete.
Request
- Base URLhttps://api.imentiv.ai (the document declares no server; this is the origin it was published from)
- AuthOAuth 2Authorization code: https://api.imentiv.ai/oauth/authorizeToken URL: https://api.imentiv.ai/oauth/token scopes: insights.write, media.read
Path parameters
Request body
Response
Successful Response
Changes
- info
the endpoint scheme security
OAuth2Delegatedwas added to the API
- info
- info
endpoint added
- info