Web Task - Result
Get the status and result of a Web Task. The response is a discriminated union on status; the completed branch carries an outcome plus outcome-specific fields.
Authorizations
API Key used to authenticate your requests. How to create one.
Path Parameters
Your workspace ID. How to find it?
Web Task ID. Returned from the start endpoint as webTaskId.
Response
Web task status and (when terminal) result envelope.
- Web Task Result API Response
- Web Task Result API Response
- Web Task Result API Response
- Web Task Result API Response
Polled status + result envelope for GET /web-tasks/result/{webTaskId}. Discriminated by status; the 'completed' branch carries outcome plus outcome-specific fields (result/resultUrl on success, error on failure).
Unique web task id, prefixed nanoid (wt_...).
"wt_123"
pending Task input as submitted by the user via POST /web-tasks/start.
{
"task": "Scrape YC companies from batch S24",
"startUrl": "https://www.ycombinator.com/companies",
"parameters": { "batch": "S24" },
"reuseKey": "yc_companies"
}