TrainAR icon

TrainAR

Call the TrainAR API — tasks, users, skills

Actions6

Task → Find

AI-generated

Summary

Retrieves a list of recent tasks from the TrainAR API, optionally filtering results by a case-insensitive substring match in the title.

Inputs

  • limit (required) — Maximum number of tasks to return. Defaults to 50.
  • query — Client-side filter: only tasks whose title contains this substring (case-insensitive). If empty, all tasks are returned.

Output shape

A list of items, each containing a JSON object representing a task.

The API returns tasks wrapped in a 'tasks' array if the response is an object; if the response is an array, it is used directly. Filtering happens client-side after fetching the full list up to the limit.

Examples

Example 1: List the 10 most recent tasks

Set Limit to 10; leave Query empty.

Example 2: Find recent tasks with 'safety' in the title

Set Limit to 50; set Query to 'safety'.

Links

Discussion