logs

Get app logs

Get app logs with cursor-based pagination (infinite scroll).

get/api/projects/{projectName}/apps/{appName}/logs

Request

  • Base URL: https://api.hostim.dev
  • URL: https://api.hostim.dev/api/projects/{projectName}/apps/{appName}/logs
  • Auth: HTTP bearer

Path parameters

projectNamestring required

Name of project to get app logs from

appNamestring required

Name of app to get logs from

Query parameters

beforestring
Example:1769019169435682763

The timestamp (nanoseconds) to fetch logs before. If omitted, defaults to Now().

afterstring
Example:1769019169435682763

Fetch logs newer than this timestamp (for polling). Mutually exclusive with 'before'.

logType'stdout' | 'build' required

The type of the log

limitinteger required

Maximum number of logs to return (default 100)

Response

App logs found

type'http' | 'stdout' | 'build' required

The log type

messagestring required

The log message

timestampstring required

The log timestamp (Unix timestamp in nanoseconds)

Changes

No recorded changes to this operation across all 1 revision of this API.