Scale AI Chat 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 Chat Completions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a GitHub repository, and 30 JSON Schemas.
This API exposes
2 operations
across 2 paths,
and defines 100 schemas.
It is described by OpenAPI 3.2.0, at version 1.0.0.
Requests are made against the base URL https://api.egp.scale.com.
The identity and technical contract details declared by the specification.
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'…
Audio
object
1 property
1 required
ChatCompletionMessageToolCalls-Input
array
The tool calls generated by the model, such as function calls.
ChatCompletionTokenLogprob
object
4 properties
4 required
UserLocation
object
2 properties
2 required
ChatCompletionMessageToolCall
object
3 properties
3 required
Content1
array
An array of content parts with a defined type. For developer messages, only type text is supported.
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…
ChatCompletionRequestMessageContentPartRefusal
object
2 properties
2 required
Audio1
object
4 properties
4 required
Function2
object
2 properties
ChatCompletionMessageToolCallChunk
object
4 properties
1 required
ChatCompletionRequestAssistantMessage
object
7 properties
1 required
FunctionCall2
object
2 properties
Choice
object
4 properties
4 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.
ImageUrl
object
2 properties
1 required
ChatCompletionRequestSystemMessageContentPart
ChatCompletionRequestUserMessageContentPart
ChatCompletionFunctionCallOption
object
1 property
1 required
Annotation
object
2 properties
2 required
FunctionObject
object
4 properties
1 required
Logprobs
object
2 properties
2 required
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.
ChatCompletionRequestToolMessageContentPart
ChatCompletionRequestSystemMessage
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…
CompletionUsage
object
5 properties
3 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…
InputAudio
object
2 properties
2 required
Function1
object
2 properties
2 required
ChatCompletionStreamOptions
object
1 property
PredictionContent
object
2 properties
2 required
Choice1
object
4 properties
3 required
ChatCompletionRequestMessageContentPartAudio
object
2 properties
2 required
ChatCompletionRequestFunctionMessage
object
3 properties
2 required
ChatCompletionRequestAssistantMessageContentPart
Content2
array
An array of content parts with a defined type. For system messages, only type text is supported.
UrlCitation
object
4 properties
4 required
ChatCompletionResponseMessage
object
7 properties
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…
JsonSchema
object
4 properties
1 required
ChatCompletionFunctions
object
3 properties
1 required
ChatCompletionRequestMessageContentPartText
object
2 properties
2 required
FunctionCall
object
2 properties
2 required
ChatCompletionRequestToolMessage
object
3 properties
3 required
Content3
array
An array of content parts with a defined type. For tool messages, only type text is supported.
ChatCompletionV2Request
object
58 properties
2 required
ChatCompletionRequestDeveloperMessage
object
3 properties
2 required
ParallelToolCalls
boolean
Whether to enable [parallel function calling](/docs/guides/function-callingconfiguring-parallel-function-calling) during tool use.
FunctionParameters
object
ChatCompletionV2StreamErrorChunk
object
1 property
1 required
StreamErrorContent
object
2 properties
2 required
ChatCompletionNamedToolChoice
object
2 properties
2 required
ChatCompletionRequestMessageContentPartImage
object
2 properties
2 required
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…
CreateChatCompletionStreamResponse
object
8 properties
5 required
StreamError
object
Error object for a stream prompt completion task.
2 properties
2 required
CompletionTokensDetails
object
4 properties
ResponseFormatJsonSchema
object
2 properties
2 required
ValidationError
object
5 properties
3 required
CreateChatCompletionResponse
object
8 properties
5 required
ChatCompletionStreamResponseDelta
object
5 properties
WebSearchOptions
object
2 properties
PromptTokensDetails
object
2 properties
ChatCompletionRequestMessage
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…
ResponseFormatJsonObject
object
1 property
1 required
HTTPValidationError
object
1 property
ChatCompletionMessageToolCalls-Output
array
The tool calls generated by the model, such as function calls.
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
TopLogprob
object
3 properties
3 required
Audio2
object
2 properties
2 required
ChatCompletionRequestMessageContentPartFile
object
2 properties
2 required
ResponseFormatText
object
1 property
1 required
ChatCompletionRequestUserMessage
object
3 properties
2 required
Function3
object
1 property
1 required
ChatCompletionTool
object
2 properties
2 required
ImageUrlSubPart
object
2 properties
1 required
TokenUsage
object
3 properties
1 required
LastKMemoryStrategyParams
object
1 property
1 required
CreateChatCompletionRequest
object
8 properties
2 required
ImageUrlUserMessageContentParts
object
2 properties
1 required
ImageDataUserMessageContentParts
object
2 properties
1 required
ImageDataSubPart
object
4 properties
2 required
UserMessage
object
2 properties
1 required
ModelParameters
object
8 properties
egp_api_backend__server__api__models__egp_models__ChatCompletion
object
2 properties
1 required
TextUserMessageContentParts
object
2 properties
1 required
SystemMessage
object
2 properties
1 required
AssistantMessage
object
2 properties
1 required
LastKMemoryStrategy
object
2 properties
1 required
The full machine-readable OpenAPI contract behind this narrative.
Other APIs Scale AI publishes across the network.