iblai-api-agent-support
Skill222 starsChanged 10 days agoMITView on GitHub
Manage an ibl.ai agent's human-support tickets via the platform API — list and filter the tickets users raised with an agent (by agent, requester, status, session), read a ticket's conversation thread, reply as the support team, change ticket status, and close or delete tickets. Use when triaging or responding to support requests escalated from agent chats.
- Reads credentials
- Sends data out
1 other project uses a version of this.
Adopted by
Most recently taken up by
- iblai/vibeword for word, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- iblai/vibe★ 222100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository166 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- iblai-vibe-pr-reviewSkill
- iblai-api-agent-accessSkill
- iblai-api-agent-auditSkill
- iblai-api-agent-chatSkill
- iblai-api-agent-createSkill
- iblai-api-agent-datasetSkill
- iblai-api-agent-disclaimerSkill
- iblai-api-agent-embedSkill
- iblai-api-agent-evalSkill
- iblai-api-agent-historySkill
- iblai-api-agent-llmSkill
- iblai-api-agent-mcpSkill
- iblai-api-agent-memorySkill
- iblai-api-agent-privacySkill
- iblai-api-agent-promptSkill
- iblai-api-agent-safetySkill
- iblai-api-agent-sandboxSkill
- iblai-api-agent-sessionSkill
- iblai-api-agent-settingSkill
- iblai-api-agent-skillSkill
- iblai-api-agent-toolSkill
- iblai-api-agent-voiceSkill
- iblai-api-inferenceSkill
- iblai-api-searchSkill
- iblai-vibe-agent-accessSkill
- iblai-vibe-agent-analyticsSkill
- iblai-vibe-agent-apiSkill
- iblai-vibe-agent-assistantSkill
- iblai-vibe-agent-auditSkill
- iblai-vibe-agent-billingSkill
- iblai-vibe-agent-chat-sidebarSkill
- iblai-vibe-agent-chatSkill
- iblai-vibe-agent-createSkill
- iblai-vibe-agent-datasetSkill
- iblai-vibe-agent-disclaimerSkill
- iblai-vibe-agent-embedSkill
- iblai-vibe-agent-evalsSkill
- iblai-vibe-agent-graderSkill
- iblai-vibe-agent-historySkill
- iblai-vibe-agent-llmSkill
- iblai-vibe-agent-ltiSkill
- iblai-vibe-agent-mcpSkill
- iblai-vibe-agent-memorySkill
- iblai-vibe-agent-privacySkill
- iblai-vibe-agent-promptSkill
- iblai-vibe-agent-safetySkill
- iblai-vibe-agent-sandboxSkill
- iblai-vibe-agent-screenshareSkill
- iblai-vibe-agent-searchSkill
- iblai-vibe-agent-settingSkill
- iblai-vibe-agentSkill
- iblai-vibe-agent-skillsSkill
- iblai-vibe-agent-supportSkill
- iblai-vibe-agent-taskSkill
- iblai-vibe-agent-toolSkill
- iblai-vibe-agent-virtual-machineSkill
- iblai-vibe-agent-voiceSkill
- iblai-vibe-incognitoSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Prefix: every route below hangs off https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username} (written {u} below).
- Very specific: line 26
Not connected yet? Run /iblai-api-login first to populate IBLAI_ORG, IBLAI_USERNAME, and IBLAI_API_KEY.
- Distinctive: line 28
DELETE calls are destructive — confirm with the user first.
- Very specific: line 32
Tickets are opened by the agent, not by this API: When a user asks an agent for human help mid-chat, the agent's human-support tool files a …
- Distinctive: line 93
PUT, PATCH and DELETE reach only the caller's own messages.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
iblai-api-agent-support
Manage an agent's human-support tickets through the API: list and filter the
tickets users raised with an agent, read a ticket's reply thread, respond as
the support team, move tickets through their lifecycle, and close or delete
them. Use when triaging or responding to support requests escalated from
agent chats. The UI twin is
/iblai-vibe-agent-support.
Auth & conventions
- Base URL:
https://api.iblai.app - Header:
Authorization: Api-Token $IBLAI_API_KEYon every request. - Path vars:
{org}=$IBLAI_ORG,{username}=$IBLAI_USERNAME,{mentor}= the agent's unique id (e.g.d17dc729-60fd-4363-81a0-f67d9318b03e). - Prefix: every route below hangs off
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}(written{u}below). The path token is nameduser_idon the wire but takes the username. - Not connected yet? Run
/iblai-api-loginfirst to populateIBLAI_ORG,IBLAI_USERNAME, andIBLAI_API_KEY. - DELETE calls are destructive — confirm with the user first.
Concepts
- Tickets are opened by the agent, not by this API. When a user asks an agent
for human help mid-chat, the agent's human-support tool files a
HumanSupportTicket— there is no POST create endpoint here. The requester fields (username,email,full_name,user) and the sourcesessionare resolved server-side from that chat;subjectanddescriptionare authored by the agent (thedescriptionis often HTML or Markdown, not plain text). - Visibility: org admins see every ticket in the org; other users see only the tickets they raised themselves.
- Lifecycle:
statuswalksopen→in_progress→closed. The dedicatedclose/endpoint setsstatus: closed, the same as patchingstatus. - Conversation thread: each ticket has
TicketMessagereplies.senderis the numeric user id of the author (always the caller who posted it) — the requester's replies carry theiruserid, support-team replies carry the responder's id, andnullmarks a system-generated message. - Prerequisite: the agent only offers escalation while Human Support is on
for it. On a platform that returns the
capability_*flags (API version 4.467.0 or later), sendcapability_human_support: truein the agent's settingsPUT(/iblai-api-agent-setting, Capability flags); on an older one, add the Human Support tool's slug with/iblai-api-agent-tool.
Reads
Tickets
- GET
{u}/support-tickets/?mentor_id={mentor}&status={open|in_progress|closed}&username={requester}&session={session}&page={n}&page_size={n}— paged ticket list. Filters stack:mentor_idscopes to one agent,usernameto one requester,sessionto the chat session that raised the ticket. - GET
{u}/support-tickets/{id}/— one ticket.
Messages
- GET
{u}/support-ticket-messages/?ticket={ticketId}&sender={senderUsername}&page={n}&page_size={n}— paged message list; passticketto load one ticket's conversation thread. Thesenderfilter matches the sender's username, not the numeric id the message carries (?sender=42matches nothing). - GET
{u}/support-ticket-messages/{id}/— one message.
Writes
Tickets
- PUT
{u}/support-tickets/{id}/— replace a ticket's editable fields:{ "subject": "string (required, ≤255 chars)", "description": "string (required)", "status": "open | in_progress | closed" } - PATCH
{u}/support-tickets/{id}/— edit a subset (e.g.{ "status": "in_progress" }). - POST
{u}/support-tickets/{id}/close/— close a ticket (no body): setsstatus: closedand returns the ticket. Admins and the requester can call it. - DELETE
{u}/support-tickets/{id}/— delete a ticket (no body). Destructive — confirm with the user first.
Messages
- POST
{u}/support-ticket-messages/— reply on a ticket:
The server always saves the caller as{ "ticket": "integer (required, ticket id)", "message": "string (required)" }sender; asenderin the body is ignored. - PUT
{u}/support-ticket-messages/{id}/— replace a message (same fields as create). - PATCH
{u}/support-ticket-messages/{id}/— edit a subset (e.g.{ "message": "string" }). - DELETE
{u}/support-ticket-messages/{id}/— delete a message (no body). Destructive — confirm with the user first. - PUT, PATCH and DELETE reach only the caller's own messages.
Example
List one agent's open tickets, newest page first, then reply on ticket 42:
curl -s \
"https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/support-tickets/?mentor_id=$MENTOR&status=open&page=1&page_size=10" \
-H "Authorization: Api-Token $IBLAI_API_KEY"
curl -X POST \
"https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/support-ticket-messages/" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticket": 42, "message": "We are looking into this now."}'Notes
- List reads return a DRF page envelope —
{ "count": n, "next": url|null, "previous": url|null, "results": [...] }; iterateresults. DELETEs return204. - There is no ticket-create endpoint — tickets only come from agent chats (see Concepts). To test the flow end-to-end, turn Human Support on for the agent and ask it to escalate.
mentor_idfilters by the agent's unique id, not its name;usernamefilters by the requester, independent of the{username}path token (the caller).descriptionis agent-authored and frequently arrives as a full HTML document or Markdown — don't assume plain text when displaying or diffing it.resolved_atis never set by the API (it staysnull, even afterclose/); useupdated_aton a closed ticket if you need a close time.- To load a conversation thread, filter messages by
ticketand sort bytimestampascending; matchsenderagainst the ticket'suserto tell requester replies from support replies.
Schema
Ticket object (HumanSupportTicket):
| field | mode | notes |
id | ro | integer |
username, email, full_name, user | ro | requester identity; user is the numeric user id |
session | ro | chat session the ticket was raised from |
subject | rw | ≤255 chars |
description | rw | agent-authored body; often HTML/Markdown |
status | rw | open | in_progress | closed |
mentor_id | ro | unique id of the agent the ticket belongs to |
created_at, updated_at | ro | ISO 8601 |
resolved_at | ro | always null; nothing in the API sets it |
Message object (TicketMessage): id (ro), ticket (ticket id), sender
(numeric user id or null for system messages), message, timestamp (ro, ISO 8601).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

