Get a report resource

GET /v1/lighthouse-tests/{id}/resources/{resource_name}

Retrieves the resource of lighthouse report. Supply the unique test ID from either a lighthouse test creation request or the lighthouse tests list along with resource name to get that resource.

Path parameters

  • id string Required

    Maximum length is 5000.

  • resource_name string Required

    Maximum length is 5000. Values are pdf, har, or video.

Responses

  • 200

    Successful response.

  • 404

    Resource Not Found

GET /v1/lighthouse-tests/{id}/resources/{resource_name}
curl \
 -X GET https://api.speedvitals.com/v1/lighthouse-tests/{id}/resources/{resource_name} \
 -H "X-API-KEY: $API_KEY"
Response examples (200)
{}