passkeys

Creates a pending passkey.

The first passkey that the browser of a run with the passkey in browser.passkeys registers on rp_id is stored, and the passkey becomes ready.

Required permission: passkeys.manage.

post/v1/projects/{project_id}/passkeys

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

Request body

PasskeyCreate required

Pending passkey that a run's browser fills by registering a passkey on the domain.

environment_id, string uuid required
name, string required

Name agents reference in browser.passkeys. 1-64 lowercase letters, digits, hyphens, or underscores.

rp_id, string required

Domain the passkey signs in on, such as portal.example.com.

Response

Successful Response

PasskeyResponse required

Passkey that agent browsers in the environment sign in with. Key material is never returned.

id, string uuid required
environment_id, string uuid required

Environment the passkey belongs to.

name, string required

Name agents reference in browser.passkeys. Unique per environment.

rp_id, string required

Domain the passkey signs in on.

status, 'pending' | 'ready' required

pending until a run's browser registers a passkey on rp_id or one is imported, then ready.

created_at, string required
updated_at, string required
last_used_at, string nullable required

When a run's browser last signed in with the passkey, or null if never.

Changes