Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: Novence Api Keys API
version: 0.2.1
description: 'Control plane for autonomous AI agent website hosting.
**Deploy polling:** use `GET /v1/projects/{id}/deployments/latest` until
`deployment.status` is `live` (or `failed`). Project `status` is lifecycle
(`active`/`deleted`) — it does not become `live`.
**OTP TTL:** email verification codes expire in **15 minutes**.
**Discovery:** `https://api.novence.ai/llms.txt` and `/openapi.yaml` redirect
to `https://novence.ai/…`.'
servers:
- url: https://api.novence.ai
description: Production API
- url: http://127.0.0.1:8080
description: Local
tags:
- name: API Keys
paths:
/v1/api-keys:
get:
summary: List API keys for the account
description: 'Never returns the key itself or its hash — `keyPrefix` identifies a row.
`current` marks the key this request is authenticated with; revoking it
locks you out (see DELETE). Readable with a `mgmt_` session
(`account:read`) as well as an `nv_` key.'
security:
- bearerAuth: []
parameters:
- name: projectId
in: query
description: Only keys scoped to this project
schema:
type: string
format: uuid
- name: includeRevoked
in: query
description: Include revoked keys (hidden by default; rows are never deleted)
schema:
type: boolean
default: false
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- keys
properties:
keys:
type: array
items:
$ref: '#/components/schemas/ApiKey'
tags:
- API Keys
operationId: getV1ApiKeys
x-operation-id-source: derived
post:
summary: Create a named API key
description: 'Mints a labelled `nv_` key (e.g. `ci`, `laptop`) that survives
`POST /v1/auth/reissue-key` unless `revokeAll` is set. `apiKey` is returned
once. Requires an `nv_` key that is not a `member:` key. A project key can
only create keys for its own project. `permissions` default to the calling
key''s and cannot exceed them (403). Names: 1–64 chars of letters, digits,
spaces, `.`, `_`, `-`; unique among active keys; `account`, `project`,
`default` are reserved. Max 10 active named keys (409). The account owner
is emailed.'
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
minLength: 1
maxLength: 64
projectId:
type: string
format: uuid
permissions:
type: object
additionalProperties:
type: boolean
responses:
'201':
description: Created — store `apiKey` now
content:
application/json:
schema:
type: object
required:
- apiKey
- key
properties:
apiKey:
type: string
key:
$ref: '#/components/schemas/ApiKey'
'400':
description: Invalid or reserved name
'403':
description: Member key, wrong project, or permission escalation
'409':
description: Duplicate name or 10 named keys already active
tags:
- API Keys
operationId: postV1ApiKeys
x-operation-id-source: derived
/v1/api-keys/{id}:
delete:
summary: Revoke an API key
description: 'Idempotent. Refuses with 409 when `id` is the key authenticating the
request — pass `force=true` to override, after which recovery needs
`POST /v1/auth/reissue-key` with an email OTP. Requires an `nv_` key;
management sessions cannot revoke.'
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
- name: force
in: query
description: Allow revoking the key this request is authenticated with
schema:
type: boolean
default: false
responses:
'200':
description: Revoked
content:
application/json:
schema:
type: object
properties:
id:
type: string
format: uuid
revoked:
type: boolean
'409':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
tags:
- API Keys
operationId: deleteV1ApiKeysById
x-operation-id-source: derived
components:
responses:
Error:
description: JSON error
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: string
schemas:
ApiKey:
type: object
required:
- id
- keyPrefix
- name
- scope
- current
properties:
id:
type: string
format: uuid
keyPrefix:
type: string
description: First 12 chars
e.g. nv_live_ab12: null
name:
type: string
description: account (primary), project, member:{email}, or a label from POST /v1/api-keys
projectId:
type: string
format: uuid
nullable: true
scope:
type: string
enum:
- account
- project
description: Account keys have a null projectId
permissions:
type: object
additionalProperties:
type: boolean
lastUsedAt:
type: string
format: date-time
nullable: true
revokedAt:
type: string
format: date-time
nullable: true
createdAt:
type: string
format: date-time
current:
type: boolean
description: True for the key authenticating this request
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API key (nv_…) or management token (mgmt_…)