first API Parameter

The first API parameter limits the returned items to the first item. It's equivalent to using limit(1).

Example:

{% set post = _api.blog.posts.slug('post-slug').first() %}