{ "opencollection": "1.0.0", "info": { "name": "Kernel API Keys Auth Connections API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Auth Connections", "type": "folder" }, "items": [ { "info": { "name": "List auth agents", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/agents/auth", "params": [ { "name": "profile_name", "value": "", "type": "query", "description": "Filter by profile name" }, { "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": "**Deprecated: Use GET /auth/connections instead.** List auth agents with optional filters for profile_name and domain." }, { "info": { "name": "Create or find an auth agent", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/agents/auth", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "**Deprecated: Use POST /auth/connections instead.** Creates a new auth agent for the specified domain and profile combination, or returns an existing one if it already exists. This is idempotent - calling with the same domain and profile will return the same agent. Does NOT start an invocation - use POST /agents/auth/invocations to start an auth flow." }, { "info": { "name": "Create an auth invocation", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/agents/auth/invocations", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "**Deprecated: Use POST /auth/connections/{id}/login instead.** Creates a new authentication invocation for the specified auth agent. This starts the auth flow and returns a hosted URL for the user to complete authentication." }, { "info": { "name": "Get auth agent by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/agents/auth/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Auth agent ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "**Deprecated: Use GET /auth/connections/{id} instead.** Retrieve an auth agent by its ID. Returns the current authentication status of the managed profile." }, { "info": { "name": "Delete auth agent", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.onkernel.com/agents/auth/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Auth agent ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "**Deprecated: Use DELETE /auth/connections/{id} instead.**\nDeletes an auth agent and terminates its workflow. This will:\n- Soft delete the auth agent record\n- Gracefully terminate the agent's Temporal workflow\n- Cancel any in-progress invocations\n" }, { "info": { "name": "Get invocation details", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/agents/auth/invocations/:invocation_id", "params": [ { "name": "invocation_id", "value": "", "type": "path", "description": "Invocation ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "**Deprecated: Use GET /auth/connections/{id} instead.** Returns invocation details including status, app_name, and domain. Supports both API key and JWT (from exchange endpoint) authentication." }, { "info": { "name": "Exchange handoff code for JWT", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/agents/auth/invocations/:invocation_id/exchange", "params": [ { "name": "invocation_id", "value": "", "type": "path", "description": "Invocation ID from start endpoint" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Deprecated: Use POST /auth/connections/{id}/exchange instead.** Validates the handoff code and returns a JWT token for subsequent requests. No authentication required (the handoff code serves as the credential)." }, { "info": { "name": "Submit field values", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/agents/auth/invocations/:invocation_id/submit", "params": [ { "name": "invocation_id", "value": "", "type": "path", "description": "Invocation ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "**Deprecated: Use POST /auth/connections/{id}/submit instead.** Submits field values for the discovered login form. Returns immediately after submission is accepted. Poll the invocation endpoint to track progress and get results." } ] } ], "bundled": true }