CodeSandbox · Example Payload

Codesandbox Sandbox List Example

Example request and response for listing sandboxes in a workspace

Developer ToolsCloud IDECode SandboxesBrowser DevelopmentAI SandboxesCode Embedding

Codesandbox Sandbox List Example is an example object payload from CodeSandbox, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionoperationrequestresponse

Example Payload

Raw ↑
{
  "description": "Example request and response for listing sandboxes in a workspace",
  "operation": "sandbox/list",
  "request": {
    "method": "GET",
    "url": "https://api.codesandbox.io/sandbox?page=1&page_size=10&order_by=updated_at&direction=desc",
    "headers": {
      "Authorization": "Bearer <your-api-token>"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "success": true,
      "errors": [],
      "data": {
        "sandboxes": [
          {
            "id": "xq5yz",
            "created_at": "2024-01-15T10:30:00Z",
            "updated_at": "2024-01-20T14:22:00Z",
            "is_frozen": false,
            "privacy": 0,
            "title": "My React App",
            "description": "A simple React application with a counter",
            "tags": ["react", "demo"],
            "settings": {
              "use_pint": false
            }
          },
          {
            "id": "abc12",
            "created_at": "2024-01-10T08:00:00Z",
            "updated_at": "2024-01-18T09:45:00Z",
            "is_frozen": false,
            "privacy": 2,
            "title": "AI Agent Sandbox",
            "description": "Isolated environment for running AI code",
            "tags": ["ai", "agent", "python"],
            "settings": {
              "use_pint": false
            }
          }
        ],
        "pagination": {
          "total_records": 2,
          "current_page": 1,
          "next_page": null
        }
      }
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/codesandbox-sandbox-list-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.