action namsor_api_key_info { label: "Read API Key info." provider: namsor method: GET path: "/api2/json/apiKeyInfo" encoding: json output: { type: "object" properties: { admin: { type: "boolean" description: "The API Key has admin role." } anonymized: { type: "boolean" description: "The API Key is anonymized (using SHA-252 digest for logging). Set learnable=false and anonymized=true for highest privacy (ie. to forget data as it's processed)." } apiKey: { type: "string" description: "The user API Key." } corporate: { type: "boolean" description: "The API Key has role corporate (ex SWIFT payments instead of Stripe payments)." } disabled: { type: "boolean" description: "The API Key is temporarily or permanently disabled." } learnable: { type: "boolean" description: "The API Key is learnable (without assuming truthfulness) for machine learning. Set learnable=false and anonymized=true for highest privacy (ie. to forget data as it's processed)." } partner: { type: "boolean" description: "The API Key has partner role." } striped: { type: "boolean" description: "The API Key is associated to a valid Stripe account." } userId: { type: "string" description: "The user identifier." } vetted: { type: "boolean" description: "The API Key is vetted (assumed truthful) for machine learning." } } } }