Beta structured-output schema subset for the run result. Unsupported fields are rejected before execution. See Structured Output
browser_profile
lite | stealth
No
Defaults to lite
proxy_config.enabled
boolean
No
Enables proxying for the run
proxy_config.type
tetra | custom
No
tetra uses TinyFish proxy infrastructure; custom requires your own proxy URL
proxy_config.country_code
US | GB | CA | DE | FR | JP | AU
No
Used with type: "tetra"
proxy_config.url
string
No
Required when type: "custom"
proxy_config.username
string
No
Custom proxy username
proxy_config.password
string
No
Custom proxy password
use_profile
boolean
No
Beta. Use the default saved BBU Profile for this run. Requires BBU Profiles beta access
profile_id
string
No
Beta. Select a specific profile. Requires use_profile: true and BBU Profiles beta access
use_vault
boolean
No
Enable vault credentials for this run. When true, TinyFish can log into sites using your connected password manager
credential_item_ids
string[]
No
Scope the run to specific credential URIs from GET /v1/vault/items. Requires use_vault: true. If omitted, all synced items are available
output_schema, use_profile, and profile_id are beta features. BBU Profiles only take effect for accounts with beta access; profile_id requires beta access and use_profile: true. Join the beta program at agent.tinyfish.ai/beta.
Reconnection: SSE streams do not support Last-Event-ID reconnection. If your client disconnects mid-stream, recover by polling GET /v1/runs/{run_id} until the run reaches a terminal status (COMPLETED, FAILED, or CANCELLED).
Common HTTP-level errors across automation endpoints:
Status
Code
Meaning
400
INVALID_INPUT
Invalid request body or missing required fields
401
MISSING_API_KEY, INVALID_API_KEY
Missing or invalid API key
403
FORBIDDEN
Access denied, including when an account without beta access includes output_schema
429
RATE_LIMIT_EXCEEDED
Rate limit exceeded
500
INTERNAL_ERROR
Internal server error
The COMPLETE SSE event or GET /v1/runs/{id} may also include run-level failures such as TASK_FAILED, SITE_BLOCKED, MAX_STEPS_EXCEEDED, TIMEOUT, or INSUFFICIENT_CREDITS.