curl --request POST \
--url https://api.erna.ai/v2/runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task": "schedule",
"config": {
"instructions": [
"<string>"
],
"dateRange": {
"start": "2023-12-25",
"end": "2023-12-25"
},
"roles": [
{
"id": "<string>",
"name": "<string>"
}
],
"pipelineId": "<string>",
"workspaceId": "<string>",
"members": [
{
"id": "<string>",
"name": "<string>",
"roleIds": [
"<string>"
],
"skillIds": [
"<string>"
]
}
]
},
"runId": "<string>",
"goal": "<string>",
"inputs": []
}
'