Snippets
List all snippets
Changed onLists all current snippets in your account.
get/v1/snippets
Request
- Base URLhttps://api.checklyhq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
Limit the number of results
pagenumber
Page number
Headers
x-checkly-accountstring
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Response
Successful
Example response
[
{
"id": 1,
"name": "Snippet",
"script": "request.url = request.url + '/extra'"
}
]Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
for the
queryrequest parameterpage, the exclusiveMinimum was set totrue - warning
for the
queryrequest parameterpage, the min was set to0.00 - info
added the non-success response with the status
- warning