GET/v2/action-gateway/tools/health/tools/{tool_slug}

Get Tool Health

Returns availability and latency for one catalog tool over the requested window, optionally with a history series. Metrics are aggregated across all customers; request volumes are not reported. Returns 404 when tool_slug is not a catalog tool.

3 parameters
tool_slugstringrequired
Catalog tool slug, for example `exa_search`. Required.
windowstringoptional
Window to aggregate over. Defaults to twenty-four hours. - `HEALTH_WINDOW_UNSPECIFIED`: Twenty-four hours. - `HEALTH_WINDOW_ONE_HOUR`: One hour; history points are 10 minutes. - `HEALTH_WINDOW_TWENTY_FOUR_HOURS`: Twenty-four hours; history points are 1 hour. - `HEALTH_WINDOW_SEVEN_DAYS`: Seven days; history points are 6 hours. - `HEALTH_WINDOW_THIRTY_DAYS`: Thirty days; history points are 24 hours.
Allowed:HEALTH_WINDOW_ONE_HOURHEALTH_WINDOW_TWENTY_FOUR_HOURSHEALTH_WINDOW_SEVEN_DAYSHEALTH_WINDOW_THIRTY_DAYSDefault:HEALTH_WINDOW_TWENTY_FOUR_HOURS
include_historybooleanoptional
Additionally returns the window split into resolution-aligned points (the history field below).
Default:false

7 status codes
200The request was successful.
snapshotobjectoptional
When the metrics were computed and the window they cover.
toolobjectoptional
The tool's metrics over the window.
historyobjectoptional
Present only when the request set `include_history`.
400There was an error parsing the request body.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.
401Authentication failed due to invalid credentials.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.
404The resource was not found.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.
429The API rate limit has been exceeded.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.
500There was a server error.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.
defaultThere was an unexpected error.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.

Error handling

A 400 is returned: There was an error parsing the request body. A 401 is returned: Authentication failed due to invalid credentials. A 404 is returned: The resource was not found. A 429 is returned: The API rate limit has been exceeded. A 500 is returned: There was a server error. Any other status is an error: There was an unexpected error.