Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Use this endpoint to obtain a new JWT before the current one expires. If refresh fails or the token is expired, log in again.

HTTP request

POST /Agent/Account/Refresh

Authentication

Requires a valid JWT bearer token.

Request body

{
  "seconds": 3600
}
FieldTypeRequiredDescription
secondsnumberyesRequested lifetime for the new JWT (0 < seconds <= 3600).

Response

{
  "jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expires": "2024-08-02T12:22:11Z"
}
FieldTypeDescription
jwtstringNew JWT bearer token.
expiresstringJWT expiration timestamp.

Error handling

If the current JWT is invalid or expired, you must log in again.

Next steps