Skip to main content

Export API

Export your account data including profile information, agents, scheduled tasks, and workflows.

Export user data

Requires session authentication. Returns all data associated with your account as a downloadable JSON file.

Response headers

HeaderValueDescription
Content-Typeapplication/jsonJSON format
Content-Dispositionattachment; filename="agentbot-export-<id>-<date>.json"Triggers a file download. The filename includes a truncated user ID and the current date.
Cache-Controlno-storeResponse is never cached

Response

Response fields

FieldTypeDescription
exportedAtstringISO 8601 timestamp of when the export was generated
versionstringExport format version
userobjectYour account profile
user.idstringUser ID
user.emailstringEmail address
user.namestring | nullDisplay name
user.planstring | nullSubscription plan (for example solo, collective, label, network)
user.rolestringAccount role
user.referralCodestring | nullYour referral code
user.referralCreditsnumberAccumulated referral credits
agentsarrayAll agents owned by you
agents[].idstringAgent ID
agents[].namestringAgent name
agents[].modelstringAI model used by the agent
agents[].statusstringCurrent agent status
agents[].createdAtstringISO 8601 creation timestamp
agents[].updatedAtstringISO 8601 last update timestamp
scheduledTasksarrayAll scheduled tasks owned by you
scheduledTasks[].idstringTask ID
scheduledTasks[].namestringTask name
scheduledTasks[].cronSchedulestringCron expression for the schedule
scheduledTasks[].enabledbooleanWhether the task is enabled
scheduledTasks[].createdAtstringISO 8601 creation timestamp
workflowsarrayAll workflows owned by you
workflows[].idstringWorkflow ID
workflows[].namestringWorkflow name
workflows[].enabledbooleanWhether the workflow is enabled
workflows[].createdAtstringISO 8601 creation timestamp

Errors

CodeDescription
401Unauthorized — no valid session
500Export failed. The response includes an error field and a message field with details.