runs_retrieve_run_request {oaii}R Documentation

API runs: retrieve run

Description

Retrieves a thread. To get more details, visit https://platform.openai.com/docs/api-reference/threads/getThread https://platform.openai.com/docs/assistants

Usage

runs_retrieve_run_request(thread_id, run_id, api_key = api_get_key())

Arguments

thread_id

string, The ID of the thread (https://platform.openai.com/docs/api-reference/threads) that was run

run_id

string, the ID of the run to retrieve

api_key

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

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)


[Package oaii version 0.5.0 Index]