Endpoint
ConceptsAn endpoint is a specific URL and HTTP method (e.g., POST /v1/documents, GET /v1/collections/{id}) that exposes one API operation. The DocLD API is versioned at v1 (base URL: https://docld.com/api/v1). Endpoints are organized by area: documents, upload, extraction, chat, collections, and more. Request and response shapes are in the API reference.
Examples (v1)
| Area | Example endpoint |
|---|---|
| Upload | POST /v1/documents |
| Documents | GET /v1/documents, GET /v1/documents/{id} |
| Extraction | POST /v1/extractions |
| Chat | POST /v1/chat/completions |
| Collections | GET /v1/collections, POST /v1/collections/{id}/documents |
Requests require authentication (e.g., API key) and may support pagination for list endpoints. Rate limits and quota apply per endpoint or globally.
Related Concepts
Endpoints are the surface of the API. SDK and clients call endpoints; pagination is used on list endpoints.