Skip to main content
GET
/
v1
/
browsing
/
tasks
/
{id}
/
trajectory
curl --request GET \
  --url "https://api.yutori.com/v1/browsing/tasks/00000000-0000-0000-0000-000000000000/trajectory" \
  --header "X-API-Key: YOUR_API_KEY"
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}
Downloads the trajectory for a completed browsing task.

Output Formats

Use the output_type query parameter to choose between two formats:

JSON (default)

Returns a JSON object with base64-encoded images:
{
  "task_id": "00000000-0000-0000-0000-000000000000",
  "steps": [
    { "step": 1, "image": "<base64-encoded-webp>" },
    { "step": 2, "image": "<base64-encoded-webp>" }
  ]
}

ZIP

Returns a downloadable ZIP archive containing:
  • trajectory.json
{
  "task_id": "00000000-0000-0000-0000-000000000000",
  "steps": [
    { "step": 1, "image_filename": "step_001.webp" },
    { "step": 2, "image_filename": "step_002.webp" }
  ]
}
  • step_001.webp, step_002.webp, … - Screenshot images in WEBP format
curl --request GET \
  --url "https://api.yutori.com/v1/browsing/tasks/00000000-0000-0000-0000-000000000000/trajectory" \
  --header "X-API-Key: YOUR_API_KEY"

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Query Parameters

output_type
enum<string>
default:json

Output format: 'json' or 'zip'

Available options:
json,
zip

Response

Successful Response