One inference origin
Connect compatible assistants, desktop tools and scripts through OpenAI, Anthropic, Gemini or Ollama wire formats. Caller permissions and budgets still apply.
Inference routesConnect scripts and apps to GoGosling inference, QA accounts, career records and release diagnostics through one API origin.
Read public mobile capability metadata without an account or API key. A successful response describes device-side features; it does not run a personal skill or upload personal inputs.
curl --fail-with-body https://api.gogosling.ca/v1/mobile/capabilities
For model inference, obtain a caller key from your existing AI console account. Store it in your server environment, then list the models that key can access:
curl --fail-with-body https://api.gogosling.ca/v1/models \
-H "Authorization: Bearer $GOSLING_INFERENCE_KEY"
Choose a returned model ID and replace MODEL_FROM_THE_LIST below. This request runs inference and uses the key's configured budget:
curl --fail-with-body https://api.gogosling.ca/v1/chat/completions \
-H "Authorization: Bearer $GOSLING_INFERENCE_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"MODEL_FROM_THE_LIST","messages":[{"role":"user","content":"Help me outline a project."}]}'
Use GOSLING_API_BASE_URL=https://api.gogosling.ca/v1 for integrations. OpenAI-compatible clients use that base. Anthropic, Gemini and Ollama SDKs use https://api.gogosling.ca and their native protocol paths. Ollama calls remain subject to the ollama_emulation feature flag.
Inspect your current key's monthly usage and remaining limits without running a model:
curl --fail-with-body https://api.gogosling.ca/v1/usage \
-H "Authorization: Bearer $GOSLING_INFERENCE_KEY"The snapshot counts successful logged requests. Spend is a list-price estimate; zero limits mean unlimited and remaining values are then null. In-flight work is excluded, and the response does not reserve quota or grant paid-model access.
Use existing application accounts. The login directory collects the entry points; it does not merge accounts or issue a universal token.
| Task | Credential | Where to start |
|---|---|---|
| Models, chat and media | Inference caller key | AI console; a dashboard session is not an inference key |
| QA answers, context metadata, devices | QA Bearer session | QA sign in; POST /v1/qa/auth/login returns a token |
| Career facts and controlled edits | Owner key with read/write scopes | Owner account; request only required scopes |
| Release diagnostics | Product-scoped read key | Ask the service operator for a read credential; upload keys and desktop tickets cannot query logs |
| Mobile metadata, API discovery | No credential | Use the public contracts; personal actions remain device-side |
Connect compatible assistants, desktop tools and scripts through OpenAI, Anthropic, Gemini or Ollama wire formats. Caller permissions and budgets still apply.
Inference routesRead your QA account's sessions and revoke a selected device using its opaque session ID, keeping other devices signed in.
QA account routesPreview a local record's changes before applying them. Version checks protect existing records from accidental overwrites; new entries use create semantics.
Download career sync exampleFetch new error events using an ascending cursor. Save the checkpoint after processing; retry without skipping later events.
Download release check exampleQA context listing returns metadata, not a searchable full-text knowledge base. The automation kit does not forward career facts or context to a model automatically.
The small Node.js client handles service-specific credentials, timeouts, cancellation and pagination. It does not implement a second inference SDK or retry writes automatically.
Save the client and examples in the documented directory structure. Review the script, set only the credentials your workflow needs, and start with the default read-only career preview.
| Response | Next step |
|---|---|
| 401 | Use the credential for this service. Reauthenticate expired sessions. An explicit rejected token will not fall back to a browser cookie. |
| 403 | Check role, product scope, source restrictions and model permissions. Browser Cookie writes also need the application's CSRF header. |
| 409 | Refresh the record/version and review changes before retrying. Do not overwrite another edit automatically. |
| 429 | Honor Retry-After, reduce polling and resume from the last processed cursor. |
| 404 on Ollama | Check the deployment's Ollama feature flag; a registered route does not enable a disabled feature. |
| 5xx or timeout | Keep the request ID for support. Reconcile writes before retrying; a lost response does not prove the write failed. |
Compatibility paths remain supported. Public examples contain no service credentials. Route discovery is not a combined OpenAPI schema.