capabilities.work

Complete or fail an external agent session

One step with GitLab. We can help you get access.

Get something done

Complete or fail an external agent session

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Ai agent sessions API lets you complete or fail an external agent session in a single step (PATCH /api/v4/projects/{id}/ai_agent/sessions/{session_id}). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I mark an external agent session as completed or failed?
  • Can I attach a transcript SHA-256 when ending a session?
Say it to your AI assistant
  • Mark session {session_id} in project {id} as {status}.
  • Complete session {session_id} in project {id} with transcript SHA-256 {jsonl_sha256}.
For your developer

PATCH /api/v4/projects/{id}/ai_agent/sessions/{session_id} in GitLab REST Ai agent sessions API. Full spec on APIs.io.