Documentation Index
Fetch the complete documentation index at: https://docs.trustware.io/llms.txt
Use this file to discover all available pages before exploring further.
GET https://api.trustware.io/api/v1/sdk/validate
Verifies that an API key is active and returns metadata about the key. Use this at application startup to confirm your key is valid before making route requests, or as a lightweight connectivity check.
Request
No request body. Pass your API key in theX-API-Key header.
Response
| Field | Description |
|---|---|
valid | true if the key is active and authorized. |
status | Key status: active or inactive. |
message | Human-readable validation message. |
key_id | Unique identifier for this key. |
label | Label assigned to this key when it was created. |
project_id | Identifier of the project this key belongs to. |
created_at | When the key was created (ISO 8601). |
last_used_at | When the key was last used (ISO 8601). Useful for auditing. |
quote | Heartbeat payload — a lightweight response included on every validate call. |
