Register an agent
Register an agent to obtain the credentials (agent_id, token, and login JWT) used by the FluxA HTTP APIs.
POST
/register
Request Body
application/json
Agent registration request.
Human-readable name for the agent.
Free-form information about the client registering the agent.
Responses
Agent registered successfully.
application/json
Credentials returned on successful registration.
Unique identifier for the agent.
Persistent secret used with /refresh. Returned only once — store securely.
Short-lived login JWT (payload carries only agent_id). Send as Authorization: Bearer when calling FluxA Wallet APIs; renew with /refresh.
The supplied agent name, when one was provided.
Reminder that the persistent token is returned only once.
{
"agent_id": "<string>",
"token": "<string>",
"jwt": "<string>",
"agent_name": "<string>",
"message": "<string>"
}