action namsor_learnable { label: "Activate/deactivate learning from a source." provider: namsor method: GET path: "/api2/json/learnable/{source}/{learnable}/{token}" encoding: json input: { type: "object" properties: { learnable: { type: "boolean" } source: { type: "string" } token: { type: "string" } } required: ["learnable", "source", "token"] additionalProperties: false } 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." } } } }