Choose an interface
Use the current API documentation to choose REST, Python SDK, CLI, or MCP for your environment. Confirm the endpoint and supported operations before implementing a workflow.
Limit credentials and spending
Create credentials with the access the workflow needs. Keep secrets outside source code and public briefs.
Configure budgets and review settings explicitly. A connected agent should not infer publication authority from permission to create a draft.
Read job results
An accepted request is not a completed video or article. Poll or use supported events to read the final status and inspect output.
On failure, check completed work and charges before retrying. Do not make an unlimited retry loop around a paid operation.
Keep the last decision clear
Use a distinct approval step for publishing or spending actions. Verify account identity, destination, and the version being approved.
Check the actual result after the operation. Provider errors, missing permissions, and expired connections require a recovery path.
