class

Anthropic::BetaBatches

Inherits Reference < Object

Constants

BETA_HEADER = "message-batches-2024-09-24"

Constructors

new(client : Client)
Source

Instance methods

cancel(batch_id : String, betas : Array(String) = [] of String) : BatchResponse
Source
create(requests : Array(BatchRequest), betas : Array(String) = [] of String) : BatchResponse
Source
create(requests : Array(BetaBatchRequest), betas : Array(String) = [] of String) : BatchResponse
Source
delete(batch_id : String, betas : Array(String) = [] of String) : DeletedResponse
Source
list(limit : Int32 = 20, before_id : String | Nil = nil, after_id : String | Nil = nil, betas : Array(String) = [] of String) : BetaBatchListResponse
Source
results(batch_id : String, betas : Array(String) = [] of String, &)
Source
retrieve(batch_id : String, betas : Array(String) = [] of String) : BatchResponse
Source