Adobe Workfront · updated
Workfront API: choosing fields, paging through results and the query limits
By default a search returns a small set of common fields and at most 100 results. The fields parameter adds the fields you name, and $$LIMIT with $$FIRST pages through larger sets, up to 2,000 results per request. Always sort when paging, or pages can repeat or skip records.
In plain words
Ask only for what you need, and ask in pages. Large, unsorted requests are slow and can return the same record twice.
The fields parameter
| You write | You get |
|---|---|
| fields=plannedStartDate,priority | Those fields added to the default ones |
| fields=owner | The related owner, with its name and ID only |
| fields=owner:title,owner:phoneNumber | Named fields of the related object |
| fields=tasks | A nested collection, each with name and ID |
| fields=assignments:* | Every available field of the related collection |
| fields=DE:CustomText | A custom field, by its name with the DE: prefix |
Query limits from Adobe's page
| Limit | Value | Meaning |
|---|---|---|
| Default number of results | 100 | Used when no $$LIMIT is given |
| Maximum number of results | 2,000 | The largest $$LIMIT; a larger one returns an IllegalArgumentException |
| Maximum field depth | 4 | Levels away from the object being queried |
| Maximum number of objects | 50,000 | Primary and secondary objects combined |
| Maximum number of fields | 1,000,000 | When the result has fewer than 50,000 objects |
| Maximum batch creates or updates | 100 | Objects per bulk request |
Paging
$$LIMIT sets how many results to return and $$FIRST how many to skip, so $$FIRST=200&$$LIMIT=50 returns results 201 to 250. Adobe says to add a sort, such as ID_Sort=asc, so results come back in the same order on every page. Its troubleshooting note explains that without a defined order the database may return rows in a different order on each call, which causes duplicates and missing records.
Paging with a stable order
GET /attask/api/<supported-version>/project/search?$$FIRST=0&$$LIMIT=200&ID_Sort=asc
GET /attask/api/<supported-version>/project/search?$$FIRST=200&$$LIMIT=200&ID_Sort=ascHow to page through a large set
- Call the count address first to learn how many records match.
- Choose a page size up to 2,000 and add ID_Sort=asc.
- Request pages by raising $$FIRST by the page size each time.
- Stop when a page returns fewer records than the page size.
- Keep nested collections out of big pages where you can: they count towards the 50,000-object limit.
Related tools and pages on this site
Questions
Why do I only get 100 results?
That is the default when no $$LIMIT is specified. Add $$LIMIT, up to 2,000, and page with $$FIRST.
Does $$FIRST=200 start at result 200 or 201?
At the 201st. Adobe suggests thinking of $$FIRST as the number of results to skip; $$FIRST=0 returns the first result.
Why do I see duplicates across pages?
The order is not defined unless you sort. Adobe's fix is to add a sort by ID: ID_Sort=asc.
Sources
- Adobe: Workfront API basics (checked 13 Nov 2026)
- Adobe: Duplicates returned during a large paginated search (checked 13 Nov 2026)
- Adobe: Sorting query results in the API (checked 13 Nov 2026)
Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.
Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.