client.users.list_me_activity
A method of the Users endpoint.
- list_me_activity(*, status: str = None, author: str = None, order: str = None) ListResponse
Get recent activity for logged-in user
API URL:
GET /users/me/activityimport civis client = civis.APIClient() response = client.users.list_me_activity(...)
- Parameters:
- statusstr, optional
The status to filter objects by. One of “all”, “succeeded”, “failed”, or “running”.
- authorstr, optional
A comma separated list of author IDs to filter objects by.
- orderstr, optional
The order of the jobs. If set to “name”, the order is DESC alphabetically. If set to “newest”, the order is DESC by most recently updated.
- Returns:
civis.ListResponse- idstr
The ID of the object.
- namestr
The name of the object.
- typestr
The type of the object.
- userstr
The user associated with the object.
- categorystr
The job category, if the object is a job.
- statestr
The state of the object. One of “succeeded”, “failed”, or “running”.
- updated_atstr (date-time)
When the object was last updated.
- next_run_atstr (date-time)
When the job is next scheduled to run, if the object is a job.
- last_run_idstr
The ID of the last run, if the object is a job.
- last_run_statestr
The state of the last run, if the object is a job. One of “succeeded”, “failed”, or “running”.