Get timeline
get_timelineRead what is on a project's timeline: every item's id, type, track and timing, text and caption styling, a motion graphic's props, plus editRevision and editorUrl (the link to give your user to open it in the editor). Call this first when changing an existing video. Changing it beats a new render_video whenever the video is mostly right: nothing already made is generated again.
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": {
"pid": "<pid>"
},
"name": "get_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Keep only what is on the timeline at this second. Use it to find the item behind a moment. | |
| pid | Yes | Revid project id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| method | Yes | ||
| status | Yes | ||
| endpoint | Yes | ||
| retryAfterSeconds | No |