coordinate_team_browser_upload
POST
/api/v1/teams/{team_id}/files/upload/{upload_id}/provider-step
const url = 'https://example.com/api/v1/teams/1/files/upload/example/provider-step';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"observation":{"body":"example","body_truncated":true,"headers":{"additionalProperty":"example"},"status":1},"request_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}use serde_json::json;use reqwest;
#[tokio::main]pub async fn main() { let url = "https://example.com/api/v1/teams/1/files/upload/example/provider-step";
let payload = json!({ "observation": json!({ "body": "example", "body_truncated": true, "headers": json!({"additionalProperty": "example"}), "status": 1 }), "request_id": "example" });
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap()); headers.insert("Content-Type", "application/json".parse().unwrap());
let client = reqwest::Client::new(); let response = client.post(url) .headers(headers) .json(&payload) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}curl --request POST \ --url https://example.com/api/v1/teams/1/files/upload/example/provider-step \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "observation": { "body": "example", "body_truncated": true, "headers": { "additionalProperty": "example" }, "status": 1 }, "request_id": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”team_id
required
integer format: int64
Team ID
upload_id
required
string
Upload session ID
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
Example generated
{ "observation": { "body": "example", "body_truncated": true, "headers": { "additionalProperty": "example" }, "status": 1 }, "request_id": "example"}Responses
Section titled “Responses”Backend-coordinated team upload step
Media typeapplication/json
object
code
required
string
data
object
confirmed_offset
required
integer format: int64
executor_version
required
Version of the finite browser executor, independent from driver protocol versions.
integer format: int32
instruction
One of:
object
request
required
A capability URL, never an administrator credential. Do not log this value.
object
authorization
body
completion
headers
required
object
key
additional properties
string
method
required
string
response_headers
required
Only these response headers may be reported to the driver.
Array<string>
url
required
string
request_id
required
string
response_body_limit
required
integer format: int32
timeout_ms
required
integer format: int32
null
progress_revision
required
Increments only when driver state or confirmed progress advances, not for a fresh request ID.
integer format: int64
protocol
required
Opaque driver-owned protocol identity. Versions are interpreted by the driver, not the browser.
object
id
required
string
version
required
integer format: int32
provider_completed
required
boolean
error
object
diagnostic
object
field
Connector-owned field that caused a configuration validation failure.
This is intentionally optional so existing diagnostics remain wire-compatible.
string | null
kind
required
string
message
required
string
scope
Connector field scope, for example connector_config or static_credential.
string | null
retryable
required
boolean
msg
required
string
Example
{ "code": "success", "data": { "instruction": { "request": { "completion": { "source": "response_header" }, "method": "GET" } } }}