<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/introducing-the-new-neon-api-command-jmbngxduz" -->

---
title: Introducing the New Neon API Command | daily.dev
description: Neon has added an `api` command to its CLI that acts as an authenticated passthrough to the full Neon REST API. This solves two problems for AI agents: feature...
canonical: https://daily.dev/posts/introducing-the-new-neon-api-command-jmbngxduz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Introducing the New Neon API Command | daily.dev
og:description: Neon has added an `api` command to its CLI that acts as an authenticated passthrough to the full Neon REST API. This solves two problems for AI agents: feature...
og:url: https://daily.dev/posts/introducing-the-new-neon-api-command-jmbngxduz
og:image: https://api.daily.dev/og/posts/JMbngXDuZ.png
og:image:alt: Introducing the New Neon API Command
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing the New Neon API Command

**[Neon](https://daily.dev/sources/neontech)** · 4 min read · 7 upvotes · 0 comments

## Summary

Neon has added an `api` command to its CLI that acts as an authenticated passthrough to the full Neon REST API. This solves two problems for AI agents: feature lag (human-friendly CLIs only expose a subset of API endpoints) and secret management risk (agents calling raw APIs must handle tokens manually, risking leaks). By routing API calls through the CLI, authentication is handled transparently in the background, agents always have access to the latest endpoints, and they can discover available operations via a built-in manifest command. The pattern was inspired by Vercel's CLI, adapted to support Neon's nested JSON payloads.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://neon.com/blog/introducing-neon-api-command>

## Similar posts on daily.dev

- [Just landed in the Neon CLI](https://daily.dev/posts/just-landed-in-the-neon-cli-dc4bjkelu) · Neon · 5 upvotes · 2 comments
- [Introducing the vercel api CLI command](https://daily.dev/posts/introducing-the-vercel-api-cli-command-avpzczc0u) · Vercel · 2 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#authentication](https://daily.dev/tags/authentication), [#ai-agents](https://daily.dev/tags/ai-agents), [#cli](https://daily.dev/tags/cli)

[View this post on daily.dev](https://daily.dev/posts/introducing-the-new-neon-api-command-jmbngxduz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Introducing the New Neon API Command","url":"https://daily.dev/posts/introducing-the-new-neon-api-command-jmbngxduz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/introducing-the-new-neon-api-command-jmbngxduz"},"datePublished":"2026-07-09T19:38:50.842Z","dateModified":"2026-07-09T20:21:13.660Z","description":"Neon has added an `api` command to its CLI that acts as an authenticated passthrough to the full Neon REST API. This solves two problems for AI agents: feature...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0ce4ad9c35158c172b5769e0757eec19?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0ce4ad9c35158c172b5769e0757eec19?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Neon","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Neon","logo":"https://media.daily.dev/image/upload/s--65EDghou--/f_auto/v1724339118/logos/neontech","url":"https://daily.dev/sources/neontech"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/introducing-the-new-neon-api-command-jmbngxduz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":7},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,authentication,ai-agents,cli","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Neon","item":"https://daily.dev/sources/neontech"},{"@type":"ListItem","position":3,"name":"Introducing the New Neon API Command"}]}
```

