Artifacts

Get artifacts for a run

Changed on

Get artifacts for a run

get/v1/runs/{run_id}/artifacts

Request

  • Base URL
    https://api.skyvern.com
  • URL
    https://api.skyvern.com/v1/runs/{run_id}/artifacts
  • Auth
    API key in header x-api-key

Path parameters

run_idstring required

The id of the task run or the workflow run.

Query parameters

artifact_typeArtifactType[] nullable

Response

Successful Response

created_atstring required

The creation datetime of the task.

modified_atstring required

The modification datetime of the task.

artifact_idstring required
artifact_type'recording' | 'audio' | 'session_replay' | 'eval_score' | 'eval_trajectory' | 'eval_rubrics' | 'browser_console_log' | 'browser_session_action_log' | 'skyvern_log' | 'skyvern_log_raw' | 'screenshot' | 'screenshot_llm' | 'screenshot_action' | 'screenshot_final' | 'screenshot_proxy' | 'screenshot_pre_submit' | 'llm_prompt' | 'llm_request' | 'llm_response' | 'llm_response_parsed' | 'llm_response_rendered' | 'visible_elements_id_css_map' | 'visible_elements_id_frame_map' | 'visible_elements_tree' | 'visible_elements_tree_trimmed' | 'visible_elements_tree_in_prompt' | 'hashed_href_map' | 'visible_elements_id_xpath_map' | 'html' | 'html_scrape' | 'html_action' | 'html_pre_submit' | 'trace' | 'har' | 'script_file' | 'pdf' | 'step_archive' | 'task_archive' | 'download' | 'unknown' required
uristring required
bundle_keystring nullable
checksumstring nullable
file_sizeinteger nullable
task_idstring nullable
step_idstring nullable
workflow_run_idstring nullable
workflow_run_block_idstring nullable
run_idstring nullable
browser_session_idstring nullable
observer_cruise_idstring nullable
observer_thought_idstring nullable
ai_suggestion_idstring nullable
signed_urlstring nullable
archivedboolean
organization_idstring required

Example response

[
  {
    "created_at": "2023-01-01T00:00:00Z",
    "modified_at": "2023-01-01T00:00:00Z"
  }
]

Changes

    • warning

      deleted the header request parameter x-api-key

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • warning

      added the new html_pre_submit enum value to the / response property for the response status

    • warning

      added the new screenshot_pre_submit enum value to the / response property for the response status

    • warning

      added the new unknown enum value to the / response property for the response status

    • info

      added the enum value html_pre_submit to the property anyOf[subschema #1]/items/ of the query request parameter artifact_type

    • info

      added the enum value screenshot_pre_submit to the property anyOf[subschema #1]/items/ of the query request parameter artifact_type

    • info

      added the enum value unknown to the property anyOf[subschema #1]/items/ of the query request parameter artifact_type