Customize
Refresh a marketplace
Read a marketplace's manifest again now, by its name (marketplace), and return it as list_marketplaces gives it.
POST
/workspaces/{workspace}/customize/marketplaces/{marketplace}/refreshMarketplaces are refreshed on their own in the background; this is for seeing a change at once. Owners only.
- Authentication: Required. Send an access token as
Authorization: Bearer. - MCP tool:
customizewithactionrefresh_marketplace, and the same inputs - Scope: An access token needs
workspace:admin.
Path parameters
Section titled “Path parameters”| Name | Type | Required | Description |
|---|---|---|---|
workspace |
string | Yes | The workspace’s slug. |
marketplace |
string | Yes | The marketplace’s name, as list_marketplaces gives it. |
Example request
Section titled “Example request”curl -X POST https://api.g1t.sh/workspaces/flagon-io/customize/marketplaces/flagon-tools/refresh \ -H "Authorization: Bearer $G1T_TOKEN"Example response
Section titled “Example response”A successful request answers 200 with:
{ "name": "flagon-tools", "source": { "source": "g1t", "repo": "flagon-io/plugins" }, "builtin": false, "about": "Flagon's own skills and connectors.", "owner": "Flagon", "plugins": 4, "fetched_at": "2026-10-11T15:12:08.330Z", "problem": null, "added_by": "syntaqx", "added_at": "2026-10-09T18:20:03.512Z", "can_remove": true}Errors
Section titled “Errors”A failed request answers with one of these statuses and a body like {"error": {"code": "not_found", "message": "Repository not found."}}. See errors.
| Status | Code | When |
|---|---|---|
| 401 | unauthenticated |
A token is required, or the one sent is not valid. |
| 403 | forbidden |
The token is valid but not allowed to do this, such as a member-only change or an agent token outside its repository. |
| 404 | not_found |
It does not exist, or you cannot see it. |
| 409 | conflict |
The request conflicts with the current state. |
| 422 | invalid |
The input is not valid. message says which field and why. |