@@ -380,6 +380,35 @@ Methods:
380380- <code title =" post /vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel " >client.VectorStores.FileBatches.<a href =" https://pkg.go.dev/github.com/openai/openai-go#VectorStoreFileBatchService.Cancel " >Cancel</a >(ctx <a href =" https://pkg.go.dev/context " >context</a >.<a href =" https://pkg.go.dev/context#Context " >Context</a >, vectorStoreID <a href =" https://pkg.go.dev/builtin#string " >string</a >, batchID <a href =" https://pkg.go.dev/builtin#string " >string</a >) (<a href =" https://pkg.go.dev/github.com/openai/openai-go " >openai</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go#VectorStoreFileBatch " >VectorStoreFileBatch</a >, <a href =" https://pkg.go.dev/builtin#error " >error</a >)</code >
381381- <code title="get /vector_stores/{vector_store_id}/file_batches/{batch_id}/files">client.VectorStores.FileBatches.<a href="https://pkg.go.dev/github.com/openai/openai-go#VectorStoreFileBatchService.ListFiles">ListFiles</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, vectorStoreID <a href="https://pkg.go.dev/builtin#string">string</a>, batchID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/openai/openai-go">openai</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go#VectorStoreFileBatchListFilesParams">VectorStoreFileBatchListFilesParams</a>) (<a href="https://pkg.go.dev/github.com/openai/openai-go/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go/packages/pagination#CursorPage">CursorPage</a>[<a href="https://pkg.go.dev/github.com/openai/openai-go">openai</a>.<a href="https://pkg.go.dev/github.com/openai/openai-go#VectorStoreFile">VectorStoreFile</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
382382
383+ # Webhooks
384+
385+ Response Types:
386+
387+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#BatchCancelledWebhookEvent " >BatchCancelledWebhookEvent</a >
388+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#BatchCompletedWebhookEvent " >BatchCompletedWebhookEvent</a >
389+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#BatchExpiredWebhookEvent " >BatchExpiredWebhookEvent</a >
390+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#BatchFailedWebhookEvent " >BatchFailedWebhookEvent</a >
391+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#EvalRunCanceledWebhookEvent " >EvalRunCanceledWebhookEvent</a >
392+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#EvalRunFailedWebhookEvent " >EvalRunFailedWebhookEvent</a >
393+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#EvalRunSucceededWebhookEvent " >EvalRunSucceededWebhookEvent</a >
394+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#FineTuningJobCancelledWebhookEvent " >FineTuningJobCancelledWebhookEvent</a >
395+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#FineTuningJobFailedWebhookEvent " >FineTuningJobFailedWebhookEvent</a >
396+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#FineTuningJobSucceededWebhookEvent " >FineTuningJobSucceededWebhookEvent</a >
397+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#ResponseCancelledWebhookEvent " >ResponseCancelledWebhookEvent</a >
398+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#ResponseCompletedWebhookEvent " >ResponseCompletedWebhookEvent</a >
399+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#ResponseFailedWebhookEvent " >ResponseFailedWebhookEvent</a >
400+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#ResponseIncompleteWebhookEvent " >ResponseIncompleteWebhookEvent</a >
401+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#UnwrapWebhookEventUnion " >UnwrapWebhookEventUnion</a >
402+
403+ Methods:
404+
405+ - <code >client.Webhooks.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#WebhookService.Unwrap " >Unwrap</a >(body [ ] <a href =" https://pkg.go.dev/builtin#byte " >byte</a >, headers <a href =" https://pkg.go.dev/net/http " >http</a >.<a href =" https://pkg.go.dev/net/http#Header " >Header</a >, opts ...<a href =" https://pkg.go.dev/github.com/openai/openai-go/option " >option</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/option#RequestOption " >RequestOption</a >) (* <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#UnwrapWebhookEventUnion " >UnwrapWebhookEventUnion</a >, <a href =" https://pkg.go.dev/builtin#error " >error</a >)</code >
406+ - <code >client.Webhooks.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#WebhookService.UnwrapWithTolerance " >UnwrapWithTolerance</a >(body [ ] <a href =" https://pkg.go.dev/builtin#byte " >byte</a >, headers <a href =" https://pkg.go.dev/net/http " >http</a >.<a href =" https://pkg.go.dev/net/http#Header " >Header</a >, tolerance <a href =" https://pkg.go.dev/time " >time</a >.<a href =" https://pkg.go.dev/time#Duration " >Duration</a >, opts ...<a href =" https://pkg.go.dev/github.com/openai/openai-go/option " >option</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/option#RequestOption " >RequestOption</a >) (* <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#UnwrapWebhookEventUnion " >UnwrapWebhookEventUnion</a >, <a href =" https://pkg.go.dev/builtin#error " >error</a >)</code >
407+ - <code >client.Webhooks.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#WebhookService.UnwrapWithToleranceAndTime " >UnwrapWithToleranceAndTime</a >(body [ ] <a href =" https://pkg.go.dev/builtin#byte " >byte</a >, headers <a href =" https://pkg.go.dev/net/http " >http</a >.<a href =" https://pkg.go.dev/net/http#Header " >Header</a >, tolerance <a href =" https://pkg.go.dev/time " >time</a >.<a href =" https://pkg.go.dev/time#Duration " >Duration</a >, now <a href =" https://pkg.go.dev/time " >time</a >.<a href =" https://pkg.go.dev/time#Time " >Time</a >, opts ...<a href =" https://pkg.go.dev/github.com/openai/openai-go/option " >option</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/option#RequestOption " >RequestOption</a >) (* <a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks " >webhooks</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#UnwrapWebhookEventUnion " >UnwrapWebhookEventUnion</a >, <a href =" https://pkg.go.dev/builtin#error " >error</a >)</code >
408+ - <code >client.Webhooks.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#WebhookService.VerifySignature " >VerifySignature</a >(body [ ] <a href =" https://pkg.go.dev/builtin#byte " >byte</a >, headers <a href =" https://pkg.go.dev/net/http " >http</a >.<a href =" https://pkg.go.dev/net/http#Header " >Header</a >, opts ...<a href =" https://pkg.go.dev/github.com/openai/openai-go/option " >option</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/option#RequestOption " >RequestOption</a >) <a href =" https://pkg.go.dev/builtin#error " >error</a ></code >
409+ - <code >client.Webhooks.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#WebhookService.VerifySignatureWithTolerance " >VerifySignatureWithTolerance</a >(body [ ] <a href =" https://pkg.go.dev/builtin#byte " >byte</a >, headers <a href =" https://pkg.go.dev/net/http " >http</a >.<a href =" https://pkg.go.dev/net/http#Header " >Header</a >, tolerance <a href =" https://pkg.go.dev/time " >time</a >.<a href =" https://pkg.go.dev/time#Duration " >Duration</a >, opts ...<a href =" https://pkg.go.dev/github.com/openai/openai-go/option " >option</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/option#RequestOption " >RequestOption</a >) <a href =" https://pkg.go.dev/builtin#error " >error</a ></code >
410+ - <code >client.Webhooks.<a href =" https://pkg.go.dev/github.com/openai/openai-go/webhooks#WebhookService.VerifySignatureWithToleranceAndTime " >VerifySignatureWithToleranceAndTime</a >(body [ ] <a href =" https://pkg.go.dev/builtin#byte " >byte</a >, headers <a href =" https://pkg.go.dev/net/http " >http</a >.<a href =" https://pkg.go.dev/net/http#Header " >Header</a >, tolerance <a href =" https://pkg.go.dev/time " >time</a >.<a href =" https://pkg.go.dev/time#Duration " >Duration</a >, now <a href =" https://pkg.go.dev/time " >time</a >.<a href =" https://pkg.go.dev/time#Time " >Time</a >, opts ...<a href =" https://pkg.go.dev/github.com/openai/openai-go/option " >option</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/option#RequestOption " >RequestOption</a >) <a href =" https://pkg.go.dev/builtin#error " >error</a ></code >
411+
383412# Beta
384413
385414## Assistants
@@ -600,6 +629,7 @@ Params Types:
600629- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ResponseTextConfigParam " >ResponseTextConfigParam</a >
601630- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolUnionParam " >ToolUnionParam</a >
602631- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolChoiceFunctionParam " >ToolChoiceFunctionParam</a >
632+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolChoiceMcpParam " >ToolChoiceMcpParam</a >
603633- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolChoiceOptions " >ToolChoiceOptions</a >
604634- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolChoiceTypesParam " >ToolChoiceTypesParam</a >
605635- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#WebSearchToolParam " >WebSearchToolParam</a >
@@ -696,6 +726,7 @@ Response Types:
696726- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ResponseWebSearchCallSearchingEvent " >ResponseWebSearchCallSearchingEvent</a >
697727- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolUnion " >ToolUnion</a >
698728- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolChoiceFunction " >ToolChoiceFunction</a >
729+ - <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolChoiceMcp " >ToolChoiceMcp</a >
699730- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolChoiceOptions " >ToolChoiceOptions</a >
700731- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#ToolChoiceTypes " >ToolChoiceTypes</a >
701732- <a href =" https://pkg.go.dev/github.com/openai/openai-go/responses " >responses</a >.<a href =" https://pkg.go.dev/github.com/openai/openai-go/responses#WebSearchTool " >WebSearchTool</a >
0 commit comments