THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION
POST /v1/workspaces/{workspace_id}/challenges
Get a short-lived challenge for enrollment, a lease or processing.
Implemented. Requires a configured hosted workspace.
POST $STUDIO_CONTROL_URL/v1/workspaces/{workspace_id}/challenges- Host
- Control API
- Caller
- Assigned workspace member; administrators can list or revoke other members’ devices.
- Authorization
- Bearer token for this host; see Authentication.
Request
action: enroll (default), lease or process. Enrollment takes jwk (P-256 public key); lease/process take device_id. Processing takes payload with exactly conversation_id, operation_id and language_profile.
Return value
200. {id, nonce, owner, device_id, key_hash, action, payload_sha256, expires_at}. Expires in 120 seconds; at most 20 outstanding challenges per member.
Errors and retrying
Sign using the enrolled private key. Challenges are single-use. Obtain a fresh challenge after expiry or a consumed proof; retain operation_id for a processing retry.
Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.