v0 Platform API/API Reference/Deployments

Find Deployment Logs

Retrieves logs for a specific deployment. Supports filtering by timestamp to fetch only recent logs.

GET/v1/deployments/{deploymentId}/logs

Usage

TypeScript Example
import { v0 } from 'v0-sdk'

const result = await v0.deployments.findLogs({
  deploymentId: '123',
})

console.log(result)

API Signature

Request

Path Parameters

deploymentId: string

The unique identifier of the deployment to retrieve logs for. Provided as a path parameter.

Query Parameters

since?: number

A UNIX timestamp (in seconds) used to filter logs. Returns only log entries generated after the specified time.

Response

error?: string
logs: string[]
nextSince?: number