Skip to content

Start Run

POST
/api/research-playbooks/{playbook_id}/runs
curl --request POST \
--url http://localhost:8000/api/research-playbooks/example/runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "audience_id": "example", "max_members": 100 }'
playbook_id
required
Playbook Id
string
x-workspace-id
Any of:
string
Media typeapplication/json
RunCreate
object
audience_id
required
Audience Id
string
max_members
Max Members
integer
default: 100 >= 1 <= 1000

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}