Skip to content

Get a batch of logs for a stack preview

GET
/v1/stack_previews/{org_uuid}/{stack_preview_id}/logs

Get a batch of logs for a stack preview.

Authorizations

apiKey

API key as username in Basic Authorization with
empty password.

TypeAPI Key (header: Authorization)
or
jwtToken
TypeHTTP (bearer)

Parameters

Path Parameters

org_uuid*

UUID of the organization

Typestring
Required
format"uuid"
stack_preview_id*

The ID of the stack preview

Typeinteger
Required
format"int64"

Query Parameters

page

Page number to return

Typeinteger
Example1
format"int64"
minimum1
per_page

Number of elements per page

Typeinteger
format"int64"
minimum1
default10
channel

OS Channel to query information from.

Responses

OK

application/json
JSON
{
"stack_preview_log_lines": [
{
"log_line": 0,
"timestamp": "string",
"channel": "string",
"message": "string"
}
],
"paginated_result": {
"total": 0,
"page": 0,
"per_page": 0
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI