Felo API PlatformFelo API Platform

Data API / DataForSEO / On Page

Get OnPage Lighthouse Completed Tasks

Lists the Lighthouse audits that have finished and are waiting to be collected. Returns null with status_code 20000 and Ok. when nothing is ready - an empty queue, not an error. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. Retrieve what it names with get_dataforseo_on_page_lighthouse_task_get_json.

Параметры

Параметров пути, запроса и заголовков нет.

Пример запроса

curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/on_page/lighthouse/tasks_ready" \
  -H "Authorization: Bearer $FELO_API_KEY"

Ответ

Поля ответа

  • versionstringНеобязательный

    the current version of the API

  • status_codeintegerНеобязательный

    general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions

  • status_messagestringНеобязательный

    general informational message you can find the full list of general informational messages here

  • timestringНеобязательный

    execution time, seconds

  • costnumberНеобязательный

    total tasks cost, USD

  • tasks_countintegerНеобязательный

    the number of tasks in the tasks array

  • tasks_errorintegerНеобязательный

    the number of tasks in the tasks array returned with an error

  • tasksstring[]Необязательный

    array of tasks

  • idstringНеобязательный

    task identifier unique task identifier in our system in the UUID format

  • status_codeintegerНеобязательный

    status code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of the response codes here

  • status_messagestringНеобязательный

    informational message of the task you can find the full list of general informational messages here

  • timestringНеобязательный

    execution time, seconds

  • costnumberНеобязательный

    cost of the task, USD

  • result_countintegerНеобязательный

    number of elements in the result array

  • pathstring[]Необязательный

    URL path

  • dataobjectНеобязательный

    contains the parameters passed in the request’s URL

  • resultstring[]Необязательный

    array of results

  • idstringНеобязательный

    task identifier of the completed task unique task identifier in our system in the UUID format

  • tagstringНеобязательный

    user-defined task identifier

  • endpoint_jsonstringНеобязательный

    URL for collecting the results of the OnPage Lighthouse JSON task