Leadline Docs
ToolsPositions

listPositions

Generated from the Rover tool catalog. Do not edit by hand.

Read. This tool reads Leadline data and does not change it.

List positions with location, submission counts, and status filters. Pass published: 1 for published or live jobs and published: 0 for drafts or unpublished. Pass active: 1 for open hiring and 0 for closed. Pass archived: 1 only when the user asked for archived positions. These flags are independent, and the first call must include the status the user named. Default limit is 20 — do not set limit to 100 to scan the catalog. Use when the user needs counts, location, job type, or publish dates. Prefer search-positions-tiny for id/title lookup. Omit workflowId unless the user named a workflow (never send 0). Do not send empty query strings.

Parameters

NameTypeRequiredDescription
querystringnoFree-text search
idsarrayno
positionsIdsarrayno
active0 | 1no
published0 | 1no
archived0 | 1no
workflowIdunknownnoFilter by hiring workflow id; omit unless the user named a workflow
workflowIdsarrayno
jobType"full-time" | "part-time" | "seasonal" | "temporary-placement" | "internship"no
citiesarrayno
statesarrayno
sortstringnoSort e.g. active+desc,published+desc,createdAt+desc
publishEndDatestringnoPublished on or before (ISO date)
locationsIdsarraynoFilter by location ids
publishStartDatestringnoPublished on or after (ISO date)
skipintegernoPagination offset (default 0)
limitintegernoPage size (default 20)

On this page