Learn R Programming

oaii (version 0.5.0)

runs_retrieve_run_step_request: API runs: retrieve run step

Description

Retrieves a run step. To get more details, visit https://platform.openai.com/docs/api-reference/runs/getRunStep https://platform.openai.com/docs/assistants

Usage

runs_retrieve_run_step_request(
  thread_id,
  run_id,
  step_id,
  api_key = api_get_key()
)

Value

content of the httr response object or SimpleError (conditions) enhanced with two additional fields: `status_code` (response$status_code) and `message_long` (built on response content)

Arguments

thread_id

string, the ID of the thread (https://platform.openai.com/docs/api-reference/threads) to which the run and run step belongs

run_id

string, the ID of the run to which the run step belongs

step_id

string, the ID of the run step to retrieve

api_key

string, OpenAI API key (see https://platform.openai.com/account/api-keys)