GET /sessions/{session_id}/executions
Return the session's executions and launch context.
Most notably system_prompt_append, the text Ellipsis appends to Claude Code's default system prompt (platform section + response instructions + the config's own instructions). Per execution because each cold wake persists its own launch config (a config edit or replay override between wakes changes it).
curl "https://api.ellipsis.dev/v1/sessions/{session_id}/executions" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY"{
"executions": [
{
"attempt_index": 0,
"created_at": "2026-01-01T00:00:00Z",
"execution_index": 0,
"exit_status": "string",
"id": "string",
"model": "string",
"query": "string",
"resumed": false,
"session_id": "string",
"status": "running",
"system_prompt_append": "string",
"wake_index": 0
}
]
}import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.sessions.executions("...")
print(result){
"executions": [
{
"attempt_index": 0,
"created_at": "2026-01-01T00:00:00Z",
"execution_index": 0,
"exit_status": "string",
"id": "string",
"model": "string",
"query": "string",
"resumed": false,
"session_id": "string",
"status": "running",
"system_prompt_append": "string",
"wake_index": 0
}
]
}import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.sessions.executions('...');
console.log(result);{
"executions": [
{
"attempt_index": 0,
"created_at": "2026-01-01T00:00:00Z",
"execution_index": 0,
"exit_status": "string",
"id": "string",
"model": "string",
"query": "string",
"resumed": false,
"session_id": "string",
"status": "running",
"system_prompt_append": "string",
"wake_index": 0
}
]
}No request body.
{
"properties": {
"executions": {
"items": {
"properties": {
"attempt_index": {
"type": "integer"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"execution_index": {
"type": "integer"
},
"exit_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resumed": {
"type": "boolean"
},
"session_id": {
"type": "string"
},
"status": {
"enum": [
"running",
"failed",
"done"
],
"type": "string"
},
"system_prompt_append": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wake_index": {
"type": "integer"
}
},
"required": [
"id",
"session_id",
"created_at",
"execution_index",
"wake_index",
"attempt_index",
"resumed",
"status"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"executions"
],
"type": "object"
}Request
session_idstringrequired