{ "opencollection": "1.0.0", "info": { "name": "Kernel API Keys Credentials API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Credentials", "type": "folder" }, "items": [ { "info": { "name": "List credentials", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/credentials", "params": [ { "name": "domain", "value": "", "type": "query", "description": "Filter by domain" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return" }, { "name": "offset", "value": "", "type": "query", "description": "Number of results to skip" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List credentials owned by the caller's organization. Credential values are not returned." }, { "info": { "name": "Create a credential", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/credentials", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new credential for storing login information." }, { "info": { "name": "Get credential by ID or name", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/credentials/:id_or_name", "params": [ { "name": "id_or_name", "value": "", "type": "path", "description": "Credential ID or name" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve a credential by its ID or name. Credential values are not returned." }, { "info": { "name": "Update credential", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.onkernel.com/credentials/:id_or_name", "params": [ { "name": "id_or_name", "value": "", "type": "path", "description": "Credential ID or name" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a credential's name or values. When values are provided, they are merged with existing values (new keys are added, existing keys are overwritten)." }, { "info": { "name": "Delete credential", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.onkernel.com/credentials/:id_or_name", "params": [ { "name": "id_or_name", "value": "", "type": "path", "description": "Credential ID or name" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a credential by its ID or name." }, { "info": { "name": "Generate TOTP code", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/credentials/:id_or_name/totp-code", "params": [ { "name": "id_or_name", "value": "", "type": "path", "description": "Credential ID or name" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns the current 6-digit TOTP code for a credential with a configured totp_secret. Use this to complete 2FA setup on sites or when you need a fresh code." } ] } ], "bundled": true }