Index Ai Academy
Glossary · Phase 8 · APIs

Pagination

Also written: paginate, paginated

Returning a long list one page at a time, with a way to ask for the next page.

Never return an unbounded list. One day that list has a million rows. Pagination returns a page at a time, and there are two main ways.

Try it now

Developers and agents use these codes to decide what to do next.

Learn it properly

Designing a REST API · Resources, methods, status codes, errors and pagination done well. About 40 minutes.

Create a free account See what's in the lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write