Bỏ qua, tới nội dung chính
POST/api/public/v1/sessions/{id}/reference-action

pages.reference_action

pages.reference_action — Yêu cầu thao tác bằng tham chiếu; từ chối nếu chưa hỗ trợ.

Quyền: agent.actTool MCP: pages_reference_action
Xem dạng Markdown

Tham số

TênKiểuBắt buộcMô tả
idpathstring (uuid)Có
idempotency_keybodystringCó(độ dài tối thiểu 1, độ dài tối đa 163)
target_idbodystringCó(độ dài tối thiểu 1, độ dài tối đa 128)
epochbodyintegerCó(tối đa 9007199254740991)
snapshot_idbodyintegerCó(tối đa 9007199254740991)
reference_idbodystringCó(độ dài tối đa 64)
actionbodyobjectCó

Ví dụ

curl -X POST "https://browlix.com/api/public/v1/sessions/<id>/reference-action" \
  -H "Authorization: Bearer $BROWLIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"idempotency_key":"<idempotency_key>","target_id":"<target_id>","epoch":0,"snapshot_id":0,"reference_id":"<reference_id>","action":{}}'

Phản hồi

200 với { data, correlation_id }.

TrườngKiểuLuôn cóMô tả
operation_idstring (uuid) | nullCó
state_versionintegerCó(tối thiểu 0, tối đa 9007199254740991)
retryablefalseCó
nextobject | nullCó
next.operation"operations.get"Có
next.operation_idstring (uuid)Có
oktrueCó
dataobjectCó

Trường mới có thể xuất hiện bất cứ lúc nào; hãy bỏ qua trường bạn không biết.

Lỗi

MãHTTPThử lại
UNAUTHENTICATED401Không
FORBIDDEN403Không
RATE_LIMITED429Có
VALIDATION_FAILED422Không
NOT_FOUND404Không
DEPENDENCY_UNAVAILABLE503Có
UNKNOWN500Không

Mọi mã lỗi và khi nào nên thử lại

Mọi thao tác

Đang dùng AI agent?

Các tool Browlix có feedback_submit — sau khi dùng, báo lỗi, bất tiện hay câu hỏi chưa có lời đáp, mỗi vấn đề một lần.

Cách phản hồi hoạt động