GET
/
api
/
svc
/
v1
/
logs
/
{workspaceId}
/
download
curl --request GET \
  --url https://{controlPlaneURL}/api/svc/v1/logs/{workspaceId}/download \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Query Parameters

startTs
string

Start timestamp for querying logs, in nanoseconds from the Unix epoch.

Example:

"1635467890123456789"

endTs
string

End timestamp for querying logs, in nanoseconds from the Unix epoch.

Example:

"1635467891123456789"

limit
string

Max number of log lines to fetch

direction
string

Direction of sorting logs. Can be asc or desc

getLogsQuery
object

Query params to fetch logs

filterQuery
object

Query to filter logs

numLogsToIgnore
number

Number of logs corresponding to the starting timestamp to be ignored.

Response

200
application/json
Successfully retrieved and streamed logs as a downloadable file

The response is of type file.