CoderPad · Schema

QuestionWriteRequest

CompanyArtificial IntelligenceHiringTechnical AssessmentInterviewPlatform

Properties

Name Type Description
title string
language string A language key or a project template slug.
description string Description of the question, only shown to interviewers.
candidate_instructions string Instructions shown to the candidate, as a **JSON-encoded** array of objects with `instructions` (required, Markdown), `name` and `default_visible`.
contents string Starter code, for single-file languages. Cannot be combined with `file_contents`.
file_contents string Starter files, for project templates, as a JSON-encoded array of objects with `path`, `contents`, and optionally `hidden: true` to hide a file from the candidate. On creation, `deleted: true` drops a
solution string Reference solution, only shown to interviewers.
shared boolean Share the question with your organization. Only the question author can change it.
custom_database_id integer A custom database to attach to the question.
ai_assist_custom_system_prompt string Custom AI Assist system prompt. Enterprise plans only.
View JSON Schema on GitHub

JSON Schema

coderpad-question-write-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coderpad/json-schema/coderpad-question-write-request-schema.json",
  "title": "QuestionWriteRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coderpad-questions-api-openapi.yml#/components/schemas/QuestionWriteRequest",
  "type": "object",
  "properties": {
    "title": {
      "type": "string"
    },
    "language": {
      "type": "string",
      "description": "A language key or a project template slug."
    },
    "description": {
      "type": "string",
      "description": "Description of the question, only shown to interviewers."
    },
    "candidate_instructions": {
      "type": "string",
      "description": "Instructions shown to the candidate, as a **JSON-encoded** array of objects with `instructions` (required, Markdown), `name` and `default_visible`.\n"
    },
    "contents": {
      "type": "string",
      "description": "Starter code, for single-file languages. Cannot be combined with `file_contents`."
    },
    "file_contents": {
      "type": "string",
      "description": "Starter files, for project templates, as a JSON-encoded array of objects with `path`, `contents`, and optionally `hidden: true` to hide a file from the candidate. On creation, `deleted: true` drops a template file (`.cpad` cannot be deleted). On update, `deleted` entries are ignored.\n"
    },
    "solution": {
      "type": "string",
      "description": "Reference solution, only shown to interviewers."
    },
    "shared": {
      "type": "boolean",
      "description": "Share the question with your organization. Only the question author can change it."
    },
    "custom_database_id": {
      "type": "integer",
      "description": "A custom database to attach to the question."
    },
    "ai_assist_custom_system_prompt": {
      "type": "string",
      "description": "Custom AI Assist system prompt. Enterprise plans only."
    }
  }
}

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/coderpad-question-write-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.