capabilities.work

Get the first record that matches a filter

One step with Prisma. We can help you get access.

Look something up

Get the first record that matches a filter

with Prisma
Works with AI assistants

Use Prisma: its Prisma Client CRUD API lets you get the first record that matches a filter in a single step (GET /{model}/first). Prisma also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • Which call returns just the first record that matches a filter?
  • Can I control which record counts as first by ordering?
Say it to your AI assistant
  • Find the first {model} where {where}.
  • Get the top {model} record when sorted by {orderBy}.
For your developer

GET /{model}/first in Prisma Client CRUD API. Full spec on APIs.io.