Memesio · JSON Structure

Memesio Agent Api Key Structure

JSON Schema for Memesio AgentApiKey, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).

Type: object Properties: 6 Required: 6
MemesMediaImage GenerationContentDeveloper Tools

AgentApiKey is a JSON Structure definition published by Memesio, describing 6 properties, of which 6 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id keyPrefix scopes status createdAt revokedAt

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memesio/main/json-structure/memesio-agentapikey-structure.json",
  "name": "AgentApiKey",
  "description": "JSON Schema for Memesio AgentApiKey, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).",
  "type": "object",
  "required": [
    "id",
    "keyPrefix",
    "scopes",
    "status",
    "createdAt",
    "revokedAt"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "keyPrefix": {
      "type": "string"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "generate",
          "publish",
          "analytics",
          "admin"
        ]
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "revoked"
      ]
    },
    "createdAt": {
      "type": "datetime"
    },
    "revokedAt": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}