pydo.apps.get_job_invocation_logs()

Generated on 20 Oct 2025 from pydo version v0.18.0

Description

Retrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. If deployment is omitted the active deployment will be selected (if available). The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.

Parameters

Name Type Required Description Default Value
app_id string True The app ID
job_name string True The job name to list job invocations for.
job_invocation_id string True The ID of the job invocation to retrieve.
deployment_id string False The deployment ID
follow boolean False Whether the logs should follow live updates.
type string True The type of logs to retrieve
pod_connection_timeout string False An optional time duration to wait if the underlying component instance is not immediately available. Default: 3m.
tail_lines string False The number of lines from the end of the logs to retrieve.

Request Sample

import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

get_resp = client.apps.get_job_invocation_logs(app_id="4f6c71e2", job_name="component", job_invocation_id="3aa4d20e")

More Information

See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.