Skip to main content
POST
Create Parent Agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
agent_name
string
required

Human-readable parent agent name. The stored action key is created from this value by converting spaces to underscores and lowercasing it.

Minimum string length: 1
description
string
required

Clear summary of what the parent agent should accomplish.

Minimum string length: 1
parent_agent_type_key
string | null

Parent agent type key, provide this or parent_agent_type.

Minimum string length: 1
parent_agent_type
string | null

Human-readable parent agent type, provide this or parent_agent_type_key.

Minimum string length: 1
active
boolean
default:true

Turns the parent agent on or off.

Response

Successful Response

success
boolean
required

Whether the request was successful.

data
ParentAgentMutationData · object
required

Parent agent mutation results.

error_type
string | null

Type of error if the request failed.

error_message
string | null

Error message or informational message.