get_query_history#

async lsst.rsp.get_query_history(limit=None, *, token=None)#

Retrieve the UWS IDs of the user’s most recent TAP queries.

Parameters:
  • limit (int | None, default: None) – Maximum number of query IDs to return. If limit is not specified or limit<1, return all query IDs.

  • token (str | None, default: None) – Authentication token. If not given, the authentication token will be obtained from the Nublado environment.

Returns:

A list of strings in the format dataset:query_id. For backwards compatibility, the caller should check if the return values contain a colon and, if not, assume they are just query IDs with the default TAP server.

Return type:

list of str

Notes

Multiple datasets may share the same TAP service, which makes it impossible to determine which dataset a query is associated with. In this case, the queries will be returned multiple times, one for each dataset that shares that TAP service.