Galon Cloud
Galon API v1

/deploy/runtime/{instance_id}/logs

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

GET /deploy/runtime/{instance_id}/logs

Get the runtime log (server rendering)

Scope job:read. Served only when Galon Deploy is open to the account (404 otherwise). Errors {"detail": {"code"}}.

API key (Bearer), on the public API endpoint.

Parameters

NameInTypeDescription
instance_idpathstring · required
linesqueryinteger

Responses

StatusDescriptionBody
200Latest linesobject
404deploy_runtime_instance_not_foundError
401Key missing or invalidError

Examples

curl

curl -X GET "$GALON_API_BASE/deploy/runtime/<instance_id>/logs" \
  -H "Authorization: Bearer $GALON_API_KEY"

Node.js (SDK)

import { Galon } from "galon";

const galon = new Galon(process.env.GALON_API_KEY);
const result = await galon.deploy.runtimeLogs("<id>");

Python (SDK)

from galon import Galon

galon = Galon()  # reads GALON_API_KEY
result = galon.deploy.runtime_logs("<id>")