list_run_steps: List Run Steps - Beta

View source: R/functions.R

list_run_stepsR Documentation

List Run Steps - Beta

Description

Returns a list of run steps belonging to a run.

Usage

list_run_steps(
  run_id,
  thread_id,
  after = NULL,
  before = NULL,
  limit = NULL,
  order = NULL,
  return_response = F
)

Arguments

run_id

(string) The ID of the run the run steps belong to. Required

thread_id

(string) The ID of the thread the run and run steps belong to. Required

after

(string) A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.

before

(string) A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.

limit

(integer) A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

order

(string) Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.

return_response

(boolean) Whether to return the API response or parse the contents of the response. Defaults to FALSE (parse the response).

See Also

Open AI Documentation


samterfa/openai documentation built on Oct. 9, 2024, 5:18 p.m.