Nexatron Auth API
The auth API from Nexatron — 2 operation(s) for auth.
The auth API from Nexatron — 2 operation(s) for auth.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/nexatron-io:nexatron-io-auth-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: ai@nexatron.io
name: Nexatron
url: https://nexatron.io/
description: 'Nexatron API: governed answers from your connected systems, in your own words. Action tools available over MCP v2: list_actions / dry_run / execute_action.
This specification documents the public Nexatron REST API surface. Admin, compliance, billing, audit, and internal pipeline endpoints are documented separately and are available to enterprise customers via their account team.'
license:
name: Proprietary
title: Nexatron Auth API
version: 2.13.6
tags:
- name: Auth
paths:
/api/v1/auth/me:
get:
description: Return current user info with database lookup for email/name.
operationId: me_api_v1_auth_me_get
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AuthUserResponse'
description: Successful Response
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Authentication required or invalid credentials
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Authenticated but insufficient permissions
security:
- HTTPBearer: []
summary: Me
tags:
- Auth
x-public: true
/api/v1/auth/refresh:
post:
description: 'Exchange a valid refresh token for a new access + refresh token pair.
Implements token rotation: each refresh invalidates the previous token.
Reuse of an already-consumed token is rejected.'
operationId: refresh_token_api_v1_auth_refresh_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RefreshRequest'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AuthResponse'
description: Successful Response
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Malformed or business-invalid request
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Invalid, expired, or reused refresh token
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Resource not found
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Validation error
summary: Refresh Token
tags:
- Auth
x-public: true
components:
schemas:
AuthUserResponse:
properties:
display_name:
title: Display Name
type: string
email:
title: Email
type: string
id:
format: uuid
title: Id
type: string
impersonated_by:
anyOf:
- type: string
- type: 'null'
title: Impersonated By
impersonation:
default: false
title: Impersonation
type: boolean
is_platform_staff:
default: false
title: Is Platform Staff
type: boolean
roles:
default: []
items:
type: string
title: Roles
type: array
tenant_id:
format: uuid
title: Tenant Id
type: string
tenant_name:
anyOf:
- type: string
- type: 'null'
title: Tenant Name
required:
- id
- email
- display_name
- tenant_id
title: AuthUserResponse
type: object
RefreshRequest:
properties:
refresh_token:
title: Refresh Token
type: string
required:
- refresh_token
title: RefreshRequest
type: object
ErrorEnvelope:
description: Standard error response envelope. Every non-2xx response the API returns has this shape.
properties:
category:
description: Coarse error category, e.g. 'permanent_user_input', 'auth'.
type: string
code:
description: Machine-readable error code, e.g. 'NotFoundError', 'ValidationError'.
type: string
detail:
description: Deprecated one-release alias of 'message'.
type: string
fields:
additionalProperties:
type: string
description: Per-field validation messages (validation errors only).
type: object
message:
description: Human-readable error message.
type: string
retry_after:
description: Seconds to wait before retrying (rate-limit / transient errors).
type: integer
support_id:
description: Request id for support correlation (present when a request id exists).
type: string
required:
- code
- category
- message
- detail
title: ErrorEnvelope
type: object
AuthResponse:
properties:
access_token:
title: Access Token
type: string
id_token:
anyOf:
- type: string
- type: 'null'
title: Id Token
refresh_token:
anyOf:
- type: string
- type: 'null'
title: Refresh Token
token_type:
default: bearer
title: Token Type
type: string
user:
$ref: '#/components/schemas/AuthUserResponse'
required:
- access_token
- user
title: AuthResponse
type: object
securitySchemes:
HTTPBearer:
scheme: bearer
type: http