Skip to main content
POST
Create mission

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Body

application/json
data
string
required
Minimum string length: 1
prompt
string
name
string
status
enum<string>
Available options:
draft,
scheduled,
recurring,
active,
paused,
completed,
failed,
cancelled
endDate
string<date-time>
notifications
object

Response

201 - application/json

Mission created

ok
boolean
required
data
unknown