Skip to main content
GET
/
v2
/
sandcastles
/
{id}
/
executions
List Executions
curl --request GET \
  --url https://app.textql.com/v2/sandcastles/{id}/executions \
  --header 'Authorization: Bearer <token>'
{
  "executions": [
    {
      "id": "<string>",
      "input": "<string>",
      "output_preview": "<string>",
      "error": "<string>",
      "duration_ms": 123,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next_cursor": "<string>"
}
Every execution run in a sandbox is recorded and listed here newest-first — including after the sandbox is stopped, so this doubles as a post-mortem audit trail. Records are retained for 30 days, then purged. input is stored in full; output_preview is truncated (large output ends with a …[truncated] marker) and never includes generated files or dataframes.

Authorizations

Authorization
string
header
required

API key or JWT token

Path Parameters

id
string
required

Sandbox ID

Query Parameters

limit
integer<int32>
default:50

Maximum number of executions to return (default 50, max 200)

Required range: 1 <= x <= 200
cursor
string

Opaque pagination cursor from a previous response's next_cursor. Omit to start from the first (newest) page.

Response

Paginated list of executions, newest first

executions
object[]
required
next_cursor
string

Opaque cursor to pass as cursor on the next request. Omitted when there are no more results.