Get the job a resource group is running
One step with GitLab. We can help you get access.
Look something up
Get the job a resource group is running
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST CI resource groups API lets you get the job a resource group is running in a single step (GET /api/v4/projects/{id}/resource_groups/{key}/current_job). 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.
- Which job is currently using a resource group?
- Is a resource group busy with a job right now?
Say it to your AI assistant
- Show the current job for resource group {key} in project {id}.
- Check what job resource group {key} is running in project {id}.
For your developer
GET /api/v4/projects/{id}/resource_groups/{key}/current_job in GitLab REST CI resource groups API. Full spec on APIs.io.