Skip to main content
GET
/
execution-logs
JavaScript
import Reminix from '@reminix/sdk';

const client = new Reminix({
  apiKey: process.env['REMINIX_API_KEY'], // This is the default and can be omitted
});

// Automatically fetches more pages as needed.
for await (const executionLog of client.executionLogs.list()) {
  console.log(executionLog.id);
}
{
  "data": [
    {
      "id": "el_abc123",
      "projectId": "proj_xyz",
      "type": "agent_invoke",
      "source": "api",
      "name": "my-agent",
      "status": "success",
      "durationMs": 1234,
      "input": {
        "task": "analyze data"
      },
      "output": {
        "result": "completed"
      },
      "error": null,
      "createdAt": "2024-01-15T10:30:00Z"
    }
  ],
  "nextCursor": "el_def456",
  "hasMore": true
}

Authorizations

Authorization
string
header
required

API Key or Personal Access Token (PAT). When using PAT, include X-Project header.

Query Parameters

limit
number
default:20

Number of logs to return

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

Cursor for pagination

type
enum<string>

Filter by execution type

Available options:
agent_invoke,
agent_chat,
tool_call
source
enum<string>

Filter by request source

Available options:
api,
cli,
dashboard,
widget,
sdk
name
string

Filter by agent or tool name

status
enum<string>

Filter by execution status

Available options:
success,
error,
timeout

Response

List of execution logs

data
object[]
required
nextCursor
string | null
required
hasMore
boolean
required