Get a marketplace
⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/organizations/plugin_marketplaces/{marketplace_id}Return one marketplace and its sync state.
For how this fits into a full workflow, see Syntic Code plugins.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <admin key>: an Admin API key (sk_admin_...). Inference keys are refused with 403 admin_key_required. See Admin API keys. |
syntic-beta | Yes, while in preview | admin-2026-11-01. Without it the call fails with 400 beta_required. See Versioning. |
Path parameters
| Parameter | Type | Description |
|---|---|---|
marketplace_id | string | The marketplace id, starting with mkt_. |
Response
200 OK, Content-Type: application/json
{
"id": "mkt_01JCP2Q4S6U8W0Y2A4C6",
"type": "plugin_marketplace",
"name": "platform-team",
"url": "https://git.example.com/acme/syntic-plugins.git",
"ref": "main",
"auto_sync": true,
"plugin_count": 9,
"last_synced_at": "2026-11-05T06:00:00Z",
"last_sync_error": null,
"created_at": "2026-09-10T10:00:00Z"
}| Field | Type | Description |
|---|---|---|
url | string | A Git repository whose root holds a marketplace.json index. |
auto_sync | boolean | Sync every 6 hours. New plugins arrive with policy available; existing policies are kept. |
plugin_count | integer | Plugins listed in the index. |
last_sync_error | object or null | Why the last sync failed. |
Examples
curl -sS "https://app.syntic.ai/v1/organizations/plugin_marketplaces/mkt_01JCP2Q4S6U8W0Y2A4C6" \
-H "Authorization: Bearer $SYNTIC_ADMIN_KEY" \
-H "syntic-beta: admin-2026-11-01"Errors
Errors use the error envelope and carry a request_id. Codes specific to this operation:
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request_error | beta_required | The syntic-beta header is missing. |
| 404 | not_found_error | marketplace_not_found | No marketplace with this id. |
| 401 | authentication_error | invalid_api_key | The admin key is missing, unknown, revoked or expired. |
| 403 | permission_error | admin_key_required | An inference key was used. |
| 429 | rate_limit_error | rate_limited | Too many requests; wait for Retry-After. See Rate-limit headers. |
Was this page helpful?