List a website's user flows, how reliably each runs, and the pages it reached
/v1/results/flowsLists a website's user flows: each one's last run, how often its runs succeeded over 30 and 90 days, and the page each of its steps reached.
Only live flows that have run at least once are listed. A draft, or a new flow that has not run yet, is left out.
pages holds one page per step, from the flow's last run, and is not in step
order: sort it by stepNo. A step that failed has isFailedStep: true. The
same pages also appear, with these flowIds, in
Get contents.
User flows belong to the whole website, so this query takes no sectionId:
one sent is ignored. Older documentation said it could be read for a section.
websiteId is required. Without it the answer is an InvalidRequest error
whose properties.field is websiteId, with status 200; check for error
before reading result.
curl "https://api.eu.silktide.com/v1/results/flows?websiteId=3" \
-H "Authorization: silktide token=$SILKTIDE_API_KEY"{
"result": {
"flows": [
{
"flowId": 3,
"name": "Submit contact form",
"description": "Send an inquiry through the contact form",
"numSteps": 2,
"downloaded": 1790376639,
"screenshotUrl": "https://example.com/screenshots/b867ffe979dd014d5241586522485402-desktop-viewport.webp",
"uptime30Day": 96.7,
"uptime90Day": 98.9,
"pages": [
{
"url": "https://fakewinebarrel.com/contact-us/",
"title": "Submit contact form (2/2): Submit form",
"contentType": "html",
"httpCode": 200,
"mimeType": "text/html",
"downloaded": 1790376655,
"discovered": 1790222900,
"defaultOrder": "3003-00102-038-038",
"flowId": 3,
"stepNo": 1,
"isFailedStep": false
},
{
"url": "https://fakewinebarrel.com/contact-us/",
"title": "Submit contact form (1/2): Load page",
"contentType": "html",
"httpCode": 200,
"mimeType": "text/html",
"downloaded": 1790376639,
"discovered": 1790222884,
"defaultOrder": "3003-00002-038-038",
"flowId": 3,
"stepNo": 0,
"isFailedStep": false
}
]
}
]
},
"selector": "/v1/results/flows",
"duration": 0.029
}Request
Query parameters
websiteIdintegerrequiredat least 1The website.
Response
200JSON.
resultobjectrequiredThe answer.
Show 1 fieldsHide fields
flowslist of objectsrequiredEach live (not draft) user flow of the website that has run at least once.
Show 9 fieldsHide fields
flowIdintegerrequiredat least 1The user flow's id. Pages it reached carry it as their
flowId.namestringrequiredIts name.
descriptionstringrequiredWhat it does, as its author wrote it. Can be empty.
numStepsintegerrequiredHow many steps it has.
downloadedintegerrequiredWhen it last ran.
screenshotUrlstringrequiredA screenshot of the browser window at the end of its last run. Can be empty.
uptime30Daynumberrequired0 to 100The percentage of its runs that succeeded in the 30 days up to its last run.
uptime90Daynumberrequired0 to 100The percentage of its runs that succeeded in the 90 days up to its last run.
pageslist of objectsrequiredThe page each step reached in its last run, in no particular order. Sort by
stepNo.Show 11 fieldsHide fields
urlstringrequiredIts URL. A document linked from the website can be on another domain.
titlestringrequiredIts title: a page's
<title>, or a document's title or file name.Untitledwhen a document has neither.contentTypestringrequiredWhat it is:
htmlfor a page,pdffor a PDF document. Silktide tests no other kind today.One of
htmlpdftextwordexcelpowerpointotherhttpCodeintegerrequiredcan be nullThe HTTP status it answered with when last downloaded. Null when none was recorded.
mimeTypestringrequiredIts content type as the server sent it, such as
text/html.downloadedintegerrequiredWhen Silktide last downloaded it.
discoveredintegerrequiredWhen Silktide first downloaded it.
defaultOrderstringrequiredSort by this, ascending, to list content in the order Silktide does. Its format can change; only compare it.
flowIdintegerrequiredThe user flow it was reached by, or
0when it was crawled.stepNointegerrequiredIn a user flow, its step, from
0.0when it was crawled.isFailedStepbooleanrequiredTrue when it is the step at which its user flow failed.
selectorstringrequiredThe query that answered, as its path:
/v1/results/scores.durationnumberrequiredSeconds Silktide took to answer.
Errors
| Status | Type | When |
|---|---|---|
| 404 | ModelNotFound | No website or section with that id exists in the account, or the API key's user cannot see it. |
| 200 | InvalidRequest | No websiteId was sent. The error's own status is 400 and properties.field is websiteId. The body is an error despite the status. |
| 401 | NotLoggedIn | No API key was sent, or it is not a key for this region.(any operation) |
| 429 | TooManyRequests | Too many requests to this path in five seconds. Retry after the number of seconds in the Retry-After header, which properties.retryAfter repeats.(any operation) |
| 503 | - | Silktide is busy. Retry after the number of seconds in the Retry-After header.(any operation) |
Every error has the same body. See Errors.
Access
- Permission
- Any user of the account
- Plan feature
- None
- Edition
- Silktide 4 and Silktide 5
- Cost
- Free
- Available since
- v1.0.0
Try it
Sends a real request to your account from this browser. Your key stays in this tab and goes only to the Silktide API.