Scale AI · Schema

ResponseRequest

Data EngineLabelingRLHFGenAI PlatformDonovanDefense AILiDARSensor FusionREST API

Properties

Name Type Description
include array Which fields to include in the response
instructions string Instructions for the response generation
max_output_tokens integer Maximum number of output tokens
metadata object Metadata for the response
parallel_tool_calls boolean Whether to enable parallel tool calls
previous_response_id string ID of the previous response for chaining
reasoning object Reasoning configuration for the response
store boolean Whether to store the response
stream boolean Whether to stream the response
temperature number Sampling temperature for randomness control
text object Text configuration parameters
tool_choice object Tool choice configuration
tools array Tools available for the response
top_p number Top-p sampling parameter
truncation string Truncation configuration
model string model specified as `model_vendor/model`, for example `openai/gpt-4o`
input object
View JSON Schema on GitHub

JSON Schema

scale-ai-response-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-response-request-schema.json",
  "title": "ResponseRequest",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scale-ai-sgp-v5-openapi.yml#/components/schemas/ResponseRequest",
  "properties": {
    "include": {
      "title": "Include",
      "description": "Which fields to include in the response",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "instructions": {
      "title": "Instructions",
      "description": "Instructions for the response generation",
      "type": "string"
    },
    "max_output_tokens": {
      "title": "Max Output Tokens",
      "description": "Maximum number of output tokens",
      "type": "integer"
    },
    "metadata": {
      "title": "Metadata",
      "description": "Metadata for the response",
      "additionalProperties": true,
      "type": "object"
    },
    "parallel_tool_calls": {
      "title": "Parallel Tool Calls",
      "description": "Whether to enable parallel tool calls",
      "type": "boolean"
    },
    "previous_response_id": {
      "title": "Previous Response Id",
      "description": "ID of the previous response for chaining",
      "type": "string"
    },
    "reasoning": {
      "title": "Reasoning",
      "description": "Reasoning configuration for the response",
      "additionalProperties": true,
      "type": "object"
    },
    "store": {
      "title": "Store",
      "description": "Whether to store the response",
      "type": "boolean"
    },
    "stream": {
      "title": "Stream",
      "description": "Whether to stream the response",
      "type": "boolean"
    },
    "temperature": {
      "title": "Temperature",
      "description": "Sampling temperature for randomness control",
      "type": "number",
      "maximum": 2,
      "minimum": 0
    },
    "text": {
      "title": "Text",
      "description": "Text configuration parameters",
      "additionalProperties": true,
      "type": "object"
    },
    "tool_choice": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "additionalProperties": true,
          "type": "object"
        }
      ],
      "title": "Tool Choice",
      "description": "Tool choice configuration"
    },
    "tools": {
      "title": "Tools",
      "description": "Tools available for the response",
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array"
    },
    "top_p": {
      "title": "Top P",
      "description": "Top-p sampling parameter",
      "type": "number",
      "maximum": 1,
      "minimum": 0
    },
    "truncation": {
      "title": "Truncation",
      "description": "Truncation configuration",
      "type": "string",
      "enum": [
        "auto",
        "disabled"
      ]
    },
    "model": {
      "type": "string",
      "title": "Model",
      "description": "model specified as `model_vendor/model`, for example `openai/gpt-4o`"
    },
    "input": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/EasyInputMessageParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__Message"
              },
              {
                "$ref": "#/$defs/ResponseOutputMessageParam"
              },
              {
                "$ref": "#/$defs/ResponseFileSearchToolCallParam"
              },
              {
                "$ref": "#/$defs/ResponseComputerToolCallParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ComputerCallOutput"
              },
              {
                "$ref": "#/$defs/ResponseFunctionWebSearchParam"
              },
              {
                "$ref": "#/$defs/ResponseFunctionToolCallParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__FunctionCallOutput"
              },
              {
                "$ref": "#/$defs/ResponseReasoningItemParam"
              },
              {
                "$ref": "#/$defs/ResponseCompactionItemParamParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ImageGenerationCall"
              },
              {
                "$ref": "#/$defs/ResponseCodeInterpreterToolCallParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__LocalShellCall"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__LocalShellCallOutput"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ShellCall"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ShellCallOutput"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ApplyPatchCall"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ApplyPatchCallOutput"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__McpListTools"
              },
              {
                "$ref": "#/$defs/McpApprovalRequest"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__McpApprovalResponse"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__McpCall"
              },
              {
                "$ref": "#/$defs/ResponseCustomToolCallOutputParam"
              },
              {
                "$ref": "#/$defs/ResponseCustomToolCallParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ItemReference"
              }
            ]
          },
          "type": "array"
        }
      ],
      "title": "Input"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "model",
    "input"
  ],
  "$defs": {
    "ActionClick": {
      "properties": {
        "button": {
          "type": "string",
          "enum": [
            "left",
            "right",
            "wheel",
            "back",
            "forward"
          ],
          "title": "Button"
        },
        "type": {
          "type": "string",
          "const": "click",
          "title": "Type"
        },
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "button",
        "type",
        "x",
        "y"
      ],
      "title": "ActionClick",
      "description": "A click action."
    },
    "ActionDoubleClick": {
      "properties": {
        "type": {
          "type": "string",
          "const": "double_click",
          "title": "Type"
        },
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type",
        "x",
        "y"
      ],
      "title": "ActionDoubleClick",
      "description": "A double click action."
    },
    "ActionDrag": {
      "properties": {
        "path": {
          "items": {
            "$ref": "#/$defs/ActionDragPath"
          },
          "type": "array",
          "title": "Path"
        },
        "type": {
          "type": "string",
          "const": "drag",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "path",
        "type"
      ],
      "title": "ActionDrag",
      "description": "A drag action."
    },
    "ActionDragPath": {
      "properties": {
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "x",
        "y"
      ],
      "title": "ActionDragPath",
      "description": "An x/y coordinate pair, e.g. `{ x: 100, y: 200 }`."
    },
    "ActionFind": {
      "properties": {
        "pattern": {
          "type": "string",
          "title": "Pattern"
        },
        "type": {
          "type": "string",
          "const": "find_in_page",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "pattern",
        "type",
        "url"
      ],
      "title": "ActionFind",
      "description": "Action type \"find_in_page\": Searches for a pattern within a loaded page."
    },
    "ActionKeypress": {
      "properties": {
        "keys": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Keys"
        },
        "type": {
          "type": "string",
          "const": "keypress",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "keys",
        "type"
      ],
      "title": "ActionKeypress",
      "description": "A collection of keypresses the model would like to perform."
    },
    "ActionMove": {
      "properties": {
        "type": {
          "type": "string",
          "const": "move",
          "title": "Type"
        },
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type",
        "x",
        "y"
      ],
      "title": "ActionMove",
      "description": "A mouse move action."
    },
    "ActionScreenshot": {
      "properties": {
        "type": {
          "type": "string",
          "const": "screenshot",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ActionScreenshot",
      "description": "A screenshot action."
    },
    "ActionScroll": {
      "properties": {
        "scroll_x": {
          "type": "integer",
          "title": "Scroll X"
        },
        "scroll_y": {
          "type": "integer",
          "title": "Scroll Y"
        },
        "type": {
          "type": "string",
          "const": "scroll",
          "title": "Type"
        },
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "scroll_x",
        "scroll_y",
        "type",
        "x",
        "y"
      ],
      "title": "ActionScroll",
      "description": "A scroll action."
    },
    "ActionSearchSource": {
      "properties": {
        "type": {
          "type": "string",
          "const": "url",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type",
        "url"
      ],
      "title": "ActionSearchSource",
      "description": "A source used in the search."
    },
    "ActionType": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "type",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "text",
        "type"
      ],
      "title": "ActionType",
      "description": "An action to type in text."
    },
    "ActionWait": {
      "properties": {
        "type": {
          "type": "string",
          "const": "wait",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ActionWait",
      "description": "A wait action."
    },
    "AnnotationContainerFileCitation": {
      "properties": {
        "container_id": {
          "type": "string",
          "title": "Container Id"
        },
        "end_index": {
          "type": "integer",
          "title": "End Index"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "start_index": {
          "type": "integer",
          "title": "Start Index"
        },
        "type": {
          "type": "string",
          "const": "container_file_citation",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "container_id",
        "end_index",
        "file_id",
        "filename",
        "start_index",
        "type"
      ],
      "title": "AnnotationContainerFileCitation",
      "description": "A citation for a container file used to generate a model response."
    },
    "AnnotationFileCitation": {
      "properties": {
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "index": {
          "type": "integer",
          "title": "Index"
        },
        "type": {
          "type": "string",
          "const": "file_citation",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "file_id",
        "filename",
        "index",
        "type"
      ],
      "title": "AnnotationFileCitation",
      "description": "A citation to a file."
    },
    "AnnotationFilePath": {
      "properties": {
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "index": {
          "type": "integer",
          "title": "Index"
        },
        "type": {
          "type": "string",
          "const": "file_path",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "file_id",
        "index",
        "type"
      ],
      "title": "AnnotationFilePath",
      "description": "A path to a file."
    },
    "ApplyPatchCallOperationCreateFile": {
      "properties": {
        "diff": {
          "type": "string",
          "title": "Diff"
        },
        "path": {
          "type": "string",
          "title": "Path"
        },
        "type": {
          "type": "string",
          "const": "create_file",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "diff",
        "path",
        "type"
      ],
      "title": "ApplyPatchCallOperationCreateFile",
      "description": "Instruction for creating a new file via the apply_patch tool."
    },
    "ApplyPatchCallOperationDeleteFile": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "type": {
          "type": "string",
          "const": "delete_file",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "path",
        "type"
      ],
      "title": "ApplyPatchCallOperationDeleteFile",
      "description": "Instruction for deleting an existing file via the apply_patch tool."
    },
    "ApplyPatchCallOperationUpdateFile": {
      "properties": {
        "diff": {
          "type": "string",
          "title": "Diff"
        },
        "path": {
          "type": "string",
          "title": "Path"
        },
        "type": {
          "type": "string",
          "const": "update_file",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "diff",
        "path",
        "type"
      ],
      "title": "ApplyPatchCallOperationUpdateFile",
      "description": "Instruction for updating an existing file via the apply_patch tool."
    },
    "ContainerReferenceParam": {
      "properties": {
        "container_id": {
          "type": "string",
          "title": "Container Id"
        },
        "type": {
          "type": "string",
          "const": "container_reference",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "container_id",
        "type"
      ],
      "title": "ContainerReferenceParam"
    },
    "Content": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "reasoning_text",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "text",
        "type"
      ],
      "title": "Content",
      "description": "Reasoning text from the model."
    },
    "EasyInputMessageParam": {
      "properties": {
        "content": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResponseInputTextParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputImageParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputFileParam"
                  }
                ]
              },
              "type": "array"
            }
          ],
          "title": "Content"
        },
        "role": {
          "type": "string",
          "enum": [
            "user",
            "assistant",
            "system",
            "developer"
          ],
          "title": "Role"
        },
        "phase": {
          "title": "Phase",
          "type": "string",
          "enum": [
            "commentary",
            "final_answer"
          ]
        },
        "type": {
          "title": "Type",
          "type": "string",
          "const": "message"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "content",
        "role"
      ],
      "title": "EasyInputMessageParam",
      "description": "A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions."
    },
    "LocalEnvironmentParam": {
      "properties": {
        "type": {
          "type": "string",
          "const": "local",
          "title": "Type"
        },
        "skills": {
          "items": {
            "$ref": "#/$defs/LocalSkillParam"
          },
          "type": "array",
          "title": "Skills"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "LocalEnvironmentParam"
    },
    "LocalSkillParam": {
      "properties": {
        "description": {
          "title": "Description",
          "type": "string"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "path": {
          "type": "string",
          "title": "Path"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "description",
        "name",
        "path"
      ],
      "title": "LocalSkillParam"
    },
    "McpApprovalRequest": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "arguments": {
          "title": "Arguments",
          "type": "string"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "server_label": {
          "type": "string",
          "title": "Server Label"
        },
        "type": {
          "type": "string",
          "const": "mcp_approval_request",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "arguments",
        "name",
        "server_label",
        "type"
      ],
      "title": "McpApprovalRequest",
      "description": "A request for human approval of a tool invocation."
    },
    "OutcomeExit": {
      "properties": {
        "exit_code": {
          "type": "integer",
          "title": "Exit Code"
        },
        "type": {
          "type": "string",
          "const": "exit",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "exit_code",
        "type"
      ],
      "title": "OutcomeExit",
      "description": "Indicates that the shell commands finished and returned an exit code."
    },
    "OutcomeTimeout": {
      "properties": {
        "type": {
          "type": "string",
          "const": "timeout",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "OutcomeTimeout",
      "description": "Indicates that the shell call exceeded its configured time limit."
    },
    "OutputImage": {
      "properties": {
        "type": {
          "type": "string",
          "const": "image",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type",
        "url"
      ],
      "title": "OutputImage",
      "description": "The image output from the code interpreter."
    },
    "OutputLogs": {
      "properties": {
        "logs": {
          "type": "string",
          "title": "Logs"
        },
        "type": {
          "type": "string",
          "const": "logs",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "logs",
        "type"
      ],
      "title": "OutputLogs",
      "description": "The logs output from the code interpreter."
    },
    "ResponseCodeInterpreterToolCallParam": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "code": {
          "type": "string",
          "title": "Code"
        },
        "container_id": {
          "type": "string",
          "title": "Container Id"
        },
        "outputs": {
          "title": "Outputs",
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/OutputLogs"
              },
              {
                "$ref": "#/$defs/OutputImage"
              }
            ]
          },
          "type": "array"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete",
            "interpreting",
            "failed"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "code_interpreter_call",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "code",
        "container_id",
        "outputs",
        "status",
        "type"
      ],
      "title": "ResponseCodeInterpreterToolCallParam",
      "description": "A tool call to run code."
    },
    "ResponseCompactionItemParamParam": {
      "properties": {
        "encrypted_content": {
          "type": "string",
          "title": "Encrypted Content"
        },
        "type": {
          "type": "string",
          "const": "compaction",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "encrypted_content",
        "type"
      ],
      "title": "ResponseCompactionItemParamParam",
      "description": "A compaction item generated by the [`v1/responses/compact` API](https://platform.openai.com/docs/api-reference/responses/compact)."
    },
    "ResponseComputerToolCallOutputScreenshotParam": {
      "properties": {
        "type": {
          "type": "string",
          "const": "computer_screenshot",
          "title": "Type"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "image_url": {
          "title": "Image Url",
          "type": "string"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ResponseComputerToolCallOutputScreenshotParam",
      "description": "A computer screenshot image used with the computer use tool."
    },
    "ResponseComputerToolCallParam": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "action": {
          "anyOf": [
            {
              "$ref": "#/$defs/ActionClick"
            },
            {
              "$ref": "#/$defs/ActionDoubleClick"
            },
            {
              "$ref": "#/$defs/ActionDrag"
            },
            {
              "$ref": "#/$defs/ActionKeypress"
            },
            {
              "$ref": "#/$defs/ActionMove"
            },
            {
              "$ref": "#/$defs/ActionScreenshot"
            },
            {
              "$ref": "#/$defs/ActionScroll"
            },
            {
              "$ref": "#/$defs/ActionType"
            },
            {
              "$ref": "#/$defs/ActionWait"
            }
          ],
          "title": "Action"
        },
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "pending_safety_checks": {
          "items": {
            "$ref": "#/$defs/openai__types__responses__response_computer_tool_call_param__PendingSafetyCheck"
          },
          "type": "array",
          "title": "Pending Safety Checks"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "computer_call",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "action",
        "call_id",
        "pending_safety_checks",
        "status",
        "type"
      ],
      "title": "ResponseComputerToolCallParam",
      "description": "A tool call to a computer use tool.\n\nSee the\n[computer use guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information."
    },
    "ResponseCustomToolCallOutputParam": {
      "properties": {
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "output": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResponseInputTextParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputImageParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputFileParam"
                  }
                ]
              },
              "type": "array"
            }
          ],
          "title": "Output"
        },
        "type": {
          "type": "string",
          "const": "custom_tool_call_output",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "call_id",
        "output",
        "type"
      ],
      "title": "ResponseCustomToolCallOutputParam",
      "description": "The output of a custom tool call from your code, being sent back to the model."
    },
    "ResponseCustomToolCallParam": {
      "properties": {
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "input": {
          "type": "string",
          "title": "Input"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "type": {
          "type": "string",
          "const": "custom_tool_call",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "call_id",
        "input",
        "name",
        "type"
      ],
      "title": "ResponseCustomToolCallParam",
      "description": "A call to a custom tool created by the model."
    },
    "ResponseFileSearchToolCallParam": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "queries": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Queries"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "searching",
            "completed",
            "incomplete",
            "failed"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "file_search_call",
          "title": "Type"
        },
        "results": {
          "title": "Results",
          "items": {
            "$ref": "#/$defs/openai__types__responses__response_file_search_tool_call_param__Result"
          },
          "type": "array"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "queries",
        "status",
        "type"
      ],
      "title": "ResponseFileSearchToolCallParam",
      "description": "The results of a file search tool call.\n\nSee the\n[file search guide](https://platform.openai.com/docs/guides/tools-file-search) for more information."
    },
    "ResponseFunctionShellCallOutputContentParam": {
      "properties": {
        "outcome": {
          "anyOf": [
            {
              "$ref": "#/$defs/OutcomeTimeout"
            },
            {
              "$ref": "#/$defs/OutcomeExit"
            }
          ],
          "title": "Outcome"
        },
        "stderr": {
          "type": "string",
          "title": "Stderr"
        },
        "stdout": {
          "type": "string",
          "title": "Stdout"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "outcome",
        "stderr",
        "stdout"
      ],
      "title": "ResponseFunctionShellCallOutputContentParam",
      "description": "Captured stdout and stderr for a portion of a shell tool call output."
    },
    "ResponseFunctionToolCallParam": {
      "properties": {
        "arguments": {
          "title": "Arguments",
          "type": "string"
        },
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "type": {
          "type": "string",
          "const": "function_call",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        }
      },
 

# --- truncated at 32 KB (65 KB total) ---
# Full source: https://artifacts.apis.io/scale-ai/json-schema/scale-ai-response-request-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/scale-ai-response-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.