Skip to main content
GET
/
api
/
v3
/
projects
/
logs
Get project-wide server logs
curl --request GET \
  --url https://playflow.dev/api/api/v3/projects/logs \
  --header 'api-key: <api-key>'
{
  "logs": [
    {
      "timestamp": "<string>",
      "message": "<string>",
      "level": "<string>",
      "instance": "<string>",
      "region": "<string>",
      "server_name": "<string>"
    }
  ],
  "next_token": "<string>"
}

Authorizations

api-key
string
header
required

Query Parameters

start_time
string
required

Fetch logs after this timestamp. Accepts ISO 8601 format (e.g., "2026-03-15T12:00:00Z") or relative time (e.g., "-1h").

end_time
string

Fetch logs before this timestamp. Same format as start_time. Defaults to current time if omitted.

limit
integer
default:500

Maximum number of log entries to return (1–1000). Defaults to 500.

Required range: 1 <= x <= 1000

Response

200 - application/json

Aggregated logs from all servers in the project with pagination cursor.

Aggregated runtime logs from all servers in the project.

logs
object[]
required

Array of log entries from all servers in the project, in chronological order.

next_token
string | null
required

Pagination cursor for fetching subsequent logs.