interface StepRetrieveParams {
    include?: "step_details.tool_calls[*].file_search.results[*].content"[];
    run_id: string;
    thread_id: string;
}

Properties

include?: "step_details.tool_calls[*].file_search.results[*].content"[]

Query param: A list of additional fields to include in the response. Currently the only supported value is step_details.tool_calls[*].file_search.results[*].content to fetch the file search result content.

See the file search tool documentation for more information.

run_id: string

Path param: The ID of the run to which the run step belongs.

thread_id: string

Path param: The ID of the thread to which the run and run step belongs.