tokens.mint

Mint an Ajan (propose-only) or Geliştirici (direct) token; the plaintext is returned exactly once.

Machine-readable body schema: /schemas/routes/tokens.mint.json.

Body

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "agent",
        "developer"
      ]
    },
    "label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    },
    "scopes": {
      "minItems": 1,
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[a-z]+(:[a-z]+)?$"
      }
    },
    "expiresInDays": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365
    },
    "rateLimitPerMin": {
      "type": "integer",
      "minimum": 10,
      "maximum": 1000
    }
  },
  "required": [
    "kind",
    "label",
    "scopes"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/routes/tokens.mint.md