qbraid_core.services.skills.SkillsClient

class qbraid_core.services.skills.SkillsClient(api_key=None, session=None)

Client for interacting with the qBraid Skills API.

__init__(api_key=None, session=None)

Methods

__init__([api_key, session])

approve_publish(slug)

Approve a skill for publishing (admin only).

confirm_upload(slug[, checksum])

Confirm that skill upload is complete.

create_skill(request)

Create a new skill and get an upload URL.

delete_skill(slug)

Delete a skill (owner or admin only).

deny_publish(slug[, reason])

Deny a publish request (admin only).

generate_share_code(slug)

Generate a share code for a skill.

get_credits_balance()

Get the current user's credit balance for their organization.

get_download_url(slug)

Get a signed download URL for a skill's tarball.

get_shared_users(slug)

Get list of users with access to a skill.

get_skill(slug)

Get details for a specific skill.

get_upload_url(slug)

Get a signed upload URL for re-uploading a skill.

install_skill(slug[, target, install_path])

Download and install a skill to the local filesystem.

is_skill_installed(slug[, target, install_path])

Check if a skill is installed locally for a specific tool.

is_skill_installed_anywhere(slug)

Check if a skill is installed in any supported tool location.

list_all_installed_skills()

List locally installed skills across all supported tools.

list_installed_skills([target, install_path])

List locally installed skills for a specific tool.

list_pending_reviews([page, limit])

List skills pending review (admin only).

list_skills([query, app_id, author_id, ...])

List available skills with optional filters.

mark_pending_review(slug)

Mark a skill as under review (admin only).

redeem_share_code(code)

Redeem a share code to get access to a skill.

remove_share_code(slug)

Remove the share code for a skill.

request_publish(slug)

Request to publish a skill.

revoke_publish_request(slug)

Revoke a publish request (owner only).

revoke_skill_access(slug, email, permissions)

Revoke a user's access to a skill.

running_in_lab()

Check if running in the qBraid Lab environment.

share_skill(slug, email, permissions)

Share a skill with a user.

uninstall_skill(slug[, target, install_path])

Remove an installed skill from the local filesystem.

update_skill(slug[, name, description, ...])

Update skill metadata.

upload_skill(slug, directory[, ...])

Create a tarball from a directory and upload it to the skill's signed URL.

user_credits_value()

Get the current user's qBraid credits value.

Attributes

session

The QbraidSessionV1 used to make requests.