Interface ThreadService.WithRawResponse
-
- All Implemented Interfaces:
public interface ThreadService.WithRawResponse
A view of ThreadService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract RunService.WithRawResponse
runs()
abstract MessageService.WithRawResponse
messages()
abstract HttpResponseFor<Thread>
create(BetaThreadCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads
, but is otherwise the same as ThreadService.create.abstract HttpResponseFor<Thread>
create(BetaThreadCreateParams params)
Returns a raw HTTP response for post /threads
, but is otherwise the same as ThreadService.create.abstract HttpResponseFor<Thread>
create()
Returns a raw HTTP response for post /threads
, but is otherwise the same as ThreadService.create.HttpResponseFor<Thread>
create(RequestOptions requestOptions)
Returns a raw HTTP response for post /threads
, but is otherwise the same as ThreadService.create.abstract HttpResponseFor<Thread>
retrieve(BetaThreadRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /threads/{thread_id}
, but is otherwise the same as ThreadService.retrieve.abstract HttpResponseFor<Thread>
retrieve(BetaThreadRetrieveParams params)
Returns a raw HTTP response for get /threads/{thread_id}
, but is otherwise the same as ThreadService.retrieve.abstract HttpResponseFor<Thread>
update(BetaThreadUpdateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}
, but is otherwise the same as ThreadService.update.abstract HttpResponseFor<Thread>
update(BetaThreadUpdateParams params)
Returns a raw HTTP response for post /threads/{thread_id}
, but is otherwise the same as ThreadService.update.abstract HttpResponseFor<ThreadDeleted>
delete(BetaThreadDeleteParams params, RequestOptions requestOptions)
Returns a raw HTTP response for delete /threads/{thread_id}
, but is otherwise the same as ThreadService.delete.abstract HttpResponseFor<ThreadDeleted>
delete(BetaThreadDeleteParams params)
Returns a raw HTTP response for delete /threads/{thread_id}
, but is otherwise the same as ThreadService.delete.abstract HttpResponseFor<Run>
createAndRun(BetaThreadCreateAndRunParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/runs
, but is otherwise the same as ThreadService.createAndRun.abstract HttpResponseFor<Run>
createAndRun(BetaThreadCreateAndRunParams params)
Returns a raw HTTP response for post /threads/runs
, but is otherwise the same as ThreadService.createAndRun.abstract HttpResponseFor<StreamResponse<AssistantStreamEvent>>
createAndRunStreaming(BetaThreadCreateAndRunParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/runs
, but is otherwise the same as ThreadService.createAndRunStreaming.abstract HttpResponseFor<StreamResponse<AssistantStreamEvent>>
createAndRunStreaming(BetaThreadCreateAndRunParams params)
Returns a raw HTTP response for post /threads/runs
, but is otherwise the same as ThreadService.createAndRunStreaming.-
-
Method Detail
-
runs
abstract RunService.WithRawResponse runs()
-
messages
abstract MessageService.WithRawResponse messages()
-
create
abstract HttpResponseFor<Thread> create(BetaThreadCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads
, but is otherwise the same as ThreadService.create.
-
create
abstract HttpResponseFor<Thread> create(BetaThreadCreateParams params)
Returns a raw HTTP response for
post /threads
, but is otherwise the same as ThreadService.create.
-
create
abstract HttpResponseFor<Thread> create()
Returns a raw HTTP response for
post /threads
, but is otherwise the same as ThreadService.create.
-
create
HttpResponseFor<Thread> create(RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads
, but is otherwise the same as ThreadService.create.
-
retrieve
abstract HttpResponseFor<Thread> retrieve(BetaThreadRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /threads/{thread_id}
, but is otherwise the same as ThreadService.retrieve.
-
retrieve
abstract HttpResponseFor<Thread> retrieve(BetaThreadRetrieveParams params)
Returns a raw HTTP response for
get /threads/{thread_id}
, but is otherwise the same as ThreadService.retrieve.
-
update
abstract HttpResponseFor<Thread> update(BetaThreadUpdateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}
, but is otherwise the same as ThreadService.update.
-
update
abstract HttpResponseFor<Thread> update(BetaThreadUpdateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}
, but is otherwise the same as ThreadService.update.
-
delete
abstract HttpResponseFor<ThreadDeleted> delete(BetaThreadDeleteParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
delete /threads/{thread_id}
, but is otherwise the same as ThreadService.delete.
-
delete
abstract HttpResponseFor<ThreadDeleted> delete(BetaThreadDeleteParams params)
Returns a raw HTTP response for
delete /threads/{thread_id}
, but is otherwise the same as ThreadService.delete.
-
createAndRun
abstract HttpResponseFor<Run> createAndRun(BetaThreadCreateAndRunParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/runs
, but is otherwise the same as ThreadService.createAndRun.
-
createAndRun
abstract HttpResponseFor<Run> createAndRun(BetaThreadCreateAndRunParams params)
Returns a raw HTTP response for
post /threads/runs
, but is otherwise the same as ThreadService.createAndRun.
-
createAndRunStreaming
abstract HttpResponseFor<StreamResponse<AssistantStreamEvent>> createAndRunStreaming(BetaThreadCreateAndRunParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/runs
, but is otherwise the same as ThreadService.createAndRunStreaming.
-
createAndRunStreaming
abstract HttpResponseFor<StreamResponse<AssistantStreamEvent>> createAndRunStreaming(BetaThreadCreateAndRunParams params)
Returns a raw HTTP response for
post /threads/runs
, but is otherwise the same as ThreadService.createAndRunStreaming.
-
-
-
-