GET
/
v2
/
logs
curl --request GET \
  --url https://mango.sievedata.com/v2/logs \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "logs": [
        {
          "message": "<string>",
          "timestamp": "<string>"
        }
      ],
      "labels": {
        "run_id": "<string>",
        "job_id": "<string>",
        "organization_id": "<string>",
        "function_id": "<string>",
        "stage": "<string>"
      }
    }
  ],
  "next_start_time": 123,
  "last_time_returned": "<string>"
}

Authorizations

X-API-Key
string
header
required

The Sieve API key to authenticate with.

Query Parameters

job_id
string | null

The ID of the job.

start_time

The POSIX timestamp in float seconds or int nanoseconds.

end_time

The POSIX timestamp in float seconds or int nanoseconds.

Response

200
application/json
Successful Response
data
object[]
required
next_start_time
integer
required
last_time_returned
string
required