// First-party cookie auth: this runs in a signed-in trdrs session, not under an API key.
const res = await fetch('https://app.trdrs.co/api/enrollments/events?id=e5c90b1a-7d34-4f6b-8a2e-91c8f0d47a53', {
credentials: 'include',
})
const data = await res.json()curl 'https://app.trdrs.co/api/enrollments/events?id=e5c90b1a-7d34-4f6b-8a2e-91c8f0d47a53' \
-b "session=$TRDRS_SESSION"import requests
url = "https://app.trdrs.co/api/enrollments/events"
headers = {"cookie": "session="}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/enrollments/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "session=",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trdrs.co/api/enrollments/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.trdrs.co/api/enrollments/events")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/enrollments/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"events": [
{
"status": "registered",
"actor": "system",
"reason": null,
"at": 1787058000
},
{
"status": "in_progress",
"actor": "system",
"reason": "first fill",
"at": 1787144400
}
]
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}List enrollment events
Preview: outside the additive-only guarantee. These shapes are the pre-contract v1 scaffold; the Phase-1 rebuild will change them. Read them, do not pin to them.
Served only when the engine runs with CHALLENGES_ENABLED. The route bundle is not merely disabled without it. It is never constructed, so every path here answers 404.
Returns the status history for one of the caller’s enrollments. Every threshold crossing is its own row, so an outcome can be reconstructed exactly. An enrollment belonging to another user is reported as 404, indistinguishable from one that does not exist; ownership failures never confirm that an id is real.
// First-party cookie auth: this runs in a signed-in trdrs session, not under an API key.
const res = await fetch('https://app.trdrs.co/api/enrollments/events?id=e5c90b1a-7d34-4f6b-8a2e-91c8f0d47a53', {
credentials: 'include',
})
const data = await res.json()curl 'https://app.trdrs.co/api/enrollments/events?id=e5c90b1a-7d34-4f6b-8a2e-91c8f0d47a53' \
-b "session=$TRDRS_SESSION"import requests
url = "https://app.trdrs.co/api/enrollments/events"
headers = {"cookie": "session="}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.trdrs.co/api/enrollments/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "session=",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trdrs.co/api/enrollments/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.trdrs.co/api/enrollments/events")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trdrs.co/api/enrollments/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"events": [
{
"status": "registered",
"actor": "system",
"reason": null,
"at": 1787058000
},
{
"status": "in_progress",
"actor": "system",
"reason": "first fill",
"at": 1787144400
}
]
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}{
"error": "invalid_instrument"
}Authorizations
The signed session cookie of a logged-in trdrs user. First-party/browser only; a firm API key cannot reach a route secured this way.
Query Parameters
The enrollment id.
Response
The status events
Show child attributes
Show child attributes