Explicitly Collect or request a retry for an owned plan task
curl --request POST \
--url https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "collect",
"intent": "collect",
"expectedState": "uncollected"
}
'import requests
url = "https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}"
payload = {
"action": "collect",
"intent": "collect",
"expectedState": "uncollected"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({action: 'collect', intent: 'collect', expectedState: 'uncollected'})
};
fetch('https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'action' => 'collect',
'intent' => 'collect',
'expectedState' => 'uncollected'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}"
payload := strings.NewReader("{\n \"action\": \"collect\",\n \"intent\": \"collect\",\n \"expectedState\": \"uncollected\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"action\": \"collect\",\n \"intent\": \"collect\",\n \"expectedState\": \"uncollected\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"action\": \"collect\",\n \"intent\": \"collect\",\n \"expectedState\": \"uncollected\"\n}"
response = http.request(request)
puts response.read_bodyAI
Explicitly Collect or request a retry for an owned plan task
Collect applies output only to the bound parent run. It never publishes the project or calls a model. Use collect + uncollected for normal Collect; drift parks the result. take-result + parked is explicit overwrite consent for affected paths in the parent run. Unrelated edits are retained. Retry requires settled execution and confirmed cleanup, at most three attempts, fresh authorization and the original parent budget/deadline. If the parent is paused, retry is queued for the normal explicit Resume. Body-supplied owner, root, model, grant, pins or receipt fields are rejected.
POST
/
api
/
user
/
plan
/
{sessionId}
/
task-children
/
{stepId}
Explicitly Collect or request a retry for an owned plan task
curl --request POST \
--url https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "collect",
"intent": "collect",
"expectedState": "uncollected"
}
'import requests
url = "https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}"
payload = {
"action": "collect",
"intent": "collect",
"expectedState": "uncollected"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({action: 'collect', intent: 'collect', expectedState: 'uncollected'})
};
fetch('https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'action' => 'collect',
'intent' => 'collect',
'expectedState' => 'uncollected'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}"
payload := strings.NewReader("{\n \"action\": \"collect\",\n \"intent\": \"collect\",\n \"expectedState\": \"uncollected\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"action\": \"collect\",\n \"intent\": \"collect\",\n \"expectedState\": \"uncollected\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/plan/{sessionId}/task-children/{stepId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"action\": \"collect\",\n \"intent\": \"collect\",\n \"expectedState\": \"uncollected\"\n}"
response = http.request(request)
puts response.read_bodyAuthorizations
JWT token passed in authorization header
Body
application/json
Response
Action reconciled; fresh parent-owned children projection.
Was this page helpful?