Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

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

Body

application/json

Input for building a new Roark-hosted agent

name
string
required

Name of the agent

Minimum string length: 1
jobDescription
string
required

One-line description of what the agent should do. Roark authors the system prompt from this.

Minimum string length: 1
voice
string | null

Optional voice label for the hosted agent

Response

The built agent

data
object
required