API reference
POST /v1/pose Live
17 body points for every animal in every sampled frame, in pixels of the video frame.
Request
Send a video the same way as /v1/analyze (raw bytes, or video_b64 in JSON), with the same options: species, max_seconds, start_s, step_s. Or pass sample to get a stored result of a real run with no video: nothing is metered and the response says "sample": true.
curl -s -X POST "https://vitalsbio-console.pages.dev/api/v1/pose?sample=cow-lying" \ -H "Authorization: Bearer $VITALSBIO_API_KEY" curl -s "https://vitalsbio-console.pages.dev/api/v1/pose?species=cattle&max_seconds=20" \ -H "Authorization: Bearer $VITALSBIO_API_KEY" -H "Content-Type: video/mp4" \ --data-binary @barn.mp4
Samples: cow-lying, dog-walk, brangus-herd, paddock, white-horses. This endpoint runs the same model call as /v1/analyze and is metered the same way, by seconds of video. If you need more than one part of the same clip, call /v1/analyze once.
Response
| Field | What it is |
|---|---|
capability | The status of this part: live (passed its locked test), preview, pending or off. Read it before you rely on the numbers. |
sample | true when the answer is a stored result, not a run on your video. |
keypoint_names | The 17 names, in the order of every keypoints list (the AP-10K set). |
animals[].frames[].keypoints | 17 x [x, y, score]. Score is 0 to 1; draw points at 0.3 or more. |
animals[].frames[].box | [x0, y0, x1, y1] of the animal in that frame. |
animals[].frames[].t_s, frame_index | When the frame is, in seconds and as a frame number. |
usage.video_seconds | Seconds of video metered for this call. Also in the X-Vitals-Video-Seconds header. |
request_id, api_version | Also in the X-Request-Id and Vitals-Version headers. |
This is the real answer for sample=cow-lying, cut short:
{
"object": "pose",
"request_id": "req_Lr0d1sY2rE9q",
"api_version": "2026-11-21",
"schema_version": "biomodel-v0.1",
"capability": {
"id": "pose",
"name": "Pose",
"status": "live",
"mode": "on",
"label": "Live"
},
"sample": true,
"video": {
"fps": 25,
"width": 1920,
"height": 1080,
"n_frames": 689,
"step_s": 0.2
},
"model": {
"name": "vitals-biomodel",
"version": "biomodel-v0.1"
},
"animals": [
{
"track_id": 1,
"species": "cattle",
"frames": [
{
"t_s": 0,
"frame_index": 0,
"box": [35.7, 513.4, 689.5, 832.1],
"keypoints": [
[724, 690.9, 0.988],
[628.4, 694.4, 0.998],
[685.4, 793.6, 0.785]
]
}
]
}
],
"usage": {
"video_seconds": 0
},
"keypoint_names": [
"left_eye",
"right_eye",
"nose",
"..."
]
}
Errors, limits and headers are the same on every endpoint: see errors and rate limits. For a long video or a camera, see streaming.