Analyze retention scene by scene
assets_analyzeRun a scene-by-scene retention analysis of a workspace asset and receive a Sigmora Score.
200 credits.
RESULT CONTRACT: Returns one durable jobId (kind media.analysis). Poll GET /v1/jobs/{jobId}; done is the only successful terminal state, and a failed run is refunded. While this asset already has an analysis queued or running, the call returns that job with credits: 0.
ASYNC: answers with { jobId }, NOT the result. Read it with the jobs_get tool until status is done, cancelled, failed or qa_failed. status: "awaiting_review" means a person must approve the cut before anything renders — polling will never advance it, so tell the user rather than waiting.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"assetId": "<assetId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "assets_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | The `assetId` this call acts on. | |
| projectId | Yes | The project to file this work under. Required — create one with the `projects_create` tool. A project this workspace does not own answers `not_found`; the work is never silently filed somewhere else. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||