Exec

List Exec Sessions

List active exec sessions.

AuthBearer key
GroupExec
GET/v1/cells/{name}/exec

HTTP client

Set up your HTTP client with the auth header before calling the API. Match the authentication type shown above.

const BASE_URL = 'https://cells-api.mudbase.dev';
const HEADERS = {
  'Authorization': 'Bearer YOUR_JWT_TOKEN',
  'Content-Type': 'application/json',
};
const BASE_URL = 'https://cells-api.mudbase.dev';
const HEADERS = {
  'Authorization': 'Bearer YOUR_JWT_TOKEN',
  'Content-Type': 'application/json',
};

Example request

Call this endpoint using the client from SDK setup. Use View HTTP for a raw cURL example.

const res = await fetch('https://cells-api.mudbase.dev/v1/cells/YOUR_NAME/exec', {
  method: 'GET',
  headers: HEADERS,
});
const data = await res.json();
const res = await fetch('https://cells-api.mudbase.dev/v1/cells/YOUR_NAME/exec', {
  method: 'GET',
  headers: HEADERS,
});
const data = await res.json();

Playground

read-only

Build a request example for this endpoint. Read-only: the playground does not send requests. Run the request with curl or the SDK.

No Request Yet

Send a request to see the full inspector

Authentication

Requires Bearer key
Note
Include your API key in the Authorization: Bearer YOUR_KEY header. View authentication guide →

Path Parameters

NameTypeRequiredDescription
namestringYes-

Responses

200Success
json
[
  {
    "bytes_per_second": 125.5,
    "command": "bash",
    "created": "2026-01-05T10:30:00Z",
    "id": 1847,
    "is_active": true,
    "last_activity": "2026-01-05T10:35:00Z",
    "tty": true,
    "workdir": "/home/cell/myproject"
  },
  {
    "bytes_per_second": 0,
    "command": "python -m http.server 8000",
    "created": "2026-01-05T09:15:00Z",
    "id": 1923,
    "is_active": false,
    "last_activity": "2026-01-05T09:20:00Z",
    "tty": false,
    "workdir": "/home/cell/webapp"
  }
]
[
  {
    "bytes_per_second": 125.5,
    "command": "bash",
    "created": "2026-01-05T10:30:00Z",
    "id": 1847,
    "is_active": true,
    "last_activity": "2026-01-05T10:35:00Z",
    "tty": true,
    "workdir": "/home/cell/myproject"
  },
  {
    "bytes_per_second": 0,
    "command": "python -m http.server 8000",
    "created": "2026-01-05T09:15:00Z",
    "id": 1923,
    "is_active": false,
    "last_activity": "2026-01-05T09:20:00Z",
    "tty": false,
    "workdir": "/home/cell/webapp"
  }
]
404Not Found - Resource not found
500Internal Server Error

Errors

CodeMeaning
404Not Found - Resource not found
500Internal Server Error
Edit this page on GitHub