Endpoint
Also: endpoints
An address a program calls to do a set task. One address might accept a file; another might return a reply.
- You orderA program sends a request: here is the text, here is what to do.
- The waiter carries itThe API delivers it to the model and waits.
- The kitchen cooksThe model produces the answer.
- The plate comes backThe answer returns to the program, which shows it to you.
An API is the doorway between programs. Every chat app uses one behind the scenes; programmers can use the same doorway directly.
The fuller definition
An endpoint is a specific address or access point for an operation in an API. For a web API it commonly includes a URL path and an HTTP method.
Go deeper
- Address
/documents/A01
- Method
GET
- Result
Document metadata
A simplified relationship, not a screenshot or a complete design.
A concrete example
GET /documents/A01 requests a document record; POST /summaries might request a new summary.
The distinction that matters
The address alone does not grant access or explain every required input.
Related terms
API — Application Programming Interface
A doorway that lets one program talk to another. Apps use an API to send your request to the model and get the answer back.
APIs & softwareHTTP — Hypertext Transfer Protocol
The set of rules computers use to send pages and requests over the web.
APIs & softwareAuthentication
Proving who you are, for example by logging in.
Where it is taught
APIs and JSON: connect a model to a small programSource and further reading
MDN · Web technology glossaryThe definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.