Returns the assets in the session's Editor strip, oldest first (the newest 200), each with webUrl opening the editor on it, plus the editor's running edits as processes. Uses the processes:read scope.
Authorization
bearerAuth processes:readIn: header
Scope: processes:read
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/sessions/string/editor"{ "sessionId": "string", "items": [ { "asset": { "id": "string", "type": "image", "name": "string", "url": "http://example.com", "thumbnailUrl": "http://example.com", "preview": { "url": "http://example.com", "width": 0, "height": 0, "mimeType": "string" }, "width": 0, "height": 0, "duration": 0, "mimeType": "string", "source": "string", "sourceProcessId": "string", "prompt": "string", "model": "string", "trainingId": "string", "draft": { "finishableUntil": "2019-08-24T14:15:22Z", "finishResolutions": [ 1080 ] }, "favorite": true, "sessionId": "string", "libraryFolderIds": [ "string" ], "createdBy": "string", "metadata": { "property1": "string", "property2": "string" }, "testMode": true, "webUrl": "http://example.com", "createdAt": "2019-08-24T14:15:22Z", "links": { "self": "string" } }, "addedAt": "2019-08-24T14:15:22Z", "webUrl": "http://example.com" } ], "running": [ { "id": "string", "type": "string", "status": "queued", "model": "string", "trainingId": "string", "draft": { "finishableUntil": "2019-08-24T14:15:22Z", "finishResolutions": [ 1080 ] }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "estimatedCompletionSeconds": 0, "suggestedPollAfterSeconds": 0, "progress": { "elapsedSeconds": 0, "estimatedSecondsRemaining": 0 }, "creditsEstimated": 0, "creditsUsed": 0, "refunded": true, "error": { "code": "string", "message": "string" }, "input": {}, "outputs": [ { "type": "image", "assetId": "string", "url": "http://example.com", "thumbnailUrl": "http://example.com", "preview": { "url": "http://example.com", "width": 0, "height": 0, "mimeType": "string" }, "width": 0, "height": 0, "duration": 0, "mimeType": "string" } ], "metadata": { "property1": "string", "property2": "string" }, "sessionId": "string", "createdBy": "string", "testMode": true, "webUrl": "http://example.com", "links": { "self": "string" } } ], "webUrl": "http://example.com"}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}Get a session's canvas GET
Returns the session's node canvas: every card (node) with its settings, ports, latest versions and selected output, the wires (edges) between cards, and the LLM models a text-gen card can use. Every session has a canvas; exists is false until a card is added or the canvas is opened in the web app, and nodes is then empty. Lists the three newest versions per card; GET a node for all of them. Hidden or cross-team sessions return not_found. Uses the processes:read scope.
Get a web app link GET
A link that opens the session in the Yapper web app, optionally on one tool, fullscreen. With view=editor, assetId opens that image or video (adding it to the strip) and editorTab opens a panel. With view=session, folderId or folderPath opens it on that workspace folder, selected. For a timeline, timelineExists false means the session has none yet. Uses the processes:read scope.