Trajectory · Schema

CreateApiKeyResponse

CompanyArtificial IntelligenceContinual LearningEnterprisePlatform

Properties

Name Type Description
api_key object Metadata for the newly created key.
secret string The plaintext API key. Returned only once at creation and never again — the caller must surface it to the user immediately.
View JSON Schema on GitHub

JSON Schema

trajectory-create-api-key-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trajectory/json-schema/trajectory-create-api-key-response-schema.json",
  "title": "CreateApiKeyResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trajectory-api-keys-api-openapi.yml#/components/schemas/CreateApiKeyResponse",
  "properties": {
    "api_key": {
      "$ref": "#/$defs/ApiKey",
      "description": "Metadata for the newly created key."
    },
    "secret": {
      "type": "string",
      "title": "Secret",
      "description": "The plaintext API key. Returned only once at creation and never again — the caller must surface it to the user immediately."
    }
  },
  "type": "object",
  "required": [
    "api_key",
    "secret"
  ],
  "$defs": {
    "ApiKey": {
      "properties": {
        "key_hash": {
          "type": "string",
          "title": "Key Hash",
          "description": "Opaque identifier for the key (SHA-256 of the secret). Used to reference the key when revoking it; the secret itself is never returned after creation."
        },
        "key_prefix": {
          "type": "string",
          "title": "Key Prefix",
          "description": "Non-secret prefix shown to help identify the key."
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "Human-readable label for the key."
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At",
          "description": "UTC timestamp the key was created."
        },
        "last_used_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Used At",
          "description": "UTC timestamp the key was last used to authenticate, if ever."
        }
      },
      "type": "object",
      "required": [
        "key_hash",
        "key_prefix",
        "name"
      ],
      "title": "ApiKey"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/trajectory-create-api-key-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.