EDB Postgres Enterprise Manager REST APIs v17.0: Probe history v10.5

get__probe_history_agent_{agent_id}_from_{start_time}_to_{end_time}_{probe_id}

Code samples

GET /probe/history/agent/{agent_id}/from/{start_time}/to/{end_time}/{probe_id}

Gets Probe history for agent.

Parameters

NameInTypeRequiredDescription
agent_idpathintegertrueAgent ID
start_timepathstringtrueStart time in ISO-8601 format to get probe history
end_timepathstringtrueEnd time in ISO-8601 format to get probe history
probe_idpathintegertrueProbe ID for which data will be returned
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Info

This operation does not require authentication

get__probe_history_server_{server_id}_from_{start_time}_to_{end_time}_{probe_id}

Code samples

GET /probe/history/server/{server_id}/from/{start_time}/to/{end_time}/{probe_id}

Gets Probe history for server.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
start_timepathstringtrueStart time in ISO-8601 format to get probe history
end_timepathstringtrueEnd time in ISO-8601 format to get probe history
probe_idpathintegertrueProbe ID for which data will be returned
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Info

This operation does not require authentication

get__probe_history_server_{server_id}_database_{database_name}_from_{start_time}_to_{end_time}_{probe_id}

Code samples

GET /probe/history/server/{server_id}/database/{database_name}/from/{start_time}/to/{end_time}/{probe_id}

Gets Probe history for database.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase name
start_timepathstringtrueStart time in ISO-8601 format to get probe history
end_timepathstringtrueEnd time in ISO-8601 format to get probe history
probe_idpathintegertrueProbe ID for which data will be returned
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Info

This operation does not require authentication

get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_from_{start_time}_to_{end_time}_{probe_id}

Code samples

GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/from/{start_time}/to/{end_time}/{probe_id}

Gets Probe history for schema.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase name
schema_namepathstringtrueSchema name
start_timepathstringtrueStart time in ISO-8601 format to get probe history
end_timepathstringtrueEnd time in ISO-8601 format to get probe history
probe_idpathintegertrueProbe ID for which data will be returned
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Info

This operation does not require authentication

get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_table_{table_name}_from_{start_time}_to_{end_time}_{probe_id}

Code samples

GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name}/from/{start_time}/to/{end_time}/{probe_id}

Gets Probe history for table.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase name
schema_namepathstringtrueSchema name
table_namepathstringtrueTable name
start_timepathstringtrueStart time in ISO-8601 format to get probe history
end_timepathstringtrueEnd time in ISO-8601 format to get probe history
probe_idpathintegertrueProbe ID for which data will be returned
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Info

This operation does not require authentication

get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_index_{index_name}_from_{start_time}_to_{end_time}_{probe_id}

Code samples

GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name}/from/{start_time}/to/{end_time}/{probe_id}

Gets Probe history for index.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase name
schema_namepathstringtrueSchema name
index_namepathstringtrueIndex name
start_timepathstringtrueStart time in ISO-8601 format to get probe history
end_timepathstringtrueEnd time in ISO-8601 format to get probe history
probe_idpathintegertrueProbe ID for which data will be returned
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Info

This operation does not require authentication

get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_sequence_{sequence_name}_from_{start_time}_to_{end_time}_{probe_id}

Code samples

GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name}/from/{start_time}/to/{end_time}/{probe_id}

Gets Probe history for sequence.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase name
schema_namepathstringtrueSchema name
sequence_namepathstringtrueSequence name
start_timepathstringtrueStart time in ISO-8601 format to get probe history
end_timepathstringtrueEnd time in ISO-8601 format to get probe history
probe_idpathintegertrueProbe ID for which data will be returned
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Info

This operation does not require authentication

get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_view_{view_name}_from_{start_time}_to_{end_time}_{probe_id}

Code samples

GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/view/{view_name}/from/{start_time}/to/{end_time}/{probe_id}

Gets Probe history for view.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase name
schema_namepathstringtrueSchema name
view_namepathstringtrueView name
start_timepathstringtrueStart time in ISO-8601 format to get probe history
end_timepathstringtrueEnd time in ISO-8601 format to get probe history
probe_idpathintegertrueProbe ID for which data will be returned
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Info

This operation does not require authentication

get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_function_{function_name}_from_{start_time}_to_{end_time}_{probe_id}

Code samples

GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/from/{start_time}/to/{end_time}/{probe_id}

Gets Probe history for function.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase name
schema_namepathstringtrueSchema name
function_namepathstringtrueFunction name
start_timepathstringtrueStart time in ISO-8601 format to get probe history
end_timepathstringtrueEnd time in ISO-8601 format to get probe history
probe_idpathintegertrueProbe ID for which data will be returned
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Info

This operation does not require authentication

get__probe_{probe_id}_history_from_{start_time}_to_{end_time}

Code samples

GET /probe/{probe_id}/history/from/{start_time}/to/{end_time}

Returns historical probe data from the pemhistory schema for the given probe ID within the specified time range.

Returns an empty list when discard_history = true. RBAC: same as the data endpoint.

Parameters

NameInTypeRequiredDescription
probe_idpathintegertrueNumeric probe ID
start_timepathstringtrueLower bound on recorded_time (inclusive). ISO 8601 timestamp: YYYY-MM-DD<sep>HH:MM:SS[.ffffff][TZ], where <sep> is T or a space and the optional TZ is Z, ±HH, or ±HH:MM. Examples: 2024-01-01T00:00:00Z, 2024-01-01 00:00:00+00 (PostgreSQL default).
end_timepathstringtrueUpper bound on recorded_time (inclusive). ISO 8601 timestamp: YYYY-MM-DD<sep>HH:MM:SS[.ffffff][TZ], where <sep> is T or a space and the optional TZ is Z, ±HH, or ±HH:MM. Examples: 2024-12-31T23:59:59Z, 2024-12-31 23:59:59+00 (PostgreSQL default).
server_idqueryintegerfalseFilter by server ID (server-level probes only). Enforces RBAC.
offsetqueryintegerfalseRows to skip. Omit for no offset.
pageSizequeryintegerfalseMaximum rows to return (1–1000). Omit to return all.
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline
400Bad RequestBad request — invalid parameterNone
404Not FoundProbe not found or server not accessibleNone
500Internal Server ErrorInternal server errorNone

Response Schema

Info

This operation does not require authentication

get__probe_{internal_name}_history_from_{start_time}_to_{end_time}

Code samples

GET /probe/{internal_name}/history/from/{start_time}/to/{end_time}

Returns historical probe data from the pemhistory schema for the given probe internal_name within the specified time range.

Equivalent to /probe/{probe_id}/history/... but addressed by internal_name.

Parameters

NameInTypeRequiredDescription
internal_namepathstringtrueProbe internal name (e.g. server_info, cpu_usage)
start_timepathstringtrueLower bound on recorded_time (inclusive). ISO 8601 timestamp: YYYY-MM-DD<sep>HH:MM:SS[.ffffff][TZ], where <sep> is T or a space and the optional TZ is Z, ±HH, or ±HH:MM. Examples: 2024-01-01T00:00:00Z, 2024-01-01 00:00:00+00 (PostgreSQL default).
end_timepathstringtrueUpper bound on recorded_time (inclusive). ISO 8601 timestamp: YYYY-MM-DD<sep>HH:MM:SS[.ffffff][TZ], where <sep> is T or a space and the optional TZ is Z, ±HH, or ±HH:MM. Examples: 2024-12-31T23:59:59Z, 2024-12-31 23:59:59+00 (PostgreSQL default).
server_idqueryintegerfalseFilter by server ID (server-level probes only). Enforces RBAC.
offsetqueryintegerfalseRows to skip. Omit for no offset.
pageSizequeryintegerfalseMaximum rows to return (1–1000). Omit to return all.
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {}
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline
400Bad RequestBad request — invalid parameterNone
404Not FoundProbe not found or server not accessibleNone
500Internal Server ErrorInternal server errorNone

Response Schema

Info

This operation does not require authentication