Behavior API
GET /api/behaviors GET /api/behaviors/:id
Discover reusable task specifications.
Behavior specifications, experiments, benchmark runs and adapters form the platform contract.
GET /api/behaviors GET /api/behaviors/:id
Discover reusable task specifications.
POST /api/experiments/run GET /api/experiments GET /api/experiments/:id GET /api/experiments/compare?ids=...
Run and inspect reproducible multi-seed experiments.
Authorization: Bearer hb_live_...
Use account sessions or API keys for authenticated endpoints. Create and revoke keys from Workspace.
POST /api/benchmark
Authorization: Bearer hb_live_...
Content-Type: application/json
{"behaviorId":"pick-place","completedSteps":[...]}Returns a reproducible behavior evaluation and persists the run to the workspace.
GET /api/usage GET /api/keys
Inspect plan limits, monthly benchmark usage and active API keys.
simulation-harness measured=false MuJoCo measured=true
The platform keeps deterministic harness results separate from measured simulator results.
GET /api/health GET /api/readiness
Use readiness checks in production deployment monitoring.
MuJoCo Isaac Lab Gazebo ROS 2 HTTP robot gateway
These are planned execution contracts. The current public measured path is the supported MuJoCo worker; robot-specific adapters are not enabled yet.
GET /api/robots GET /api/robots/:id
Discover catalog metadata. A catalog entry does not imply that robot-specific evaluation is currently enabled.
POST /api/experiments/:id/share GET /api/share?token=...
Completed experiments can be shared as public read-only reports with reproducibility metadata and raw artifacts.
behavior + version engine + engine version seeds + policies + duration compute build + worker
Reports expose the exact evaluation configuration used to produce measured results and provide a one-click reproduction path.
POST /api/behaviors/compare/benchmark
{"behaviorId":"pick-place","versions":["1.0.0","1.1.0"],"seeds":[42,1337],"policies":["policy-a","policy-b"],"seconds":10}Version comparison is currently disabled while the comparison worker is being hardened. Single-version MuJoCo evaluations are the supported measured path today.
Create an API key in Workspace, then call the benchmark endpoint.
curl -X POST https://humanoidbehavior-com.4gmxsol.workers.dev/api/benchmark \
-H "Authorization: Bearer hb_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"behaviorId":"pick-place","completedSteps":["Perceive target object","Navigate to workspace","Reach and grasp","Transport object","Release at target","Verify placement"],"model":"my-policy"}'{
"status": "passed",
"behaviorId": "pick-place",
"adapter": "spec-validator"
}A behavior is a versioned task specification. The example below shows the fields an evaluation record keeps together.
{
"behaviorId": "pick-place",
"version": "1.0.0",
"engine": "mujoco",
"engineVersion": "3.x",
"seeds": [42, 1337],
"policies": ["my-policy"],
"completedSteps": ["Perceive target object", "Reach and grasp", "Release at target"]
}Failed requests return a JSON error with a stable code and a human-readable message. A 400 means the request was malformed — check the behavior identifier, version and required fields. A 401 means the API key is missing or invalid. A 429 means the workspace has reached its monthly benchmark allowance; check usage in Workspace before retrying. A 5xx means the evaluation worker could not complete the run; retry once, then contact support with the returned request identifier.
Before sharing a result, confirm that the report records the behavior identifier and version, the engine and engine version, the exact seeds, the policy identifier and version, the duration and the measured metrics. If any field is missing, the run cannot be reproduced exactly. Reports expose the full evaluation configuration and provide a one-click reproduction path.
Which engines are supported? The current public measured path is the supported MuJoCo worker. Isaac Lab, Gazebo, ROS 2 and HTTP robot gateway adapters are planned execution contracts and are not enabled yet.
Can I compare two behavior versions? Version comparison is currently disabled while the comparison worker is being hardened. Single-version MuJoCo evaluations are the supported measured path today.
Where do I manage API keys? Create and revoke keys from Workspace. Use account sessions or API keys for authenticated endpoints.
Last updated November 18, 2026.