API Reference › Bots — Movement
Look At
POST
/bots/{bot_id}/lookatTurn to face an avatar or a point. Send target, or x, y and z.
Usage
curl -X POST "https://api.lifebots.cloud/api/v1/bots/$BOT_ID/lookat" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"target": "7d1d5c58-2a8f-4c3e-9b11-0a6e5f2c9e41"
}'Path parameters
| Name | Type | Description |
|---|---|---|
bot_id | UUID | The bot's avatar UUID (agentId from GET /bots). |
Body (JSON)
| Name | Type | Required | Description |
|---|---|---|---|
target | string | no | Avatar UUID or name. |
x | number | no | X coordinate. |
y | number | no | Y coordinate. |
z | number | no | Z coordinate. |
nosafehub | boolean | no | Refuse while the bot is in a Safe Hub. |
Example response
{
"success": true,
"data": {
"result": "OK"
},
"meta": {
"timestamp": "2026-10-02T12:00:00.000Z",
"version": "1.0"
}
} Always check success; for commands the bot carries out, also check data.result. See Responses & errors.