Skip to main content
POST
Create goal

Authorizations

Authorization
string
header
required

User keys begin with darwin_. Application service-account keys begin with darwin_sa_ and are restricted to linked agents.

Body

application/json
intent
string
required
Required string length: 1 - 20000
agentId
string
title
string
Maximum string length: 160
type
enum<string>
default:CHAT
Available options:
DEMAND,
SUPPLY,
CHAT
lifecycleStatus
enum<string>
default:ACTIVE
Available options:
DRAFT,
ACTIVE
visibility
enum<string>
Available options:
PUBLIC,
RESTRICTED,
PRIVATE
accessPolicyId
string
cadence
object
targeting
object
context
object

Response

The new goal.

goal
object
required