Scale AI Batch Completions API is one of 94 APIs that Scale AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 30 JSON Schema definitions.
Tagged areas include Batch Completions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a GitHub repository, and 30 JSON Schemas.
This API exposes
4 operations
across 3 paths,
and defines 76 schemas.
It is described by OpenAPI 3.2.0, at version 1.0.0.
Requests are made against the base URL https://api.spellbook.scale.com/llm-engine.
The identity and technical contract details declared by the specification.
FilteredChatCompletionV2Request
object
58 properties
1 required
ResponseFormatJsonSchemaSchema
object
ServiceTier
Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service: - If set to 'auto'…
Prompt
The prompt(s) to generate completions for, encoded as a string, array of strings, array of tokens, or array of token arrays. Note that is the document separato…
Audio
object
1 property
1 required
ChatCompletionMessageToolCalls-Input
array
The tool calls generated by the model, such as function calls.
FunctionObject
object
4 properties
1 required
ChatCompletionRequestUserMessageContentPart
WebSearchOptions
object
2 properties
JsonSchema
object
4 properties
1 required
ChatCompletionFunctions
object
3 properties
1 required
ChatCompletionRequestMessage
WebSearchContextSize
string
High level guidance for the amount of context window space to use for the search. One of low, medium, or high. medium is the default.
ChatCompletionRequestMessageContentPartText
object
2 properties
2 required
FunctionCall
object
2 properties
2 required
UserLocation
object
2 properties
2 required
ChatCompletionMessageToolCall
object
3 properties
3 required
ChatCompletionRequestToolMessageContentPart
Content1
array
An array of content parts with a defined type. For developer messages, only type text is supported.
ValidationError
object
5 properties
3 required
ChatCompletionRequestToolMessage
object
3 properties
3 required
BatchCompletionsJobStatus
string
Content3
array
An array of content parts with a defined type. For tool messages, only type text is supported.
CancelBatchCompletionsV2Response
object
1 property
1 required
ToolConfig
object
Configuration for tool use. NOTE: this config is highly experimental and signature will change significantly in future iterations.
4 properties
1 required
ChatCompletionRequestSystemMessage
object
3 properties
2 required
Content8
array
An array of content parts with a defined type. Supported options differ based on the [model](/docs/models) being used to generate the response. Can contain tex…
ChatCompletionRequestDeveloperMessage
object
3 properties
2 required
ReasoningEffort
o-series models only Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are l…
ParallelToolCalls
boolean
Whether to enable [parallel function calling](/docs/guides/function-callingconfiguring-parallel-function-calling) during tool use.
ResponseFormatJsonObject
object
1 property
1 required
FunctionParameters
object
HTTPValidationError
object
1 property
BatchCompletionsModelConfig
object
41 properties
1 required
ChatCompletionToolChoiceOption
Controls which (if any) tool is called by the model. none means the model will not call any tool and instead generates a message. auto means the model can pick…
CreateBatchCompletionsV2Request
object
Request object for batch completions.
15 properties
2 required
StopConfiguration1
Not supported with latest reasoning models o3 and o4-mini. Up to 4 sequences where the API will stop generating further tokens. The returned text will not cont…
ChatCompletionNamedToolChoice
object
2 properties
2 required
InputAudio
object
2 properties
2 required
Prompt1
The prompt(s) to generate completions for, encoded as a string, array of strings, array of tokens, or array of token arrays. Note that is the document separato…
ChatCompletionRequestMessageContentPartRefusal
object
2 properties
2 required
UpdateBatchCompletionsV2Request
object
2 properties
1 required
CreateBatchCompletionsV1RequestContent
object
10 properties
3 required
ResponseModalities
Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"] The gpt-4o-audio-preview mod…
WebSearchLocation
object
4 properties
ChatCompletionRequestMessageContentPartImage
object
2 properties
2 required
ChatCompletionStreamOptions
object
1 property
StopConfiguration
Not supported with latest reasoning models o3 and o4-mini. Up to 4 sequences where the API will stop generating further tokens. The returned text will not cont…
Function1
object
2 properties
2 required
ChatCompletionRequestAssistantMessage
object
7 properties
1 required
Audio2
object
2 properties
2 required
PredictionContent
object
2 properties
2 required
GpuType
string
Lists allowed GPU types for Launch.
ChatCompletionRequestMessageContentPartFile
object
2 properties
2 required
UpdateBatchCompletionsV2Response
object
11 properties
9 required
Content
An array of content parts with a defined type. Can be one or more of type text, or exactly one of type refusal.
BatchCompletionsJob
object
10 properties
8 required
ChatCompletionRequestMessageContentPartAudio
object
2 properties
2 required
ChatCompletionRequestFunctionMessage
object
3 properties
2 required
ChatCompletionFunctionCallOption
object
1 property
1 required
ResponseFormatText
object
1 property
1 required
ImageUrl
object
2 properties
1 required
ChatCompletionRequestAssistantMessageContentPart
ChatCompletionRequestSystemMessageContentPart
Content2
array
An array of content parts with a defined type. For system messages, only type text is supported.
FilteredCompletionV2Request
object
38 properties
1 required
ChatCompletionRequestUserMessage
object
3 properties
2 required
GetBatchCompletionV2Response
object
1 property
1 required
Content4
array
An array of content parts with a defined type. Supported options differ based on the [model](/docs/models) being used to generate the response. Can contain tex…
Function3
object
1 property
1 required
ResponseFormatJsonSchema
object
2 properties
2 required
ChatCompletionTool
object
2 properties
2 required
The full machine-readable OpenAPI contract behind this narrative.
Other APIs Scale AI publishes across the network.