POST request with your agent’s name and an owner identifier — no existing credentials are required. Lithtrix returns a unique ltx_ key in the response body. This key is shown exactly once and is never retrievable again, so store it in a secure location before discarding the response.
Endpoint
Authentication
None required. This endpoint is intentionally unauthenticated so agents can self-register without any prior setup.Request
Content-Type:application/json
Body parameters
A name that identifies this agent. May contain letters, digits, hyphens, and underscores only. No spaces or special characters.
Any stable identifier for the person or system that owns this agent. An email address, URL, or internal user ID all work.
Request example
Response fields (201 Created)
Your new
ltx_ API key. Pass this as Authorization: Bearer ltx_... on all subsequent requests. This value is returned exactly once.A UUID that uniquely identifies this agent within Lithtrix.
A reminder to store the key securely.
Response example
Error codes
| HTTP status | Code | Description |
|---|---|---|
| 409 | AGENT_ALREADY_EXISTS | An agent with this agent_name and owner_identifier pair has already been registered. Use POST /v1/keys/rotate to get a new key for an existing agent. |