- Authenticate API requests with your Sequentum API key.
- Open an Agent Builder session and describe the data you want.
- Poll until the build completes.
- Run the agent and download extracted data.
You’ll need a Sequentum account and an API key. Generate an API key from your Sequentum dashboard. Keys start with
sk-.1. Set your API key
2. Start an Agent Builder session
Describe the agent you want in plain language. Agent Builder will plan, build, and test it for you.sessionId. Agent Builder is now planning, executing, and testing on Sequentum’s side.
3. Wait for the build
PollGET /agent-builder/{sessionId}/status every few seconds until status is completed. The response then carries agentId — that’s your new Agent’s id.
4. Start a run
Start the agent asynchronously. The response returns a Run id you can poll.5. Wait for the run
Poll run status until the Run is finished.Completed and Success mean the Run finished successfully.
6. List output files
After the Run finishes, list its output files and choose a file to download.7. Download an output file
Download endpoints redirect to the file content. Follow redirects when saving the file.What’s next
Agent Builder sessions
Status polling, the agentId handoff, and stopping a build.
Schedule recurring runs
Attach a run-once, interval, or advanced schedule to any agent.
Run lifecycle
Statuses, stopping runs, and what every run produces.