Find anything
Search
38 results for “api” (members search the full text)
- GuideBuilderClaudeClaude API Basics - Keys, a First Request, Streaming and ErrorsMake your first call to the Claude API safely: get a key, keep it out of your code, send a request, stream the reply and handle errors.
- GuideBuilderChatGPTOpenAI API Basics - Keys, a First Request, Streaming and ErrorsSend your first request to the OpenAI API with the key kept out of your code, then add streaming, retries and sensible error handling.
- GuideBuilderGeminiGemini API Basics - Keys, a First Request, Streaming and ErrorsGet a Gemini API key, keep it safe, make a first request, stream a reply and handle the errors you are most likely to meet.
- GuideBuilderGrokxAI (Grok) API Basics - Keys, a First Request, Streaming and ErrorsUse the xAI API with a familiar client library, a key stored safely in the environment, a first request, streaming and calm error handling.
- Q&AStarterAny assistantHow can I keep AI API costs under control?Control API costs by sending fewer tokens, choosing cheaper models where they are good enough, and setting limits.
- Q&AStarterAny assistantWhat do 401 and 403 errors mean when calling an AI API?A 401 error means the API did not accept who you are, usually a missing, mistyped, expired or revoked key.
- Q&AStarterAny assistantWhat does a 429 error mean when using an AI API and how do I fix it?A 429 means "too many requests" and has two very different causes: you are sending requests or tokens faster than your limit allows, or you have run out of credit or hit a spending cap.
- Q&AStarterAny assistantWhat is an AI API key and how do I keep it safe?An API key is a secret password that lets your code use an AI service and bills your account for what it does.
- AgentProAny assistantAPI Retry, Timeout and Rate-Limit DesignerDesigns safe retry, timeout and rate-limit behavior for API clients, covering idempotency, backoff with jitter and what must never be retried.
- Q&AStarterAny assistantWhat should I do if my AI API key leaked on GitHub?Revoke the leaked key immediately in the provider's console, then create a new one.
- GuideStarterMistralGetting Started with Mistral and VibeMeet Mistral AI, the European company behind open-weight models, its assistant (formerly Le Chat, now Vibe) and its developer API.
- GuideBuilderAny assistantRate Limits and Usage Caps - Why You Hit Them and How to CopeUnderstand the difference between app usage caps and API rate limits, why they exist, and how to work within them with batching, caching and retries.
- Q&AStarterMistralWhat is Mistral AI and what is its assistant app (formerly Le Chat)?Mistral AI is a European AI company that releases language models and offers an assistant app (formerly called Le Chat, now branded Vibe), plus an API for developers.
- Q&AStarterMistralWhere does Mistral store my data and is it a European service?Mistral is a European company and its help center says API data is hosted in the EU by default, with regional endpoints and data residency options for enterprise customers.
- AgentBuilderDeepSeekDeepSeek Reasoning Code Review BotA small Python command-line bot that sends one source file to the DeepSeek chat API in reasoning mode and prints a prioritized code review.
- AgentBuilderGrokGrok Live Briefing Bot StarterA small Python command-line bot that asks Grok for a briefing on a changing topic and prints confirmed, unconfirmed and not-found items.
- AgentBuilderPerplexityPerplexity Cited Answer Bot StarterA small Python command-line bot that asks Perplexity's Agent API for a cited answer and prints the search results it returned.
- GuideBuilderAny assistantGetting Reliable JSON and Structured Output from AITechniques for making a model return clean JSON every time, from prompt wording and schemas to validation and retry loops in your code.
- GuideBuilderAny assistantTool and Function Calling ExplainedHow models use tools without running anything themselves, with a clear walk-through of the request, the tool result and the final answer.
- AgentBuilderClaudeDocumentation Writer from CodeReads code and writes accurate README, usage and API documentation, flagging anything it cannot confirm from the code itself.
- AgentBuilderMistralMistral JSON Extraction BotA small Python command-line bot that sends text to the Mistral chat API and prints validated JSON, retrying once if the reply is not valid.
- GuideStarterAny assistantKeeping Your Private Data Safe When Using AIWhat not to paste into an AI chat, how to check privacy settings, and simple habits that protect you and your employer.
- GuideStarterAny assistantChoosing the Right AI Model for the JobA practical framework for picking between assistants and model sizes based on task, privacy, cost and speed, without chasing leaderboards.
- GuideBuilderAny assistantHow to Write a System Prompt That Actually HoldsLearn the structure of a strong system prompt, how to set role, rules and format, and how to test it so your assistant or bot behaves consistently.
- GuideProAny assistantGiving Agents Tools Safely: Permissions, Limits and ApprovalsHow to design agent tools with least privilege, spending caps, confirmation steps and audit logs so a mistake stays small and reversible.
- GuideStarterClaudeGetting Started with Claude: A Beginner's WalkthroughHow to start using Claude from Anthropic, what its main features are for, and a few first tasks to try, with tips for getting the best answers.
- GuideStarterAny assistantHow AI Agents Work - The Loop, Tools and MemoryA clear mental model of an AI agent: the loop it runs, the tools it uses, what counts as memory, and where things go wrong.
- GuideStarterAny assistantWhy AI Answers Are Inconsistent and What to Do About ItThe same question can get different answers. Learn the causes, from randomness to context to model changes, and practical ways to get steadier results.
- Q&AStarterAny assistantDoes the AI company use my conversations to train its models?It depends on the company, the product, your plan and your settings, so check the current policy for the service you use.
- Q&AStarterAny assistantHow do I get an AI to return valid JSON only?Tell the model exactly which keys and types you want, say "return only JSON with no extra text", and show one example.
- Q&AStarterAny assistantWhat does "context length exceeded" or "message too long" mean?It means the text you sent, plus any reply space reserved for the answer, is larger than the model can handle in one request.
- Q&AStarterAny assistantWhat does the temperature setting do in AI models?Temperature controls how much randomness the model uses when picking each next word.
- Q&AStarterAny assistantWhat is a token in AI and why does it matter?A token is a small chunk of text, often a word, part of a word or punctuation mark, that a model reads and writes.
- Q&AStarterDeepSeekWhat is DeepSeek and is it safe to use?DeepSeek is an AI company that offers an assistant and models, some of which are published as open weights.
- Q&AStarterAny assistantWhy does AI give different answers to the same question each time?AI answers vary because models choose words with some randomness, so the same prompt can produce different wording or even different conclusions.
- Q&AStarterAny assistantWhy is the code my AI wrote not working?AI code often fails because of missing context, outdated library versions, small logic errors or assumptions about your setup.
- AgentBuilderGrokGrok Live-Topic Briefing AnalystBriefs you on a fast-moving topic, separating what Grok could look up from what it could not, with a source and as-of time on every claim.
- AgentBuilderMistralMistral Structured Data Extractor with JSON Schema DisciplinePulls named fields out of messy text into strict JSON that matches a schema you define, using null instead of guesses.