AIDive
Back to glossary

What is API Endpoints

GlossaryAI Infrastructure

Addresses or API routes through which the application accesses a specific service function.

Definition

An API endpoint is where a request is sent to perform a specific action. In an AI service, one endpoint can generate text, another can create an image, and a third can return embedding or parse a document. The ease of integration depends on the correct description of the endpoints.

Example

The application sends a POST request to the text generation endpoint and receives the model's response to display to the user.

Why it matters

The term is important for tool card developers and editors: it helps explain what features are available through an integration.

How it works

Each endpoint has a path, method, parameters, request format, response format, access rules, and possible errors.

Where it is used

  • AI API integration
  • application development
  • service documentation

Limitations

Unclear or unstable endpoints make support difficult. It is also important to protect them from abuse and exceeding limits.