Skip to content

About

OpenAPI 3.1 specification and Postman collection for the Hostlinku AI Gateway (/v1/chat/completions, /v1/messages, /v1/responses, /v1/models).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Hostlinku OpenAPI & Postman Collection

CI License: MIT

English | Bahasa Indonesia | 日本語 | 简体中文

OpenAPI 3.1 specification and Postman Collection v2.1.0 for the Hostlinku AI Gateway (https://api.hostlinku.com).

Endpoints covered

Method & Path Protocol / Purpose Auth
GET /api/public/models Public model catalog & live USD pricing None
GET /v1/models Authorized model slugs for your API key Bearer / x-api-key
POST /v1/chat/completions OpenAI Chat Completions (+ SSE streaming) Bearer
POST /v1/messages Anthropic Messages (+ prompt caching & SSE) x-api-key / Bearer
POST /v1/messages/count_tokens Free input token counter x-api-key / Bearer
POST /v1/responses OpenAI Responses API (stateless) Bearer

Import into your API client

Validate locally

node scripts/validate-specs.mjs

Links

License

MIT. Specifications contain placeholder credentials only.

About

OpenAPI 3.1 specification and Postman collection for the Hostlinku AI Gateway (/v1/chat/completions, /v1/messages, /v1/responses, /v1/models).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages