Interface MessageService.WithRawResponse
-
- All Implemented Interfaces:
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") public interface MessageService.WithRawResponse
A view of MessageService that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract MessageService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Message> create(String threadId, MessageCreateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/messages
, but is otherwise the same as MessageService.create.
-
create
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Message> create(String threadId, MessageCreateParams params, RequestOptions requestOptions)
-
create
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Message> create(MessageCreateParams params)
-
create
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<Message> create(MessageCreateParams params, RequestOptions requestOptions)
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Message> retrieve(String messageId, MessageRetrieveParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.retrieve.
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Message> retrieve(String messageId, MessageRetrieveParams params, RequestOptions requestOptions)
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Message> retrieve(MessageRetrieveParams params)
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<Message> retrieve(MessageRetrieveParams params, RequestOptions requestOptions)
-
update
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Message> update(String messageId, MessageUpdateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.update.
-
update
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Message> update(String messageId, MessageUpdateParams params, RequestOptions requestOptions)
-
update
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Message> update(MessageUpdateParams params)
-
update
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<Message> update(MessageUpdateParams params, RequestOptions requestOptions)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<MessageListPage> list(String threadId)
Returns a raw HTTP response for
get /threads/{thread_id}/messages
, but is otherwise the same as MessageService.list.
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<MessageListPage> list(String threadId, MessageListParams params, RequestOptions requestOptions)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<MessageListPage> list(String threadId, MessageListParams params)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<MessageListPage> list(MessageListParams params, RequestOptions requestOptions)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<MessageListPage> list(MessageListParams params)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<MessageListPage> list(String threadId, RequestOptions requestOptions)
-
delete
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<MessageDeleted> delete(String messageId, MessageDeleteParams params)
Returns a raw HTTP response for
delete /threads/{thread_id}/messages/{message_id}
, but is otherwise the same as MessageService.delete.
-
delete
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<MessageDeleted> delete(String messageId, MessageDeleteParams params, RequestOptions requestOptions)
-
delete
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<MessageDeleted> delete(MessageDeleteParams params)
-
delete
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<MessageDeleted> delete(MessageDeleteParams params, RequestOptions requestOptions)
-
-
-
-