🚀 We are preparing our documentation and source code for our first release. For any questions & to meet the founders, please fill in this form
curl --request PUT \
--url https://api.example.com/api/task/v1/{task_id} \
--header 'Content-Type: application/json' \
--data '
{
"status": "submitted",
"message": {
"metadata": {},
"parts": [
{
"metadata": {},
"text": "<string>",
"type": "text-part"
}
],
"reference_task_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"role": "user"
}
}
'{
"message": "<string>",
"data": "<unknown>"
}Update the status of a task
curl --request PUT \
--url https://api.example.com/api/task/v1/{task_id} \
--header 'Content-Type: application/json' \
--data '
{
"status": "submitted",
"message": {
"metadata": {},
"parts": [
{
"metadata": {},
"text": "<string>",
"type": "text-part"
}
],
"reference_task_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"role": "user"
}
}
'{
"message": "<string>",
"data": "<unknown>"
}