kiyt / sdk
Official KIYT Brain API client for PHP
v1.0.0
2026-11-29 16:43 UTC
Requires
- php: >=8.3
- php-64bit: *
- ext-curl: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Server-side clients for the KIYT Brain public API.
Supported languages
| SDK | Minimum runtime |
|---|---|
| Python | Python 3.10 |
| TypeScript | Node.js 22.13.0 |
| Go | Go 1.23.0 |
| Java | Java 21 |
| Ruby | Ruby 3.2 |
| PHP | 64-bit PHP 8.3 with cURL |
| .NET | .NET 10 |
Quick example
With the Python SDK installed, set KIYT_API_KEY in your server environment
and run this example against a Gateway that supports API-Version: 2026-11-29.
The SDK sends that header automatically.
from kiyt import KIYT client = KIYT() print(client.auth.check().workspace_id)
The cURL example uses API version 1.
API reference
| Request | Result |
|---|---|
GET /auth/check |
Key identity, workspace, and scopes |
GET /usage |
Latest committed key usage. Requires usage:read. |
The default base URL is https://brain-api.kiyt.io. See
OpenAPI for schemas and error responses.
Security
Create keys in KIYT Console. Store them in a server-side environment variable or secret manager. See SECURITY.md for vulnerability reporting.