Targets
Get a Postgres target
This endpoint gets a single Postgres target.
GET
/
v1
/
targets
/
postgres
/
{id}
Request parameters
id
string
requiredID of the Postgres target.
truncate_secrets
boolean
default: "true"Determines whether the response contains truncated or full secrets.
Response fields
id
string
ID of the target.
name
string
Name of the target.
health
object
Health status of the target. Learn more about the health object.
connection
object
Connection details for the Postgres database.
ssh_tunnel_id
string
ID of the SSH tunnel to use for the target. See more on SSH tunnels.
metadata
object
Metadata for the target. This is a free-form object that you can use to store any additional information you want to associate with the target.
created_at
string
Timestamp of when the target was created, in ISO 8601 format.
updated_at
string
Timestamp of when the target was last updated, in ISO 8601 format.
Was this page helpful?