Create an API key for agents and scripts.

Needs a sign-in in the last 5 minutes; an organization key also needs a second factor in the session and the owner/admin role with this product enabled. At most 10 live keys per account and product. The key (secret) is returned ONCE. Returns: { key, secret }

post/api/account/keys/create

Request

  • Base URL: https://agentalog.com
  • URL: https://agentalog.com/api/account/keys/create
  • Auth: API key in cookie __Host-mm-auth

Request body

namestring required

Up to 60 characters.

organizationIdstring nullable required

null for an account key.

Response

{ key, secret }

keyobject required

id, name, organizationId, last4, createdAt.

secretstring required

mmk_…, shown once.

Changes

No recorded changes to this operation across all 1 revision of this API.