occupations

Get Remaining Task Instances Endpoint

Get occupations with remaining task instance counts (paginated).

Returns available occupations (available=True) that have available (not deleted) task instances.

Args: limit: Number of records to return (default: 10, max: 50) skip: Number of records to skip for pagination (default: 0) search: Optional search string to filter occupations by name (case-insensitive) touched: When true, only occupations selected by a consented participant; when false, only not completed: When true, only occupations with completed=true; when false, only not completed sort_by: Column to sort by: available_count, unavailable_count, total_count, or completion_percentage order: Sort order: asc or desc

Returns: - items: List of available occupations with occupation_id, occupation_name, available_count, total_count, unavailable_count, completion_percentage, completed (occupation fully done), touched (selected by at least one consented participant) - total: Total count of matching records - skip: Applied skip (for pagination) - limit: Applied limit (for pagination) - occupation_touch_summary: Catalog occupations not yet taken by participants

get/api/occupations/tasks-completion

Request

  • Base URL
    https://api.mit-llm-survey.academy (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

limitinteger

Number of records to return

skipinteger

Number of records to skip (for pagination)

searchstring nullable

Search occupations by substring (case-insensitive)

touchedboolean

Filter by participant selection: true=Yes, false=No

completedboolean

Filter by occupation completed flag: true=Yes, false=No

sort_by'available_count' | 'unavailable_count' | 'total_count' | 'completion_percentage'

Column to sort by

order'asc' | 'desc'

Sort order: asc or desc

Response

Successful Response

totalinteger required
skipinteger required
limitinteger required

Changes

No recorded changes to this operation across all 2 revisions of this API.