Agents
Smart agent & external agents
Use the in-app smart agent to turn a short brief into a scheduled post, or drive the same account from your own agent with the HTTP API (or MCP).
In-app smart agent
Open App → Agent. Describe what you want to post. The agent drafts copy, picks a time (default about an hour out), and schedules onto a connected channel—subject to your Cloud plan limits.
GET /v1/ai/agent?workspaceId=…— recent runs. CopyworkspaceIdfrom Settings.POST /v1/ai/agent— run with workspaceId, prompt, optional scheduleInMinutes
External agents via API
Mint a dk_ token, then have your agent:
- List channels with
GET /v1/accounts?workspaceId=… - Create a scheduled post with
POST /v1/posts(body includes workspaceId) - Confirm with
GET /v1/posts?workspaceId=…
Or skip the id on MCP: those tools inherit the token’s workspace and do not take a workspace id. MCP can also read posting rules and generate an image or a short video into the media library.
Plan limits match the UI: channel caps and AI quotas apply on Duskly Cloud the same way they do for a signed-in user.