/iblai-vibe:iblai-api-credentialfrom ibl.ai vibe
Manages ibl.ai digital credentials via the platform API: CRUD, user/group assignments, assertions, course-scoped import/export, Accredible provider config, and issuance analytics.
Ships in ibl.ai vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Manage an organization's digital credentials from the API: create and edit credentials, assign them to users and groups, read the resulting assertions (issued credentials), import/export course-scoped credentials between platforms, wire up external issuing providers (e.g. Accredible) via provider config and per-credential external mappings, and pull issuance analytics over time. Use when issuing, assigning, importing, or reporting on digital credentials and certificates.
https://api.iblai.app/dm — these are Data Manager (DM)
endpoints, so the /dm prefix is required; the /api/credentials/… paths
below are appended to it (e.g. https://api.iblai.app/dm/api/credentials/…).Authorization: Api-Token $IBLAI_API_KEY on every request.{org} = $IBLAI_ORG (the credentials API path segment is
platform_key; it resolves against Platform.key, with Platform.org as a
fallback; on the wire it is also the platform_org query param). The user
segment accepts either a numeric {user_id} or a {username} — both
route shapes exist (…/users/<int:user_id>/… and …/users/<str:username>/…),
so $IBLAI_USERNAME works directly in the path. For provider-config/mapping
paths that user segment is the admin making the request (use $IBLAI_USERNAME).
{course_id} = an Open edX course id such as course-v1:org+course+run./api/credentials/orgs/{org}/users/{user}/… (where {user} is a numeric id or
username). Below, that prefix is written as …/ for brevity. The course
import/export (exim) endpoints, the public assertion lookup, and the public
provider list are platform-agnostic and live directly under
/api/credentials/… with no org/user segment. The {user} segment is a
row filter, never a source of privilege: rights come from the caller (a
platform admin reaches any member, a department admin their department's
members, a member only themselves), so a member naming another user, admin
or not, gets 403. A user's own path grants reads only: updating or
deleting a credential, issuing or revoking needs a platform admin, an
owner-mode platform API key for the platform in the path, or a service
account (client-credentials token). A department admin acts under the
member's path, so to revoke a member's certificate PUT
.../users/{member}/assertions/{id} with the holder's username, not the
admin's. A learner's write anywhere is 403. A platform API key in
token-policies mode is refused by these endpoints.entity_id (the UUID string) only — numeric database ids are
not accepted. {id} below means the entity_id.{"status": {"success": bool, "description": str}, "result": {…}}. Paged list result objects carry count, next,
previous, and either results or data./iblai-api-login first to populate IBLAI_ORG,
IBLAI_USERNAME, and IBLAI_API_KEY.page (default 1), page_size (default 10, max 100; provider/mapping
lists default 50, max 1000).search — case-insensitive match across the relevant fields (username, email,
full name, credential name/description, group name, platform name, course/program
name, assigned-by username, depending on the endpoint).…/…/ — list credentials for the org (only public=True credentials are
returned). Query params: search (name / name_override / description),
course (course id), program (program id), page, page_size.…/{id} — read one credential ({id} = entity_id).…/course-credentials/ — list credentials grouped by course. Query
params: search (course name / course id), page, page_size. The paged
result carries results (not data).…/images/ — search uploaded credential images. Requires a
query param (case-insensitive name match); returns an array of
{id, name, image}.…/issuers/An issuer is required to create a credential (its entityId is the issuer
field above). Issuers are keyed to the platform.
…/issuers/ — list issuers for the org. Query params: q (search by
name), plus page/page_size. Each issuer has name, org, entityId,
signatories, url, iconImage, allowed_template_tags.…/issuers/{id} — read one issuer ({id} = issuer entity_id, or its
org identifier).…/assignments/Assignments link a credential to users or groups; issuing an assignment produces assertions. Group assignments are processed asynchronously (Celery). Department admins only see/act on assignments within their department scope.
…/assignments/users/ — list/search user assignments (also serves as
the role-filtered assertions for users view — see Notes). Only assignments
with status == "COMPLETED" that have a matching non-revoked assertion are
returned. Supports search (credential name / username / email), page,
page_size, and optional platform_org.…/assignments/groups/ — list group assignments (department-filtered).
Optional group_id filter; page, page_size.…/assertions/An assertion is an issued credential (a credential granted to a user).
…/assertions/ — list all assertions for this user/org. Query params:
course (filter by course id), include_revoked (default false),
include_expired (default false), exclude_main_tenant_assertions (default
false), page, page_size. Response fields are camelCase: entityId,
issuedOn, credentialDetails, recipient, course, program, revoked,
revocationReason, acceptance, expires, metadata, narrative.…/assertions/{id} — read one assertion ({id} = assertion
entity_id). Access is decided on the caller, not on the {user} in the path:
a learner sees only their own assertions; a platform admin, a department admin
(for department members) or a platform API key sees assertions issued by their
own platform; staff and client-credentials service accounts see all. Anything
else is an empty 404, the same as an unknown id, so a foreign id cannot be
probed. Assertions issued by the main platform appear in a tenant admin's
list (unless exclude_main_tenant_assertions) but 404 here for that admin./api/credentials/public/assertions/{id}/ — public, unauthenticated
lookup of a single assertion by entity_id (no org/user segment, no auth
header needed). Returns only what a certificate page renders: entityId,
issuedOn, recipient (name only), course (course_id, name) and
credentialDetails (name_override, signatories[] and
issuerDetails.signatories[], each entry name/title/signature). Use
the authenticated …/assertions/{id} for the full record (username,
metadata, acceptance, revocation, expiry, template internals). Returns an
empty 404 for unknown and revoked ids alike./api/credentials/exim/…Platform-agnostic; no org/user segment. DM admin only. Export converts item ids to course ids in the response; import converts course ids to item ids and replaces the issuer with the platform's default issuer.
/api/credentials/exim/credentials/course/{course_id}/export/ — export
all credential definitions for a course (returns course_id + a credentials
array with entityId, name, templates, expires, issuerDetails,
signatories, courses, programs, pathways, etc.).…/provider-config/, …/external-mapping/Platform admin only (Requires platform admin access). Path uses
…/users/{username}/… where {username} is the admin making the request. These
configure external issuers (e.g. Accredible) and map internal credentials to
external templates.
/api/credentials/providers//api/credentials/providers/ — list enabled credential providers (no
org/user segment; only requires authentication, not admin). Optional page,
page_size (default 50, max 1000). Each entry: name, display_name,
description, enabled, metadata.…/provider-config/…/provider-config/ — list provider configs. Optional provider_name,
page, page_size. Each entry has provider_name, provider_name_display,
config (provider settings), enabled.…/external-mapping/…/external-mapping/ — list mappings. Optional credential_id
(filter by credential entity_id), provider_name, page, page_size.…/All take optional start_date / end_date (YYYY-MM-DD) query params and return
{ "data": { "<date>": count, … } } (back-filled with zero-value days when a
range is given).
…/assertions-over-time/ — assertion (issuance) counts over time.
Platform admin only. Also returns a meta block with totals and percent
changes.…/course-assertions-over-time/ — per-course assertion counts over
time. Platform admin only.…/credentials-over-time/ — credential-creation counts over time.…/…/ — create a credential. Confirm with the user first. name and
issuer (the issuer entity_id) are required; everything else is
optional:
{
"name": "string",
"issuer": "issuer-entity-id",
"description": "string",
"criteriaUrl": "string",
"criteriaNarrative": "string",
"credentialType": "string",
"signal": "COURSE_PASSED",
"html_template": "string",
"css_template": "string",
"tags": [],
"metadata": {},
"expires": { "amount": 365, "duration": "days" },
"iconImage": "url", "backgroundImage": "url", "thumbnailImage": "url",
"courses": ["course-v1:org+course+run"],
"programs": ["program-id"],
"pathways": ["pathway-id"]
}
signal defaults to COURSE_PASSED. Body field names are camelCase as shown
(these map to the credential output fields). The response result uses
entityId, criteriaUrl, criteriaNarrative, credentialType, signal,
issuerDetails, signatories, courses, programs, pathways, expires,
etc.…/{id} — update one credential (partial; only present fields change).
Updatable fields: name, description, html_template, css_template,
credentialType, criteriaUrl, criteriaNarrative, signal, iconImage,
backgroundImage, thumbnailImage, metadata (merged into existing).…/{id} — delete one credential. Confirm with the user first.
Returns 409 Conflict if the credential still has active (non-revoked,
unexpired) assertions — revoke/delete those first.…/images/ — upload an image as multipart form
data (image file, optional name); returns the created {id, name, image}.…/issuers/…/issuers/ — create an issuer. Confirm with the user first. Body:
name (and optionally iconImage, email, url, allowed_template_tags).…/issuers/{id} — update an issuer. Confirm with the user first.…/issuers/{id} — delete an issuer. Confirm with the user first.…/issuers/authority/ — create a signatory (issuer authority).
Confirm with the user first. Body: name, title, signature (image url)
required; optionally org, entityId (issuer entity id), or credential
(credential entity id) to associate it. If none of org/entityId/credential
is given, it falls back to the platform from the URL.…/assignments/…/assignments/users/ — assign a credential to users. Confirm with the user first:
{ "credential_id": "credential-entity-id", "user_ids": [123, 456] }
user_ids are numeric user ids. Returns result with successful_assignments,
failed_assignments, and message.…/assignments/groups/ — assign a credential to groups (async). Confirm with the user first:
{ "credential_id": "credential-entity-id", "group_ids": ["group-id-1", "group-id-2"] }
credential_id and group_ids are both required (group_ids are strings).
Returns result with successful_assignments / failed_assignments.…/assignments/{id} — delete one assignment ({id} = the
assignment entity_id; resolves to either a group or individual assignment).
Confirm with the user first. (This endpoint is DELETE-only — there is no GET on
a single assignment.) For a group assignment this cascades to all related user
assignments and assertions; for an individual assignment it deletes the
assignment and its assertion. The response is a simple
{ "status": { "success": true, "description": "…" } }.…/assertions/…/assertions/{id} — revoke an assertion. This is outward-facing —
confirm with the user first. Body: { "revoked": true, "revocationReason": "string" }. Only an admin of the issuing platform (platform admin, department
admin for a member, platform API key), staff or a client-credentials service
account may revoke: the recipient gets 403 on their own assertion, and any
assertion the caller cannot read gets the same empty 404 as the GET.…/{id}/assertions/ — issue (create) an assertion for credential
{id} (= credential entity_id). This issues a credential — confirm with the
user first. Body requires a recipient object and an item the credential is
attached to:
{
"recipient": { "identity": "username" },
"course": "course-v1:org+course+run",
"metadata": {}
}
Instead of course you may pass catalog_item (item id), program /
program_id, or pathway / pathway_id to identify the item.…/{id}/assertions/bulk/ — issue the credential to many users at once.
Confirm with the user first. Body: users is a list of usernames, plus the
same item field (course / catalog_item / program / pathway) and
optional metadata. Returns { "skipped": [...], "issued": [...] }./api/credentials/exim/…/api/credentials/exim/credentials/course/{course_id}/import/ — import
credential definitions into a course. Confirm with the user first:
{
"course_id": "course-v1:org+course+run",
"credentials": [
{
"entityId": "credential-entity-id",
"name": "Credential Name",
"description": "string",
"criteriaUrl": "string",
"criteriaNarrative": "string",
"credentialType": "COURSE_CERTIFICATE",
"expires": { "amount": 365, "duration": "days" },
"signatories": [
{ "entityId": "authority-entity-id", "name": "string", "title": "string", "signature": "url" }
],
"html_template": "string",
"css_template": "string",
"signal": "COURSE_PASSED",
"courses": [ { "name": "string", "course_id": "course-v1:org+course+run" } ]
}
]
}
Existing credentials (matched by name + course + default issuer) are updated;
missing ones are created. Response result lists course_id,
imported_credentials (each with entityId, name, and status =
created|updated) and errors. Status is 201 if all succeed, 207
Multi-Status if some succeed with errors, 400 if none succeed.…/provider-config/, …/external-mapping/…/provider-config/…/provider-config/ — create or update a provider config (201 on
create, 200 on update). Confirm with the user first:
{
"provider_name": "accredible",
"config": {
"accredible_api_key": "your-api-key",
"accredible_base_url": "https://dashboard.accredible.com/",
"accredible_api_base_url": "https://api.accredible.com/v1/",
"accredible_group_id": "123456",
"accredible_template_id": "789012",
"use_sandbox": false
},
"enabled": true
}
provider_name is required; config and enabled are each optional. Config
keys are normalized to lowercase; values are preserved verbatim. For
provider_name: "accredible", config must include accredible_api_key
(validation rejects it otherwise). Returns 201 + description Created on
create, 200 + Updated on update.…/provider-config/ — deactivate a provider config (sets
enabled=false; external issuance is then skipped; the record is not removed).
Confirm with the user first. Body: { "provider_name": "accredible" }. Returns
description Deactivated with the updated config object.…/external-mapping/…/external-mapping/ — create or update a mapping (201 on create, 200
on update; unique per credential + platform + provider). Confirm with the user first:
{
"credential_id": "credential-entity-id",
"provider_name": "accredible",
"external_template_id": "123456789",
"group_id": "679866",
"metadata": {}
}
credential_id and provider_name are required; external_template_id,
group_id, and metadata are optional.…/external-mapping/ — delete a mapping. Confirm with the user first.
Body: { "credential_id": "credential-entity-id", "provider_name": "accredible" }.List a user's issued credentials (assertions), searching for "python":
curl -G \
"https://api.iblai.app/dm/api/credentials/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/assignments/users/" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
--data-urlencode "search=python" \
--data-urlencode "page_size=20"
…/assignments/users/): the {user} in the
path is the user whose role determines visibility — platform admins see
assignments for all users in the org; department admins see only users in their
department groups; everyone else sees only their own. If the resolved set is
empty the call returns 403 ("You don't have permission to view these
assignments").entity_id (UUID) only — numeric database ids are not accepted. Course ids
are Open edX ids (course-v1:org+course+run).{org} is the platform_key URL segment; it resolves against
Platform.key first, then Platform.org as a fallback, and may also be passed
as the platform_org query param.config keys are lowercased on save (values
preserved); when issuing, the system uses the mapping's group_id first and
falls back to the provider config's accredible_group_id. use_sandbox toggles
the Accredible sandbox. Disabling a provider config (enabled=false) skips
external issuance for that org.page_size=10 (max 100); provider-config and external-mapping lists default to
50 (max 1000).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
digital-credentials, certificates, accredible, iblai, api-management
npx claudepluginhub iblai/base --plugin iblai-vibe166 skills in this plugin
/iblai-api-agent-accessManage role-based access to an ibl.ai agent via the platform API — list role policies, search users/groups, and grant/revoke editor, chat, or analytics_viewer roles for users, groups, and emails. Use when controlling who can edit, chat with, or view analytics for an agent./iblai-api-agent-auditRead an ibl.ai agent's audit log via the platform API — a who-changed-what trail filterable by action, actor email, and date range. Read-only. Use when investigating configuration changes to an agent./iblai-api-agent-chatSet up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id, or by signing in from claude.ai, ChatGPT or Claude Desktop with only the URL. Use to enable runtime conversations with an agent, and to list or disconnect the apps a user has connected. The actual chatting then happens through the MCP server's tools./iblai-api-agent-createCreate a new ibl.ai agent from a template via the platform API — set name, display name, description, categories, visibility, prompts, and LLM provider; returns the new agent's unique id. Read which create fields the caller may write (field-permissions) first, since a create that sends a forbidden field is refused. Use when creating an agent from scratch, checking what a user may set when creating one, then configure it with the other /iblai-api-agent-* skills./iblai-api-agent-datasetManage an ibl.ai agent's training datasets (RAG) via the platform API — list training docs, add resources (file, URL, YouTube, Blackboard, website crawl, GitHub), train/untrain, set visibility and retrain schedule, and delete. Use when feeding an agent knowledge./iblai-api-agent-disclaimerManage an ibl.ai agent's disclaimers via the platform API — the Advisory text (saved through the agent settings endpoint), the User Agreement (create/update/activate), and the record of who accepted it. Use when adding legal or advisory notices users must see or accept, or auditing acceptances.Other plugins' skills for the same job