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