Skip to main content
POST
Create an agent run

Authorizations

Authorization
string
header
required

A ManyPI API key (mpi_...) from the profile menu → API Access in the dashboard, or an OAuth 2.1 access token obtained through the MCP consent flow.

Body

application/json
goal
string
required

What you want ManyPI to do, in plain language.

Required string length: 1 - 8000
conversation_id
string<uuid>

Attach to an existing conversation.

playbook
string

A named behaviour, e.g. lead_generation. Your own skill's slug works too.

Maximum string length: 64
sources
object[]
output_schema
object

A JSON schema the result must conform to.

max_steps
integer
Required range: 1 <= x <= 200
max_pages
integer
Required range: 1 <= x <= 500
model
enum<string>

The model tier. sol needs a plan with the full models.

Available options:
luna,
terra,
sol
effort
enum<string>
Available options:
minimal,
low,
medium,
high
autonomy
enum<string>
default:approve

Which actions wait for you: suggest asks before any change, approve before anything irreversible, act only before deleting.

Available options:
suggest,
approve,
act
target_lead_count
integer

How many leads the run must save. The run keeps going until it has them.

Required range: 1 <= x <= 250
research_profile_id
string<uuid>

The saved search this run belongs to.

lead_list_id
string<uuid> | null

File every lead the run saves into this lead list.

contact_preference
enum<string> | null

personal skips shared inboxes like info@. null uses the brand setting.

Available options:
any,
personal
construct_emails
boolean | null

Work out missing addresses from the company's pattern. null uses the brand setting.

Response

The run was created.

run_id
string<uuid>
conversation_id
string<uuid>
status
string