GraphQL π₯
A query language for your API π
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
GraphQL provides a complete and understandable description of the data in your API,
gives clients the power to ask for exactly what they need and nothing more,
makes it easier to evolve APIs over time,
and enables powerful developer tools.
http://graphql.org/
https://scaphold.io/
γ°γ°γ°γ°γ°γ°
#GraphQL #API
@ProgrammingTip
A query language for your API π
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
GraphQL provides a complete and understandable description of the data in your API,
gives clients the power to ask for exactly what they need and nothing more,
makes it easier to evolve APIs over time,
and enables powerful developer tools.
http://graphql.org/
https://scaphold.io/
γ°γ°γ°γ°γ°γ°
#GraphQL #API
@ProgrammingTip
GraphQL
GraphQL | The API language for humans and agents
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
JSON Server π₯
Get a full fake REST API with zero coding in less than 30 seconds (seriously) ππ»ββοΈ
Created with β₯οΈ for front-end developers who need a quick back-end for prototyping and mocking. π
https://github.com/typicode/json-server
Fake Online REST API for Testing and Prototyping :
http://jsonplaceholder.typicode.com/
#API #JSON #Mocking
@ProgrammingTip
Get a full fake REST API with zero coding in less than 30 seconds (seriously) ππ»ββοΈ
Created with β₯οΈ for front-end developers who need a quick back-end for prototyping and mocking. π
https://github.com/typicode/json-server
Fake Online REST API for Testing and Prototyping :
http://jsonplaceholder.typicode.com/
#API #JSON #Mocking
@ProgrammingTip
GitHub
GitHub - typicode/json-server: Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Get a full fake REST API with zero coding in less than 30 seconds (seriously) - typicode/json-server
Master Your API Workflow with Postman πΈ
Theyβre doing a great job by providing an integrated environment for different components of an API, like authorization, testing, documentation, versioning. π
https://www.sitepoint.com/master-api-workflow-postman/
#API #Postman
@ProgrammingTip
Theyβre doing a great job by providing an integrated environment for different components of an API, like authorization, testing, documentation, versioning. π
https://www.sitepoint.com/master-api-workflow-postman/
#API #Postman
@ProgrammingTip
Sitepoint
How to Master Your API Workflow with Postman β SitePoint
Younes present Postman - the API development tool of choice - in comprehensive detail. There's never been a better way to improve your API dev workflow!
API Feature Folders β‘οΈ
In ASP.NET Core (and unlike ASP.NET 5 / Web API 2), Web API controllers are just controllers. π
You donβt need to inherit from a different base type or anything like that. β
Whatβs more, your API controllers should be returning DTOs that are separate from your underlying domain or data model. βοΈ
What Iβve found to be a better organization is to do away with the Controllers folder (or keep it around if youβre using view-based controllers) and instead use feature folders for your APIs. π
Iβm partial to having a root level API folder but if youβd prefer to put your features in the root of the project that would work, too. ππ»
Within each feature folder, you include the controller along with any model types it needs to work with, like this πΎ :
https://t.me/pgimg/124
Obviously one benefit of this approach is that itβs more cohesive. β
Things that change together are located physically next to one another, and the friction involved in moving between different folders with too many files in them is greatly reduced. βοΈ
Another nice thing about this approach is that it just works. Unlike view-based controllers, you donβt need to change anything about how ASP.NET Core is configured to have this organization structure work for you. β¨
[ Article ] : bit.do/apif
γ°γ°γ°γ°γ°γ°
#AspMvc #Core #API
@ProgrammingTip
In ASP.NET Core (and unlike ASP.NET 5 / Web API 2), Web API controllers are just controllers. π
You donβt need to inherit from a different base type or anything like that. β
Whatβs more, your API controllers should be returning DTOs that are separate from your underlying domain or data model. βοΈ
What Iβve found to be a better organization is to do away with the Controllers folder (or keep it around if youβre using view-based controllers) and instead use feature folders for your APIs. π
Iβm partial to having a root level API folder but if youβd prefer to put your features in the root of the project that would work, too. ππ»
Within each feature folder, you include the controller along with any model types it needs to work with, like this πΎ :
https://t.me/pgimg/124
Obviously one benefit of this approach is that itβs more cohesive. β
Things that change together are located physically next to one another, and the friction involved in moving between different folders with too many files in them is greatly reduced. βοΈ
Another nice thing about this approach is that it just works. Unlike view-based controllers, you donβt need to change anything about how ASP.NET Core is configured to have this organization structure work for you. β¨
[ Article ] : bit.do/apif
γ°γ°γ°γ°γ°γ°
#AspMvc #Core #API
@ProgrammingTip
Telegram
Programming Tips Resources
Auto Rest β¨
OpenAPI (f.k.a Swagger) Specification code generator. π
Supports C#, Go, Java, Node.js, TypeScript, Python, Ruby and PHP. π₯
The AutoRest tool generates client libraries for accessing RESTful web services. β‘οΈ
Input to AutoRest is a spec that describes the REST API using the OpenAPI Specification format. β
https://t.me/pgimg/187
[ Introduction ] : kutt.it/ares
[ Github ] : github.com/Azure/autorest
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Rest #API #OpenAPI #Swagger
@ProgrammingTip
OpenAPI (f.k.a Swagger) Specification code generator. π
Supports C#, Go, Java, Node.js, TypeScript, Python, Ruby and PHP. π₯
The AutoRest tool generates client libraries for accessing RESTful web services. β‘οΈ
Input to AutoRest is a spec that describes the REST API using the OpenAPI Specification format. β
https://t.me/pgimg/187
[ Introduction ] : kutt.it/ares
[ Github ] : github.com/Azure/autorest
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Rest #API #OpenAPI #Swagger
@ProgrammingTip
Telegram
Programming Tips Resources
Newsletter π
In this newsletter, we will talk about the following:
β’ Retry patterns β»οΈ
β’ Evolution of the Netflix API architecture π
β’ How does stop loss workβ
β’ Chaos Engineering π€―
[ Article ] : https://kutt.it/newsletter1
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Newsletter #Retry #Chaos_Engineering #API_Gateway
@ProgrammingTip
In this newsletter, we will talk about the following:
β’ Retry patterns β»οΈ
β’ Evolution of the Netflix API architecture π
β’ How does stop loss workβ
β’ Chaos Engineering π€―
[ Article ] : https://kutt.it/newsletter1
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Newsletter #Retry #Chaos_Engineering #API_Gateway
@ProgrammingTip
Telegram
Programming Tips Resources
GPT-Live-1 is in the OpenAI API π
OpenAI put GPT-Live-1 in the API. Out of preview. You can call it.
Same full-duplex voice ChatGPT already uses. It listens and talks at the same time, then hands reasoning and tools to a backend model or agent.
What shipped:
β Full-duplex voice sessions you can wire into an app
β Pair it with whatever backend model, tools, or agent you already run
β Built for interruption and overlap, not a turn-detector kludge
You keep your existing model for thinking. GPT-Live-1 is the ears and mouth.
If you ship voice agents, this is the post. Not the GPT-6 Astra work page.
[ Read More ] :
https://openai.com/index/introducing-gpt-live-1-in-the-api
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#AI #API #LLM
@ProgrammingTip
OpenAI put GPT-Live-1 in the API. Out of preview. You can call it.
Same full-duplex voice ChatGPT already uses. It listens and talks at the same time, then hands reasoning and tools to a backend model or agent.
What shipped:
β Full-duplex voice sessions you can wire into an app
β Pair it with whatever backend model, tools, or agent you already run
β Built for interruption and overlap, not a turn-detector kludge
You keep your existing model for thinking. GPT-Live-1 is the ears and mouth.
If you ship voice agents, this is the post. Not the GPT-6 Astra work page.
[ Read More ] :
https://openai.com/index/introducing-gpt-live-1-in-the-api
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#AI #API #LLM
@ProgrammingTip
OpenAI
Build more natural voice experiences with GPTβLiveβ1 in the API
GPTβLiveβ1 brings natural, full-duplex voice conversations to the API, with stronger instruction following, custom voices, and telephony support.
Gemini 3.8 Live is generally available π
Google moved Gemini 3.8 Live and Gemini 3.8 Live Extended Thinking to general availability in the Gemini API.
These are the real-time audio models exposed through the
What to check:
β’ Gemini 3.8 Live: the lower-latency voice model.
β’ Extended Thinking: use it when the spoken request needs more reasoning before the reply.
β’ GA status: worth revisiting if you held off on a preview-only voice feature.
For .NET teams, this is a good fit for a streaming WebSocket service, not a request-response controller.
[ Read More ] :
https://ai.google.dev/gemini-api/docs/changelog
γ°γ°γ°γ°γ°γ°
#AI #Gemini #LLM #API
@ProgrammingTip
Google moved Gemini 3.8 Live and Gemini 3.8 Live Extended Thinking to general availability in the Gemini API.
These are the real-time audio models exposed through the
Live API. Live is for the voice path: streaming audio in, streaming audio out, and handling a conversation without bolting together STT, an LLM call, and TTS yourself.What to check:
β’ Gemini 3.8 Live: the lower-latency voice model.
β’ Extended Thinking: use it when the spoken request needs more reasoning before the reply.
β’ GA status: worth revisiting if you held off on a preview-only voice feature.
For .NET teams, this is a good fit for a streaming WebSocket service, not a request-response controller.
[ Read More ] :
https://ai.google.dev/gemini-api/docs/changelog
γ°γ°γ°γ°γ°γ°
#AI #Gemini #LLM #API
@ProgrammingTip
Google AI for Developers
Release notes | Gemini API | Google AI for Developers
Keep track of updates to the Gemini API
GPT-6 Sol and GPT-6 Luna are in the API π
OpenAI shipped GPT-6 Sol and GPT-6 Luna for API developers, alongside their availability in Codex and ChatGPT.
This is a two-model release, so do not blindly swap your existing production model. Put both behind the same eval set first: tool calls, structured output, long-context retrieval, refusal behavior, and latency under your real prompt size.
What to do this week:
β’ Add Sol and Luna as versioned model options in your config.
β’ Run replay traffic against a fixed golden set.
β’ Log model ID, token use, tool errors, and task success separately.
A model migration is an engineering change, not a dropdown change.
[ Read More ] :
https://openai.com/index/introducing-gpt-6-sol-and-luna/
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #LLM #API
@ProgrammingTip
OpenAI shipped GPT-6 Sol and GPT-6 Luna for API developers, alongside their availability in Codex and ChatGPT.
This is a two-model release, so do not blindly swap your existing production model. Put both behind the same eval set first: tool calls, structured output, long-context retrieval, refusal behavior, and latency under your real prompt size.
What to do this week:
β’ Add Sol and Luna as versioned model options in your config.
β’ Run replay traffic against a fixed golden set.
β’ Log model ID, token use, tool errors, and task success separately.
A model migration is an engineering change, not a dropdown change.
[ Read More ] :
https://openai.com/index/introducing-gpt-6-sol-and-luna/
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #LLM #API
@ProgrammingTip
OpenAI
Introducing GPT-6 Sol and Luna
Meet GPT-6 Sol and Luna, two models that bring frontier intelligence to everyday work with different balances of capability and cost.
Claude Opus 5.5 is available in the API π
Anthropic released Claude Opus 5.5, and it is available through the Claude API.
The practical pitch is simple: lower typical token costs than Opus 5, plus a faster mode when response time matters more than squeezing out the last bit of reasoning.
What to check in your evals:
β’ Run the same tool-use and coding tasks against Opus 5.
β’ Measure latency separately for normal and faster mode.
β’ Track input and output tokens, not just the model's listed price.
A cheaper high-end model changes agent architecture decisions. Some workflows that needed routing to a smaller model may now fit under one stronger default.
[ Read More ] :
https://www.anthropic.com/claude/opus
γ°γ°γ°γ°γ°γ°
#AI #LLM #Claude #API
@ProgrammingTip
Anthropic released Claude Opus 5.5, and it is available through the Claude API.
The practical pitch is simple: lower typical token costs than Opus 5, plus a faster mode when response time matters more than squeezing out the last bit of reasoning.
What to check in your evals:
β’ Run the same tool-use and coding tasks against Opus 5.
β’ Measure latency separately for normal and faster mode.
β’ Track input and output tokens, not just the model's listed price.
A cheaper high-end model changes agent architecture decisions. Some workflows that needed routing to a smaller model may now fit under one stronger default.
[ Read More ] :
https://www.anthropic.com/claude/opus
γ°γ°γ°γ°γ°γ°
#AI #LLM #Claude #API
@ProgrammingTip
Anthropic
Claude Opus
Hybrid reasoning model built for serious coding and AI agents, featuring a 1M context window.
GPT-6 Astra gets an Ultrafast API tier π
OpenAI added an Ultrafast speed tier for GPT-6 Astra in Codex and the API.
The important bit is real-time work. Astra can now run Responses API workflows over WebSockets, which is a much better fit for interactive coding assistants, live agent status, and UI flows where waiting on a full request feels bad.
What to check:
β’ Responses API: use it for the agent loop and tool calls.
β’ WebSockets: keep one live connection instead of polling.
β’ Ultrafast tier: test it where latency matters more than squeezing every last token of quality.
If your app streams agent work to a browser, this is worth benchmarking against your current model setup.
[ Article ] :
https://community.openai.com/t/build-ultrafast-with-astra-in-codex-and-the-api/1402393
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #API #LLM
@ProgrammingTip
OpenAI added an Ultrafast speed tier for GPT-6 Astra in Codex and the API.
The important bit is real-time work. Astra can now run Responses API workflows over WebSockets, which is a much better fit for interactive coding assistants, live agent status, and UI flows where waiting on a full request feels bad.
What to check:
β’ Responses API: use it for the agent loop and tool calls.
β’ WebSockets: keep one live connection instead of polling.
β’ Ultrafast tier: test it where latency matters more than squeezing every last token of quality.
If your app streams agent work to a browser, this is worth benchmarking against your current model setup.
[ Article ] :
https://community.openai.com/t/build-ultrafast-with-astra-in-codex-and-the-api/1402393
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #API #LLM
@ProgrammingTip
OpenAI Developer Community
Build Ultrafast with Astra in Codex and the API
Our premium speed tier, Ultrafast offers up to 8x faster token generation (300 tokens per second) in Codex and up to 6x in the API. In Codex, Ultrafast generates code faster, so you can move more quickly from idea to code to iteration π β¦
OpenAI Decisions API is in public beta π
OpenAI's Decisions API is now in public beta. It uses GPT-6 Luna to turn text or image input into structured decision results instead of another blob of prose.
What it returns:
β’ Predicates: true or false checks for policy, routing, or eligibility.
β’ Choices: select one option from a defined set.
β’ Scores: rank or grade an input on a scale you control.
This is useful when an LLM sits inside a real workflow. Send the result to an approval queue, a feature flag, or a C# switch expression. Keep the model's job narrow, validate the typed output, and do not make your app parse "I think yes".
[ Read More ] :
https://developers.openai.com/api/docs/guides/decisions
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #LLM #API
@ProgrammingTip
OpenAI's Decisions API is now in public beta. It uses GPT-6 Luna to turn text or image input into structured decision results instead of another blob of prose.
What it returns:
β’ Predicates: true or false checks for policy, routing, or eligibility.
β’ Choices: select one option from a defined set.
β’ Scores: rank or grade an input on a scale you control.
This is useful when an LLM sits inside a real workflow. Send the result to an approval queue, a feature flag, or a C# switch expression. Keep the model's job narrow, validate the typed output, and do not make your app parse "I think yes".
[ Read More ] :
https://developers.openai.com/api/docs/guides/decisions
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #LLM #API
@ProgrammingTip
OpenAI Developers
Decisions | OpenAI API
Use the Decisions API to check conditions, select from fixed options, and score text, images, and JSON against a rubric.
Claude Haiku 5.5 is available on the Claude Platform π
Anthropic released Claude Haiku 5.5, its lower-cost small model, on the Claude Platform.
The model ID is
What to test first:
β’ Replace your fast-path model in staging.
β’ Measure tool-call accuracy, not just chat quality.
β’ Set a harder-model fallback for failed evaluations.
Small models pay off when they handle the boring 80 percent cleanly. Keep the expensive model for the weird tickets.
[ Read More ] :
https://www.anthropic.com/claude-haiku-5-5
γ°γ°γ°γ°γ°γ°
#AI #LLM #Claude #API
@ProgrammingTip
Anthropic released Claude Haiku 5.5, its lower-cost small model, on the Claude Platform.
The model ID is
claude-haiku-5-5. This is the one to benchmark when your workload has lots of short agent turns: classification, extraction, routing, simple tool calls, and coding tasks where latency matters more than maximum reasoning depth.What to test first:
β’ Replace your fast-path model in staging.
β’ Measure tool-call accuracy, not just chat quality.
β’ Set a harder-model fallback for failed evaluations.
Small models pay off when they handle the boring 80 percent cleanly. Keep the expensive model for the weird tickets.
[ Read More ] :
https://www.anthropic.com/claude-haiku-5-5
γ°γ°γ°γ°γ°γ°
#AI #LLM #Claude #API
@ProgrammingTip
Anthropic
Introducing Claude Haiku 5.5
Claude Haiku 5.5 is our fastest, most capable small model. Built for high-volume work like summarization, subagents, and browser use.
OpenAI shipped the Decisions API π
OpenAI's Decisions API is built for apps that need to react while work is still moving, not wait around for one giant model response.
The practical shift is architectural: treat a model run as a stream of decisions your app can act on. UI updates, tool work, and state changes can happen as the task progresses.
Why this matters:
β’ Faster-feeling apps: show useful progress instead of a spinner.
β’ Cleaner agent loops: connect decisions to tools and app state.
β’ Less fake streaming: do not make users wait for a fully composed answer before the app can respond.
If your agent UX still feels like request, long pause, giant blob, this API is worth a look.
[ Read More ] :
https://openai.com/index/decisions-api
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #Agents #API
@ProgrammingTip
OpenAI's Decisions API is built for apps that need to react while work is still moving, not wait around for one giant model response.
The practical shift is architectural: treat a model run as a stream of decisions your app can act on. UI updates, tool work, and state changes can happen as the task progresses.
Why this matters:
β’ Faster-feeling apps: show useful progress instead of a spinner.
β’ Cleaner agent loops: connect decisions to tools and app state.
β’ Less fake streaming: do not make users wait for a fully composed answer before the app can respond.
If your agent UX still feels like request, long pause, giant blob, this API is worth a look.
[ Read More ] :
https://openai.com/index/decisions-api
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #Agents #API
@ProgrammingTip
OpenAI
Build more responsive apps with the Decisions API
Fast, focused, low-cost decisions for any application.
GPT-6.1 Terra is in the OpenAI API π
OpenAI introduced GPT-6.1 Terra for developers who need computer use without paying for a slower, heavier model on every task.
Call it as
What to test first:
β’ Long UI runs: can it recover after a modal, redirect, or failed click?
β’ Tool boundaries: keep payments, deletes, and production writes behind explicit approval.
β’ Cost per completed task: token price is not the whole bill when retries are involved.
Computer use is getting cheaper. Your eval suite now matters more than a demo.
[ Read More ] :
https://openai.com/index/introducing-gpt-6-1-terra/
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #API #Agents
@ProgrammingTip
OpenAI introduced GPT-6.1 Terra for developers who need computer use without paying for a slower, heavier model on every task.
Call it as
gpt-6.1-terra. The pitch is fast UI interaction, capable multi-step work, and lower standard pricing. That makes it a practical model to test for browser agents, QA flows, back-office automation, and anything that has to click through a real app.What to test first:
β’ Long UI runs: can it recover after a modal, redirect, or failed click?
β’ Tool boundaries: keep payments, deletes, and production writes behind explicit approval.
β’ Cost per completed task: token price is not the whole bill when retries are involved.
Computer use is getting cheaper. Your eval suite now matters more than a demo.
[ Read More ] :
https://openai.com/index/introducing-gpt-6-1-terra/
γ°γ°γ°γ°γ°γ°
#AI #OpenAI #API #Agents
@ProgrammingTip
OpenAI
Introducing GPT-6.1 Terra
Delivering fast and capable computer use at scale