Skip to main content
POST
/
api
/
v1
/
agent-builder
/
start
cURL
curl https://dashboard.sequentum.com/api/v1/agent-builder/start \
  -H "Authorization: ApiKey $SEQUENTUM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Build an agent that extracts product names and prices from example.com.",
    "spaceId": 42
  }'
{
  "sessionId": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authorization header. Example: "Authorization: ApiKey {your-api-key}"

Authorization
string
header
required

OAuth 2.0 Bearer token. Example: "Authorization: Bearer {access-token}"

Body

application/json

The prompt and optional space to save to

Request to start an agent building session via the external API.

prompt
string
required

Natural language prompt describing the automation to build. Must be between 10 and 5000 characters (trimmed).

Required string length: 10 - 5000
spaceId
integer<int32> | null

Optional space ID to save the agent to. Uses the default space if omitted.

Response

OK

Response when starting an agent build session via the external API.

sessionId
string
required

Session ID to use for status polling and subsequent calls.

Minimum string length: 1