maxdraco

API

A defined way for one program to ask another for data or actions.

Concept Programming and AI

An API (application programming interface) is the set of requests a piece of software accepts from other programs, and the answers it gives back. A web API usually works over HTTP: a script sends a request to an address such as /api/status and gets data back, often as JSON. APIs let programs work together without a person clicking through a screen, so they usually need their own way to check who is calling, such as an API key.

See also

  • AI Artificial intelligence: software that performs tasks usually thought to need human judgement.
  • Endpoint (route) One specific address on a web service that a program can call to do one job.
  • Environment variable A named setting a running program inherits from whatever started it.
  • Exit code The number a program hands back when it finishes: zero for success, anything else for failure.
  • Git Free software that records every change to a set of files, used to keep the history of most software projects.
  • GraphQL A query language for APIs in which the client asks for exactly the data it wants in one request.
  • Infrastructure as code Managing servers and networks by writing their settings down in files that a tool applies, instead of setting each one up by hand.
  • Large language model (LLM) and chatbots An AI model trained on huge amounts of text to predict and write language; the kind of AI behind chatbots.

Sources

  1. NIST glossary: application programming interfaceNISTofficial healthy, checked 2026-11-15 archived copy
  2. APIMDN Web Docs healthy, checked 2026-11-15 archived copy

In security catalogues